Machine Account Authentication

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.
 
C

Chriss3

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
 
M

Moreno

Yes,

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

Moreno.
 
J

Joe Richards [MVP]

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top