[Samba] Samba trying to connect to a non-existant DC for NTP?

Rowland Penny rpenny at samba.org
Wed Feb 14 21:18:09 UTC 2024


On Wed, 14 Feb 2024 15:37:48 -0500
"James B. Byrne via samba" <samba at lists.samba.org> wrote:

> On Wed Feb 14 19:48:49 UTC 2024 Rowland Penny rpenny at samba.org wrote:
> 
> > Is there anything left in AD that refers to your removed DC ?
> > If the removed DC was the holder of the PDC_Emulator FSMO role,
> > that is one place I would check.
> 
> This is what I found.  It seems that the FSMO role owner is SMB4-2
> but that SMB4-1 is somehow connected:
> 
> samba-ldbsearch --cross-ncs -H /var/db/samba4/private/sam.ldb
> '(fsmoroleowner=*)'
> 

Sorry I should have been a bit more precise, I was thinking about dns
records.
What does this produce:

samba-ldbsearch --cross-ncs --show-binary -H
/var/db/samba4/private/sam.ldb -b 'DC=brockley,DC=harte-lyne,DC=ca' -s
sub '(&(objectclass=dnsnode)(name=_ldap._tcp.pdc))'

Rowland



More information about the samba mailing list