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 );
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