Bug 12517 - samba 4.4.4 Bug access based share enum = yes not work It does not work with many shares
samba 4.4.4 Bug access based share enum = yes not work It does not work with ...
Status: NEW
Product: Samba 4.1 and newer
Classification: Unclassified
Component: File services
4.4.4
All All
: P5 normal
: ---
Assigned To: Samba QA Contact
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2017-01-13 14:12 UTC by alberto fiaschi
Modified: 2017-01-13 14:35 UTC (History)
1 user (show)

See Also:


Attachments
log on server of senssion a session. Command on client smbclient -L servername -U username (996.69 KB, text/x-log)
2017-01-13 14:12 UTC, alberto fiaschi
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description alberto fiaschi 2017-01-13 14:12:58 UTC
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.

NOTE: 
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