[Samba] subshares ?

ipguy ipguy at optushome.com.au
Thu Jun 5 12:29:19 GMT 2003


I can, i now see my error.....
I was using "force group = PDC+groupname"
silly error really, all sorted... thanks



----- Original Message ----- 
From: "John H Terpstra" <jht at samba.org>
To: "ipguy" <ipguy at optushome.com.au>
Cc: <samba at lists.samba.org>
Sent: Thursday, June 05, 2003 12:10 AM
Subject: Re: [Samba] subshares ?


> On Wed, 4 Jun 2003, ipguy wrote:
>
> > so my only option is NT ACL support then...
>
> Why do you believe that you need ACLs per se to achieve your goals?
>
> Why can you not achieve the same thing with Unix directory and file
> permissions?
>
> - John T.
>
> >
> >
> >
> >
> >
> > > On Tue, 3 Jun 2003, ipguy wrote:
> > >
> > > > hi all...
> > > > i have what seems a simple question regarding subshares, for lack of
a
> > better term...
> > > > say i have a share with specific user/group permissions and a
directory
> > inside the share that i would like to add different user/group
> > permissions...
> > > > this is an example of my smb.conf file to illustrate
> > > >
> > > > [driveA]
> > > > path = /samba/driveA
> > > > browseable = Yes
> > > > writeable = Yes
> > > > valid users = PDC+groupA
> > > > force group = PDC+groupA
> > > >
> > > > [driveB]
> > > > path = /samba/driveA/driveB
> > > > browseable = No
> > > > writeable = Yes
> > > > valid users = PDC+groupB
> > > > force group = PDC+groupB
> > > > inherit permissions = No
> > > >
> > > > shouldn't this restrict groupA users from accessing the subshare
called
> > > > "driveB" located inside the share "/samba/driveA" ??
> > >
> > > driveB is a directory in /samba/driveA from the perspective of the
driveA
> > > share. IT is NOT a sub-share, there is no such thing in the SMB/CIFS
> > > protocol specification.
> > >
> > > That means that users of the share called driveA will be able to
access
> > > the contents of the directory driveB as permitted by the permissions
on
> > > the driveBdirectory.
> > >
> > > - John T.
> > > --
> > > John H Terpstra
> > > Email: jht at samba.org
> >
>
> -- 
> John H Terpstra
> Email: jht at samba.org




More information about the samba mailing list