s4-domain-join: do not add DFSR entries when joining, this should be done in the...
authorMatthieu Patou <mat@matws.net>
Sun, 23 Oct 2011 20:27:08 +0000 (22:27 +0200)
committerMatthieu Patou <mat@matws.net>
Tue, 1 Nov 2011 16:26:51 +0000 (17:26 +0100)
source4/scripting/python/samba/join.py

index 6a8ac97f1c3ebcd11c92e5ab63c56d0d3d47cbf4..535120c682534c6d658da6a597353c2b2181f3ae 100644 (file)
@@ -471,15 +471,6 @@ class dc_join(object):
                 "fromServer" : ctx.dc_ntds_dn}
             ctx.samdb.add(rec)
 
-        if ctx.topology_dn and ctx.acct_dn:
-            print "Adding %s" % ctx.topology_dn
-            rec = {
-                "dn" : ctx.topology_dn,
-                "objectclass" : "msDFSR-Member",
-                "msDFSR-ComputerReference" : ctx.acct_dn,
-                "serverReference" : ctx.ntds_dn}
-            ctx.samdb.add(rec)
-
         if ctx.acct_dn:
             print "Adding SPNs to %s" % ctx.acct_dn
             m = ldb.Message()