temporary fix to ITS#5154

This commit is contained in:
Pierangelo Masarati 2007-09-26 20:57:25 +00:00
parent 9fd4a8582a
commit ebf7338b8b

View file

@ -189,6 +189,10 @@ meta_back_bind( Operation *op, SlapReply *rs )
if ( lerr != LDAP_SUCCESS ) {
rc = rs->sr_err = lerr;
/* Mark the meta_conn struct as tainted so
* it'll be freed by meta_conn_back_destroy below */
LDAP_BACK_CONN_TAINTED_SET( mc );
/* FIXME: in some cases (e.g. unavailable)
* do not assume it's not candidate; rather
* mark this as an error to be eventually