I did it with the following configuration of the share: [johndoe] path = /tmp valid users = johndoe public = no browseable = no writeable = yes include = /etc/samba/smb.conf.%U create mask = 0600 directory mask = 0700
/etc/samba/smb.conf.%U The following lines are in the file smb.conf.johndoe [johndoe] browseable = yes Thanks to Gx and to all for your kind help Regards Guillermo. On 3/17/06, Frederick C. Damen <[EMAIL PROTECTED]> wrote: > > You might try to have the home share be attached to the directory > of interest or have the directory(ies) of interest as sub directories > of the home directory. This would not technically control the > visability of the shares but would give access to the set of files > based on user identity. Should give same results in Windows/Unix. > > Hope This Helps, > > Fred > > On Fri, March 17, 2006 9:19 am, Guillermo Dalla Vecchia wrote: > > 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 <[EMAIL PROTECTED]> 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 < [EMAIL PROTECTED]> 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 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 < [EMAIL PROTECTED]> 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 > >> > > > >> > > > >> > > >> > > >> > > -- > > 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
