[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: Enabling V2 protocol - how?
On Thu, Jul 18, 2002 at 03:40:00PM -0600, Alan Sparks wrote:
>
> I'm sure I'm missing this, buit is there something special to enabling
> both V2 and V3 support in OpenLDAP 2.1.3? I have no "require" or
> "disallow" lines in my configuration file, but I get a
>
> ldap_bind: Protocol error (2)
> additional info: requested protocol version not allowed
>
> if I use the -P 2 option on ldapsearch. If I use -P 3 (or nothing at
> all), the query succeeds.
You need to explicitly *allow* LDAP v2 in slapd.conf:
allow bind_v2
The default is to accept v3 only.
Andrew
--
-----------------------------------------------------------------------
| From Andrew Findlay, Skills 1st Ltd |
| Consultant in large-scale systems, networks, and directory services |
| Andrew.Findlay@skills-1st.co.uk +44 1628 782565 |
-----------------------------------------------------------------------