[Samba] Serverinfo Error

Rowland penny rpenny at samba.org
Tue Jul 30 15:05:42 UTC 2019

On 30/07/2019 15:38, Robert A Wooldridge via samba wrote:
> 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
> ERROR(runtime): uncaught exception - (9717, 
>   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
Try running these commands:

ldbsearch --cross-ncs --show-binary -H /var/lib/samba/private/sam.ldb -b 
'CN=MicrosoftDNS,DC=DomainDnsZones,DC=edm-inc,DC=com' -s sub 
'(objectclass=dnsNode)' > domain_records.ldif

ldbsearch --cross-ncs --show-binary -H /var/lib/samba/private/sam.ldb -b 
'CN=MicrosoftDNS,DC=ForestDnsZones,DC=edm-inc,DC=com' -s sub 
'(objectclass=dnsNode)' > forest_records.ldif

There should be two commands, each should all on one line and should 
print out your dns records. Examine these and see if all the records you 
would expect are there. If you wish, you can send the files directly to 
me for examination.


More information about the samba mailing list