[Tickets #14313] ca*dav autodiscover vs authusername hook

noreply at bugs.horde.org noreply at bugs.horde.org
Thu Mar 31 21:33:06 UTC 2016


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

Ticket URL: https://bugs.horde.org/ticket/14313
------------------------------------------------------------------------------
  Ticket             | 14313
  Created By         | dgeo+horde at dgeos.net
  Summary            | ca*dav autodiscover vs authusername hook
  Queue              | Horde Base
  Version            | 5.2.10
  Type               | Enhancement
  State              | New
  Priority           | 1. Low
  Milestone          |
  Patch              |
  Owners             |
------------------------------------------------------------------------------


dgeo+horde at dgeos.net (2016-03-31 21:33) wrote:

Horde "webmail" install working very well here
Horde Auth is LDAP, usernames are 'login' form (without @domain)

Configuring ca*dav with url works fine, discovers all  
calendars/addressbooks (/rpc/principals/username URL)

Now trying to use autodiscover feature (/.well-known/ca(l|rd)dav 302  
to /rpc/), using email address (simplest to use), I tried authusername  
hook, and even preauthenticate hook to change mail to login, Horde  
still send /rpc/principals/user at domain when authusername returned  
'username', and this finally fails to discover calendars/addressbooks  
(sabredav replies with "User user at domain does not exist").

I also configured activesync_get_autodiscover_username (which works  
well for activesync autodiscover).

Do I miss something ?

I'd love to propose a patch here, but I'm not confident enough with  
horde's auth code. Feel free to send me any pointer to show me the way?

I found an older ticket's comment  
https://bugs.horde.org/ticket/12305#c6 but I prefered open a new  
ticket? Hope I did the right thing.

Thanks a lot





More information about the bugs mailing list