To answer my own question...
If you have valid credentials, and you're still getting a "invalid credentials" error - check to make sure that with all your testing, etc. that you haven't caused your account to be locked. Heh. Not that I would know anything about that... ;-)
So, that's what had...
Sure.
The latest bit of code I have running is this:
$ldap_host = "12.3.45.6";
// 12.3.45.6 - fake IP, obviously I use the real one in my script...
$ldap_user = "uid=myuserid,ou=users,dc=mycompany,dc=com";
// our user data isn't in "people" like others I've read
// about online - it's...
I need to authenticate a user using PHP and LDAP. I can successfully, connect to the LDAP server. ldap_bind() annonymously. And ldap_search(). But if I want to authenticate the username(userdn)/password pair by doing ldap_bind() with that pair - I get an "invalid credentials" error (however...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.