]> git.sur5r.net Git - openldap/commitdiff
fix previous commit
authorPierangelo Masarati <ando@openldap.org>
Tue, 4 Jan 2011 11:17:33 +0000 (11:17 +0000)
committerPierangelo Masarati <ando@openldap.org>
Tue, 4 Jan 2011 11:17:33 +0000 (11:17 +0000)
contrib/slapd-modules/authzid/authzid.c

index bcfff23a52fd78b361d9926997b8dcd1d0ecbca4..ef9d6d87a6a3d2ceff96e91ea36b5252432e2c42 100644 (file)
@@ -52,6 +52,10 @@ authzid_response(
                }
                /* end of TEMPORARY! */
 
+               if ( rs->sr_err != LDAP_SUCCESS ) {
+                       return SLAP_CB_CONTINUE;
+               }
+
                if ( !BER_BVISEMPTY( &op->o_conn->c_dn ) ) {
                        len = STRLENOF("dn:") + op->o_conn->c_dn.bv_len;
                }