mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
join.py: Ensure we set the SID of the parent domain on the trust record
Change-Id: Ifaf3f2d1240d983a48ee1874fdc9c266354f6754 Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org> Reviewed-By: Jelmer Vernooij <jelmer@samba.org>
This commit is contained in:
parent
964e412ead
commit
0edc1476b7
@ -1037,7 +1037,8 @@ class dc_join(object):
|
||||
"flatname" : ctx.forest_domain_name,
|
||||
"trustPartner" : ctx.dnsforest,
|
||||
"trustAuthIncoming" : ndr_pack(outgoing),
|
||||
"trustAuthOutgoing" : ndr_pack(outgoing)
|
||||
"trustAuthOutgoing" : ndr_pack(outgoing),
|
||||
"securityIdentifier" : ndr_pack(ctx.forestsid)
|
||||
}
|
||||
ctx.local_samdb.add(rec)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user