[horde] LDAP
Michael J. Pelletier
mjpelletier at mjpelletier.com
Wed Feb 11 21:52:03 PST 2004
Thanks. I am using the HEAD version and it seems that the file you are talking
about is now in the framework directory (horde/framework/Auth/Auth/ldap.php). I
am not sure I understand what you mean by the ldap_connect section as, there
are 3 or 4 ldap_connect statements. Do you mean add your code after each
ldap_connect()?
Quoting michael dunston <mdunston at music.vt.edu>:
> mjpelletier at mjpelletier.com, 11:07 PM (-0800) Tuesday, February 10,
> 2004:
>
>> Has anyone successfully got Horde to authenticate to a OpenLDAP
>> (Version 3 only) directory? If so I would like to ask you some
>> questions...
>
> One of the problems I ran into was an LDAP protocol discrepancy. My own
> php code would work wonderfully, while TUTOS (using the same LDAP server
> info and settings) would not. As it turned out, my version of OpenLDAP
> was defaulting to LDAPv3 while php 4.3 was expecting LDAPv2. Adding the
> following line:
>
> ldap_set_option($ldap, LDAP_OPT_PROTOCOL_VERSION, 3);
>
> after the ldap_connect section in horde/lib/Auth/ldap.php solved it for
> me.
>
>
>
> -- -- -- -- -- -- -- --
> -- Michael Dunston
> -- Music and Technology
> -- <http://www.music.vt.edu>
> -- Virginia Tech School of the Arts
----------------------------------------------------------------
This message was sent using IMP, the Internet Messaging Program.
More information about the horde
mailing list