Guillermo Dalla Vecchia
2006-Mar-17 02:20 UTC
[Samba] Making Share Visible To Particular Users Only
Dear Friends, Is It Possible to Make a *Share* Visible to a List of Users *Only* ? e.g. If have shares Likes Account, Sales, Support Then I would Like make respective *share* visible *only* to persons in respective dept. Thanks and Best Regards.
Guillermo Gutierrez
2006-Mar-17 02:26 UTC
[Samba] Making Share Visible To Particular Users Only
Try using "valid users = @somegroup" (replacing somegroup with an actual users group) or "valid users = userone usertwo etc..." for individual users. These should be added under the specific share entries in the smb.conf file. -----Original Message----- From: samba-bounces+ggutierrez=marketscan.com@lists.samba.org [mailto:samba-bounces+ggutierrez=marketscan.com@lists.samba.org]On Behalf Of Guillermo Dalla Vecchia Sent: Thursday, March 16, 2006 6:20 PM To: samba@lists.samba.org Subject: [Samba] Making Share Visible To Particular Users Only Dear Friends, Is It Possible to Make a *Share* Visible to a List of Users *Only* ? e.g. If have shares Likes Account, Sales, Support Then I would Like make respective *share* visible *only* to persons in respective dept. Thanks and Best Regards. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
Let's keep this on list please. A logon script is a script so yes, it could be done that way. A share that isn't browseable is still there, it just doesn't show up in a network browser. You can still connect to it, access privileges permitting. Similar to ADMIN$ or C$ from a Windows 'server' Craig On Fri, 2006-03-17 at 02:42 -0300, Guillermo Dalla Vecchia wrote:> Could it be done with the logon scripts option?? I think this works > with windows clients. For Linux clients could it be done setting up > correctly fstab (to mount the share at boot time)?? the shares require > username and password though... > Regards > > > On 3/16/06, Craig White <craigwhite@azapple.com> wrote: > On Thu, 2006-03-16 at 23:19 -0300, Guillermo Dalla Vecchia > wrote: > > Dear Friends, > > > > Is It Possible to Make a *Share* Visible to a List of Users > *Only* ? > > > > e.g. If have shares Likes Account, Sales, Support > > Then I would Like make respective *share* visible > > *only* to persons in respective dept. > > Thanks and Best Regards. > ---- > not that I know of but you can set browsable to off (less > visibility) > and have those users mount the share by a script or > individually set by > 'reconnect at logon' and of course you can control read and > write access > within each share. > > Craig > >
Guillermo Dalla Vecchia
2006-Mar-17 14:43 UTC
[Samba] Making Share Visible To Particular Users Only
Yes I have done that, but I also want that the share can be seen only by specific people Regards On 3/16/06, Guillermo Gutierrez <ggutierrez@marketscan.com> wrote:> > Try using "valid users = @somegroup" (replacing somegroup with an actual > users group) or "valid users = userone usertwo etc..." for individual users. > > These should be added under the specific share entries in the smb.conffile. > > > -----Original Message----- > From: samba-bounces+ggutierrez=marketscan.com@lists.samba.org > [mailto:samba-bounces+ggutierrez=marketscan.com@lists.samba.org]On > Behalf Of Guillermo Dalla Vecchia > Sent: Thursday, March 16, 2006 6:20 PM > To: samba@lists.samba.org > Subject: [Samba] Making Share Visible To Particular Users Only > > > Dear Friends, > > Is It Possible to Make a *Share* Visible to a List of Users *Only* ? > > e.g. If have shares Likes Account, Sales, Support > Then I would Like make respective *share* visible > *only* to persons in respective dept. > Thanks and Best Regards. > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/listinfo/samba >
This is probably not going to be possible since many times windows will do browsing as an anonymous (guest) user even when you are logged in as a particular user. Guillermo Dalla Vecchia wrote:> Yes I have done that, but I also want that the share can be seen only by > specific people > Regards > > On 3/16/06, Guillermo Gutierrez <ggutierrez@marketscan.com> wrote: > >>Try using "valid users = @somegroup" (replacing somegroup with an actual >>users group) or "valid users = userone usertwo etc..." for individual users. >> >>These should be added under the specific share entries in the smb.conffile. >> >> >>-----Original Message----- >>From: samba-bounces+ggutierrez=marketscan.com@lists.samba.org >>[mailto:samba-bounces+ggutierrez=marketscan.com@lists.samba.org]On >>Behalf Of Guillermo Dalla Vecchia >>Sent: Thursday, March 16, 2006 6:20 PM >>To: samba@lists.samba.org >>Subject: [Samba] Making Share Visible To Particular Users Only >> >> >>Dear Friends, >> >>Is It Possible to Make a *Share* Visible to a List of Users *Only* ? >> >>e.g. If have shares Likes Account, Sales, Support >>Then I would Like make respective *share* visible >>*only* to persons in respective dept. >>Thanks and Best Regards. >>-- >>To unsubscribe from this list go to the following URL and read the >>instructions: https://lists.samba.org/mailman/listinfo/samba >>
webster@lexmark.com
2006-Mar-17 15:54 UTC
[Samba] Making Share Visible To Particular Users Only
Hello. I use: include = %G.conf for this purpose. Gx "Guillermo Dalla Vecchia" <hertor28@gmail.com> Sent by: samba-bounces+webster=lexmark.com@lists.samba.org 03/17/06 10:19 AM To: samba@lists.samba.org cc: Subject: Re: [Samba] Making Share Visible To Particular Users Only Also, logon scripts only work with a domain configuration whereas I have a workgroup. Is there some way to this in a workgroup?? Regards On 3/17/06, Guillermo Dalla Vecchia <hertor28@gmail.com> wrote:> > Sorry, I didn't check the reply address. > How about Linux Clients?? could it be done something similar for them? > (logon scripts only work with Windows Clients). > > > On 3/17/06, Craig White < craigwhite@azapple.com> wrote: > > > > Let's keep this on list please. > > > > A logon script is a script so yes, it could be done that way. > > > > A share that isn't browseable is still there, it just doesn't show upin> > a network browser. You can still connect to it, access privileges > > permitting. Similar to ADMIN$ or C$ from a Windows 'server' > > > > Craig > > > > On Fri, 2006-03-17 at 02:42 -0300, Guillermo Dalla Vecchia wrote: > > > Could it be done with the logon scripts option?? I think this works > > > with windows clients. For Linux clients could it be done setting up > > > correctly fstab (to mount the share at boot time)?? the sharesrequire> > > username and password though... > > > Regards > > > > > > > > > On 3/16/06, Craig White < craigwhite@azapple.com> wrote: > > > On Thu, 2006-03-16 at 23:19 -0300, Guillermo Dalla Vecchia > > > wrote: > > > > Dear Friends, > > > > > > > > Is It Possible to Make a *Share* Visible to a List ofUsers> > > *Only* ? > > > > > > > > e.g. If have shares Likes Account, Sales, Support > > > > Then I would Like make respective *share* visible > > > > *only* to persons in respective dept. > > > > Thanks and Best Regards. > > > ---- > > > not that I know of but you can set browsable to off (less > > > visibility) > > > and have those users mount the share by a script or > > > individually set by > > > 'reconnect at logon' and of course you can control read and > > > write access > > > within each share. > > > > > > Craig