mirror of
https://github.com/samba-team/samba.git
synced 2025-03-20 22:50:26 +03:00
samdb: fix wrong computer container dn for newcomputer
CN=Users --> CN=Computers Signed-off-by: Joe Guo <joeg@catalyst.net.nz> Reviewed-by: Alexander Bokovoy <ab@samba.org> Reviewed-by: Rowland Penny <rpenny@samba.org>
This commit is contained in:
parent
8a0c7f39d6
commit
ca387c221f
@ -508,7 +508,7 @@ member: %s
|
||||
raise Exception('Illegal computername "%s"' % computername)
|
||||
samaccountname = "%s$" % cn
|
||||
|
||||
computercontainer_dn = "CN=Users,%s" % self.domain_dn()
|
||||
computercontainer_dn = "CN=Computers,%s" % self.domain_dn()
|
||||
if computerou:
|
||||
computercontainer_dn = self.normalize_dn_in_domain(computerou)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user