[sork] patch for passwd: ldap binddn and bindpasswd
Edwin Culp
eculp at encontacto.net
Wed Jun 30 14:29:34 PDT 2004
Quoting tim lynch <timl+horde at thirdage.com>:
> hi folks. here is a little patch to have the passwd module use a binddn
> and bindpassword when first looking up the dn for a user.
>
> like others, there's no anon binding on ldap around here. to get the dn
> of the user that we are changing password for, we must first bind as
> someone who can lookup the user's dn. preferably this could just
> referrence $conf['prefs']['params']['rootdn'] from horde/config/horde.php.
>
> i noticed this issue was approached with the userdn pref. if someone
> could show me how to make it go that way, i'd rather not use my hack.
Have you looked at horde/config/hooks.php. For a user bind
_passwd_hook_userdn may very well work for you.
I hope that I'm understanding you correctly.
ed
More information about the sork
mailing list