[Samba] Valid users not working on 3.0.23d

John H Terpstra jht at primastasys.com
Tue Feb 6 01:30:56 GMT 2007


On Monday 05 February 2007 11:05, Papo Napolitano wrote:
> Felipe Augusto van de Wiel wrote:
> > On 02/02/2007 01:08 PM, Papo Napolitano wrote:
> >> 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
> >
> > [...]
> >
> >> 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?
> >
> > 	Is your administrator in the list of 'admin users'?
> >
> >> Thanks.-
> >
> > 	Kind regards,
>
> No, 'admin users' is empty.
> Anyway, I'm observing the same behaviour with any account.
> Downgrading to 3.0.22 and using the same smb.conf works, I'm going to
> try 3.0.24 in the next couple of days just to be sure.
>
> Thanks.-

Please read the WHATSNEW.txt file that ships with Samba-3.0.x. You'll see that 
the semantics of "valid users" was changed around 3.0.8.

- John T.


More information about the samba mailing list