[Date Prev][Date Next]
Password updates and shadowLastchanged
- To: openldap-devel@OpenLDAP.org
- Subject: Password updates and shadowLastchanged
- From: Torstein Tauno Svendsen <firstname.lastname@example.org>
- Date: Thu, 11 Jul 2002 15:13:23 +0200
- Organization: Linpro AS
- User-agent: Gnus/5.090007 (Oort Gnus v0.07) Emacs/21.1 (i386-debian-linux-gnu)
Hi! We are currently using openldap (with pam_ldap from padl) to
authenticate unix users, and have some problems getting password
expiry to work. The password expiration itself works (the pam_ldap
module checks the traditional unix shadow-values in in the "session"
phase of the login), but when users change their passwords the accounting
information is not updated. Am I correct in assuming that there is
currently no way for slapd to ensure that the "shadowLastchange"
attribute is updated when a user changes his password?
If so - would a patch to have slapd execute an external command with
the dn of the object updated as parameter upon a succesfull password
change be a viable solution? Would something like that have any chance
to accepted into the openldap sources?
And if I am wrong and there is already a way to acomplish this, please
tell me :)
I could try to fix this on the client side, but then the users would
have to have write access to their shadowLastChange fields, or
plaintext passwords would be stored on all the client machines, and
the user could bypass it all by changing theyr passwords talking
directly with the ldap server