[turba] question/problem about multi-valued ldap mail attribute

COMBES Julien - CETE Lyon/DI/ET/PAMELA julien.combes at i-carre.net
Wed Jan 11 08:01:45 PST 2006


Le 10.01.2006 18:25,Chuck Hagenbuch a écrit  :

> You should be able to set a hook on the email field that filters the  
> retrieved value so that it only contains the first (or principal, if  
> you have logic for that) address. See _turba_hook_decode_password in  
> horde/config/hooks.php.dist for an example of what these hooks look  
> like. You won't need to configure anything else; the hook is called  
> automatically if it's defined for a given attribute name.

It's working !

I have created in horde/config/hook.php a function named 
'_turba_hook_decode_email' which split email addresses returned by turba 
and does what I need.

Thanks you very much for your answer.

Julien


More information about the turba mailing list