> But now, does anyone now how to retrieve the username and password that > the user uses to logon to their PC so as to now authenticate for the > application against Active Directory? You got me interested, so I checked it again and there is an apache module that lets you authenticate against AD and it allows you to get automatic credentials from the browser. If the user is logged in the domain, then in $_SERVER["REMOTE_USER"] you get the username (DOMAIN\\username). If the user isnt logged in the domain, they get the login dialog. The module is mod_auth_sspi (for apache 2.0). You have to set up IE to enable automatic login and add the local intranet site to the trusted sites list. URIs: mod_auth_sspi http://www.gknw.net/development/apache/httpd-2.0/win32/modules/ IE setup http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnsecure/html/http-sso-1.asp I hope this helps -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php