[imp] ldap server upgrade gave warning

Roger Thomas sniper at home.net.my
Sun Jul 11 18:24:18 PDT 2004


Found out that all these were due to protocol version of ldap. My old slapd of 2.0.5 made use of version 2 while the 2.2.13 made use of version 3.

Just as a side note, we can force slapd to start under version 2 by using 'allow bind_v2' in slapd.conf. Otherwise we have to specifically tell PHP that we want to bind with version 3 by inserting this line after a successfull ldap_connect:
ldap_set_option($ds,LDAP_OPT_PROTOCOL_VERSION,3);
where $ds is your link identifier.

I am still on imp3.2. I have not checked the latest version (of Horde and IMP) to know for sure if that (ldap_set_option) is required. Perhaps Chuck or Jan have inserted a line in conf so that we can toggle between the usage of ldap v2 or v3.

--
roger


Quoting Chuck Hagenbuch <chuck at horde.org>:

> Quoting Roger Thomas <sniper at home.net.my>:
> 
> > Yesterday, I upgraded my ldap server from v2.0.5 to v2.2.13
> > Now, whenever I go into imp, I got these warnings:
> >
> > Warning: ldap_mod_replace(): Modify: Strong(er) authentication 
> > required in /export/home/httpd/vhost/horde/lib/Prefs/ldap.php on line 
> > 468
> >
> > Any idea what the heck that  is ?
> 
> Well, sounds like what it means. What sort of auth setup do you have in your
> prefs configuration?
> 
> -chuck
> 
> --
> "Regard my poor demoralized mule!" - Juan Valdez
> -- 
> IMP mailing list - Join the hunt: http://horde.org/bounties/#imp
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: imp-unsubscribe at lists.horde.org
> 





---------------------------------------------------
Sign Up for free Email at http://ureg.home.net.my/
---------------------------------------------------


More information about the imp mailing list