6.0.0-beta1
9/24/25

[#936] new hook to reduce the number of CNs in LDAP entries
Summary new hook to reduce the number of CNs in LDAP entries
Queue Turba
Queue Version HEAD
Type Enhancement
State Rejected
Priority 1. Low
Owners
Requester liamr (at) umich (dot) edu
Created 12/03/2004 (7600 days ago)
Due
Updated 05/26/2005 (7426 days ago)
Assigned
Resolved 05/24/2005 (7428 days ago)
Milestone
Patch No

History
05/26/2005 09:05:06 PM Matt Selsky Comment #4 Reply to this comment
See _turba_hook_decode_password in horde/config/hooks.php.dist.  You 
can write _turba_hook_decode_name and turba/lib/Object.php will pick 
it up automatically.
05/26/2005 08:48:59 PM liamr (at) umich (dot) edu Comment #3 Reply to this comment
I can't seem to find that hook mentioned in 
horde/config/hooks.php.dist or in the turba source code..
05/24/2005 09:42:06 PM Chuck Hagenbuch Comment #2
State ⇒ Rejected
Reply to this comment
You can do this with a hook already without a new setting. If you 
wanted to post your hook, adapted for the _turba_hook_decode_name() 
type usage instead, to http://wiki.horde.org/, I'm sure others might 
find it useful.
12/03/2004 09:39:34 PM   New Attachment: filter_cn.diff Download
 
12/03/2004 09:39:05 PM liamr (at) umich (dot) edu Comment #1
State ⇒ New
Priority ⇒ 1. Low
Type ⇒ Enhancement
Summary ⇒ new hook to reduce the number of CNs in LDAP entries
Queue ⇒ Turba
Reply to this comment
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.


Saved Queries