Hello list, iam again with the same problem, i need help.....Iam follow the step in the URL https://wiki.samba.org/index.php/Samba4_joining_a_domain, when i run bin/samba-tool domain join samba.example.com DC -Uadministrator --realm=samba.example.com i have the follow error.
root@backup:/usr/local/samba/bin# ./samba-tool domain join eccmg.cupet.cu DC -Usandy --realm=eccmg.cupet.cu Finding a writeable DC for domain 'eccmg.cupet.cu' Found DC siscont.eccmg.cupet.cu Password for [WORKGROUP\sandy]: workgroup is ECCMG realm is eccmg.cupet.cu checking sAMAccountName Adding CN=BACKUP,OU=Domain Controllers,DC=eccmg,DC=cupet,DC=cu Adding CN=BACKUP,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=eccmg,DC=cupet,DC=cu Adding CN=NTDS Settings,CN=BACKUP,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=eccmg,DC=cupet,DC=cu Join failed - cleaning up checking sAMAccountName Deleted CN=BACKUP,OU=Domain Controllers,DC=eccmg,DC=cupet,DC=cu Deleted CN=BACKUP,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=eccmg,DC=cupet,DC=cu ERROR(runtime): uncaught exception - (-1073741790, 'Access denied') File "/usr/local/samba/lib/python2.6/site-packages/samba/netcmd/__init__.py", line 162, in _run return self.run(*args, **kwargs) File "/usr/local/samba/lib/python2.6/site-packages/samba/netcmd/domain.py", line 180, in run machinepass=machinepass) File "/usr/local/samba/lib/python2.6/site-packages/samba/join.py", line 967, in join_DC ctx.do_join() File "/usr/local/samba/lib/python2.6/site-packages/samba/join.py", line 872, in do_join ctx.join_add_objects() File "/usr/local/samba/lib/python2.6/site-packages/samba/join.py", line 467, in join_add_objects ctx.join_add_ntdsdsa() File "/usr/local/samba/lib/python2.6/site-packages/samba/join.py", line 416, in join_add_ntdsdsa ctx.DsAddEntry([rec]) File "/usr/local/samba/lib/python2.6/site-packages/samba/join.py", line 326, in DsAddEntry ctx.drsuapi_connect() File "/usr/local/samba/lib/python2.6/site-packages/samba/join.py", line 305, in drsuapi_connect (ctx.drsuapi_handle, ctx.bind_supported_extensions) = drs_utils.drs_DsBind(ctx.drsuapi) File "/usr/local/samba/lib/python2.6/site-packages/samba/drs_utils.py", line 144, in drs_DsBind (info, handle) = drs.DsBind(misc.GUID(drsuapi.DRSUAPI_DS_BIND_GUID), bind_info) -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba