From 6f497089f5479f2e56a09e5734e98310458dbaf6 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Tue, 2 Nov 1999 23:13:40 +0000 Subject: [PATCH] Do not maintain a presence search on 'objectclass' as all entries *should* have an 'objectclass' attribute present. --- servers/slapd/back-bdb2/init.c | 2 +- servers/slapd/back-ldbm/init.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 ); -- 2.39.5