++++++++++++ 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
I setup DNS replication in WINDOWS AD to: "All domain controllers in this domain (for Windows 2000 compatibility). The only other options were DNS running on a Forest/domain AD DC, which should probably be OKAY since we are making the Samba server a DC, but I was trying to see if I could get rid of the ADD_REPLICA_INHIBITED error. I also allowed DNS zone transfers, and allowed secure and unsecure Dynamic Updates. None of this may have anything to do with the problem. It seemed to me the failure to join has something to do with DNS. It throws a different error at the end. I've also included output around all the other things with an error: ... Partition[CN=Configuration,DC=daram,DC=com] objects[2511/8488] linked_values[3/1056] Failed to commit objects: DOS code 0x000021bf Missing target object - retrying with DRS_GET_TGT Partition[CN=Configuration,DC=daram,DC=com] objects[2913/8488] linked_values[3/1056] ... Partition[CN=Configuration,DC=daram,DC=com] objects[3882/8488] linked_values[253/1056] dsdb_replicated_objects_convert: Ignoring object outside partition 2025e6f9-27fa-4dba-b95f-8b4b78ef326a CN=Schema,CN=Configuration,DC=daram,DC=com: WERR_DS_ADD_REPLICA_INHIBITED Partition[CN=Configuration,DC=daram,DC=com] objects[4186/8488] linked_values[4/1056] ... Partition[CN=Configuration,DC=daram,DC=com] objects[5169/8488] linked_values[32/1056] dsdb_replicated_objects_convert: Ignoring object outside partition 2025e6f9-27fa-4dba-b95f-8b4b78ef326a CN=Schema,CN=Configuration,DC=daram,DC=com: WERR_DS_ADD_REPLICA_INHIBITED Partition[CN=Configuration,DC=daram,DC=com] objects[5216/8488] linked_values[12/1056] dsdb_replicated_objects_convert: Ignoring object outside partition 2025e6f9-27fa-4dba-b95f-8b4b78ef326a CN=Schema,CN=Configuration,DC=daram,DC=com: WERR_DS_ADD_REPLICA_INHIBITED Replicating critical objects from the base DN of the domain Partition[DC=daram,DC=com] objects[110/277] linked_values[60/385] Partition[DC=daram,DC=com] objects[245/14688] linked_values[56/385] Failed to commit objects: DOS code 0x000021bf Missing target object - retrying with DRS_GET_TGT Partition[DC=daram,DC=com] objects[355/14688] linked_values[34/385] ... Partition[DC=daram,DC=com] objects[6045/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 Partition[DC=daram,DC=com] objects[6184/14688] linked_values[0/385] Partition[DC=daram,DC=com] objects[6199/14688] linked_values[0/385] Done with always replicated NC (base, config, schema) Replicating DC=DomainDnsZones,DC=daram,DC=com Partition[DC=DomainDnsZones,DC=daram,DC=com] objects[391/480] linked_values[0/0] Partition[DC=DomainDnsZones,DC=daram,DC=com] objects[416/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 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=d aram,DC=com Deleted CN=HOUDCU1801,CN=Servers,CN=Houston,CN=Sites,CN=Configuration,DC=daram,DC=com ERROR(runtime): uncaught exception - (9005, 'WERR_DNS_ERROR_RCODE_REFUSED') 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 1110, in join_add_dns_records del_rec_buf) :~$ Barry Adkins
Last try before hopefully someone replies with guidance :-) I'm not insistent in using the HOUDCU1801 computer name if that's the problem. It seems like a DNS problem, but I'm a bit in the dark about what Samba doesn't like about the AD DNS. I deleted the A record in DNS and ran the join domain again and it throws a different error: 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 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 ERROR(runtime): uncaught exception - (9003, 'WERR_DNS_ERROR_RCODE_NAME_ERROR') 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 1142, in join_add_dns_records dns_partition=domaindns_zone_dn) File "/usr/lib/python2.7/dist-packages/samba/samdb.py", line 1057, in dns_lookup dns_partition=dns_partition) Barry Adkins -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/options/samba