]> git.ipfire.org Git - thirdparty/openldap.git/commitdiff
ITS#9386 State change issues are still ignored, but at least log them
authorOndřej Kuzník <ondra@mistotebe.net>
Mon, 9 Nov 2020 11:51:20 +0000 (11:51 +0000)
committerOndřej Kuzník <ondra@mistotebe.net>
Mon, 9 Nov 2020 11:51:20 +0000 (11:51 +0000)
servers/slapd/overlays/ppolicy.c

index bdb45a6427420fcd1dc91b9ce0583ba648c795b0..d7d651c5a171cba97ca27eb18bf2681af2cd22a5 100644 (file)
@@ -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 );