char *value, savechar;
#ifdef SLAPD_SCHEMA_NOT_COMPAT
int rc;
- char *text;
+ const char *text;
#endif
Debug( LDAP_DEBUG_FILTER, "str2simple \"%s\"\n", str, 0, 0 );
case ':':
f->f_choice = LDAP_FILTER_EXT;
*s = '\0';
+ return NULL;
break;
default:
} else {
f->f_choice = LDAP_FILTER_SUBSTRINGS;
#ifdef SLAPD_SCHEMA_NOT_COMPAT
+ f->f_sub = ch_calloc( 1, sizeof( SubstringsAssertion ) );
rc = slap_str2ad( str, &f->f_sub_desc, &text );
if( rc != LDAP_SUCCESS ) {
filter_free( f );
#ifdef SLAPD_SCHEMA_NOT_COMPAT
char *tmp;
+ f->f_ava = ch_calloc( 1, sizeof( AttributeAssertion ) );
+ f->f_av_desc = NULL;
rc = slap_str2ad( str, &f->f_av_desc, &text );
if( rc != LDAP_SUCCESS ) {
filter_free( f );