Created attachment 12826 [details]
log on server of senssion a session. Command on client smbclient -L servername -U username
I have a server with a lot of shared folders. (1600) To make life easier for users I need to show them just the ones that they can use.
So I used access based share enum = yes for all sections.
Until about 900 shares all work well .. but with a greater number of sections happens that all the shares are shown to all users regardless of the access rights.
Samba Version 4.4.4 on Centos 7.
REMOVE SID and other sensitive information from log
cat name.log | grep -vE 'SID|sids|comment =| valid users =|write list = |force user = |force group = |path = ' >test.log
sed -i s/ Processing section.*$/Processing section [ANON_XXXXX]/' test.log