]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/back-bdb/config.c
Reset Entry->e_ocflags to 0 if objectClass attr is modified.
[openldap] / servers / slapd / back-bdb / config.c
index a2f7910748ad6497137784c6dc8766e7c0d2294f..f6ab841ba4adafbcb792be14e90a1f7af2256fc1 100644 (file)
@@ -1,7 +1,7 @@
 /* config.c - bdb backend configuration file routine */
 /* $OpenLDAP$ */
 /*
- * Copyright 1998-2000 The OpenLDAP Foundation, All Rights Reserved.
+ * Copyright 1998-2002 The OpenLDAP Foundation, All Rights Reserved.
  * COPYING RESTRICTIONS APPLY, see COPYRIGHT file
  */
 
@@ -94,6 +94,9 @@ bdb_db_config(
                } else if( strcasecmp( argv[1], "youngest" ) == 0 ) {
                        bdb->bi_lock_detect = DB_LOCK_YOUNGEST;
 
+               } else if( strcasecmp( argv[1], "fewest" ) == 0 ) {
+                       bdb->bi_lock_detect = DB_LOCK_MINLOCKS;
+
                } else {
                        fprintf( stderr, "%s: line %d: "
                                "bad policy (%s) in \"lockDetect <policy> <seconds>\" line\n",