ITS#9386 State change issues are still ignored, but at least log them

This commit is contained in:
Ondřej Kuzník 2020-11-09 11:51:20 +00:00
parent 123001c89d
commit 727ec3ae14

View File

@ -1760,6 +1760,11 @@ locked:
op2.o_bd->bd_info = (BackendInfo *)on->on_info; op2.o_bd->bd_info = (BackendInfo *)on->on_info;
} }
rc = op2.o_bd->be_modify( &op2, &r2 ); rc = op2.o_bd->be_modify( &op2, &r2 );
if ( rc != LDAP_SUCCESS ) {
Debug( LDAP_DEBUG_ANY, "%s ppolicy_bind_response: "
"ppolicy state change failed with rc=%d text=%s\n",
op->o_log_prefix, rc, r2.sr_text );
}
} }
if ( mod ) { if ( mod ) {
slap_mods_free( mod, 1 ); slap_mods_free( mod, 1 );