Ticket modified by Klaus Leithoff at 2011/02/03 15:07
Tracking System: Bugs
Category: ActiveSync
Version: Trunk
Status: Open
Resolution: None
Completed: 10%
Priority: 5 - medium
Created By: camel camel
Created on: 2011/02/02 17:18
Assigned to: Philip Herbert
Summary: #2830 - logon - if EGW have multiple domain - only first is working
logon via AS not working (tested with android+wm)
-> if EGW have multiple domain - only first domain is working
hi, as describe above …
does the AS support multiple domain ?
(but i see the code is inplace …)
index.php - line239
if($backend->Logon($auth_user, $auth_domain, $auth_pw) == false) {…
i have a EGW install with 5 domains, but via AS login i can only connect via the first one.
any idea ?
(i see, that the debug log is going to first domain directory …)
Comment by Klaus Leithoff at 2011/02/03 15:07:
if login for the active domain succeedes, the statemachine should be with the other domains filesdir.
You may login to another instance within the same tree by using
username@domain as user/loginname
Example given:
user1 in default -> user1@default
me in second -> me@second
This should switch you to the egw instance while logging in with an explizit username.
Comment by camel camel at 2011/02/03 12:56:
i find out - that - for now …it can be setup in AS account as:
loginname is normally
domain\username
here ayyou must select:
domain\username@domain
i was thinking, that this ca be easliy fixed on the backend-logon function, there it would be possible to change it to:
egw.php [----] 0 L:[ 40+ 0 40/803] *(937 /25633b) 0009 0x009
*/
public function Logon($username, $domain, $password)
{
// check credentials and create session
-
if (!($this->egw_sessionID = $GLOBALS['egw']->session->create($username,$password,'text',true)))
-
if (!($this->egw_sessionID = $GLOBALS['egw']->session->create($username.'@'.$domain,$password,'text',true)))
############################################
but there must be done some changes also for the directory for state-engine …
hmm 
linked entries:
http://www.egroupware.org/egroupware/index.php?menuaction=tracker.tracker_ui.edit&tr_id=2830&no_popup=1