1
0
mirror of https://github.com/samba-team/samba.git synced 2025-07-27 07:42:04 +03:00

s4-domain-join: do not add DFSR entries when joining, this should be done in the code handling DFSR replication

This commit is contained in:
Matthieu Patou
2011-10-23 22:27:08 +02:00
parent dba46ca771
commit 3cdfcb9394

View 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()