Web lists-archives.com

Re: [Samba] How to get password expiration?




On 01/02/2017 19:12, Jeff Sadowski wrote:
Or maybe better like so on login

Last login: Wed Feb 1 10:47:53
Password Expires in 28 days
[myaduser@machine ~]$
Something like this?

warn_pwd_expire

   Defines number of days before pam_winbind starts to warn about
   passwords that are going to expire. Defaults to 14 days.

https://www.samba.org/samba/docs/man/manpages/pam_winbind.8.html
--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba