Add Samba users - match current Unix password (Samba 3.6.6 in Debian Wheezy)

view story

http://www.linuxquestions.org – Hi everyone, I know that for a user to be granted access to a Samba server they need to have a valid UNIX account and a separate Samba password which is stored in the "smb password file", so in fact a user's password for his UNIX account may be different to the password for his Samba account. Is there a way to 'sync' the passwords so that when I add an user to Samba, it will use by default the Unix password of that user? Say the account for user 'alice' exists in my server. When I add her to the list of Samba users Code: smbpasswd -a alice I don't want the following dialog to appe (HowTos)