[Date Prev][Date Next]
Re: API Libs and the v3 Protocol
Use the ldap_set_option() api call with LDAP_OPT_PROTOCOL_VERSION.
It's documented here:
ldap_set_option(ld, LDAP_OPT_PROTOCOL_VERSION, LDAP_VERSION_3);
On Mon, 23 Sep 2002, Wm. G. Urquhart wrote:
> According to the documentation the libs provided for the C API support
> both the v2 and v3 protocols, with the default of v2. I'm trying to use
> ldap_bind on a v3 only installation so I need to be v3 'aware', how do I
> set this in my application?
> I've searched and search through the docs but can't find any references to
> it, could someone please shed some light on this for me please. I'd really
> appreciate it.
> Wm. G. Urquhart