From 4483e79906a87de81444dc8acefb70c9c56563fe Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Tue, 19 Dec 2006 22:11:33 +0000 Subject: [PATCH] further fix of ITS#4782 --- servers/slapd/back-ldap/bind.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/servers/slapd/back-ldap/bind.c b/servers/slapd/back-ldap/bind.c index cbfa9ca4c5..738549f6af 100644 --- a/servers/slapd/back-ldap/bind.c +++ b/servers/slapd/back-ldap/bind.c @@ -1158,10 +1158,11 @@ retry_lock:; if ( LDAP_BACK_CONN_ISIDASSERT( lc ) ) { if ( BER_BVISEMPTY( &binddn ) && BER_BVISEMPTY( &bindcred ) ) { /* if we got here, it shouldn't return result */ - (void)ldap_back_is_proxy_authz( op, rs, + rc = ldap_back_is_proxy_authz( op, rs, LDAP_BACK_DONTSEND, &binddn, &bindcred ); + assert( rc == 1 ); } - (void)ldap_back_proxy_authz_bind( lc, op, rs, sendok, &binddn, &bindcred ); + rc = ldap_back_proxy_authz_bind( lc, op, rs, sendok, &binddn, &bindcred ); goto done; } -- 2.39.5