nerdexam
Linux_Foundation

LFCS · 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. If no Access Control List (ACL) lines are configured in slapd.conf, OpenLDAP's default behavior is to allow anyone to read any entry in the directory.

Submitted by dimitri_ru· Apr 18, 2026Service Configuration

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

(30 responses)
  • A
    93% (28)
  • B
    3% (1)
  • D
    3% (1)

Why each option

If no Access Control List (ACL) lines are configured in `slapd.conf`, OpenLDAP's default behavior is to allow anyone to read any entry in the directory.

AAllow anyone to read any entry.Correct

By default, when no explicit `access` directives are present in the `slapd.conf` file or dynamic configuration, OpenLDAP adopts a permissive policy. This default allows both authenticated and anonymous users to read all entries and their attributes within the directory, ensuring basic directory discoverability unless specifically restricted.

BDeny anyone from reading any entries.

The default behavior is permissive (allow read), not restrictive (deny read).

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

While `userPassword` is often protected, the default policy without ACLs permits read access to all entries, not just selective protection.

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

Access is generally allowed from the network by default, not restricted solely to the local machine.

Concept tested: OpenLDAP default access control

Source: https://www.openldap.org/doc/admin24/access.html

Topics

#OpenLDAP#slapd configuration#Access Control Lists#Default security

Community Discussion

No community discussion yet for this question.

Full LFCS Practice