Re: CalDAV & CardDAV when using LDAP for authorization?

[email protected]
Newsgroups gmane.comp.horde.user
Message-ID <[email protected]>
>> 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.
-- 
Horde mailing list
Frequently Asked Questions: http://horde.org/faq/
To unsubscribe, mail: [email protected]
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.