further fix of ITS#4782

This commit is contained in:
Pierangelo Masarati 2006-12-19 22:11:33 +00:00
parent 6752a27c0e
commit 4483e79906

View File

@ -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;
}