[horde] Horde with different IMAP servers
Mayra del Río López
mayra at fib.upc.edu
Mon Feb 26 01:34:12 PST 2007
Jan Schneider wrote:
> Zitat von Mayra del Río López <mayra at fib.upc.edu>:
>
>> Hello,
>>
>> we're setting up a Horde-CAS installation with different IMAP
>> servers for authentication, for this we have different
>> configurations in horde/imp/config/servers.php and we use the
>> horde-hook-preauthenticate function to select one.
>>
>> The problem is that when Horde saves preferences (or anything else)
>> the name of the user is only the username, instead of
>> username at domain.We have different domains per IMAP server, so we are
>> interested in saving the domain, too. When users log in they only
>> write the username, without the domain. We have tried to change the
>> $servers[imap][realm] and $_SESSION[imp][realm] parameters in
>> horde-hook-preauthenticate function with no result.
>
>
> And does the imap server expect user names with domains? If yes,
> create a vinfo hook. If not, create username_from_backend and
> username_to_backend hooks.
>
> Jan.
>
Thanks,
we solve the problem creating the _username_hook_tobackend and
_username_hook_frombackend.
Mayra
--
--------------------------------------------------------------------
o o o Mayra del Río López | Mail: mayra at fib.upc.edu
o o o Área de Sistemas y Comunicaciones | Teléfono: 93 401 62 30
o o o Laboratorio de Cálculo | Despacho: B6 s104
U P C Facultad Informática Barcelona |
--------------------------------------------------------------------
More information about the horde
mailing list