[horde] Re: LDAP question

Liam Hoekenga liamr at umich.edu
Tue Jan 6 05:10:37 PST 2004


The PHP command you use to do this is ldap_set_option:

    http://www.php.net/manual/en/function.ldap-set-option.php

Grepping for the in the source code shows mention of it in
horde/lib/Driver/ldap.php.. if you look at that file, it looks like you
should be able to set the ldap version by doing something like..

   $con['prefs']['params']['version'] = 3;

If you're doing this w/ Turba, config/sources.php.dist (in turba 1.2.1x,
and probably earlier) has a sample entry that does this too (the LDAP
based personal address book).

Liam

On Mon, 5 Jan 2004, Michael J. Pelletier wrote:

> When I configure Horde to use LDAP (I am using OpenLDAP) I cannot login and in
> the ldap logs I get:
>  slapd[86320]: conn=240 op=0 RESULT tag=97 err=2 text=historical protocol
> version requested, use LDAPv3 instead
>
> What am I doing wrong?
>
> -- Michael
>
> >> Does Horde support version 3 of LDAP?
>
> >Yes.
>
> >-chuck
>
>
> ----------------------------------------------------------------
> This message was sent using IMP, the Internet Messaging Program.
>
> --
> Horde mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: horde-unsubscribe at lists.horde.org
>



More information about the horde mailing list