aranha08
(usa Outra)
Enviado em 27/12/2016 - 11:27h
Estou tentando colocar um servidor CENTOS7 no AD Microsoft o qual o
Domínio Funciona é Windowns Server 2012 quando dou o comando JOIN ele apresenta o seguinte erro:
samba-tool domain join teste.local DC -Uteste/administrator --realm=TESTE.LOCAL --dns-backend=SAMBA_INTERNAL
Finding a writeable DC for domain 'teste.local'
Found DC server01.teste.local
Password for [TESTE\administrator]:
workgroup is TESTE
realm is teste.local
checking sAMAccountName
Adding CN=SERVER02,OU=Domain Controllers,DC=teste,DC=local
Adding CN=SERVER02,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=teste,DC=local
Adding CN=NTDS Settings,CN=SERVER02,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=teste,DC=local
DsAddEntry failed with status (5, 'WERR_ACCESS_DENIED') info (8567, 'WERR_DS_INCOMPATIBLE_VERSION')
Join failed - cleaning up
checking sAMAccountName
Deleted CN=SERVER02,OU=Domain Controllers,DC=teste,DC=local
Deleted CN=SERVER02,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=teste,DC=local
ERROR(runtime): uncaught exception - DsAddEntry failed
File "/usr/local/samba/lib64/python2.7/site-packages/samba/netcmd/__init__.py", line 175, in _run
return self.run(*args, **kwargs)
File "/usr/local/samba/lib64/python2.7/site-packages/samba/netcmd/domain.py", line 651, in run
machinepass=machinepass, use_ntvfs=use_ntvfs, dns_backend=dns_backend)
File "/usr/local/samba/lib64/python2.7/site-packages/samba/join.py", line 1192, in join_DC
ctx.do_join()
File "/usr/local/samba/lib64/python2.7/site-packages/samba/join.py", line 1094, in do_join
ctx.join_add_objects()
File "/usr/local/samba/lib64/python2.7/site-packages/samba/join.py", line 572, in join_add_objects
ctx.join_add_ntdsdsa()
File "/usr/local/samba/lib64/python2.7/site-packages/samba/join.py", line 503, in join_add_ntdsdsa
ctx.DsAddEntry([rec])
File "/usr/local/samba/lib64/python2.7/site-packages/samba/join.py", line 454, in DsAddEntry
raise RuntimeError("DsAddEntry failed")
Será que alguém já passou por isso pois já compilei as versão 4.1.18, 4.4.0, 4.4.5 e a 4.5.3. e o erro continua.