Add users to SMB

October 1, 2007

Adding users to SMB is like

smbpasswd -a newusername

then you’ll see prompt of

New SMB password:
Retype new SMB password:

Oops, you’ll probably get Failed to modify password entry for user newusername It’s not that simple. What I have to do is adding users to ubuntu first by going to system>administration>users and groups. Adding user there then you’ll be able to set user and password to SMB server at command line. When you see Added user newusername then you are done.

Now SMB has to sync password with that set in Linux then you’ll have to uncomment that line unix password sync = yes and encrypt passwords = true by removing the semi-colon at the start of those lines.

It’s a safe bet that you restart SMB server by

/etc/init.d/samba restart

It’s all OK sharing folders to my MacBook I still couldn’t login shared folder from my Toshiba R100, investigation goes on. is now OK.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: