Solved: How do I add a user in samba

Post Reply
mister_v
Posts: 139
Joined: Sat Jun 20, 2009 5:42 pm

Solved: How do I add a user in samba

Post by mister_v »

Hello,

How do I add a user in samba?
I created a normal user with password

Code: Select all

useradd joe
passwd joe
But it doesn't work.
I can't login using the username and password.
Last edited by mister_v on Mon Nov 01, 2010 9:35 pm, edited 1 time in total.
mister_v
Posts: 139
Joined: Sat Jun 20, 2009 5:42 pm

Re: How do I add a user in samba

Post by mister_v »

Found the answer:

The command is:

Code: Select all

smbpasswd -a joe
I didn't even have to create a normal user.
So I removed it :-)
Post Reply