Disable Samba4 Password Expiration

This cheat sheet shows how disable password expiration for a Samba4 user with samba-tool.

Use the command:

samba-tool user setexpiry USER --noexpiry

Example:

# samba-tool user setexpiry Administrator --noexpiry
Expiry for user 'Administrator' disabled.

Tags