ldapsearch Verified for current stable LTS

Ldapsearch Command: Return Limited Ldap Items

Use for return limited ldap items with Ldapsearch. Exact CLI syntax to return limited ldap items using Ldapsearch.

When to use this: Use for return limited ldap items with Ldapsearch.

Command Syntax

ldapsearch -D '<admin_DN>' -w '<password>' -h <ldap_host> -b <base_ou> '<memberOf=group1>' -z 5 displayName

Command Breakdown

-D
Command Option
Tool-specific option used by this command invocation.
-w
Command Option
Tool-specific option used by this command invocation.
-h
Command Option
Tool-specific option used by this command invocation.
-b
Command Option
Tool-specific option used by this command invocation.
-z
Command Option
Tool-specific option used by this command invocation.

FAQ

Purpose: Exact syntax to return limited ldap items using Ldapsearch.

Test path: Replace placeholders and run destructive commands in a disposable workspace first.

Flag behavior: Tool version, platform, and shell can change behavior.

Improve This Command

Suggest a correction, safer default, or version-specific note for this entry.

Related Operations

Back to Ldapsearch directory