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,
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
2 matches
Mail list logo