Lines Matching refs:op
31 typedef int (ldap_back_exop_f)( Operation *op, SlapReply *rs, ldapconn_t **lc );
45 ldap_back_extended_one( Operation *op, SlapReply *rs, ldap_back_exop_f exop )
47 ldapinfo_t *li = (ldapinfo_t *) op->o_bd->be_private;
57 if ( !ldap_back_dobind( &lc, op, rs, LDAP_BACK_SENDERR ) ) {
61 ctrls = op->o_ctrls;
62 if ( ldap_back_controls_add( op, rs, lc, &ctrls ) )
64 op->o_ctrls = oldctrls;
65 send_ldap_extended( op, rs );
72 op->o_ctrls = ctrls;
73 rc = exop( op, rs, &lc );
75 op->o_ctrls = oldctrls;
76 (void)ldap_back_controls_free( op, rs, &ctrls );
88 Operation *op,
97 if ( bvmatch( &exop_table[i].oid, &op->oq_extended.rs_reqoid ) )
99 return ldap_back_extended_one( op, rs, exop_table[i].extended );
106 return ldap_back_extended_one( op, rs, ldap_back_exop_generic );
111 Operation *op,
115 ldapinfo_t *li = (ldapinfo_t *) op->o_bd->be_private;
118 req_pwdexop_s *qpw = &op->oq_pwdexop;
124 struct berval dn = op->o_req_dn,
125 ndn = op->o_req_ndn;
130 if ( BER_BVISNULL( &ndn ) && op->ore_reqdata != NULL ) {
143 if ( op->ore_reqdata->bv_len == 0 ) {
148 ber_init2( ber, op->ore_reqdata, 0 );
169 &ndn, op->o_tmpmemctx );
178 dn = op->o_dn;
179 ndn = op->o_ndn;
183 isproxy = ber_bvcmp( &ndn, &op->o_ndn );
192 op->o_ctrls, NULL, &msgid );
205 lc->lc_time = op->o_time;
249 if ( ldap_back_retry( &lc, op, rs, LDAP_BACK_SENDERR ) ) {
255 ldap_back_quarantine( op, rs );
259 send_ldap_extended( op, rs );
264 ldap_back_quarantine( op, rs );
268 op->o_tmpfree( dn.bv_val, op->o_tmpmemctx );
269 op->o_tmpfree( ndn.bv_val, op->o_tmpmemctx );
298 Operation *op,
302 ldapinfo_t *li = (ldapinfo_t *) op->o_bd->be_private;
312 op->ore_reqoid.bv_val, op->o_req_dn.bv_val, 0 );
318 op->ore_reqoid.bv_val, op->ore_reqdata,
319 op->o_ctrls, NULL, &msgid );
332 lc->lc_time = op->o_time;
362 if ( ldap_back_retry( &lc, op, rs, LDAP_BACK_SENDERR ) ) {
368 ldap_back_quarantine( op, rs );
372 send_ldap_extended( op, rs );
377 ldap_back_quarantine( op, rs );