On 07/30/2019 03:08 AM, Rowland penny via samba wrote:> I have been thinking about this and reading the code that didn't get > run and I know think that the OP is at the point that existed before > 4.6.0, He possibly has missing records in AD, can I suggest he reads > this: > > https://wiki.samba.org/index.php/Verifying_and_Creating_a_DC_DNS_Recordathena:~# host -t A athena.edm-inc.com athena.edm-inc.com has address 10.10.1.10 athena:~# host -t A ads1.edm-inc.com ads1.edm-inc.com has address 10.10.1.14 athena:~# ldbsearch -H /var/lib/samba/private/sam.ldb '(invocationId=*)' --cross-ncs objectguid # record 1 dn: CN=NTDS Settings,CN=ATHENA,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=edm-inc,DC=com objectGUID: 0a70b006-a6ea-4d60-a706-b6d5df668c90 # record 2 dn: CN=NTDS Settings,CN=ADS1,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=edm-inc,DC=com objectGUID: 40c6c8d7-37b3-4507-9d97-2ed274708993 # returned 2 records # 2 entries # 0 referrals athena:~# host -t CNAME 0a70b006-a6ea-4d60-a706-b6d5df668c90._msdcs.edm-inc.com 0a70b006-a6ea-4d60-a706-b6d5df668c90._msdcs.edm-inc.com is an alias for athena.edm-inc.com. athena:~# host -t CNAME 40c6c8d7-37b3-4507-9d97-2ed274708993._msdcs.edm-inc.com 40c6c8d7-37b3-4507-9d97-2ed274708993._msdcs.edm-inc.com is an alias for ads1.edm-inc.com. -- Bob Wooldridge EDM Incorporated
On 30/07/2019 15:04, Robert A Wooldridge via samba wrote:> On 07/30/2019 03:08 AM, Rowland penny via samba wrote: >> I have been thinking about this and reading the code that didn't get >> run and I know think that the OP is at the point that existed before >> 4.6.0, He possibly has missing records in AD, can I suggest he reads >> this: >> >> https://wiki.samba.org/index.php/Verifying_and_Creating_a_DC_DNS_Record > athena:~# host -t A athena.edm-inc.com > athena.edm-inc.com has address 10.10.1.10 > > athena:~# host -t A ads1.edm-inc.com > ads1.edm-inc.com has address 10.10.1.14 > > athena:~# ldbsearch -H /var/lib/samba/private/sam.ldb > '(invocationId=*)' --cross-ncs objectguid > # record 1 > dn: CN=NTDS > Settings,CN=ATHENA,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=edm-inc,DC=com > objectGUID: 0a70b006-a6ea-4d60-a706-b6d5df668c90 > > # record 2 > dn: CN=NTDS > Settings,CN=ADS1,CN=Servers,CN=Default-First-Site-Name,CN=Sites,CN=Configuration,DC=edm-inc,DC=com > objectGUID: 40c6c8d7-37b3-4507-9d97-2ed274708993 > > # returned 2 records > # 2 entries > # 0 referrals > > athena:~# host -t CNAME > 0a70b006-a6ea-4d60-a706-b6d5df668c90._msdcs.edm-inc.com > 0a70b006-a6ea-4d60-a706-b6d5df668c90._msdcs.edm-inc.com is an alias > for athena.edm-inc.com. > > athena:~# host -t CNAME > 40c6c8d7-37b3-4507-9d97-2ed274708993._msdcs.edm-inc.com > 40c6c8d7-37b3-4507-9d97-2ed274708993._msdcs.edm-inc.com is an alias > for ads1.edm-inc.com. > >This is getting weird, anything and everything seems to be working except for Serverinfo ??????? Rowland
On 07/30/2019 09:15 AM, Rowland penny via samba wrote:> This is getting weird, anything and everything seems to be working > except for Serverinfo ???????The other DC is Windows Server 2003, does that make any difference? Adding a DNS entry also fails: athena:~# samba-tool dns add athena edm-inc.com smtp A 10.10.1.9 ERROR(runtime): uncaught exception - (9717, 'WERR_DNS_ERROR_DS_UNAVAILABLE') ? 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/dns.py", line 945, in run ??? raise e -- Bob Wooldridge EDM Incorporated