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

James B. Byrne byrnejb at harte-lyne.ca
Wed Feb 14 21:48:01 UTC 2024


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

> 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))'

# record 1
dn:
DC=_ldap._tcp.pdc,DC=_msdcs.brockley.harte-lyne.ca,CN=MicrosoftDNS,DC=ForestDnsZones,DC=brockley,DC=harte-lyne,DC=ca
objectClass: top
objectClass: dnsNode
instanceType: 4
whenCreated: 20200626203452.0Z
uSNCreated: 5218
showInAdvancedViewOnly: TRUE
name: _ldap._tcp.pdc
objectGUID: 7ae43ab4-454b-4aae-b411-f151c32a9078
objectCategory:
CN=Dns-Node,CN=Schema,CN=Configuration,DC=brockley,DC=harte-lyne,DC=ca
dc: _ldap._tcp.pdc
dnsRecord:     NDR: struct dnsp_DnssrvRpcRecord
        wDataLength              : 0x0027 (39)
        wType                    : DNS_TYPE_SRV (33)
        version                  : 0x05 (5)
        rank                     : DNS_RANK_ZONE (240)
        flags                    : 0x0000 (0)
        dwSerial                 : 0x0000006e (110)
        dwTtlSeconds             : 0x00000384 (900)
        dwReserved               : 0x00000000 (0)
        dwTimeStamp              : 0x00000000 (0)
        data                     : union dnsRecordData(case 33)
        srv: struct dnsp_srv
            wPriority                : 0x0000 (0)
            wWeight                  : 0x0064 (100)
            wPort                    : 0x0185 (389)
            nameTarget               : SMB4-1.brockley.harte-lyne.ca

dnsRecord:     NDR: struct dnsp_DnssrvRpcRecord
        wDataLength              : 0x0027 (39)
        wType                    : DNS_TYPE_SRV (33)
        version                  : 0x05 (5)
        rank                     : DNS_RANK_ZONE (240)
        flags                    : 0x0000 (0)
        dwSerial                 : 0x0000006e (110)
        dwTtlSeconds             : 0x00000384 (900)
        dwReserved               : 0x00000000 (0)
        dwTimeStamp              : 0x00000000 (0)
        data                     : union dnsRecordData(case 33)
        srv: struct dnsp_srv
            wPriority                : 0x0000 (0)
            wWeight                  : 0x0064 (100)
            wPort                    : 0x0185 (389)
            nameTarget               : smb4-2.brockley.harte-lyne.ca

whenChanged: 20200721154750.0Z
uSNChanged: 5347
distinguishedName:
DC=_ldap._tcp.pdc,DC=_msdcs.brockley.harte-lyne.ca,CN=MicrosoftDNS,DC=ForestDnsZones,DC=brockley,DC=harte-lyne,DC=ca

# returned 1 records
# 1 entries
# 0 referrals

-- 
***          e-Mail is NOT a SECURE channel          ***
        Do NOT transmit sensitive data via e-Mail
   Unencrypted messages have no legal claim to privacy
 Do NOT open attachments nor follow links sent by e-Mail

James B. Byrne                mailto:ByrneJB at Harte-Lyne.ca
Harte & Lyne Limited          http://www.harte-lyne.ca
9 Brockley Drive              vox: +1 905 561 1241
Hamilton, Ontario             fax: +1 905 561 0757
Canada  L8E 3C3






More information about the samba mailing list