[Tickets #12186] Re: activesync component does not username canonified by authusername() hook

noreply at bugs.horde.org noreply at bugs.horde.org
Wed May 1 20:46:18 UTC 2013


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/12186
------------------------------------------------------------------------------
  Ticket             | 12186
  Updated By         | Michael Rubinsky <mrubinsk at horde.org>
  Summary            | activesync component does not username canonified by
                     | authusername() hook
  Queue              | Horde Base
  Version            | Git master
  Type               | Bug
  State              | Feedback
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             | Michael Rubinsky
------------------------------------------------------------------------------


Michael Rubinsky <mrubinsk at horde.org> (2013-05-01 20:46) wrote:

>> The patch will not fix devices that have already paired with the
>> server. You will need to either have the users create a new account on
>> the device, or an admin can remove the device state on the server. In
>> other words, only newly created devices will be saved with the
>> correctly normalized username.
>
> I tried it but the user 'a at realm.org' still does not see it and  
> device is listed for user 'a' in the administrator overview.

What do you mean the user 'a at realm.org' still does not see it? You  
said the user doesn't log in with an email address? If the user logs  
in as 'a', it should be visible. The last comment is correct, the  
administrative overview still loads with the un-mangled username since  
it comes directly from the ActiveSync state table. I will add the  
conversion there as well so it will be displayed as the Horde  
username, not the Auth username.



>
> A
>
> | select * from horde_prefs;
>
> lists 'a at realm.org' as pref_uid.  But
>
> | select * from horde_activesync_device_users;
>
> returns an entry with the non-canonified 'a' user only.
>
>
>> This is expected. A user should only be able to login on the device
>> with the same username he logs in to horde with on the desktop.
>
> That's the case here.  User is loggin in as 'a' in the webfrontend  
> and enters 'a' as userid in the android email application.
>
> The webfrontend calls "authusername('a', True) -> 'a at realm.org'"  
> while ActiveSync seems to miss this step.
>






More information about the bugs mailing list