<?php $ldap = ldap_connect("mydomian.com"); $username="email@example.com"; $password="tyest123"; if($bind = ldap_bind($ldap, $username,$password )) echo "logged in"; else echo "fail"; echo "done"; ?>
[Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum’s parser.]
When I use this It doesn’t fail, but when I try your plugin it always fails. already inputted every detail needed, any other way to make this work?
I entered the domain name, port, and Base DN still no go
- The topic ‘Authentication Failed’ is closed to new replies.