[dev] Prefs LDAP Patch to follow referrals

Jon Parise jon@horde.org
Fri, 3 May 2002 01:35:39 -0400


On Fri, Apr 12, 2002 at 02:47:27PM -0400, Kevin Hildebrand wrote:

> This patch takes advantage of the newly added ldap_set_rebind_proc
> functionality added to PHP-4.2.0RC2.  It will only work with the latest
> PHP as a result.  
> 
> This patch allows referrals to be followed properly when referencing Horde
> preferences.  (For instance, our site has two LDAP servers, a master and a
> slave.  Attempts to update the slave will return a referral to the master,
> which must be followed to properly update the database.)
> 
> This patch also fixes a bug in the ldap driver where dirty preferences
> were not being marked clean after update.
> 
> Finally, this patch replaces the fatal errors on LDAP access failure with
> logged warnings, so that end users can still access their pages even if
> their preferences server is down.

I've committed all of these to HEAD CVS.  Thanks!
 
-- 
Jon Parise (jon@csh.rit.edu)  .  Information Technology (2001)
http://www.csh.rit.edu/~jon/  :  Computer Science House Member