SquirrelMail 1.5.2svn has ldap test script in contrib directory. You can download it from http://squirrelmail.svn.sourceforge.net/viewvc/*checkout*/squirrelmail/trunk/squirrelmail/contrib/test_ldap.phps?revision=11044
save script as test-ldap.php, set configuration variables correctly, run that script in browser or console and show results > I have made the changes you told me, but I get the same error. I set the > protocol to 3. Changing the 'base' variable doesn´t change the error > message > I receive. > > Do I need to set other variables? Do you have any idea? > > Thank you very much for your help. > >>From: Tomas Kuliavas <[EMAIL PROTECTED]> >>To: [email protected] >>Subject: Re: [SM-USERS] Addressbook with Squirrelmail >>Date: Mon, 18 Jun 2007 07:46:51 +0000 (UTC) >> >> > I have a mail server with postfix and Squirrelmail, and I would like >> to >>use >> > an address book, that is allocated in another server. >> > >> > In the squirrelmail configuration file I worte this lines: >> > >> > $ldap_server[0] = array( >> > 'host' => <ip_ldap_server>, >> > 'name' => <addressbook_name> >> > ); >> > >> > where <ip_ldap_server> is the IP of the addressbook server. >> > >> > When I try to find addresses in the addressbook I always get this >>message: >> > "Protocol error". >> > >> > As I said, mail server address and addressbook servers are DIFFERENT. >>Colud >> > anybody help me? >> >>PHP LDAP extension defaults to LDAP v2 bind protocol. Latest OpenLDAP and >>ADS >>versions don't allow v2 binding. Set protocol to 3, when you add LDAP >>address >>book in SquirrelMail configuration. Please note that 'base' is required >>LDAP >>address book configuration option. >> >>$ldap_server[0] = array( >> 'host' => 'address_of_ldap_server', >> 'name' => 'address_book_name', >> 'base' => 'your-basedn', >> 'protocol' => 3 >>); >> >> >>------------------------------------------------------------------------- >>This SF.net email is sponsored by DB2 Express >>Download DB2 Express C - the FREE version of DB2 express and take >>control of your XML. No limits. Just data. Click to get it now. >>http://sourceforge.net/powerbar/db2/ >>-- >>squirrelmail-users mailing list >>Posting Guidelines: >>http://www.squirrelmail.org/wiki/MailingListPostingGuidelines >>List Address: [email protected] >>List Archives: >>http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user >>List Archives: >> http://sourceforge.net/mailarchive/forum.php?forum_id=2995 >>List Info: >> https://lists.sourceforge.net/lists/listinfo/squirrelmail-users > > _________________________________________________________________ > Acepta el reto MSN Premium: Protección para tus hijos en internet. > Descárgalo y pruébalo 2 meses gratis. > http://join.msn.com?XAPID=1697&DI=1055&HL=Footer_mailsenviados_proteccioninfantil > > ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ -- squirrelmail-users mailing list Posting Guidelines: http://www.squirrelmail.org/wiki/MailingListPostingGuidelines List Address: [email protected] List Archives: http://news.gmane.org/thread.php?group=gmane.mail.squirrelmail.user List Archives: http://sourceforge.net/mailarchive/forum.php?forum_id=2995 List Info: https://lists.sourceforge.net/lists/listinfo/squirrelmail-users
