SquirrelMail  
Donations
News
About
Support
Screen shots
Download
Plugins
Documentation
Sponsors
Bounties













Security Notice
Phishing campain
UPDATE YOUR
EMAIL SECURITY
"IUEU"

ERROR: Protocol error

SOLUTION 1:

Upgrade to SquirrelMail 1.4.3 and set protocol version to 3 in LDAP address book configuration. If you get this error in other SquirrelMail plugins that use LDAP, ask plugin developers to implement v3 bind protocol options or see other solutions.

SOLUTION 2:

The OpenLDAP Quick Start Guide instructions at http://www.openldap.org involve starting and stopping slapd at the command line.

On FreeBSD 4.9, PHP 4.3.4, SquirrelMail 1.4.2, OpenLDAP 2.1.23 there are three requirements to not get this Protocol error

Check that allow bind_v2 was added to /usr/local/etc/openldap/slapd.conf

Check that /etc/rc.conf contains the following entries as mentioned in the ports message after compile of OpenLDAP.

slapd_enable="YES"
slapd_flags='-h "ldapi://%2fvar%2frun%2fopenldap%2fldapi/ ldap://0.0.0.0:389"'
slapd_sockets="/var/run/openldap/ldapi"

Use /usr/local/etc/rc.d/slapd.sh start to start the slapd daemon and /usr/local/etc/rc.d/slapd.sh stop to stop the daemon

Make sure you stop and start the daemon after you make the configuration changes.


OS X 10.4.X Server

Pico or VI /etc/openldap/slapd_macosxserver.conf

ADD to the file:

allow bind_v2

Save & Exit

Restart Slapd w/ the Activity Viewer application or command line

cd /etc/squirrelmail/config/
./conf.pl
6 [enter]
N (LDAP Addressbook Number) [enter]

Leave the rest of the settings default except the following:

hostname: (Your server hostname)
base: cn=users,dc=yourdomain,dc=com
Protocol Name: Staff (or whatever you want to call it)

-Brandon Turner

© 1999-2010 by The SquirrelMail Project Team