[dev] Patch for LDAP Preferences storage

Edwin Culp eculp@encontacto.net
Tue, 14 May 2002 17:02:06 -0700


Quoting Jon Parise <jon@horde.org>:

| Try grabbing revision 1.32 of ldap.php.  That should quiet some of
| those warnings.
| 
| Regardless, it would appear that you haven't updated your LDAP schema
| to support the new format.  Have a look at scripts/ldap/horde.schema

Jon,

Two things here.  First I am pretty sure that I hadn't killed slapd and
restarted it the last time around but I know I have now and we now have
a schema error in slapd.log

May 14 17:52:51  slapd[45128]: conn=5 op=2 RESULT tag=103 err=17
text=hordeprefs: attribute type undefined 

With this solved, I think we should be home free.  Then we will just have
the grunt work of converting everyone's preferences. 

The browser errors now make more sense.

Warning: LDAP: modify operation could not be completed. in
/usr/src/horde/lib/Prefs/ldap.php on line 438

Warning: Cannot add header information - headers already sent by (output started
at /usr/src/horde/lib/Prefs/ldap.php:438) in /usr/src/horde/imp/redirect.php on
line 94

| for an example, and make sure you define something like this:

| 
|     $conf['prefs']['params']['field'] = 'hordePrefs';

Hmmm.... here I had 
$conf['prefs']['params']['pref_field'] = 'hordePrefs';
for some unknown reason but I left them both just in case.:-)

Thanks, Jon.

ed

-------------------------------------------------------------
 http://insourcery.com - Mergence of Business and Technology  
          a "Griffin Plaza Partners, LLC" Company