[Samba] DC Join Error

Oliver Werner oliver.werner at kontrast.de
Fri Apr 15 13:27:01 UTC 2016


Hi When i would like to Join a new DC to Domain i got following error:


samba-tool domain join hq.kontrast DC -Uadministrator --realm=HQ.KONTRAST --dns-backend=SAMBA_INTERNAL --option="interfaces=lo bond0:37" --option="bind interfaces only=yes"

Finding a writeable DC for domain 'hq.kontrast'
Found DC vl0227.hq.kontrast
Password for [HQKONTRAST\administrator]:
workgroup is HQKONTRAST
realm is hq.kontrast
checking sAMAccountName
Adding CN=PL0231,OU=Domain Controllers,DC=hq,DC=kontrast
Adding CN=PL0231,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=hq,DC=kontrast
Adding CN=NTDS Settings,CN=PL0231,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=hq,DC=kontrast
Adding SPNs to CN=PL0231,OU=Domain Controllers,DC=hq,DC=kontrast
Setting account password for PL0231$
Enabling account
Calling bare provision
Looking up IPv4 addresses
Looking up IPv6 addresses
No IPv6 address will be assigned
Setting up share.ldb
Setting up secrets.ldb
Setting up the registry
Setting up the privileges database
Setting up idmap db
Setting up SAM db
Setting up sam.ldb partitions and settings
Setting up sam.ldb rootDSE
Pre-loading the Samba 4 and AD schema
A Kerberos configuration suitable for Samba 4 has been generated at /var/lib/samba/private/krb5.conf
Provision OK for domain DN DC=hq,DC=kontrast
Starting replication
Schema-DN[CN=Schema,CN=Configuration,DC=hq,DC=kontrast] objects[402/1590] linked_values[0/0]
Schema-DN[CN=Schema,CN=Configuration,DC=hq,DC=kontrast] objects[804/1590] linked_values[0/0]
Schema-DN[CN=Schema,CN=Configuration,DC=hq,DC=kontrast] objects[1206/1590] linked_values[0/0]
Schema-DN[CN=Schema,CN=Configuration,DC=hq,DC=kontrast] objects[1590/1590] linked_values[0/0]
Analyze and apply schema objects
Partition[CN=Configuration,DC=hq,DC=kontrast] objects[402/1665] linked_values[0/0]
Partition[CN=Configuration,DC=hq,DC=kontrast] objects[804/1665] linked_values[0/0]
Partition[CN=Configuration,DC=hq,DC=kontrast] objects[1206/1665] linked_values[0/0]
Partition[CN=Configuration,DC=hq,DC=kontrast] objects[1608/1665] linked_values[0/0]
Partition[CN=Configuration,DC=hq,DC=kontrast] objects[1665/1665] linked_values[38/0]
Replicating critical objects from the base DN of the domain
Partition[DC=hq,DC=kontrast] objects[98/98] linked_values[40/0]
Partition[DC=hq,DC=kontrast] objects[500/4547] linked_values[0/0]
Partition[DC=hq,DC=kontrast] objects[902/4547] linked_values[0/0]
Partition[DC=hq,DC=kontrast] objects[1304/4547] linked_values[0/0]
Partition[DC=hq,DC=kontrast] objects[1706/4547] linked_values[0/0]
Partition[DC=hq,DC=kontrast] objects[2108/4547] linked_values[0/0]
Partition[DC=hq,DC=kontrast] objects[2510/4547] linked_values[0/0]
Partition[DC=hq,DC=kontrast] objects[2912/4547] linked_values[0/0]
Partition[DC=hq,DC=kontrast] objects[3314/4547] linked_values[0/0]
Partition[DC=hq,DC=kontrast] objects[3716/4547] linked_values[0/0]
Partition[DC=hq,DC=kontrast] objects[4118/4547] linked_values[0/0]
Join failed - cleaning up
checking sAMAccountName
Deleted CN=PL0231,OU=Domain Controllers,DC=hq,DC=kontrast
Deleted CN=NTDS Settings,CN=PL0231,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=hq,DC=kontrast
Deleted CN=PL0231,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=hq,DC=kontrast
ERROR(runtime): uncaught exception - (-1073610723, 'An RPC protocol error occurred.')
  File "/usr/lib/python2.7/dist-packages/samba/netcmd/__init__.py", line 175, in _run
    return self.run(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/samba/netcmd/domain.py", line 613, in run
    machinepass=machinepass, use_ntvfs=use_ntvfs, dns_backend=dns_backend)
  File "/usr/lib/python2.7/dist-packages/samba/join.py", line 1183, in join_DC
    ctx.do_join()
  File "/usr/lib/python2.7/dist-packages/samba/join.py", line 1088, in do_join
    ctx.join_replicate()
  File "/usr/lib/python2.7/dist-packages/samba/join.py", line 828, in join_replicate
    replica_flags=ctx.domain_replica_flags)
  File "/usr/lib/python2.7/dist-packages/samba/drs_utils.py", line 252, in replicate
    (level, ctr) = self.drs.DsGetNCChanges(self.drs_handle, req_level, req)


Any Idea?

OLIVER WERNER
Systemadministrator





Kontrast Communication Services GmbH
Grafenberger Allee 100, 40237 Düsseldorf, Germany

Fon  +49-211-91505-500
Fax  +49-211-91505-530
www.kontrast.de <http://www.kontrast.de/>

Amtsgericht Düsseldorf: HRB 26934
Geschäftsführer: Joachim Fischer, Anja Grote-Lutter, Leontine van der Vlist

 <https://www.facebook.com/kontrast.communication>     <https://twitter.com/KONTRAST_de>     <http://www.xing.com/companies/kontrastcommunicationservicesgmbh>     <http://www.linkedin.com/company/kontrast-communication-services-gmbh>     <https://vimeo.com/kontrastcs>     <http://instagram.com/kontrast_de>

Note: The information contained in this message may be privileged and confidential and protected from disclosure. If the reader of this message is not the intended recipient, or an employee or agent responsible for delivering this message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please notify us immediately by replying to the message and deleting it from your computer.

Please consider the environment and only print this if required.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 842 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://lists.samba.org/pipermail/samba/attachments/20160415/e69e461b/signature.sig>


More information about the samba mailing list