(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:
Assar Westerlund
2001-01-30 16:59:08 +00:00
parent 5e2632d9dc
commit eeb71956be

View File

@@ -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;