Using SaMBa in Linux

If you create a user in Linux and want that user to be able to access SMB shares, you must do the following:

$ sudo smbpasswd -a

This will ask you to type in your password (unless you are already sudoed) and then it will ask for the new SMB Password. Type it twice and that user will then be able to access SMB shares that have the correct access privileges.