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

Setting VLV Rules.



Hello,

I’ve installed OpenLDAP 2.4.23, I’ve also enabled Virtual lists and server side sorting. (SSSVLV module).
I’ve played with sorting some attributes on the server side (Modifying the core schema and adding the ORDERING keyword to the wanted attribute) and it works when I execute:

ldapsearch -h 127.0.0.1 -p 389 -D cn=id35232_u90791224246,ou=users,dc=peoplefoneTest,dc=com -x -W -E  'sss=givenName/sn’

Server side sorting for “givenName” and “sn" works as expected.

But now I need to configure VLV. And I can’t find where to add the following rule :

dn: cn=listRule,ou=account,o=ch,dc=peoplefoneTest,dc=com
objectClass: top
objectClass: vlvSearch
cn: listRule
vlvBase: ou=account,dc=peoplefoneTest,dc=com
vlvScope: 1
vlvFilter: (|(cn=%)(sn=%)(givenName=%))

I can’t seem to find the needed documentation. The closest I’ve found is here https://access.redhat.com/documentation/en-US/Red_Hat_Directory_Server/8.2/html/Administration_Guide/Creating_Indexes-Creating_VLV_Indexes.html
But it’s for Directory Server….

And I’ve looked for half a day. Sorry for the newbie question.
Any help will be appreciated.
Thanks 

Erik Tagirov.