Machine Account Authentication

  • Thread starter Thread starter Kevin
  • Start date Start date
K

Kevin

We have serveral domain controllers in our active
directory. When a server re-boots we would like to be
ablt to tell which domain controller the machine account
authenticated with programmatically. Does anyone know how
to to this? Thanks.
 
Hello I'm unsure about what you want to do.

%LOGONSERVER% return the value of which DC the local client authenticated
to.

There is no such thing like Home Server within a Active Directory Domain.
You have to work with sites to control which DC clients will authenticate
to.

Step-by-Step Guide to Active Directory Sites and Services:
http://www.microsoft.com/windows2000/techinfo/planning/activedirectory/adsites.asp

--
Regards,

Christoffer Andersson
No email replies please - reply in the newsgroup
If the information was help full, you can let me know at:
http://www.itsystem.se/employers.asp?ID=1
 
Yes,

the best way is to create different sites and to place a
Global Catalog server for each site.

Moreno.
 
Hmmm... About the best I can think of is to check to see where your secure
channel is connected to OR look for the default LDAP server for the given
machine. I would start with the netgetdc netgetanydc functions.
 
Back
Top