Jacken’s Blog

SquirrelMail and LDAP

September 1st, 2004 · 4 Comments

Sometimes when I need to use my webmail (SquirrelMail) I find it irritating that I don’t have my addresses from AddressBook available. So today I used a program called AddressBook2LDAP to transfer all my addresses to the LDAP server on my webserver machine. I put it in cn=people. I then used the SquirrelMail configuration program found at /etc/squirrelmail/config/conf.pl to configure LDAP. But when I tried to access my addresses in webmail, I got the error “Error initializing LDAP server, protocol error”. So I added allow bind_v2 to the file /private/etc/openldap/slapd.conf. And it worked! So now I can access all my email addresses when out traveling.

When Mac OS X Tiger is released, the iSync API should be available, so I’ll try to write a module for syncing to an LDAP server with iSync. That would be cool to always know that your LDAP info is up to date.

Tags: Technical stuff

4 responses so far ↓

  • 1 Mike Swanson // Aug 4, 2005 at 23:22

    Hello, I am trying to fix a squirrelmail issue much like you described, though i added that line and it didn’t help. Did you do anything special after? Do you know of anywhere I could look for more info. If you would let me know (mswanson@pancent.org) i would appreciate it. Thanks

  • 2 Alex // Dec 20, 2005 at 22:56

    How is your progress on the iSync LDAP integration. I am also trying to do the same thing. If you like to split the work let me know.

    Alex

  • 3 Jacken // Dec 21, 2005 at 0:07

    I’m currently working on a IAX client softphone, so no time right now unfortunately.

  • 4 Alex // Dec 15, 2006 at 2:24

    AddressbookXLDAP (ABxLDAP) is an enhancement build on Addressbook2LDAP and Addressbook4LDAP. It now has iSync integration and support for extendable schema mappings.

    You might want to take a look at it on my website http://www.j2anywhere.com

You must log in to post a comment.