QNAP NAS Domain Password Policy
With Samba4 becoming more relevant everyday as a drop in replacement for AD, I am regularly fielding questions regarding password management. Below I will describe the basics of password management on a QNAP NAS running Samba4 in Domain Controller Mode using the samba-tool. The following code shows the commands dealing with passwords and account expiration.