[horde] CalDAV & CardDAV when using LDAP for authorization?

4tybf3kvvj at snkmail.com 4tybf3kvvj at snkmail.com
Fri Aug 24 08:18:23 UTC 2018


>> If I am using LDAP as my authentication for Horde, should CalDAV &
>> CardDAV functionality work?  I can log into Horde's webgui with my
>> LDAP user/pass , but when I setup my CalDAV client (and use the LDAP
>> login/password) it returns an error "encountered HTTP error 404. Make
>> sure the URL is correct."
>> 
>> Horde debug log (set to DEBUG) doesn't show any failures (shown 
>> below):
> 
> I found when manually browsing to
> http://horde.local/rpc.php/principals/myuser/ , I get
> "<d:error><s:exception>Sabre\DAV\Exception\NotFound</s:exception>" ,
> <s:message>User myuser does not exist</s:message> .
> 
> However browsing to http://horde.local/rpc.php/kronolith/myuser shows 
> ICS files.

I was able to resolve the issue with LDAP & CalDAV by fixing the LDAP 
parameter filter in my /horde/conf.php .

I changed :

$conf['auth']['params']['filter'] = '(objectclass=shadowAccount)';

to

$conf['auth']['params']['filter'] = '(objectclass=inetOrgPerson)';


Oddly, with the objectclass=shadowAccount, web-based access still 
worked.

V.


More information about the horde mailing list