Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

FIxed a bug that was affecting one customer site using Novell LDAP

  • Loading branch information...
commit aa3d9221e260847bdea11921101e1fcd957fe1d1 1 parent e0f27e8
moodler authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  auth/ldap/lib.php
View
2  auth/ldap/lib.php
@@ -122,7 +122,7 @@ function auth_get_userinfo($username){
$user_dn = auth_ldap_find_userdn($ldap_connection, $username);
- if (! isset($CFG->ldap_objectclass)) {
+ if (empty($CFG->ldap_objectclass)) { // Can't send empty filter
$CFG->ldap_objectclass="objectClass=*";
}
Please sign in to comment.
Something went wrong with that request. Please try again.