[horde] lib/Horde/Prefs/ldap.php, anonymous binding
Ben Sommer
Ben.Sommer at enc.edu
Fri Apr 15 09:02:03 PDT 2005
Hi All.
Here's my problem, and a proposed solution:
Horde's Prefs ldap driver requires either
A) a root DN and password to search for and modify a user's prefs
fields, or
B) a simple-to-concatenate user DN formula (such
$conf['prefs']['params']['uid'] + a $base_dn)
A) is a problem because root binds to an LDAP server are neither
necessary nor desired to do most any user-level write operations.
B) is a problem because my person schema does not conform to such a
simplistic formula. DNs look like this:
ueid=84kjasd99,ou=8,ou=people,dc=enc,dc=edu
The solution is to make the Prefs ldap driver behave like most LDAP apps
that need to do write operations: do an anonymous bind, search for the
entry to modify using a filter, then rebind as the DN of that entry and
do the write.
I can do this. Any objections?
Best,
--
Ben Sommer
Senior Technology Officer
Eastern Nazarene College
23 East Elm Ave
Quincy, MA 02170
(617) 745-3817
More information about the horde
mailing list