Bug 12775 - Change default value of restrict anonymous = 2
Summary: Change default value of restrict anonymous = 2
Status: ASSIGNED
Alias: None
Product: Samba 4.1 and newer
Classification: Unclassified
Component: AD: LDB/DSDB/SAMDB (show other bugs)
Version: 4.6.3
Hardware: All All
: P5 normal (vote)
Target Milestone: ---
Assignee: Andrew Bartlett
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-05-05 18:44 UTC by Denis Cardon
Modified: 2019-06-12 15:16 UTC (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Denis Cardon 2017-05-05 18:44:32 UTC
Currently the default value of restrict anonymous is 0 even on Samba AD DC. It allows a user to list the domain users from a client without authentication using the following command and it is detected as a security issue by network security tools:
 rpcclient -U "" server_ip

It should be changed to restrict anonymous = 2, at when running in DC mode.
Comment 1 Andrew Bartlett 2019-06-12 15:16:57 UTC
I agree, we should do this on the Samba AD DC.