[Samba] Valid users not working on 3.0.23d

Papo Napolitano papo at dosalcubo.com
Fri Feb 2 15:08:02 GMT 2007


Hi,

Any one still having problems with "valid users" on 3.0.23d?
I'm working in "security = USER" mode and with local users only.

Share configuration :

[private]
        path = /home/private
        valid users = papo
        force user = root
        force group = root
        read only = No
        create mask = 0600
        directory mask = 0700

First test, anonymous :

[root at julieta /]# smbclient //julieta/private
Password:
Anonymous login successful
Domain=[DAC] OS=[Unix] Server=[Samba 3.0.23d]
tree connect failed: NT_STATUS_ACCESS_DENIED

So far, working.
Second test, using a valid but not listed user :

[root at julieta /]# smbclient //julieta/private -U administrator
Password:
Domain=[JULIETA] OS=[Unix] Server=[Samba 3.0.23d]
smb: \> mkdir 1
smb: \> rmdir 1
smb: \> quit

This is wrong, administrator shouldn't write, not even connect to the share.
"invalid users" seems to work ok though.
I can provide debug logs for both versions if needed.
Any hints?

Thanks.-


More information about the samba mailing list