From: Kurt Zeilenga Date: Tue, 2 Nov 1999 23:13:40 +0000 (+0000) Subject: Do not maintain a presence search on 'objectclass' as all entries X-Git-Tag: UCDATA_2_4~249 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=6f497089f5479f2e56a09e5734e98310458dbaf6;p=openldap Do not maintain a presence search on 'objectclass' as all entries *should* have an 'objectclass' attribute present. --- diff --git a/servers/slapd/back-bdb2/init.c b/servers/slapd/back-bdb2/init.c index 10ee85f14f..8d8dcfd127 100644 --- a/servers/slapd/back-bdb2/init.c +++ b/servers/slapd/back-bdb2/init.c @@ -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 ); diff --git a/servers/slapd/back-ldbm/init.c b/servers/slapd/back-ldbm/init.c index 110647f7a3..e399f676ab 100644 --- a/servers/slapd/back-ldbm/init.c +++ b/servers/slapd/back-ldbm/init.c @@ -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 );