[cifs-protocol] [REG:110122106325012] strange records in DNS LDAP NCs

tridge at samba.org tridge at samba.org
Mon Dec 20 19:30:24 MST 2010

 > I created SR 110122106325012 to track this issue.  An engineer from the protocols team will contact you soon.


Here is an example of a non-zero dwReserved for the 2nd question:

dnsRecord:     NDR: struct dnsp_DnssrvRpcRecord
        wDataLength              : 0x0021 (33)
        wType                    : DNS_TYPE_SRV (33)
        dwFlags                  : 0x0000f005 (61445)
        dwSerial                 : 0x000002ac (684)
        dwTtlSeconds             : 0x00000258 (600)
        dwTimeStamp              : 0x00000000 (0)
        dwReserved               : 0x0036d5ee (3593710)
        data                     : union dnsRecordData(case 33)
        srv: struct dnsp_srv
            wPriority                : 0x0000 (0)
            wWeight                  : 0x0064 (100)
            wPort                    : 0x0185 (389)
            nameTarget               : w2k8r2b.v2.tridgell.net

 > 2) what is the dwReserved field in all the dnsNode records? The MS-DNSP doc says:
 >    dwReserved: This value MUST be set to 0x00000000 when sent by the client and ignored on
 >      receipt by the server.
 > but that makes no sense. These are fields that are sent by the LDAP or DRS server in response to queries. The values are far too consistent to be random. 
 > Note that we are not asking about the DNS RPC protocol that MS-DNSP concentrates on. In our case Samba is a DC that is replicating the DNS NCs with Microsoft DCs. We need to know how to fill in these fields when we create records that will be replicated to MS DNS servers via DRS.
 > Cheers, Tridge

More information about the cifs-protocol mailing list