What algorithm does Secure Password Administrator (SPA) use to determine the nearest domain controll (NETIQKB42535)

  • 7742535
  • 02-Feb-2007
  • 06-Oct-2011

Environment

Secure Password Administrator 1.0

Situation

What algorithm does Secure Password Administrator (SPA) use to determine the nearest domain controller to the IP address of the client?

How does Secure Password Administrator (SPA) determine the closest domain controller (DC) to the client machine?

Resolution

Secure Password Administrator makes a call to the system function DsGetDcName using the client's IP address.  See the following link for more information on DsGetDcName:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/ad/ad/dsgetdcname.asp

Notice the comments about the SiteName parameter:

If this parameter is NULL, DsGetDcName attempts to return a domain controller in the site closest to the site of the computer specified by ComputerName.  This parameter should be NULL, by default.



Additional Information

Formerly known as NETIQKB42535