Hi, If I am not wrong (i.e. if this has not been added since 4.1.17), setting an account expiry date with samba-tool can only be done using the number of days before the expiration: # disable the account in one year samba-tool user setexpiry <username> --days=365 It would be nice to be able to specify the date as an alternative (I do not know about the best date format to use however): # disable the account the tenth of March, 2017: samba-tool user setexpiry <username> --date=2017-03-10 Thanks for your time and work, Yvan