mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-22 07:39:35 -05:00
Add undefined present filter bug fix
This commit is contained in:
parent
6ba3b26c09
commit
a5a1fc0846
1 changed files with 6 additions and 1 deletions
|
|
@ -208,7 +208,12 @@ get_filter(
|
||||||
err = slap_bv2ad( &type, &f->f_desc, text );
|
err = slap_bv2ad( &type, &f->f_desc, text );
|
||||||
|
|
||||||
if( err != LDAP_SUCCESS ) {
|
if( err != LDAP_SUCCESS ) {
|
||||||
|
/* unrecognized attribute description or other error */
|
||||||
|
f->f_choice = SLAPD_FILTER_COMPUTED;
|
||||||
|
f->f_result = SLAPD_COMPARE_UNDEFINED;
|
||||||
|
*fstr = ch_strdup( "(unrecogized=*)" );
|
||||||
ch_free( type.bv_val );
|
ch_free( type.bv_val );
|
||||||
|
err = LDAP_SUCCESS;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue