AptLynx

Command-line tool

openldap

brew/openldap

Checked 25 Oct 2026, 21:09 UTC · Listing refreshed from Homebrew, winget, npm, Scoop and cargo; npm packages checked against OSV.dev

Open source suite of directory software

At a glance

Type
Command-line tool
Install on
macOS, Linux
Last checked
25 Oct 2026, 21:09 UTC

Install it

macOS

brew install openldap

Linux

brew install openldap

Query an LDAP server for all items that are a member of the given group and return the object's displayName value

ldapsearch -D 'admin_DN' -w 'password' -h ldap_host -b base_ou 'memberOf=group1' displayName

Query an LDAP server with a no-newline password file for all items that are a member of the given group and return the object's displayName value

ldapsearch -D 'admin_DN' -u 'password_file' -h ldap_host -b base_ou 'memberOf=group1' displayName

Return 5 items that match the given filter

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

Related command-line tools

Listing text is written by the maker; AptLynx lists tools and does not vouch for them. Find another tool · Browse by topic · For agents