diff --git a/servers/slapd/back-ldap/search.c b/servers/slapd/back-ldap/search.c index 53bd63dd5d..10da527684 100644 --- a/servers/slapd/back-ldap/search.c +++ b/servers/slapd/back-ldap/search.c @@ -443,6 +443,7 @@ ldap_build_entry( ent->e_id = 0; ent->e_attrs = 0; + ent->e_ocflags = 0; ent->e_private = 0; attrp = &ent->e_attrs;