aboutsummaryrefslogtreecommitdiffstats
path: root/security/heimdal/files/patch-cr
blob: 4568237f3a6071b170a1a019886c694fca523b74 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- lib/hdb/hdb-ldap.c.orig	Wed Nov  8 14:42:11 2000
+++ lib/hdb/hdb-ldap.c	Wed Nov  8 15:39:50 2000
@@ -583,8 +583,8 @@
     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;