[Tickets #2756] shadowLastChange and shadowMin LDAP attributes are not updated
bugs@bugs.horde.org
bugs at bugs.horde.org
Sun Jan 15 09:50:00 PST 2006
DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.
Ticket URL: http://bugs.horde.org/ticket/?id=2756
-----------------------------------------------------------------------
Ticket | 2756
Updated By | mi.braun at onlinehome.de
Summary | shadowLastChange and shadowMin LDAP attributes are not updated
Queue | Passwd
Version | 3.0
State | Feedback
Priority | 2. Medium
Type | Bug
Owners | Jan Schneider
+New Attachment | passwd.diff
-----------------------------------------------------------------------
mi.braun at onlinehome.de (2006-01-15 09:49) wrote:
Hi,
I wondered why in passwd/lib/Driver/ldap.php : changePassword function there
are two times where a userdn is guessed.
It is guessed as urealm=username or urealm=username at realm first and then,
lines later, the passwd hook is used. Why is the passwd username hook not
used when guessing urealm first?
Second, why is the parameter "$username" when it is not used for the passwd
username hook?
I guess the $username parameter is the better one, according to the
description that $username's password is changed, not neccesarily the
password of the currently logged in user.
Therefor I changed the changePassword method.
Please find a patch attached.
More information about the bugs
mailing list