From 7be50e74ecad97031d842f1b35cc051e2697c03f Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Sat, 6 Sep 2008 18:06:41 +0000 Subject: [PATCH] if objectClass is not present (e.g. schema check is off, like for partial replicas, slapo-translucent and so), consider ocflags computed (and 0) --- servers/slapd/oc.c | 3 +++ 1 file changed, 3 insertions(+) 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; } -- 2.39.5