version 1.90, 2003/02/27 00:54:43
|
version 1.91, 2003/02/28 23:14:33
|
Line 1
|
Line 1
|
/* filter.c - routines for parsing and dealing with filters */ |
/* filter.c - routines for parsing and dealing with filters */ |
/* $OpenLDAP: pkg/ldap/servers/slapd/filter.c,v 1.89 2003/01/20 19:21:17 kurt Exp $ */ |
/* $OpenLDAP: pkg/ldap/servers/slapd/filter.c,v 1.90 2003/02/27 00:54:43 kurt Exp $ */ |
/* |
/* |
* Copyright 1998-2003 The OpenLDAP Foundation, All Rights Reserved. |
* Copyright 1998-2003 The OpenLDAP Foundation, All Rights Reserved. |
* COPYING RESTRICTIONS APPLY, see COPYRIGHT file |
* COPYING RESTRICTIONS APPLY, see COPYRIGHT file |
Line 415 get_substring_filter(
|
Line 415 get_substring_filter(
|
} |
} |
|
|
#ifdef SLAP_NVALUES |
#ifdef SLAP_NVALUES |
/* validate using equality matching rule validator! */ |
/* validate/normalize using equality matching rule validator! */ |
rc = asserted_value_validate_normalize( |
rc = asserted_value_validate_normalize( |
f->f_sub_desc, f->f_sub_desc->ad_type->sat_substr, |
f->f_sub_desc, f->f_sub_desc->ad_type->sat_equality, |
usage, &value, &bv, text ); |
usage, &value, &bv, text ); |
if( rc != LDAP_SUCCESS ) { |
if( rc != LDAP_SUCCESS ) { |
goto return_error; |
goto return_error; |
Line 1434 get_substring_vrFilter(
|
Line 1434 get_substring_vrFilter(
|
} |
} |
|
|
#ifdef SLAP_NVALUES |
#ifdef SLAP_NVALUES |
/* validate using equality matching rule validator! */ |
/* validate/normalize using equality matching rule validator! */ |
rc = asserted_value_validate_normalize( |
rc = asserted_value_validate_normalize( |
vrf->vrf_sub_desc, vrf->vrf_sub_desc->ad_type->sat_substr, |
vrf->vrf_sub_desc, vrf->vrf_sub_desc->ad_type->sat_equality, |
usage, &value, &bv, text ); |
usage, &value, &bv, text ); |
if( rc != LDAP_SUCCESS ) { |
if( rc != LDAP_SUCCESS ) { |
goto return_error; |
goto return_error; |