Rowland Penny
2023-Sep-11 19:46 UTC
[Samba] How to hide directories from unauthorized users?
On Mon, 11 Sep 2023 15:36:50 -0400 Rob Campbell via samba <samba at lists.samba.org> wrote:> I have a bunch of shares but I don't want users that don't have > access to even see the share. Is this not possible? > > [Radiology] > comment = Medical Films > path = /multimedia/.Medical > writeable = yes > guest ok = no > ; browsable = no > ; available = no > hide unreadable = yes > create mask = 2777 > directory mask = 2777 > valid users = "rcampbell" > > if I uncomment browsable or available the share doesn't show even for > rcampbell. > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > In all things, Be Intentional.Read the smb.conf manpage for 'access based share enum'. Rowland
Rob Campbell
2023-Sep-11 19:54 UTC
[Samba] How to hide directories from unauthorized users?
It doesn't come up when I search in 'man smb.conf'. I've already tried it in my smb.conf file but I get this error: Unknown parameter encountered: "access based shared enum" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In all things, Be Intentional. On Mon, Sep 11, 2023 at 3:47?PM Rowland Penny via samba < samba at lists.samba.org> wrote:> On Mon, 11 Sep 2023 15:36:50 -0400 > Rob Campbell via samba <samba at lists.samba.org> wrote: > > > I have a bunch of shares but I don't want users that don't have > > access to even see the share. Is this not possible? > > > > [Radiology] > > comment = Medical Films > > path = /multimedia/.Medical > > writeable = yes > > guest ok = no > > ; browsable = no > > ; available = no > > hide unreadable = yes > > create mask = 2777 > > directory mask = 2777 > > valid users = "rcampbell" > > > > if I uncomment browsable or available the share doesn't show even for > > rcampbell. > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > In all things, Be Intentional. > > Read the smb.conf manpage for 'access based share enum'. > > Rowland > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/options/samba >