mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-29 19:19:35 -05:00
Fix substring indices and enable in tests.
This commit is contained in:
parent
9c5ad6291b
commit
c0bbb090b7
2 changed files with 4 additions and 4 deletions
|
|
@ -1398,10 +1398,10 @@ int caseIgnoreIA5SubstringsIndexer(
|
|||
int j,max;
|
||||
struct berval *value;
|
||||
|
||||
if( value->bv_len < SLAP_INDEX_SUBSTR_MINLEN ) continue;
|
||||
if( values[i]->bv_len < SLAP_INDEX_SUBSTR_MINLEN ) continue;
|
||||
|
||||
max = SLAP_INDEX_SUBSTR_MAXLEN < value->bv_len
|
||||
? SLAP_INDEX_SUBSTR_MAXLEN : value->bv_len;
|
||||
max = SLAP_INDEX_SUBSTR_MAXLEN < values[i]->bv_len
|
||||
? SLAP_INDEX_SUBSTR_MAXLEN : values[i]->bv_len;
|
||||
|
||||
value = ber_bvdup( values[i] );
|
||||
ldap_pvt_str2upper( value->bv_val );
|
||||
|
|
|
|||
|
|
@ -21,6 +21,6 @@ suffix "o=University of Michigan, c=US"
|
|||
directory ./test-db
|
||||
rootdn "cn=Manager, o=University of Michigan, c=US"
|
||||
rootpw secret
|
||||
index cn,sn,uid pres,eq
|
||||
index cn,sn,uid pres,eq,sub
|
||||
dbnosync
|
||||
dbnolocking
|
||||
|
|
|
|||
Loading…
Reference in a new issue