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:
@ -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()
|
||||
|
Reference in New Issue
Block a user