- Code: Select all
$ldapconn = ldap_connect("ldap://DC01.DOMAIN.NET") or die ("Could Not Connecet to LDAP Server");
if ($ldapconn) {
$ldapbind = ldap_bind($ldapconn, $user, $password);
if ($ldapbind) {
echo "Bind Success";
}
else {
echo "Bind Failure";
}
When I pass a valid username and password I get the following error:
- Code: Select all
**Warning**: ldap_bind(); Unable to bind to server: Strong(er) authentication required... Bind Failure
I am currently running 7.4.12. Server the XAMPP is running on has a valid certificate for the domain. What am I missing?