samba-tool domain join (W2k)
Axel Lang
mail at axellang.de
Mon Jan 30 05:50:18 MST 2012
> Hi Matthias and Dirk,
> we also have two old win2k server (still running) and i will try to
perform this
> test in the next few days.
>
> Kind regards,
> Axel
>
>
Hi Matthias,
i applied your patch to my testcomputer and got a new error:
administrator at feigenblattkuerbis:~/samb-master$ sudo bin/samba-tool
domain join ilct.uni-hohenheim.de DC -Uadministrator
--realm=ilct.uni-hohenheim.de
Finding a writeable DC for domain 'ilct.uni-hohenheim.de'
Found DC lemisrv.ilct.uni-hohenheim.de
Password for [WORKGROUP\administrator]:
workgroup is ILCT
realm is ilct.uni-hohenheim.de
checking samaccountname
Adding CN=FEIGENBLATTKUERBIS,OU=Domain Controllers,DC=ilct,DC=uni-hohenheim,
DC=de
Adding CN=FEIGENBLATTKUERBIS,CN=Servers,CN=Standardname-des-ersten-Standorts,
CN=Sites,CN=Configuration,DC=ilct,DC=uni-hohenheim,DC=de
Adding CN=NTDS Settings,CN=FEIGENBLATTKUERBIS,CN=Servers,
CN=Standardname-des-ersten-Standorts, CN=Sites,CN=Configuration,DC=ilct,
DC=uni-hohenheim,DC=de
Adding SPNs to CN=FEIGENBLATTKUERBIS,OU=Domain Controllers,DC=ilct,
DC=uni-hohenheim,DC=de
Setting account password for FEIGENBLATTKUERBIS$
Join failed - cleaning up
checking samaccountname
Deleted CN=FEIGENBLATTKUERBIS,OU=Domain Controllers,DC=ilct,DC=uni-hohenheim,
DC=de
Deleted CN=NTDS Settings,CN=FEIGENBLATTKUERBIS,CN=Servers,
CN=Standardname-des-ersten-Standorts,CN=Sites,CN=Configuration,DC=ilct,
DC=uni-hohenheim,DC=de
Deleted CN=FEIGENBLATTKUERBIS,CN=Servers,CN=Standardname-des-ersten-Standorts,
CN=Sites,CN=Configuration,DC=ilct,DC=uni-hohenheim,DC=de
ERROR(<type 'exceptions.KeyError'>): uncaught exception
- 'No such element'
File "bin/python/samba/netcmd/__init__.py", line 167, in _run
return self.run(*args, **kwargs)
File "bin/python/samba/netcmd/domain.py", line 162, in run
machinepass=machinepass)
File "bin/python/samba/join.py", line 962, in join_DC
ctx.do_join()
File "bin/python/samba/join.py", line 867, in do_join
ctx.join_add_objects()
File "bin/python/samba/join.py", line 509, in join_add_objects
ctx.key_version_number = int(res[0]["msDS-keyVersionNumber"][0])
I hope this is not related to an error on my side.
Kind regards
Axel
More information about the samba-technical
mailing list