[Samba] Setup a Samba AD DC as an additional DC

Barry D. Adkins Barry at daram.com
Sat Nov 24 08:04:36 UTC 2018


++++++++++++
Wait, I spoke too soon.  After reviewing the long list of things it did do, but didn't before... I see, "Join failed - cleaning up".

I have not listed the entire list of things it did accomplish but will if needed.  Here is the "end" where it appears to go wrong (I think)...

Partition[DC=daram,DC=com] objects[5985/14688] linked_values[0/385]
dsdb_replicated_objects_convert: Ignoring object outside partition c67ea78b-bf13-4fff-9edf-7f1d71013476 DC=DomainDnsZones,DC=daram,DC=com: WERR_DS_ADD_REPLICA_INHIBITED
dsdb_replicated_objects_convert: Ignoring object outside partition e511e246-2bca-4040-9ee1-c2192848072b CN=Configuration,DC=daram,DC=com: WERR_DS_ADD_REPLICA_INHIBITED
dsdb_replicated_objects_convert: Ignoring object outside partition 3e776b4d-bd1d-4d16-afd8-43a3cbf03938 DC=ForestDnsZones,DC=daram,DC=com: WERR_DS_ADD_REPLICA_INHIBITED
Done with always replicated NC (base, config, schema)
Replicating DC=DomainDnsZones,DC=daram,DC=com
Partition[DC=DomainDnsZones,DC=daram,DC=com] objects[402/480] linked_values[0/0]
Partition[DC=DomainDnsZones,DC=daram,DC=com] objects[419/480] linked_values[0/0]
Replicating DC=ForestDnsZones,DC=daram,DC=com
Partition[DC=ForestDnsZones,DC=daram,DC=com] objects[9/9] linked_values[0/0]
Exop on[CN=RID Manager$,CN=System,DC=daram,DC=com] objects[3] linked_values[0]
Committing SAM database
Adding 1 remote DNS records for HOUDCU1801.daram.com
Adding DNS A record HOUDCU1801.daram.com for IPv4 IP: 131.192.176.40
Adding DNS CNAME record c5a25e6e-d388-4b93-bf00-37471a4e2951._msdcs.daram.com for HOUDCU1801.daram.com
Join failed - cleaning up
Deleted CN=RID Set,CN=HOUDCU1801,OU=Domain Controllers,DC=daram,DC=com
Deleted CN=HOUDCU1801,OU=Domain Controllers,DC=daram,DC=com
Deleted CN=NTDS Settings,CN=HOUDCU1801,CN=Servers,CN=Houston,CN=Sites,CN=Configuration,DC=daram,DC=com
Deleted CN=HOUDCU1801,CN=Servers,CN=Houston,CN=Sites,CN=Configuration,DC=daram,DC=com
Deleted DC=HOUDCU1801,DC=daram.com,CN=MicrosoftDNS,DC=DomainDnsZones,DC=daram,DC=com
ERROR(runtime): uncaught exception - (9601, 'WERR_DNS_ERROR_ZONE_DOES_NOT_EXIST')
  File "/usr/lib/python2.7/dist-packages/samba/netcmd/__init__.py", line 177, in _run
    return self.run(*args, **kwargs)
  File "/usr/lib/python2.7/dist-packages/samba/netcmd/domain.py", line 716, in run
    backend_store=backend_store)
  File "/usr/lib/python2.7/dist-packages/samba/join.py", line 1500, in join_DC
    ctx.do_join()
  File "/usr/lib/python2.7/dist-packages/samba/join.py", line 1405, in do_join
    ctx.join_add_dns_records()
  File "/usr/lib/python2.7/dist-packages/samba/join.py", line 1164, in join_add_dns_records
    None)

"'WERR_DNS_ERROR_ZONE_DOES_NOT_EXIST'"

I'm not sure what DNS Zone it is looking for, but I suspect it must need to look for something different than it is looking for.

Barry Adkins


More information about the samba mailing list