[PATCH 10/22] join.py: Ensure we set the SID of the parent domain on the trust record

abartlet at samba.org abartlet at samba.org
Tue Aug 19 20:06:45 MDT 2014


From: Andrew Bartlett <abartlet at samba.org>

Change-Id: Ifaf3f2d1240d983a48ee1874fdc9c266354f6754
Signed-off-by: Andrew Bartlett <abartlet at samba.org>
---
 python/samba/join.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/python/samba/join.py b/python/samba/join.py
index 2cd492a..145ef94 100644
--- a/python/samba/join.py
+++ b/python/samba/join.py
@@ -1036,7 +1036,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)
 
-- 
2.0.1



More information about the samba-technical mailing list