• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.9.5/OpenLDAP-491.1/OpenLDAP/servers/slapd/

Lines Matching refs:op

118     Operation	*op,
126 op->o_log_prefix, 0, 0 );
128 if( op->o_protocol < LDAP_VERSION3 ) {
130 op->o_log_prefix, op->o_protocol, 0 );
131 send_ldap_discon( op, rs, LDAP_PROTOCOL_ERROR, "requires LDAPv3" );
136 if ( ber_scanf( op->o_ber, "{m" /*}*/, &op->ore_reqoid ) == LBER_ERROR ) {
138 op->o_log_prefix, 0, 0 );
139 send_ldap_discon( op, rs, LDAP_PROTOCOL_ERROR, "decoding error" );
144 if( ber_peek_tag( op->o_ber, &len ) == LDAP_TAG_EXOP_REQ_VALUE ) {
145 if( ber_scanf( op->o_ber, "m", &reqdata ) == LBER_ERROR ) {
147 op->o_log_prefix, 0, 0 );
148 send_ldap_discon( op, rs, LDAP_PROTOCOL_ERROR, "decoding error" );
154 if( get_ctrls( op, rs, 1 ) != LDAP_SUCCESS ) {
156 op->o_log_prefix, 0, 0 );
161 op->o_log_prefix, op->ore_reqoid.bv_val, 0, 0, 0 );
164 if( get_manageDSAit( op ) == SLAP_CONTROL_CRITICAL ) {
165 send_ldap_error( op, rs,
173 op->ore_reqdata = &reqdata;
176 op->o_bd = frontendDB;
177 rs->sr_err = frontendDB->be_extended( op, rs );
180 if ( !BER_BVISNULL( &op->o_req_ndn ) ) {
181 if ( !BER_BVISNULL( &op->o_req_dn )
182 && op->o_req_ndn.bv_val != op->o_req_dn.bv_val )
184 op->o_tmpfree( op->o_req_dn.bv_val, op->o_tmpmemctx );
186 op->o_tmpfree( op->o_req_ndn.bv_val, op->o_tmpmemctx );
187 BER_BVZERO( &op->o_req_dn );
188 BER_BVZERO( &op->o_req_ndn );
196 fe_extended( Operation *op, SlapReply *rs )
201 if (op->ore_reqdata) {
202 reqdata = *op->ore_reqdata;
205 ext = find_extop(supp_ext_list, &op->ore_reqoid );
208 op->o_log_prefix, op->ore_reqoid.bv_val, 0 );
209 send_ldap_error( op, rs, LDAP_PROTOCOL_ERROR,
214 op->ore_flags = ext->flags;
217 op->ore_reqoid.bv_val, 0 ,0 );
220 BackendDB *bd = op->o_bd;
222 rs->sr_err = (ext->ext_main)( op, rs );
235 if ( op->o_bd == NULL )
236 op->o_bd = bd;
237 send_ldap_extended( op, rs );
369 Operation *op,
374 if ( op->ore_reqdata != NULL ) {
381 op->o_log_prefix, 0, 0, 0, 0 );
383 op->o_bd = op->o_conn->c_authz_backend;
384 if( backend_check_restrictions( op, rs,
391 if( op->o_dn.bv_len ) {
392 bv->bv_len = op->o_dn.bv_len + STRLENOF( "dn:" );
395 AC_MEMCPY( &bv->bv_val[STRLENOF( "dn:" )], op->o_dn.bv_val,
396 op->o_dn.bv_len );