[Samba] Problems with Access Control for Shares on Samba 2

Kaplan, Marc marc_kaplan at adaptec.com
Wed Jan 26 18:18:43 GMT 2005


Whops, switch read only = yes, cut and paste error.

> -----Original Message-----
> From: Kaplan, Marc
> Sent: Wednesday, January 26, 2005 9:39 AM
> To: remote; samba at lists.samba.org
> Subject: RE: [Samba] Problems with Access Control for Shares on Samba 2
> 
> Jörg,
> 
> I think if you want only one user to be able to write, but any user to be
> able to access you should change things as follows:
> 
>  [hobbit5]
>      comment = hobbit5
>      path = /ALPHA-DATA/hobbit5
>      browseable = yes
>      read only = no
>      guest = ok
>      write list = hobbit5
> 
> The valid users parameter before said that ONLY hobbit5 could access the
> share. If you don't specify anything for valid users, the default behavior
> is that any user can access the share.
> 
> 		-Marc
> > -----Original Message-----
> > From: remote [mailto:remote at leat.ruhr-uni-bochum.de]
> > Sent: Wednesday, January 26, 2005 3:53 AM
> > To: samba at lists.samba.org
> > Subject: [Samba] Problems with Access Control for Shares on Samba 2
> >
> > Hi all !
> >
> > I have a question regarding the access control in Samba 2. I want to
> make
> > shares available to the Windows Network for which only the owner of the
> > share has write access. Other users however should be able to read and
> > browse these shares.
> > My smb.conf :
> >
> > global]
> >    workgroup = leat
> >    guest account = nobody
> >    keep alive = 30
> >    os level = 2
> >    kernel oplocks = false
> >    security = user
> >
> > [hobbit5]
> >     comment = hobbit5
> >     path = /ALPHA-DATA/hobbit5
> >     browseable = yes
> >     read only = no
> >     guest = ok
> >     valid user = hobbit5
> > ;    force user = hobbit5
> >
> > As far as I understand Samba, with this configuration any Samba user
> > should be able to browse and read the hobbit5 - share, while only
> hobbit5
> > himself can write and delete within this share.
> > However, what happens is that any Samba user can see the share in the
> > Network Neighborhood, but except for hobbit5, none can enter it. Windows
> > tells me that either the path is not correct or I don´t have the network
> > privileges to do this.
> >
> > What do I do wrong ?
> >
> > Thanks,
> >
> > Jörg
> > --
> > To unsubscribe from this list go to the following URL and read the
> > instructions:  https://lists.samba.org/mailman/listinfo/samba
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/listinfo/samba


More information about the samba mailing list