Samba missing smbpasswd

On Raspberian I encountered a problem where smbpasswd did not exist 
after install of Samba (using apt-get install samba).

To add users, there are at least two options:

A) install smpasswd using apt-get install samba-common-bin, then run smbpasswd -a username

B) use pdbedit, pdbedit -a -u username

More about pdbedit here:

This is a personal note. Last updated: 2013-10-01 02:03:32.


Don't forget to pay my friend a visit too. Joakim