make sure we're comparing the same database

This commit is contained in:
Pierangelo Masarati 2004-11-11 13:12:34 +00:00
parent 91f2a8bc46
commit dd367a2b78

View File

@ -235,7 +235,9 @@ ldap_back_getconn(Operation *op, SlapReply *rs)
/* Explicit binds must not be shared */ /* Explicit binds must not be shared */
if ( op->o_tag == LDAP_REQ_BIND 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; lc_curr.conn = op->o_conn;
} else { } else {