[Samba] Demoted dc not completely demoted, maybe?

Rowland Penny rpenny at samba.org
Fri Mar 9 14:30:39 UTC 2018

On Fri, 9 Mar 2018 08:06:46 -0600
Robert Wooden <bob at donelsontrophy.com> wrote:

> Replaced as instructed and ran the command. It claimed "success",
> however (RSAT) DNS Manager still shows demoted DC as SOA record.
> BTW, this demoted DC is now shut off.
> Suggestions?

Try this:

ldbsearch -H /usr/local/samba/private/sam.ldb --cross-ncs --show-binary
-s sub '(&(objectClass=dnsNode)(DC=@))'

NOTE: it should all be on one line.

It should produce the SOA record (after you make the obvious changes),
what 'dnsRecord' objects does it show ? There should a 'DNS_TYPE_NS'
and a 'DNS_TYPE_A' record for each DC. Is the dead DC amongst them ?


More information about the samba mailing list