Manage accounts in Samba's passdb using pdbedit
Jorge Schrauwen <sjorge@blackdot.be>
new
pdbedit
posix
New in version 2017.7.0.
wash:
pdbedit.absent
kaylee:
pdbedit.managed:
- password: A70C708517B5DD0EDB67714FE25336EB
- password_hashed: True
- drive: 'X:'
- homedir: '\\serenity\mechanic\profile'
Ensure user account is absent
username
Manage user account
login name
password
set if password is a nt hash instead of plain text
users domain
profile path
logon script
home drive
home directory
full name
account description
specify the machines new primary group SID or rid
specify the users new primary group SID or rid
specify user account control properties
Note
Only the following can be set: - N: No password required - D: Account disabled - H: Home directory required - L: Automatic Locking - X: Password does not expire
reset the users allowed logon hours
reset the stored bad login counter
Alias for pdbedit.managed