From 565110b2493a9b9f19b5d48b4526112151bee6c8 Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Tue, 4 Jan 2011 11:17:33 +0000 Subject: [PATCH] fix previous commit --- contrib/slapd-modules/authzid/authzid.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/contrib/slapd-modules/authzid/authzid.c b/contrib/slapd-modules/authzid/authzid.c index bcfff23a52..ef9d6d87a6 100644 --- a/contrib/slapd-modules/authzid/authzid.c +++ b/contrib/slapd-modules/authzid/authzid.c @@ -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; } -- 2.39.5