From eeb71956bef393f00cb4d13c12702792d51a6cbe Mon Sep 17 00:00:00 2001 From: Assar Westerlund Date: Tue, 30 Jan 2001 16:59:08 +0000 Subject: [PATCH] (LDAP__lookup_princ): call ldap_search_s correctly. From Jacques Vidrine git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9618 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/hdb/hdb-ldap.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/hdb/hdb-ldap.c b/lib/hdb/hdb-ldap.c index 1ab5fa3cb..3c5ffab4b 100644 --- a/lib/hdb/hdb-ldap.c +++ b/lib/hdb/hdb-ldap.c @@ -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;