Monday, October 1, 2007

Add users to SMB

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.

No comments:

Post a Comment