nerdexam
CompTIA

LX0-104 · Question #136

Which of the following are valid LDAP client commands? (Choose TWO correct answers.)

The correct answer is A. ldappasswd D. ldapwhoami. ldappasswd and ldapwhoami are valid command-line LDAP client utilities for password management and user identification, respectively.

Shells, Scripting and Data Management

Question

Which of the following are valid LDAP client commands? (Choose TWO correct answers.)

Options

  • Aldappasswd
  • Bldapbrowser
  • Cslapcat
  • Dldapwhoami
  • Eslaptest

How the community answered

(43 responses)
  • A
    88% (38)
  • B
    7% (3)
  • C
    2% (1)
  • E
    2% (1)

Why each option

`ldappasswd` and `ldapwhoami` are valid command-line LDAP client utilities for password management and user identification, respectively.

AldappasswdCorrect

`ldappasswd` is an LDAP client utility specifically designed to allow users to change their password within an LDAP directory, interacting directly with the LDAP server for this purpose.

Bldapbrowser

`ldapbrowser` typically refers to a graphical user interface (GUI) tool for browsing LDAP directories, not a command-line utility.

Cslapcat

`slapcat` is an OpenLDAP server-side utility used to dump the contents of an `slapd` database, not a client command for user interaction.

DldapwhoamiCorrect

`ldapwhoami` is an LDAP client utility that performs a WHOAMI extended operation to determine the distinguished name (DN) of the currently authenticated user, which is useful for verifying authentication contexts.

Eslaptest

`slaptest` is an OpenLDAP server-side utility used to test the syntax and integrity of the `slapd.conf` or `cn=config` configuration, not a client command.

Concept tested: LDAP client utilities

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

Topics

#LDAP client#ldapwhoami#ldappasswd#command-line tools

Community Discussion

No community discussion yet for this question.

Full LX0-104 Practice