Calender server for 4.0 (to be used from Lightning) ???

3rd Party Package Requesting

Calender server for 4.0 (to be used from Lightning) ???

Postby bob selby » Fri Feb 05, 2010 2:14 pm

Hi,

Lightning (a calender addon for Thunderbird) supports importing/exporting from/to "CalDav" and "iCalender" servers.

Is there a server package for 4.0 that will give me that functionality on the local network?

I need to setup a shared calender between 4-5 people and also sync between it and a couple of mobile phones - all within the local network (no exteral access required).

TIA

Bob
bob selby
Advanced Member
 
Posts: 302
Joined: Wed Nov 21, 2001 8:18 am
Location: London, UK

Re: Calender server for 4.0 (to be used from Lightning) ???

Postby Lightning » Sun Feb 07, 2010 5:05 am

Well if you can find the source code for Linux I will certainly see if it can be compiled and packaged. There are a number of them with differing capabilities.
If you are afraid that you might make a mistake. The chances are high that you will never learn anything.
User avatar
Lightning
FREESCO GOD !!
 
Posts: 12079
Joined: Wed Nov 14, 2001 6:50 am
Location: Oregon, USA

Re: Calender server for 4.0 (to be used from Lightning) ???

Postby dingetje » Sun Feb 07, 2010 9:26 am

Another possible solution is to use WebDav icw Apache, like described here: http://www.macosxhints.com/article.php? ... 2065811863

I haven't actually tried this with iCal, but WebDav is certainly possible.

The webdav module for my Apache package can be downloaded from my site, libdav.so.gz

Installation, provided you have Apache package installed, would be something like:
Code: Select all
cd /usr/local/apache/libexec
snarf -n http://dingetje.homeip.net/packages/0.3.x/non-package/libdav.so.gz
gzip -d libdav.so.gz


Then edit your httpd.conf file:
Code: Select all
LoadModule dav_module libexec/libdav.so


Code: Select all
AddModule mod_dav.c


Code: Select all
<IfModule mod_dav.c>
 DAVLockDB /usr/local/apache/davlocks/DAVLockDB
 DAVDepthInfinity Off
 DAVMinTimeout 600
</IfModule>


Example WebDav share:
Code: Select all
<IfModule mod_dav.c>
 <Directory "/www/webdav">
  AuthName "Dingetje's WebDAV Test Directory"
  AuthUserFile /usr/local/apache/davlocks/.htpasswd
  AuthType Basic
  AllowOverride None
  DAV On
  Options Indexes
  Order allow,deny
  # Example of a default read only access for general user community.
  # You can handle the rest of authorization through .htaccess files.
  Allow from all
  <LimitExcept GET HEAD OPTIONS>
       Require valid-user
  </LimitExcept>
</Directory>
</IfModule>


Next create the authentication directory and password file:
Code: Select all
mkdir /usr/local/apache/davlocks
chown nobody.nobody /usr/local/apache/davlocks
cd /usr/local/apache/davlocks
/usr/local/apache/bin/htpasswd -m -c .htpasswd <username>

where <username> is a trusted user

Now restart Apache with:
Code: Select all
rc_httpd restart


and try to access the WebDav share using "Add new network location" with a Windoze client. You will get prompted for a username/password.
Like I've said I haven't tried with an iCal calendar, but it looks promising.
GreetZ
http://dingetje.hopto.org

"Software is like sex: it's better when it's free." - LINUS TORVALDS
User avatar
dingetje
FREESCO GURU !!
 
Posts: 1010
Joined: Wed Nov 14, 2001 12:13 pm
Location: The Netherlands

Re: Calender server for 4.0 (to be used from Lightning) ???

Postby bob selby » Sun Feb 07, 2010 9:46 am

Hehe - thanks :-)

I'll give that a try and let you know

Bob
bob selby
Advanced Member
 
Posts: 302
Joined: Wed Nov 21, 2001 8:18 am
Location: London, UK

Re: Calender server for 4.0 (to be used from Lightning) ???

Postby bob selby » Mon Feb 08, 2010 9:30 pm

Yes, it does seem to work OK, but I have to admit that I didnt try too hard - just the basics.

I realised that I need to couple in the Outlook agenda from work and the easiest way to do that was to use a Google calendar as the central repository and then give everyone in-house access to it - I had no clue how to get Outlook to use SSH tunnels to link into a secure WebDav server on the 040 box, and no intention to try given that Google provide a free tool to sync their calendar with Outlook and another to sync my Nokia with Google :-)

Many thanks anyway guys :-)

As always a sterling service from the team! :-)
Bob
bob selby
Advanced Member
 
Posts: 302
Joined: Wed Nov 21, 2001 8:18 am
Location: London, UK

Re: Calender server for 4.0 (to be used from Lightning) ???

Postby dingetje » Wed Feb 17, 2010 11:25 am

Thanks for testing the WebDAV setup and don't feel bad selecting the "Google" solution :wink:
GreetZ
http://dingetje.hopto.org

"Software is like sex: it's better when it's free." - LINUS TORVALDS
User avatar
dingetje
FREESCO GURU !!
 
Posts: 1010
Joined: Wed Nov 14, 2001 12:13 pm
Location: The Netherlands

Re: Calender server for 4.0 (to be used from Lightning) ???

Postby dilberts_left_nut » Wed Feb 17, 2010 3:33 pm

Hmmm, all your appointment is belong to us :D
User avatar
dilberts_left_nut
Member
 
Posts: 71
Joined: Thu Sep 02, 2004 8:25 am
Location: Christchurch, NZ

Re: Calender server for 4.0 (to be used from Lightning) ???

Postby bob selby » Wed Apr 14, 2010 9:50 am

Well - if you will put confidential items on a public calendar you will get all you deserve :-)

Not publishing the calendar and only allowing specific people to access it is secure enough for my needs.
bob selby
Advanced Member
 
Posts: 302
Joined: Wed Nov 21, 2001 8:18 am
Location: London, UK


Return to 3rd Party Package Requesting

Who is online

Users browsing this forum: No registered users and 4 guests

cron