]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/back-bdb/config.c
Added bdb_attribute and bdb_group ACL support routines
[openldap] / servers / slapd / back-bdb / config.c
index 92a872d25ccf4e39341a57eda7cae6e84bceb467..c22a84723974c00de01a35760a0701867a8c9fb2 100644 (file)
@@ -1,4 +1,4 @@
-/* config.c - ldbm backend configuration file routine */
+/* config.c - bdb backend configuration file routine */
 /* $OpenLDAP$ */
 /*
  * Copyright 1998-2000 The OpenLDAP Foundation, All Rights Reserved.
@@ -111,7 +111,7 @@ bdb_db_config(
                }
                bdb->bi_dbenv_mode = strtol( argv[1], NULL, 0 );
 
-#if 0
+#if BDB_CONFIG_INDICES
        /* attribute to index */
        } else if ( strcasecmp( argv[0], "index" ) == 0 ) {
                int rc;
@@ -126,7 +126,7 @@ bdb_db_config(
                                "line (ignored)\n",
                                fname, lineno );
                }
-               rc = attr_index_config( li, fname, lineno, argc - 1, &argv[1] );
+               rc = bdb_attr_index_config( bdb, fname, lineno, argc - 1, &argv[1] );
 
                if( rc != LDAP_SUCCESS ) return 1;
 #endif