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

Server Side Searching Overlay

So I have a request from developers to enable the sssvlv overlay. They would like the server to return sorted searches on

I enabled the overlay and then to test the functionality I added the following "ordering" rule to the core.schema.

attributetype ( NAME ( 'sn' 'surname' )
        DESC 'RFC2256: last (family) name(s) for which the entity is known by'
        ORDERING caseIgnoreOrderingMatch
        SUP name )

The following ldapsearch works as expected and returns the "sn" attribute in alphabetical order.

ldapsearch -x -ZZ -D cn=root,dc=testlott,dc=lott -w password objectclass=person -E sss=sn sn

Based on this information I have several questions.

1. Will I be violating any RFC by modifying the core.schema?
2. The developers want the same functionality with the "cn" attribute. Is this supported or even possible?
3. They also request this functionality on a couple of attributes in a custom schema. Is adding an "ordering" rule as I did with the "sn" attribute the proper way to do this?