[Samba] SAMBA authentication ?

czezz czezz at o2.pl
Sun Feb 3 16:38:42 GMT 2008

I have set up samba and configured resources /pub for "pcguest" account and it works perfect (read/write access for for everyone. No authentication is needed)

Now, I want to set new resource called /pub2 where access is limited only for user "userx".

What I did:
I created userx in /etc/passwd and his home dir in /pub2
I created userx using "smbpasswd"
Both users has this same passwd.

In /etc/samba/smb.conf added:

path = /pub2
volume = userx
comment = Programy userx
public = yes
writable = yes
share modes = yes
read only = no
create mode = 0775
directory mode = 0775
oplocks = True
level2 oplocks = True

After SAMBA restart:
sitting on WindowsXP box I am able to see /pub and /pub2 resources. I can even browse /pub2 but I am unable to create any file or dir.
This is expected behavior... but why the heck I cant have way to log on to user "userx" account ?

How it works ? What am I doin wrong ?

Slackware 12, Samba 3.0.25b (from package).

Thanks for any help,

More information about the samba mailing list