Lines Matching defs:lb
258 ldap_chain_cb_t *lb = (ldap_chain_cb_t *)op->o_callback->sc_private;
263 if ( lb->lb_status == LDAP_CH_ERR ) {
295 if ( lb->lb_depth < lb->lb_lc->lc_max_depth && rs->sr_ref != NULL ) {
296 rs->sr_err = ldap_chain_search( op, rs, rs->sr_ref, lb->lb_depth );
303 lb->lb_status = LDAP_CH_ERR;
315 && lb->lb_depth < lb->lb_lc->lc_max_depth
318 rs->sr_err = ldap_chain_op( op, rs, lb->lb_op_f, rs->sr_ref, lb->lb_depth );
322 lb->lb_status = LDAP_CH_RES;
335 ldap_chain_cb_t *lb = (ldap_chain_cb_t *)op->o_callback->sc_private;
338 if ( lb->lb_status == LDAP_CH_ERR ) {
353 lb->lb_status = LDAP_CH_RES;
357 if ( lb->lb_depth < lb->lb_lc->lc_max_depth && rs->sr_ref != NULL ) {
358 rs->sr_err = ldap_chain_op( op, rs, lb->lb_op_f, rs->sr_ref, lb->lb_depth );
366 lb->lb_status = LDAP_CH_ERR;
398 ldap_chain_cb_t *lb = (ldap_chain_cb_t *)op->o_callback->sc_private;
604 lb->lb_op_f = op_f;
605 lb->lb_depth = depth + 1;
674 ldap_chain_cb_t *lb = (ldap_chain_cb_t *)op->o_callback->sc_private;
875 lb->lb_op_f = lback->bi_op_search;
876 lb->lb_depth = depth + 1;
952 ldap_chain_cb_t lb = { 0 };
1020 lb.lb_lc = lc;
1022 sc2.sc_private = &lb;
1102 lb.lb_status = LDAP_CH_RES;
1118 if ( !op->o_abandon && lb.lb_status != LDAP_CH_RES ) {
1129 if ( lb.lb_status == LDAP_CH_ERR && rs->sr_err == LDAP_X_CANNOT_CHAIN ) {
1161 if ( lb.lb_status == LDAP_CH_NONE && rc != SLAPD_ABANDON ) {