]> git.sur5r.net Git - openldap/commitdiff
if objectClass is not present (e.g. schema check is off, like for partial replicas...
authorPierangelo Masarati <ando@openldap.org>
Sat, 6 Sep 2008 18:06:41 +0000 (18:06 +0000)
committerPierangelo Masarati <ando@openldap.org>
Sat, 6 Sep 2008 18:06:41 +0000 (18:06 +0000)
servers/slapd/oc.c

index 508a3edcf34b4ef817bdd7e2ed7f9e3e55e25899..df196cffcfba046bba4de173fa7c2ddb891b31b2 100644 (file)
@@ -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;
        }