nerdexam
CompTIA

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.

Security

Question

If no ACL lines are included in slapd.conf, what is the default behavior of slapd?

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)
  • A
    89% (17)
  • B
    5% (1)
  • C
    5% (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.

AAllow anyone to read any entry.Correct

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.

BDeny anyone from reading any entries.

Denying all access is a restrictive policy that would require explicit configuration, not the default for an unconfigured server.

COnly certain attributes such as userPassword are protected from read access.

While `userPassword` is often protected, a complete lack of ACLs means no attributes are specifically protected by default; instead, all are generally accessible.

DAccess to the directory is only allowed from the local machine.

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

#OpenLDAP#ACLs#Default security#Access control

Community Discussion

No community discussion yet for this question.

Full LX0-104 Practice