Hi all, I'm trying to connect to my AD server and check if username and password is correct when I'm trying to do that, It always tells me:
Unable to bind to server: Invalid credentials
My code is:
$ldapconn = ldap_connect($adserver,$adport); $ldapbind = @ldap_bind($ldapconn,"$username","$password");
when I tried to set a username with and without domain name in this variations: [email protected] domain\user user
when I trying to bind anonymously, Its ok. Do you have any suggestion here? Thank you very much. regards. Elad.