Problem joining AD domain
Martin Hochreiter
linuxbox at wavenet.at
Tue Apr 19 06:56:22 MDT 2011
Hi!
I want to join a samba4 to a w2003 domain as domain controller (windows
update-able DNS is used).
The base system is a centos 5.6.
I pulled the lasted git - resolv.conf points to the correct dns but the
samba-tool delivers the error message below.
Can somebody help me her please?
regards
Martin
[root at smb4AD etc]# /usr/local/samba/bin/samba-tool join fhstp.local DC
-Uadministrator%XXXXXXX --option=realm=FHSTP.LOCAL --option="ads:dc
function level=2003" --option="ads:min function level=0"
Finding a writeable DC for domain 'fhstp.local'
Found DC w2003r2ad.fhstp.local
workgroup is FH
realm is fhstp.local
checking samaccountname
Adding CN=SMB4AD,OU=Domain Controllers,DC=fhstp,DC=local
Adding
CN=SMB4AD,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=fhstp,DC=local
Adding CN=NTDS
Settings,CN=SMB4AD,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=fhstp,DC=local
Adding SPNs to CN=SMB4AD,OU=Domain Controllers,DC=fhstp,DC=local
Setting account password for SMB4AD$
Enabling account
Calling bare provision
Provision OK for domain DN DC=fhstp,DC=local
Starting replication
Join failed - cleaning up
checking samaccountname
Deleted CN=SMB4AD,OU=Domain Controllers,DC=fhstp,DC=local
Deleted CN=NTDS
Settings,CN=SMB4AD,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=fhstp,DC=local
Deleted
CN=SMB4AD,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=fhstp,DC=local
ERROR(runtime): uncaught exception - (-1073741643, 'NT_STATUS_IO_TIMEOUT')
File
"/usr/local/samba/lib64/python2.4/site-packages/samba/netcmd/__init__.py",
line 134, in _run
return self.run(*args, **kwargs)
File
"/usr/local/samba/lib64/python2.4/site-packages/samba/netcmd/join.py",
line 64, in run
site=site, netbios_name=netbios_name)
File "/usr/local/samba/lib64/python2.4/site-packages/samba/join.py",
line 581, in join_DC
ctx.do_join()
File "/usr/local/samba/lib64/python2.4/site-packages/samba/join.py",
line 515, in do_join
ctx.join_replicate()
File "/usr/local/samba/lib64/python2.4/site-packages/samba/join.py",
line 466, in join_replicate
replica_flags=ctx.replica_flags)
File
"/usr/local/samba/lib64/python2.4/site-packages/samba/drs_utils.py",
line 167, in replicate
(level, ctr) = self.drs.DsGetNCChanges(self.drs_handle, req_level, req)
More information about the samba-technical
mailing list