-/* config.c - ldbm backend configuration file routine */
+/* config.c - bdb backend configuration file routine */
/* $OpenLDAP$ */
/*
* Copyright 1998-2000 The OpenLDAP Foundation, All Rights Reserved.
}
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;
"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