Commit bc1186bf authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

Fix "database fubar" crash

parent a40b1f31
......@@ -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 ) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment