mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-30 19:49:35 -05:00
do not set c_authz_backend unless needed (ITS#6824, thanks to Howard)
This commit is contained in:
parent
bb82a7c3c4
commit
fb2092328c
1 changed files with 1 additions and 1 deletions
|
|
@ -2005,7 +2005,7 @@ slap_sasl2dn(
|
|||
op.o_bd->be_search( &op, &rs );
|
||||
|
||||
FINISHED:
|
||||
if( !BER_BVISEMPTY( sasldn ) ) {
|
||||
if( opx == opx->o_conn->c_sasl_bindop && !BER_BVISEMPTY( sasldn ) ) {
|
||||
opx->o_conn->c_authz_backend = op.o_bd;
|
||||
}
|
||||
if( !BER_BVISNULL( &op.o_req_dn ) ) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue