]> git.ipfire.org Git - thirdparty/openldap.git/commitdiff
Set e_ocflags on dummy context entry
authorHoward Chu <hyc@openldap.org>
Sat, 21 Jul 2007 00:42:26 +0000 (00:42 +0000)
committerHoward Chu <hyc@openldap.org>
Sat, 21 Jul 2007 00:42:26 +0000 (00:42 +0000)
servers/slapd/back-bdb/search.c

index 208ac5f774a4d95e68042521a9cf79aca02b962b..520d44a5c4e0cf3f0fcd6089442aedf4db301456 100644 (file)
@@ -360,6 +360,7 @@ bdb_search( Operation *op, SlapReply *rs )
                ei_root.bei_parent = &ei_root;
                e_root.e_private = &ei_root;
                e_root.e_id = 0;
+               e_root.e_ocflags = SLAP_OC_GLUE | SLAP_OC__END;
                BER_BVSTR( &e_root.e_nname, "" );
                BER_BVSTR( &e_root.e_name, "" );
                ei = &ei_root;