silug / samba4-dc-rpm

Samba package with AD support for CentOS/RHEL
https://copr.fedorainfracloud.org/coprs/steve/samba4-dc/
0 stars 1 forks source link

problem to join a second dc in samba at centos7 with copr repo #1

Open felipediefenbach opened 7 years ago

felipediefenbach commented 7 years ago

[root@documentos ~]# samba-tool domain join bacalhau.ll.kkk.ls DC -U"bacalhau\administrator" --dns-backend=SAMBA_INTERNAL Finding a writeable DC for domain 'bacalhau.ll.kkk.ls' Found DC pmgad.bacalhau.ll.kkk.ls Password for [bacalhau\administrator]: workgroup is bacalhau realm is bacalhau.ll.kkk.ls Adding CN=DOCUMENTOS,OU=Domain Controllell,DC=bacalhau,DC=ll,DC=kkk,DC=ls Adding CN=DOCUMENTOS,CN=Servell,CN=Default-Fillt-Site-Name,CN=Sites,CN=Configuration,DC=bacalhau,DC=ll,DC=kkk,DC=ls Adding CN=NTDS Settings,CN=DOCUMENTOS,CN=Servell,CN=Default-Fillt-Site-Name,CN=Sites,CN=Configuration,DC=bacalhau,DC=ll,DC=kkk,DC=ls Adding SPNs to CN=DOCUMENTOS,OU=Domain Controllell,DC=bacalhau,DC=ll,DC=kkk,DC=ls Setting account password for DOCUMENTOS$ Enabling account Calling bare provision Looking up IPv4 addresses Looking up IPv6 addresses No IPv6 address will be assigned Setting up share.ldb Unable to find backend for '/var/lib/samba/private/share.ldb' - do you need to set LDB_MODULES_PATH? Join failed - cleaning up ldb: Unable to find backend for '/var/lib/samba/private/secrets.ldb' - do you need to set LDB_MODULES_PATH? Deleted CN=DOCUMENTOS,OU=Domain Controllell,DC=bacalhau,DC=ll,DC=kkk,DC=ls Deleted CN=NTDS Settings,CN=DOCUMENTOS,CN=Servell,CN=Default-Fillt-Site-Name,CN=Sites,CN=Configuration,DC=bacalhau,DC=ll,DC=kkk,DC=ls Deleted CN=DOCUMENTOS,CN=Servell,CN=Default-Fillt-Site-Name,CN=Sites,CN=Configuration,DC=bacalhau,DC=ll,DC=kkk,DC=ls ERROR(ldb): uncaught exception - None File "/usr/lib64/python2.7/site-packages/samba/netcmd/init.py", line 176, in _run return self.run(*args, **kwargs) File "/usr/lib64/python2.7/site-packages/samba/netcmd/domain.py", line 661, in run machinepass=machinepass, use_ntvfs=use_ntvfs, dns_backend=dns_backend) File "/usr/lib64/python2.7/site-packages/samba/join.py", line 1269, in join_DC ctx.do_join() File "/usr/lib64/python2.7/site-packages/samba/join.py", line 1176, in do_join ctx.join_provision() File "/usr/lib64/python2.7/site-packages/samba/join.py", line 811, in join_provision use_ntvfs=ctx.use_ntvfs, dns_backend=ctx.dns_backend) File "/usr/lib64/python2.7/site-packages/samba/provision/init.py", line 2118, in provision share_ldb = Ldb(paths.shareconf, session_info=session_info, lp=lp) File "/usr/lib64/python2.7/site-packages/samba/init.py", line 115, in init self.connect(url, flags, options)