[turba] new hook to reduce the number of CNs in LDAP entries

liamr at umich.edu liamr at umich.edu
Fri Dec 3 13:20:50 PST 2004


Our LDAP entries have bunches of CNs, eg..

   Mary Brown
   Mary A Brown
   Mary Alice Brown
   Mary A Brown 1

..and thats kind of annoying to look at, so I've written a new hook (and made
the appropriate patch to turba) to allow you to filter (reduce) the number of
CNs returned per LDAP entry.

My example hook uses "create_function", so I wasn't sure about the formating.
I've attached the diff.

Liam
-------------- next part --------------
A non-text attachment was scrubbed...
Name: filter_cn.diff
Type: text/x-patch
Size: 3290 bytes
Desc: not available
Url : http://lists.horde.org/archives/turba/attachments/20041203/372f8843/filter_cn.bin


More information about the turba mailing list