LX0-104 · Question #193
If no ACL lines are included in slapd.conf, what is the default behavior of slapd?
The correct answer is A. Allow anyone to read any entry. When no ACLs are explicitly defined in slapd.conf, OpenLDAP's slapd daemon defaults to allowing unauthenticated read access to all entries for everyone.
Question
Options
- AAllow anyone to read any entry.
- BDeny anyone from reading any entries.
- COnly certain attributes such as userPassword are protected from read access.
- DAccess to the directory is only allowed from the local machine.
How the community answered
(19 responses)- A89% (17)
- B5% (1)
- C5% (1)
Why each option
When no ACLs are explicitly defined in `slapd.conf`, OpenLDAP's `slapd` daemon defaults to allowing unauthenticated read access to all entries for everyone.
By default, if no access control lists are configured in `slapd.conf`, OpenLDAP's `slapd` server implicitly grants anonymous and authenticated users read access to all entries and attributes within the directory. This open policy ensures basic functionality unless restricted.
Denying all access is a restrictive policy that would require explicit configuration, not the default for an unconfigured server.
While `userPassword` is often protected, a complete lack of ACLs means no attributes are specifically protected by default; instead, all are generally accessible.
Limiting access to the local machine is a security measure that needs explicit configuration, it is not the default behavior.
Concept tested: OpenLDAP default ACL behavior
Topics
Community Discussion
No community discussion yet for this question.