[Samba] Password Expiration

John H Terpstra jht at samba.org
Sat Mar 8 17:54:22 GMT 2003

On Sat, 8 Mar 2003, richard wrote:

> is it possible to send feedback from this command back to the user
> during logon? ie: to commonicate no of days until password expires etc.

I have not tried to implement this in PAM. Others who have claim it is not
possible. It is my impression that it can be done, but would involve
creating a new PAM modules that simply picks up Unix account data and then
writes this information to /etc/issue or /etc/motd or such file. The
method would be rather convoluted and obviously not to every adminstrators

As for implementing it is Samba, we are working to replicate the MS
Windows NT/2K user access control technology in a manner that is
independant of the way this works in the Unix OS. Integrating them can be
done (it is now partially through PAM) but has too many horendous side

- John T.

> Richard Coates.
> On Thu, 2003-03-06 at 11:13, John H Terpstra wrote:
> > On Wed, 5 Mar 2003, [iso-8859-1] Rodrigo Schmidt Nürmberg wrote:
> >
> > > To make a password expire on my Samba PDC I just need to edit the
> > > "/etc/shadow" or use the comand "chage -M days_before_expire user"?
> >
> > If you are using PAM that may work. How is your PAM configured?
> > 	ie: /etc/pam.d/samba
> >
> > - John T.
> > --
> > John H Terpstra
> > Email: jht at samba.org
> > --
> > To unsubscribe from this list go to the following URL and read the
> > instructions:  http://lists.samba.org/mailman/listinfo/samba

John H Terpstra
Email: jht at samba.org

More information about the samba mailing list