]> git.sur5r.net Git - openldap/commitdiff
Do not maintain a presence search on 'objectclass' as all entries
authorKurt Zeilenga <kurt@openldap.org>
Tue, 2 Nov 1999 23:13:40 +0000 (23:13 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Tue, 2 Nov 1999 23:13:40 +0000 (23:13 +0000)
*should* have an 'objectclass' attribute present.

servers/slapd/back-bdb2/init.c
servers/slapd/back-ldbm/init.c

index 10ee85f14f886c660415bf6597e5cced71fb9e4f..8d8dcfd12746b0c511cc577ad0cdca2a7a7fed55 100644 (file)
@@ -176,7 +176,7 @@ bdb2i_back_db_init_internal(
        li->li_directory = DEFAULT_DB_DIRECTORY;
 
        argv[ 0 ] = "objectclass";
-       argv[ 1 ] = "pres,eq";
+       argv[ 1 ] = "eq";
        argv[ 2 ] = NULL;
        bdb2i_attr_index_config( li, "ldbm objectclass initialization",
                0, 2, argv, 1 );
index 110647f7a3244ceb9f3750f125115e13ff06fb1f..e399f676ab1bcab0f5a3166f8d58156d92e9266d 100644 (file)
@@ -143,7 +143,7 @@ ldbm_back_db_init(
        li->li_directory = ch_strdup( DEFAULT_DB_DIRECTORY );
 
        argv[ 0 ] = "objectclass";
-       argv[ 1 ] = "pres,eq";
+       argv[ 1 ] = "eq";
        argv[ 2 ] = NULL;
        attr_index_config( li, "ldbm objectclass initialization",
                0, 2, argv, 1 );