mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
make sure we're comparing the same database
This commit is contained in:
parent
91f2a8bc46
commit
dd367a2b78
@ -235,7 +235,9 @@ ldap_back_getconn(Operation *op, SlapReply *rs)
|
||||
|
||||
/* Explicit binds must not be shared */
|
||||
if ( op->o_tag == LDAP_REQ_BIND
|
||||
|| ( op->o_conn && op->o_bd == op->o_conn->c_authz_backend ) ) {
|
||||
|| ( op->o_conn
|
||||
&& op->o_conn->c_authz_backend
|
||||
&& op->o_bd->be_private == op->o_conn->c_authz_backend->be_private ) ) {
|
||||
lc_curr.conn = op->o_conn;
|
||||
|
||||
} else {
|
||||
|
Loading…
Reference in New Issue
Block a user