[dev] LDAP Preferences container

Jeffrey Seifert seifert at everybody.org
Fri Jun 6 13:49:56 PDT 2003


Hello,

I'm currently looking into updating the LDAP preferences container for
Horde, and one of the configuration options seems askew.

In particular, one may set either a rootdn or a username in the LDAP
preferences params, where rootdn or username have, in effect,
read/write capabilities for all preference containers.  If neither of
these are set, then the username gets set to the current authenticated
user (bravo!).

My question is: why are there two parameter settings for (essentially)
the same function?  rootdn and username are very nearly the same, the
only difference being that rootdn should be a full DN
('cn=Manager,o=example,o=com') while username is just a uid
('Manager').

I propose to deprecate the username parameter in favor of the rootdn.
I can't think of a compelling reason to keep both.  We'd probably need
to keep on supporting both for at least the short term, while people
get a chance to update their installations.

Thoughts?

-Jeff

--
/* A programmer is a machine for turning coffee into code */



More information about the dev mailing list