Skip to content
Snippets Groups Projects
Commit bc1186bf authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

Fix "database fubar" crash

parent a40b1f31
No related branches found
No related tags found
No related merge requests found
......@@ -380,6 +380,9 @@ backend_db_init(
be->be_sizelimit = defsize;
be->be_timelimit = deftime;
/* assign a default depth limit for alias deref */
be->be_max_deref_depth = SLAPD_DEFAULT_MAXDEREFDEPTH;
be->be_realm = global_realm != NULL
? ch_strdup( global_realm ) : NULL;
......
......@@ -133,9 +133,6 @@ read_config( const char *fname )
bi = NULL;
be = backend_db_init( cargv[1] );
/* assign a default depth limit for alias deref */
be->be_max_deref_depth = SLAPD_DEFAULT_MAXDEREFDEPTH;
/* get pid file name */
} else if ( strcasecmp( cargv[0], "pidfile" ) == 0 ) {
if ( cargc < 2 ) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment