[dev] Using OpenLDAP for prefs.
Edwin Culp
eculp@encontacto.net
Tue, 16 Apr 2002 10:26:01 -0700
Quoting Jon Parise <jon@horde.org>:
| On Tue, Apr 16, 2002 at 09:07:25AM -0700, Edwin Culp wrote:
|
| > Thanks, Jon. I'm certainly willing to help. If you can point me in the
| > right direction for finding the original (not empty) value for a modified
|
| > (now dirty but empty) attribute, I don't see why applying ldap_mod_del to
|
| > them in ldap.php wouldn't work. If there is a more appropriate option,
| > I am willing to give it a try also.
|
| Deleting an attribute will restore the default, but it won't fix the
| problem that it seems impossible to store an empty string in an LDAP
| directory.
Jon,
I'm certainly not an expert on this but I've seen it discussed often
on the OpenLDAP list. I guess the bottom line is that a non-existent
attribute can serve as the rough equivalent of an empty string, depending
of course on the code. If an empty string is really needed, it can be
assigned when reading non-existent attributes from the directory and
I would think that in most cases it should work.
ed
-------------------------------------------------------------
http://insourcery.com - Mergence of Business and Technology
a "Griffin Plaza Partners, LLC" Company