[Samba] Error joining Domain - after first try failed
Dirk Laurenz (Samba Mailinglist Account)
samba at laurenz.ws
Tue Mar 25 06:00:57 MDT 2014
Hello,
i just setup a new samba domain, setting up the second dc failes.
I compiled the second dc myself and the first join failed due to a missing
directory (var/lib/samba/private)
I created it and the called the join command again...
But now the dc seems to exist, but is not visible in domain tools or
ldbedit. But I get this message.
What entry is meant here?
Is the out put of samba-tool domain join..
Finding a writeable DC for domain 'local.domain.ws'
Found DC samba01.local.domain.ws
workgroup is DOMAIN
realm is local.domain.ws
checking sAMAccountName
Adding CN=SAMBA02,OU=Domain Controllers,DC=local,DC=domain,DC=ws
Join failed - cleaning up
checking sAMAccountName
ERROR(ldb): uncaught exception - LDAP error 68 LDAP_ENTRY_ALREADY_EXISTS -
<00002071: ../lib/ldb/ldb_tdb/ldb_index.c:1216: Failed to re-index objectSid
in CN=SAMBA02,OU=Domain Controllers,DC=local,DC=domain,DC=ws -
../lib/ldb/ldb_tdb/ldb_index.c:1216: Failed to re-index objectSid in
CN=SAMBA02,OU=Domain Controllers,DC=local,DC=domain,DC=ws - ../l> <>
File "/usr/lib/python2.7/dist-packages/samba/netcmd/__init__.py", line
175, in _run
return self.run(*args, **kwargs)
File "/usr/lib/python2.7/dist-packages/samba/netcmd/domain.py", line 552,
in run
machinepass=machinepass, use_ntvfs=use_ntvfs, dns_backend=dns_backend)
File "/usr/lib/python2.7/dist-packages/samba/join.py", line 1172, in
join_DC
ctx.do_join()
File "/usr/lib/python2.7/dist-packages/samba/join.py", line 1075, in
do_join
ctx.join_add_objects()
File "/usr/lib/python2.7/dist-packages/samba/join.py", line 515, in
join_add_objects
ctx.samdb.add(rec)
Thanks a lot.
Dirk
More information about the samba
mailing list