Lines Matching refs:op
35 Operation *op,
50 if ( BER_BVISEMPTY( &op->o_req_ndn ) ) {
54 if ( !SLAP_GLUE_INSTANCE( op->o_bd ) ) {
64 manageDSAit = get_manageDSAit( op );
69 send_ldap_error( op, rs, LDAP_UNWILLING_TO_PERFORM,
74 if( ldap_dn2domain( op->o_req_dn.bv_val, &domain ) || domain == NULL ) {
77 send_ldap_result( op, rs );
83 op->o_req_dn.bv_len ? op->o_req_dn.bv_val : "", domain, 0 );
88 send_ldap_error( op, rs, LDAP_NO_SUCH_OBJECT,
97 send_ldap_error( op, rs, LDAP_OTHER,
113 send_ldap_error( op, rs, LDAP_OTHER,
121 op->o_log_prefix, op->o_protocol,
122 op->o_req_dn.bv_len ? op->o_req_dn.bv_val : "", urls[0].bv_val, 0 );
126 op->oq_search.rs_scope,
127 op->o_req_dn.bv_len ? op->o_req_dn.bv_val : "",
133 send_ldap_error( op, rs, LDAP_OTHER,
142 rc = dnNormalize( 0, NULL, NULL, &bv, &nrefdn, op->o_tmpmemctx );
144 send_ldap_error( op, rs, LDAP_OTHER,
150 if( !dn_match( &nrefdn, &op->o_req_ndn ) ) {
155 op->o_req_dn.bv_len ? op->o_req_dn.bv_val : "",
161 send_ldap_result( op, rs );
164 } else if ( op->oq_search.rs_scope == LDAP_SCOPE_ONELEVEL ) {
165 send_ldap_error( op, rs, LDAP_SUCCESS, NULL );
172 e.e_name.bv_val = ch_strdup( op->o_req_dn.bv_val );
173 e.e_name.bv_len = op->o_req_dn.bv_len;
174 e.e_nname.bv_val = ch_strdup( op->o_req_ndn.bv_val );
175 e.e_nname.bv_len = op->o_req_ndn.bv_len;
213 rc = test_filter( op, &e, op->oq_search.rs_filter );
217 rs->sr_attrs = op->oq_search.rs_attrs;
219 send_search_entry( op, rs );
228 send_ldap_result( op, rs );