Browse Source

* fix check for message type

master
Alex 'AdUser' Z 9 years ago
parent
commit
61a2d6d95d
  1. 2
      src/ldapauth.c

2
src/ldapauth.c

@ -174,7 +174,7 @@ oal_check_cred(oal_config_t * const config,
}
do {
if (ldap_msgtype(msg) != LDAP_RES_SEARCH_RESULT)
if (ldap_msgtype(msg) != LDAP_RES_SEARCH_ENTRY)
continue;
if ((udn = ldap_get_dn(sld, msg)) == NULL || strlen(udn) == 0) {

Loading…
Cancel
Save