[Date Prev][Date Next]
Re: Disable Protocol version 3?
Sorry. I hit "Reply" instead of "Reply to All".
My problem is not simply seeing which versions a server supports.
I have written some ldap client code that does certain functions on an
ldap server. My code attempts to
bind with version 3, but if it gets a protocol error back, it is
supposed to drop down to version 2 and attempt
the bind again with version 2.
So my problem is finding a server that doesn't accept version 3 binds.
Is the only solution to my problem using an older openldap 1.x server?
>From your earlier reply it seems that is the case.
On Mon, Nov 10, 2008 at 12:45 PM, Quanah Gibson-Mount <email@example.com> wrote:
> Please keep your replies on the list.
> Yes, the ancient OpenLDAP v1 was an LDAP v2 server. However, all modern
> software uses LDAP v3. If you have software that isn't LDAP v3 compliant, I
> suggest fixing it, or using an OpenLDAP v2 server that allows ldapv2 style
> If all you're doing is writing a client that wants to see the supported
> versions, I suggest just querying the rootDSE to see what it says:
> ldapsearch -x -h freelancer -s base -b "" +
> structuralObjectClass: OpenLDAProotDSE
> supportedLDAPVersion: 3
> (The above is edited to drop out other bits unrelated to the
> --On Monday, November 10, 2008 12:34 PM -0500 Jeremiah Martell
> <firstname.lastname@example.org> wrote:
>> From this page:
>> It seems that openldap only supported version 3 beginning with openldap
>> 2.x. So it seems if I used 1.x it would only support version 2, right?
>> Or am I missing something?
>> - Jeremiah
>> On Mon, Nov 10, 2008 at 12:16 PM, Quanah Gibson-Mount <email@example.com>
>>> No, you cannot disable protocol version 3... This question doesn't even
>>> really make sense. OpenLDAP is an LDAP protocol version 3 server.
>>> --On Monday, November 10, 2008 12:01 PM -0500 Jeremiah Martell
>>> <firstname.lastname@example.org> wrote:
>>>> I'm testing my client code that will drop down to version 2 if version
>>>> 3 isn't supported.
>>>> I've already found: http://www.openldap.org/faq/data/cache/822.html
>>>> which shows how to allow v2.
>>>> Now all I need is how to disable v3.
>>>> Nothing in the slapd configuration file looks like it would do the
>>>> trick. And nothing in the ./configure --help looked like it would do it
>>>> Is this possible without buliding an older version of openldap? If so,
>>>> - Jeremiah Martell
>>> Quanah Gibson-Mount
>>> Principal Software Engineer
>>> Zimbra, Inc
>>> Zimbra :: the leader in open source messaging and collaboration
>> - Jeremiah Martell
> Quanah Gibson-Mount
> Principal Software Engineer
> Zimbra, Inc
> Zimbra :: the leader in open source messaging and collaboration
- Jeremiah Martell