[Tickets #8872] realm omitted from username when using api

bugs at horde.org bugs at horde.org
Fri Feb 12 19:55:41 UTC 2010


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

Ticket URL: http://bugs.horde.org/ticket/8872
------------------------------------------------------------------------------
  Ticket             | 8872
  Created By         | robin.west at dal.ca
  Summary            | realm omitted from username when using api
  Queue              | IMP
  Version            | 4.3.4
  Type               | Bug
  State              | Unconfirmed
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


robin.west at dal.ca (2010-02-12 14:55) wrote:

Hi - using Horde 3.3.4/IMP4.3.4/Ingo1.2.1. I have IMP configured with  
realm='dal.ca', so normally when I log in, Auth::getAuth() would  
return 'rwest at dal.ca' and all my prefs are saved in the backend with  
pref_uid='rwest at dal.ca'.

I have a custom script which connects to IMP using the  
imp_authenticate() api function ... but when I connect this way, there  
is no realm in my username (i.e. Auth::getAuth() returns just  
'rwest'). This is a problem if my custom script wants to retrieve  
prefs from the backend, which are all stored with the  
pref_uid='rwest at dal.ca'.

Is this expected behaviour for using the imp_authenticate() api? Or is  
it a bug? Is there anything I can do so that my custom script ends up  
logging in as 'rwest at dal.ca' instead of just 'rwest'?






More information about the bugs mailing list