> 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: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx 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