(Answer) (Category) OpenLDAP Faq-O-Matic : (Category) Trash : (Answer) ldap_bind: Protocol error (2) / additional info: requested protocol version not allowed
If an LDAP client shows the error:
ldap_bind: Protocol error (2)
        additional info: requested protocol version not allowed
it probably means that you are using slapd from OpenLDAP 2.1 and have a client that requests LDAP version 2. By default, slapd now only accepts version 3.
To enable compatibility with LDAPv2, add this line to slapd.conf:
allow bind_v2
Alternatively, if you have access to the source code of the client you could use ldap_set_option to request a version 3 bind. See the source code for ldapsearch for an example of how to do this.
andrew.findlay@skills-1st.co.uk
[Append to This Answer]
This document is: http://www.openldap.org/faq/index.cgi?file=714
[Search] [Appearance]
This is a Faq-O-Matic 2.721.test.
© Copyright 1998-2013, OpenLDAP Foundation, info@OpenLDAP.org