From: Pierangelo Masarati Date: Sat, 6 Sep 2008 18:06:41 +0000 (+0000) Subject: if objectClass is not present (e.g. schema check is off, like for partial replicas... X-Git-Tag: ACLCHECK_0~1373 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=7be50e74ecad97031d842f1b35cc051e2697c03f;p=openldap if objectClass is not present (e.g. schema check is off, like for partial replicas, slapo-translucent and so), consider ocflags computed (and 0) --- diff --git a/servers/slapd/oc.c b/servers/slapd/oc.c index 508a3edcf3..df196cffcf 100644 --- a/servers/slapd/oc.c +++ b/servers/slapd/oc.c @@ -92,6 +92,9 @@ int is_entry_objectclass( e->e_dn == NULL ? "" : e->e_dn, oc->soc_oclass.oc_oid, 0 ); + /* mark flags as set */ + e->e_ocflags |= SLAP_OC__END; + return 0; }