mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-03 20:40:05 -05:00
massage bound dn only if operating on authz backend
This commit is contained in:
parent
4022ee7b43
commit
4235da91d4
1 changed files with 2 additions and 1 deletions
|
|
@ -320,7 +320,8 @@ ldap_back_getconn(Operation *op, SlapReply *rs)
|
|||
} else {
|
||||
lc->cred.bv_len = 0;
|
||||
lc->cred.bv_val = NULL;
|
||||
if ( op->o_conn->c_dn.bv_len != 0 ) {
|
||||
if ( op->o_conn->c_dn.bv_len != 0
|
||||
&& ( op->o_bd == op->o_conn->c_authz_backend ) ) {
|
||||
|
||||
/*
|
||||
* Rewrite the bind dn if needed
|
||||
|
|
|
|||
Loading…
Reference in a new issue