Is it possible to tie your login password to your samba password?
Ideally every 30 days, users need to change their passwords to login into the machine and if its possible, when they update their password, it'll also update the samba password.
Is it possible to tie your login password to your samba password?
Ideally every 30 days, users need to change their passwords to login into the machine and if its possible, when they update their password, it'll also update the samba password.
I believe Samba is configured like that by default, here are the relevant lines in
smb.conf
:...
More info on these options and more here. Hope that helps.
EDIT:
The first time you add a linux user (
adduser
) you need to add them to smbpasswd as well.sudo smbpasswd -a <user>
when prompted for a password use the same password you used with adduser. After this the smb password should be updated automatically when you change the linux password with
sudo passwd <user>
To have your updated unix password also be your new samba password, you'll have to install the
libpam-smbpass
package.