ispCP - Board - Support
CalDAV and LDAP support - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Development Area (/forum-1.html)
+--- Forum: Suggestions (/forum-2.html)
+--- Thread: CalDAV and LDAP support (/thread-14175.html)



CalDAV and LDAP support - tim - 06-14-2011 10:19 PM

I have just set up caldav (davical) and ldap (openladp) on my Ubuntu server and was surprised to find how easy it was.

It would be nice if the two applications were supported - one for network calendering, and the other for addressbook storage.

Davical requires postgresql and php which are available for BSD and most flavours of Linux.

Openldap again is supported in Linux and BSD.

Squirrelmail, (and Roundcube which I tend to use) both support ldap address books as do a number of other mail clients and handheld devices.

Caldav is supported by a number of mail clients including Thunderbird and iCal (also worth noting native support on IOS and app support for Android).

All that is missing if a Caldav web client.

A small authentication plugin could be written for davical to allow it to authenticate against the ispcp email users database which would auto-create the davical user. I am not much of a coder, but it doesn't look too complicated.

Openldap could be configured without too much difficulty, it would probably require a) Initial setup b) the generation of an LDIF file which would be imported at domain creation time constructed from form data and c) another at email address creation time - see this url for info on how this works:

https://help.ubuntu.com/10.10/serverguide/C/openldap-server.html

Am I over-simplifying things and not seeing the big picture?

As I have mentioned, I am not much of a coder, so although I could probably have a go at writing this, my code would by no means by elegant, and I would likely be buggy, poorly written and would make a rather more experienced programmer cringe.

Any thoughts?


RE: CalDAV and LDAP support - tim - 06-15-2011 09:09 PM

I take that back.... Thunderbird does not support writeable ldap addressbooks.


RE: CalDAV and LDAP support - aseques - 06-15-2011 11:24 PM

(06-14-2011 10:19 PM)tim Wrote:  I have just set up caldav (davical) and ldap (openladp) on my Ubuntu server and was surprised to find how easy it was.

It would be nice if the two applications were supported - one for network calendering, and the other for addressbook storage.

Davical requires postgresql and php which are available for BSD and most flavours of Linux.

Openldap again is supported in Linux and BSD.

Squirrelmail, (and Roundcube which I tend to use) both support ldap address books as do a number of other mail clients and handheld devices.

Caldav is supported by a number of mail clients including Thunderbird and iCal (also worth noting native support on IOS and app support for Android).

All that is missing if a Caldav web client.

A small authentication plugin could be written for davical to allow it to authenticate against the ispcp email users database which would auto-create the davical user. I am not much of a coder, but it doesn't look too complicated.

Openldap could be configured without too much difficulty, it would probably require a) Initial setup b) the generation of an LDIF file which would be imported at domain creation time constructed from form data and c) another at email address creation time - see this url for info on how this works:

https://help.ubuntu.com/10.10/serverguide/C/openldap-server.html

Am I over-simplifying things and not seeing the big picture?

As I have mentioned, I am not much of a coder, so although I could probably have a go at writing this, my code would by no means by elegant, and I would likely be buggy, poorly written and would make a rather more experienced programmer cringe.

Any thoughts?
There're some issues with this:
.- davical requires a postgresql database, and there's no interface to handle it in ispcp at the moment. Besides this the support of caldav in thunderbird is ok, but far from excelent (as it is with iPhone or others), and there's no support at all from outlook.
.- for the ldap, it'd be difficult to integrate into ispcp, it's a lot of work only to have stored contacts ..

I'd be more favorable to use davical when it's able to work with mysql and with a proper suport for caldav/carddav at least in thunderbird.


RE: CalDAV and LDAP support - RatS - 06-18-2011 08:13 AM

As aseques, I don't see it as a real feature for ispCP for now.

Feel free to use LDAP authentication for your e-mail accounts and share your ideas with others on our forum.