SMB Can't See I can't see this folder without permission

ainihonglang

Cadet
Joined
Nov 13, 2017
Messages
2
Good morning :
I use "TrueNAS-12.0-U5.1" , has a problem。
When I don’t have access permissions to the shared folders , I can't see this folder。
I try to modify the custom parameters:
add "
hide unreadable=no
hide unwriteable files=no"
But still not showing


In addition, when the parent folder does not have permission, I cannot access the authorized subfolder through the full path
For example:
\\10.1.1.1\smb_share\test1\test2
share name is "smb_share",Sharing permissions is everyone,I joined the ad domain,use domian user
the user does not have the permission of test1,but have the permission of test2
When using windows sharing, I can access through “\\10.1.1.1\smb_share\test1\test2” go to test2
But in freenas, it will prompt me that there is no such path
I guess it has something to do with that I can't see test1

Below is my current smb configuration

[global]
dns proxy = No
aio max threads = 2
max log size = 5120
load printers = No
printing = bsd
disable spoolss = Yes
dos filemode = Yes
kernel change notify = No
directory name cache size = 0
nsupdate command = /usr/local/bin/samba-nsupdate -g
unix charset = UTF-8
log level = 1 auth_json_audit:3@/var/log/samba4/auth_audit.log
obey pam restrictions = False
enable web service discovery = True
logging = file
server min protocol = NT1
restrict anonymous = 2
ntlm auth = Yes
client ntlmv2 auth = No
server string = nas Server
bind interfaces only = Yes
netbios name = jynas
netbios aliases =
server role = member server
kerberos method = secrets and keytab
workgroup = domain
realm = DOMIAN.LOCAL
security = ADS
local master = No
domain master = No
preferred master = No
winbind cache time = 7200
winbind max domain connections = 10
client ldap sasl wrapping = seal
template shell = /bin/sh
template homedir = /home/%D/%U
ads dns update = Yes
allow trusted domains = No
winbind enum users = Yes
winbind enum groups = Yes
idmap config DOMIAN: backend = rid
idmap config DOMIAN: range = 100000001-200000000
idmap config *: backend = tdb
idmap config *: range = 90000001-100000000
vfs objects = streams_xattr full_audit
hide unreadable = No
hide unwriteable files = No
registry shares = yes
include = registry


[smb_share]
ea support = No
hide unreadable = No
hide unwriteable files = No
kernel share modes = No
path = /mnt/pool/smb_test/smb_share
posix locking = No
read only = No
vfs objects = streams_xattr shadow_copy_zfs ixnas aio_fbsd
nfs4:chown = true
 
Top