RE: [PHP] Windows user authentication thru PHP and Apache

2004-09-02 Thread David Kevey
This has worked for me in the past - it requires LDAP to be enabled in PHP to authenticate against the domain controller. ldap://YOUR_DC";; //DC to authenticate against $filter="(samaccountname=$Username)"; $connect=ldap_connect($ldap_server); ldap_set_option($connect, LDAP_OPT_PROTOCOL_VERSION,

Re: [PHP] Windows user authentication thru PHP and Apache

2004-09-02 Thread Marek Kilimajer
Merritt, David wrote: All, Wanting to build a login page which uses the same user information as the user's Windows account. Is there a way to validate a user's login information against the primary Windows domain controller using PHP and Apache? Searching the archives all I'm finding is how t