Page 1 of 1

[HELP] Active Directory session from PHP

Posted: Mon Apr 19, 2004 7:46 am
by jetze
Hi all,

Is there any way to get the Windows 2000 Server Active Directory session from PHP??

Actually, I don't understand how the Active Directory works. Where are all the information about an opened session stocked??

Hoping your suggestions....thanks....

Posted: Wed May 12, 2004 11:22 am
by dave420
Look in the manual under LDAP. You can connect to your AD server using that. LDAP is pretty good at giving you general information about your network, but lacks on up-to-the-second user info, such as who's logged on to what machine, or which computers are actually turned on. Youi can use the PSTools suite from sysinternals (for free) in your PHP (as well as the "net view" command) to find out which users are on which machines. It's not perfect, but very very powerful.