Active Topics

 


Reply
Thread Tools
Bundyo's Avatar
Posts: 4,708 | Thanked: 4,649 times | Joined on Oct 2007 @ Bulgaria
#1
I managed to convince my Thunderbird to import read-only calendar events and alarms using this guy's lovely article:

http://blog.indigio.com/index.php/20...odbye-outlook/

So i thought why not use the same technique and sync Exchange and GPE read-only. It worked flawlessly.

To do all this you'll need Apache 2, authnz_ldap and PHP (and Exchange of course). If you don't have an idea what are these things, better talk to your office administrator and see if he can be persuaded for such a thing.

Word of warning: GPE is less prone to crap in the ics file, so i added error_reporting(E_ALL ^ E_NOTICE) in the php file (i prefer to see them by default) to remove any surprises.

So, the version i'm using is the one Simon posted in the comments on 8th Apr with added alarms posted before that by Coward (made-up name perhaps).

In the blog the author prefers using auth_ldap, buth with the recent Apache 2 servers comes authnz_ldap, so i modified his .htaccess too a bit:

Code:
Require valid-user
# LDAP authentication
AuthType Basic
AuthName "iCal"
AuthBasicProvider ldap
AuthzLDAPAuthoritative off
AuthLDAPURL "ldap://YOUR_AD_HOSTNAME/ou=Users,dc=YOUR_DOMAIN,dc=YOUR_EXT?sAMAccountName?sub?(objectClass=*)"
AuthLDAPBindDN "DOMAIN\BIND_USER"
AuthLDAPBindPassword BIND_USER_PASS
If you fail to give proper ldap URL, prepare to fail the authentication with strange messages in the error_log (hint: referer usually means you gave wrong ou in your domain). Also i'm using (mail=*) selector, since too much crap appeared in our forest.

Get the files here (or use the files/instructions in the mentioned blog replies), follow the install directions from the blog post above.
http://bundyo.org/maemo/ical.tar.bz2
6K

If you want to share common calendar for all people, change $exchange_username on rows 27 and 36 to the name of your calendar. Probably you won't need the authentication at all then.

Last edited by Bundyo; 2008-05-05 at 22:46.
 
Reply


 
Forum Jump


All times are GMT. The time now is 23:58.