From: Ondřej Kuzník Date: Mon, 9 Nov 2020 11:51:20 +0000 (+0000) Subject: ITS#9386 State change issues are still ignored, but at least log them X-Git-Tag: OPENLDAP_REL_ENG_2_5_1ALPHA~18^2~228 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=727ec3ae1453b0ccce37cee6d4f282b18015be2c;p=thirdparty%2Fopenldap.git ITS#9386 State change issues are still ignored, but at least log them --- diff --git a/servers/slapd/overlays/ppolicy.c b/servers/slapd/overlays/ppolicy.c index bdb45a6427..d7d651c5a1 100644 --- a/servers/slapd/overlays/ppolicy.c +++ b/servers/slapd/overlays/ppolicy.c @@ -1760,6 +1760,11 @@ locked: op2.o_bd->bd_info = (BackendInfo *)on->on_info; } 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 ) { slap_mods_free( mod, 1 );