[Samba] How to get password expiration?

Brian Candler b.candler at pobox.com
Thu Feb 2 12:47:59 UTC 2017


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 at 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


More information about the samba mailing list