smbldap-userexpire
Brought to you by:
jtournier
Again this script build around smbldap-tools perl library.
This one handle subsantially two task: 'copy' the expiration information from samba to POSIX/shadow, so if the samba account expire also the UNIX one do; also, check some inconsistencies between expiration data and fix them, letting the account really expire.
It is intended to be run on a regular basis (daily, weeekly, ...), i run it with a little shell wrapper that execute against all account.
script that expire user (posix,shadow,samba) after some inactivity time