[Samba] option hide unreadable not work

spiderslack spiderslack at yahoo.com.br
Wed Dec 4 04:51:53 MST 2013

Hi all.

I thying settings the option "hide unreadable" but not work. I tested  
in global section and share section, follow my settings now. after 
various tests.

# Global parameters
         workgroup = BATLAB
         realm = BATLAB.CORP
         netbios name = GAUSS
         server role = active directory domain controller
         server services = s3fs, rpc, nbt, wrepl, ldap, cldap, kdc, 
drepl, winbind, ntp_signd, kcc, dnsupdate
         template shell = /bin/bash
         load printers = no
         hide dot files = yes
         hide unreadable = yes
         #access based share enum = Yes

        path = /administracao
        guest ok = No
        veto files = 
        hide dot files = Yes
        hide unreadable = Yes
        hide unwriteable files = Yes
        write list = @g_administracao
        read list = @g_administracao

The permission for directory "/administracao"

root at gauss:# ls -l administracao/
total 80
d--------- 2 nobody nogroup 20480 Nov  4 20:36 adm_batlab
d--------- 3 nobody nogroup  4096 Nov  4 20:30 Agenda BATLAB
---------- 1 nobody nogroup 48128 Nov 10  2010 ATOS 001 EDVALDO.xls
root at gauss:# getfacl administracao/
# file: administracao/
# owner: nobody
# group: nogroup

root at gauss:/batlab#

but in smbclient this displaying share.
root at gauss:~# /usr/local/samba/bin/smbclient -L \\
Enter root's password:
Anonymous login successful
Domain=[BATLAB] OS=[Unix] Server=[Samba 4.0.4]

         Sharename       Type      Comment
         ---------       ----      -------
         administracao   Disk
         IPC$            IPC       IPC Service (Samba 4.0.4)
Anonymous login successful
Domain=[BATLAB] OS=[Unix] Server=[Samba 4.0.4]

         Server               Comment
         ---------            -------

         Workgroup            Master
         ---------            -------
root at gauss:~#

Any idea

More information about the samba mailing list