(LDAP__lookup_princ): call ldap_search_s correctly. From Jacques
Vidrine <n@nectar.com> git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9618 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -583,8 +583,8 @@ LDAP__lookup_princ(krb5_context context, HDB * db, const char *princname,
|
||||
rc = 1;
|
||||
(void) ldap_set_option((LDAP *) db->db, LDAP_OPT_SIZELIMIT, (void *) &rc);
|
||||
|
||||
rc = ldap_search_s((LDAP *) db->db, db->name,
|
||||
LDAP_SCOPE_ONELEVEL, filter, NULL, 0, msg);
|
||||
rc = ldap_search_s((LDAP *) db->db, db->name, LDAP_SCOPE_ONELEVEL, filter,
|
||||
krb5kdcentry_attrs, 0, msg);
|
||||
if (rc != LDAP_SUCCESS) {
|
||||
ret = HDB_ERR_NOENTRY;
|
||||
goto out;
|
||||
|
Reference in New Issue
Block a user