[Samba] How to hide directories from unauthorized users?

Rob Campbell robcampbell08105 at gmail.com
Mon Sep 11 20:16:07 UTC 2023


All this time I've been pulling my hair out because of a 'd'. I should've
sshd' to the server and I could've copied and pasted it in rather than
typing it in on another keyboard.

Thank you.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In all things, Be Intentional.


On Mon, Sep 11, 2023 at 4:07 PM Rowland Penny via samba <
samba at lists.samba.org> wrote:

> On Mon, 11 Sep 2023 15:54:37 -0400
> Rob Campbell via samba <samba at lists.samba.org> wrote:
>
> > 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"
> >
>
>
> It is 'access based share enum', not 'access based shared enum'
>
> The smb.conf manpage says this:
>
> access based share enum (S)
>
>     If this parameter is yes for a service, then the share hosted by the
> service will only be visible to users who have read or write access to the
> share during share enumeration (for example net view \\sambaserver). The
> share ACLs which allow or deny the access to the share can be modified
> using for example the sharesec command or using the appropriate Windows
> tools. This has parallels to access based enumeration, the main difference
> being that only share permissions are evaluated, and security descriptors
> on files contained on the share are not used in computing enumeration
> access rights.
>
>     Default: access based share enum = no
>
> Rowland
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba
>


More information about the samba mailing list