[prev in list] [next in list] [prev in thread] [next in thread] 

List:       horde
Subject:    Re: [horde] Horde with different IMAP servers
From:       Mayra_del_Río_López <mayra () fib ! upc ! edu>
Date:       2007-02-26 9:34:12
Message-ID: 45E2A994.8080703 () fib ! upc ! edu
[Download RAW message or body]


Jan Schneider wrote:

> Zitat von Mayra del Río López <mayra@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@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@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    |
-------------------------------------------------------------------- 



-- 
Horde mailing list - Join the hunt: http://horde.org/bounties/#horde
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: horde-unsubscribe@lists.horde.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic