>Win2k appears[1] to try everything via DNS/Hosts resolution first. Which makes sense.
Traces I have done support that theory for name resolution in general, except for the
DC discovery process by netlogon which appears to work just as documented -
1. On the client (the computer that is locating the domain controller), the Locator is
initiated as a remote procedure call (RPC) to the local Net Logon service. The Locator
API (DsGetDcName) is implemented by the Net Logon service.
2. The client collects the information that is needed to select a domain controller
and passes the information to the Net Logon service by using the DsGetDcName API.
One of the parameters collected by the DsGetDcName API that Net Logon uses to collect
information from the client and to compose the DNS or WINS query is **DomainName**.
**DomainName** The name of the domain to be queried. This name can be either a
DNS-style name or a flat, NetBIOS-style name.
3. The Net Logon service on the client uses the collected information to look up a
domain controller for the specified domain in one of two ways:
� For a DNS name, Net Logon queries DNS by using the IP/DNS-compatible Locator -
that is, DsGetDcName calls DnsQuery to read the SRV records and A records from DNS
after it appends an appropriate string to the front of the domain name that specifies
the SRV record.
� For a NetBIOS name, Net Logon performs domain controller discovery by using
the Windows NT 4.0-compatible Locator - that is, by using the transport-specific
mechanism (for example, WINS).
4. The Net Logon service sends a datagram to the discovered domain controllers
("pings" the computers) that register the name. For NetBIOS domain names, the datagram
is implemented as a mailslot message. For DNS domain names, the datagram is
implemented as an LDAP UDP search.
5. Each available domain controller responds to the datagram to indicate that it
is currently operational and then returns the information to DsGetDcName.
6. The Net Logon service returns the information to the client from the domain
controller that responds first.
7. The Net Logon service caches the domain controller information so that it is
not necessary to repeat the discovery process for subsequent requests. Caching this
information encourages the consistent use of the same domain controller and, thus, a
consistent view of Active Directory.
-----Original Message-----
From: Roger Seielstad [mailto:[EMAIL PROTECTED]]
Sent: Friday, December 13, 2002 5:00 AM
To: '[EMAIL PROTECTED]'
Subject: RE: [ActiveDir] user logon domain controller discovery
The NT4 design was to follow 2 paths for name resolution - unqualified (ie
hostname only) names followed the NetBIOS path (basically WINS/LMHosts then
DNS/Hosts), and fully qualified names went DNS first.
Win2k appears[1] to try everything via DNS/Hosts resolution first. Which
makes sense.
In the DNS world, when trying to resolve an unqualified name (ie hostname
only), the domain suffix search order is appended, in the order listed, to
attempt resolution. The primary DNS suffix for the computer (generally the
DNS name of the domain to which the machine belongs) is tried first, then
connection specific suffixes, and finally any other specified in the domain
suffix search order (TCP/IP properties of your network connections).
So, I'd go on the assumption that DNS is tried first.
------------------------------------------------------
Roger D. Seielstad - MCSE
Sr. Systems Administrator
Inovis - Formerly Harbinger and Extricity
Atlanta, GA
[1] I think someone sent me a TechNet article to prove it, but I didn't keep
it. Bad me.
> -----Original Message-----
> From: Graham Turner [mailto:[EMAIL PROTECTED]]
> Sent: Friday, December 13, 2002 4:49 AM
> To: [EMAIL PROTECTED]
> Subject: [ActiveDir] user logon domain controller discovery
>
>
> scenario - windows 2000 client has established secure
> channel, authenticated
> using kerberos to the dns domain of which it is a member.
>
> what determines the locator process (wins / dns) for the
> discovery of the DC
> for the user logon ??
>
> MS tell us that for a NetBIOS name WINS is used -
>
> most users unless instructed to the contrary will use on the domains
> (NetBIOS) from the pick list of the logon dialog box
>
> does this mean that WINS is used for the DC locator ??
>
> OR is there some process by the client "maps" this NetBIOS
> domain name to a
> DNS domain ?? and attempt to use DNS / LDAP ??
>
> under NTLM / NT4 the logon request would be passed to the DC
> secure channel
> partner as a pass thru authentication request. (discovered by wins /
> netlogon)
>
> this pass thru authentication process is not implemented by
> Kereberos or is
> it ??
>
> will be glad for help on this one
>
> GT
>
>
> List info : http://www.activedir.org/mail_list.htm
> List FAQ : http://www.activedir.org/list_faq.htm
> List archive:
> http://www.mail-archive.com/activedir%> 40mail.activedir.org/
>
List info : http://www.activedir.org/mail_list.htm
List FAQ : http://www.activedir.org/list_faq.htm
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/
List info : http://www.activedir.org/mail_list.htm
List FAQ : http://www.activedir.org/list_faq.htm
List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/