[horde] _username_hook_frombackend not used by Horde, only by IMP

Jan Schneider jan at horde.org
Sat Dec 11 07:12:56 PST 2004


Zitat von Oscar Retana <oscar at gridshield.net>:

> I wrote a simple _username_hook_frombackend function that ensures the
> username is always in the format "user at domain.com", using a default
> domain if the user didn't provide one.
>
> But, according to my imap server logs, Horde sends to the imap server
> only the "user" without the "@domain.com". Then comes the IMP
> authentication and it *does* use the full format "user at domain.com".
>
> So, I suspect that Horde is not using my _username_hook_frombackend.
>
> Am I doing it in the right way? Is this the hook I should use?

No, you should use the preauthenticate hook.

Jan.

-- 
Do you need professional PHP or Horde consulting?
http://horde.org/consulting/



More information about the horde mailing list