1
0
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:
Andrew Bartlett 2014-08-11 11:46:51 +12:00
parent 964e412ead
commit 0edc1476b7

View File

@ -1037,7 +1037,8 @@ class dc_join(object):
"flatname" : ctx.forest_domain_name, "flatname" : ctx.forest_domain_name,
"trustPartner" : ctx.dnsforest, "trustPartner" : ctx.dnsforest,
"trustAuthIncoming" : ndr_pack(outgoing), "trustAuthIncoming" : ndr_pack(outgoing),
"trustAuthOutgoing" : ndr_pack(outgoing) "trustAuthOutgoing" : ndr_pack(outgoing),
"securityIdentifier" : ndr_pack(ctx.forestsid)
} }
ctx.local_samdb.add(rec) ctx.local_samdb.add(rec)