Manage samba users with the smbpasswd program.
The resource will create the user home directory, and manage the user.
The creation of the user is the trigger for smbpasswd management.
The basis of this resource is the Core [user resource].
This resource can only create, enable or delete the user. It only supports setting the user's initial password. It assumes a password db backend that utilizes the smbpasswd program.
This will enforce the user system password set by the resource.
|password||User password for samba and the system|
|comment||One (or more) comments about the user|
|shell||User shell to set|
|manage_home||Whether to manage the users home directory location|
samba_user 'jtimberman' do password 'plaintextpassword' comment 'user_name_comment' home '/home/jtimberman' shell '/bin/zsh' manage_home true end