ITS#8220 fix prev commit

Dynamic startup was failing
This commit is contained in:
Howard Chu 2015-08-21 11:39:05 +01:00
parent 61c95e7669
commit 79157d314f

View File

@ -375,7 +375,12 @@ refint_open(
BackendDB *db = select_backend(&id->dn, 1);
if ( db ) {
if ( !db->be_search || !db->be_modify ) {
BackendInfo *bi;
if ( db == be )
bi = on->on_info->oi_orig;
else
bi = db->bd_info;
if ( !bi->bi_op_search || !bi->bi_op_modify ) {
Debug( LDAP_DEBUG_CONFIG,
"refint_response: backend missing search and/or modify\n",
0, 0, 0 );