There error is generally occurs when the LDAP version requested by the client is
not supported by the server.
The OpenLDAP Software 1.x server only supports LDAPv2.
The OpenLDAP Software 2.x server supports LDAPv3 and, if enabled, limited
LDAPv2. As of 2.1, the default is to only support LDAPv3.
The OpenLDAP Software 1.x client only supports LDAPv2. A protocol error will be
returned when attempting to use LDAPv2 connect to an OpenLDAP Software 2.x server
configured not to support LDAPv2.
The OpenLDAP Software 2.x client supports LDAPv3 and LDAPv2. A protocol error
will be returned when attempting to use LDAPv3, the default, to connect to an OpenLDAP
Software 1.x server. Also, if the client attempts to uses LDAPv2 (-P 2) to connect to
an OpenLDAP Software 2.x server configured not to support LDAPv2, then a protocol
error will be returned.
OpenLDAP Software 2.1 (or later) provides limited support for LDAPv2. It can be
enabled by specifying:
allow bind_v2
in slapd.conf(5). This feature is provided only legacy reasons. Use LDAPv3 instead
where ever possible.
I found this on the openldap faq
Greg Crosby
----- Original Message -----
From: "Tracy Snell" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, October 10, 2002 5:45 PM
Subject: Re: [courier-users] LDAP Protocol error
> On 10/10/02 12:01 PM, "Tracy Snell" <[EMAIL PROTECTED]> wrote:
>
> > When I try to user authldap I get the following error:
> >
> > ldap_simple_bind_s failed: Protocol error
> >
> >
> > Here's my authldaprc:
> >
> > LDAP_SERVER localhost
> > LDAP_PORT 389
> > LDAP_BASEDN o=hosting,dc=snagmail,dc=com
> > LDAP_TIMEOUT 8
> > LDAP_AUTHBIND 0
> > LDAP_MAIL mail
> > LDAP_FILTER (objectClass=JammMailAccount)
> > LDAP_GLOB_UID vmail
> > LDAP_GLOB_GID vmail
> > LDAP_HOMEDIR homeDirectory
> > LDAP_MAILDIR mailBox
> >
>
> LDAP_AUTHBIND 1
>
> Has the same error.
>
>
>
> -------------------------------------------------------
> This sf.net email is sponsored by:ThinkGeek
> Welcome to geek heaven.
> http://thinkgeek.com/sf
> _______________________________________________
> courier-users mailing list
> [EMAIL PROTECTED]
> Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users