In general that is necessay before smbpasswd will agree to create it's own user name and password with smbpasswd -a <username>. First it checks /etc/passwd for the user. Depending on Samba configuration the Linux password may be removed once smbpasswd -a is run - or may not.