]> git.sur5r.net Git - openldap/commitdiff
SLAP_NVALUES - quick hack, just set a->a_nvals = a->a_vals. will need to
authorHoward Chu <hyc@openldap.org>
Mon, 24 Mar 2003 02:59:43 +0000 (02:59 +0000)
committerHoward Chu <hyc@openldap.org>
Mon, 24 Mar 2003 02:59:43 +0000 (02:59 +0000)
fix this if ACLs are expected to work on the local slapd.

servers/slapd/back-ldap/search.c

index d0b065b5f34d4ac65280af7335161bcb3fe071e3..60232de30a34bc84497e48d6cf60e64617f2c09b 100644 (file)
@@ -596,6 +596,9 @@ ldap_send_entry(
 
 next_attr:;
 
+#ifdef SLAP_NVALUES
+               attr->a_nvals = attr->a_vals;
+#endif
                *attrp = attr;
                attrp = &attr->a_next;
        }