Commit 4235da91 authored by Pierangelo Masarati's avatar Pierangelo Masarati
Browse files

massage bound dn only if operating on authz backend

parent 4022ee7b
......@@ -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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment