[Date Prev][Date Next] [Chronological] [Thread] [Top]

valsort not sorting?

I have the valsort overlay in place

database        hdb
suffix          "dc=mytest,dc=com"
overlay valsort
valsort-attr uid ou=People,dc=mytest,dc=com weighted alpha-ascend

but when I do an ldapsearch results are not sorted by uid

# ldapsearch -x -b "ou=People,dc=mytest,dc=com" uid

dn: uid=btest,ou=People,dc=mytest,dc=com
uid: btest

dn: uid=mytest,ou=People,dc=mytest,dc=com
uid: mytest

dn: uid=atest,ou=People,dc=atest,dc=com
uid: atest

What did I do wrong?