[Samba] How can I show only the shares that user have access to in SAMBA

Björn JACKE bj at SerNet.DE
Wed Oct 10 14:28:11 MDT 2012


On 2012-10-10 at 13:02 -0700 simon ben sent off:
> i have right now one share and want only the users who have access to the share to see it
> and the others should not
> 
> when I log into the user who has no access I see the share and when i double click it ask me for username and password
> 
> googling arround this issuse is solved by using the below in smb.conf file
>  hide dot files = yes
>         hide unreadable = yes
> in the share definition section.
> 
> but its still visible

can you please try setting

    access based share enum = yes

?

Cheers
Björn
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.samba.org/pipermail/samba/attachments/20121010/986fcdef/attachment.pgp>


More information about the samba mailing list