Well the password will be encrypted I'd think in AD, are you sure you want to retrieve the password, or just authenticate the login? The code I sent should do that just fine, not sure about with the LDAP library you're using. Matt ________________________________ From: dale@xxxxxxxxxxxxxxxxxxxxx [mailto:dale@xxxxxxxxxxxxxxxxxxxxx] Sent: Wed 2/15/2006 12:25 AM To: php-windows@xxxxxxxxxxxxx Subject: System integration Step 2 Hi guys, Got LDAP working and I am able to authenticate against Active Directory. 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? Kind Regards, Dale -- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php