# Install openldap with Homebrew, apk, apt, dnf, MacPorts, Nix, pacman

Open source suite of directory software. Version 2.6.13 via Homebrew; verified 2026-06-19.

## Install

```sh
sudo av install brew:openldap
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install openldap
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install openldap
```

  Evidence: MacPorts ports tree: databases/openldap/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- apk (92%):

```sh
sudo apk add libldap
```

  Evidence: Alpine Linux edge package indexes: libldap from https://dl-cdn.alpinelinux.org/alpine/edge/main/x86_64/APKINDEX.tar.gz

- Debian apt (92%):

```sh
sudo apt install ldap-utils
```

  Evidence: Debian stable package indexes: ldap-utils from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz

- dnf (92%):

```sh
sudo dnf install openldap
```

  Evidence: Fedora Rawhide package metadata: openldap from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst

- Nix (92%):

```sh
nix profile install nixpkgs#openldap
```

  Evidence: nixpkgs package indexes: pkgs/by-name/op/openldap/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

- pacman (92%):

```sh
sudo pacman -S openldap
```

  Evidence: Arch Linux sync databases: openldap from https://geo.mirror.pkgbuild.com/core/os/x86_64/core.db.tar.gz

## Package facts

- **Package key:** brew:openldap
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/openldap>
- **Version:** 2.6.13
- **Source summary:** Open source suite of directory software
- **Homepage:** <https://www.openldap.org/software/>
- **Repository:** <https://git.openldap.org/openldap/openldap>
- **Upstream docs:** <https://www.openldap.org/doc>
- **License:** OLDAP-2.8
- **Source archive:** <https://www.openldap.org/software/download/OpenLDAP/openldap-release/openldap-2.6.13.tgz>
- **Last updated:** 2026-06-19T12:32:41-07:00
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- ldapadd (cli)
- ldapcompare (cli)
- ldapdelete (cli)
- ldapexop (cli)
- ldapmodify (cli)
- ldapmodrdn (cli)
- ldappasswd (cli)
- ldapsearch (cli)
- ldapurl (cli)
- ldapvc (cli)
- ldapwhoami (cli)
- slapacl (cli)
- slapadd (cli)
- slapauth (cli)
- slapcat (cli)
- slapdn (cli)
- slapindex (cli)
- slapmodify (cli)
- slappasswd (cli)
- slapschema (cli)
- slaptest (cli)
- ldapadd (alias)
- ldapcompare (alias)
- ldapdelete (alias)
- ldapexop (alias)
- ldapmodify (alias)
- ldapmodrdn (alias)
- ldappasswd (alias)
- ldapsearch (alias)
- ldapurl (alias)
- ldapvc (alias)
- ldapwhoami (alias)
- slapacl (alias)
- slapadd (alias)
- slapauth (alias)
- slapcat (alias)
- slapdn (alias)
- slapindex (alias)
- slapmodify (alias)
- slappasswd (alias)
- slapschema (alias)
- slaptest (alias)

## Dependencies

- openssl@3

## Uses from macOS

- cyrus-sasl

## Install behavior

- Post-install hook: not defined
- Bottle: available on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 2.6.13
- Package-manager updated: 2026-06-19
- Local data: ok
- Upstream repository: https://www.openldap.org/software/
- info: Release/tag comparison is only available for GitHub repositories.
## Project history and usage

OpenLDAP is an open-source suite of LDAP directory software. It packages the slapd directory server, client tools, libraries, schemas, overlays, replication features, and operational documentation around the IETF LDAP protocol family.

### Project history

OpenLDAP traces back to the University of Michigan LDAP codebase. The OpenLDAP Foundation says OpenLDAP Software is based on prior University of Michigan work, and Howard Chu's 2018 retrospective describes the project as starting from the last University of Michigan LDAP 3.3 release after the Michigan team moved on to Netscape Directory Server work.

Kurt Zeilenga founded the project in 1998, and OpenLDAP 1.0.0 was released on 26 August 1998 as essentially University of Michigan LDAP 3.3 plus accumulated community patches. The OpenLDAP Foundation, established in August 1998, coordinates the project and promotes open-source LDAP development.

The project grew through major server and protocol milestones: OpenLDAP 2.0 added LDAPv3, SASL, StartTLS, and improved server architecture; 2.2 brought LDAP Sync replication and overlays; 2.3 added cn=config and password-policy work; 2.4 added MirrorMode and MultiMaster replication; 2.5 added the LDAP Load Balancer Daemon and many overlay/library enhancements; 2.6 added file-based logging and load-balancer improvements.

### Adoption history

OpenLDAP's adoption is tied to LDAP itself. RFC 4510 defines LDAPv3 as an Internet protocol for accessing distributed directory services that follow X.500 data and service models, and OpenLDAP became the widely packaged open-source implementation for Unix-like systems that needed those directory services.

Administrators use OpenLDAP for centralized identity and directory data, especially where applications, Unix accounts, mail systems, network devices, or legacy enterprise systems already speak LDAP. Its long life also comes from being infrastructure glue: many deployments do not expose it to end users, but authentication and address-book workflows depend on it.

### How it is used

The admin guide frames OpenLDAP as software for building, configuring, and operating directory services, including the standalone LDAP daemon slapd. Operators define a directory information tree, schemas, access controls, indexes, replication topology, TLS/SASL settings, and backends, then manage entries with tools such as ldapsearch, ldapadd, ldapmodify, and ldapdelete.

Package users install openldap either as a server stack or as client libraries and command-line utilities needed by other software. The same package can support a running slapd service, local schema/testing work, or development against libldap.

### Why package nerds care

OpenLDAP is a high-leverage systems package because it is both a daemon and a dependency surface. Packaging choices affect service files, configuration paths, schema directories, TLS defaults, dynamic modules, library ABI consumers, and whether downstream software links against the system LDAP client library.

It is also a lesson in boring infrastructure longevity. The package exists because directory protocols and identity integrations outlive trend cycles; the hard packaging work is preserving upgrade paths, defaults, and operational documentation across decades of deployments.

### Timeline

- 1996: the University of Michigan LDAP 3.3 codebase became the base from which OpenLDAP later started.
- August 1998: the OpenLDAP Foundation and Project were established, and OpenLDAP 1.0.0 was released on 26 August 1998.
- August 2000: OpenLDAP 2.0 added LDAPv3 support, SASL, StartTLS, thread pooling, and other server improvements.
- October 2007: OpenLDAP 2.4 added MirrorMode and MultiMaster replication, Proxy Sync replication, expanded monitoring, and new overlays.
- April 2021: OpenLDAP 2.5 added lloadd, transaction support, new replication protocols, multi-factor-authentication-related features, and many overlay/library changes.
- October 2021: OpenLDAP 2.6 added file-based logging and additional load-balancer strategies.

### Related projects

- OpenLDAP is related to the IETF LDAPv3 RFC series, X.500 directory models, University of Michigan LDAP, Netscape Directory Server descendants, LMDB/back-mdb storage, SASL, TLS, Kerberos-oriented authentication deployments, and downstream clients that depend on libldap.

### Sources

- <https://datatracker.ietf.org/doc/html/rfc4510>
- <https://git.openldap.org/openldap/openldap>
- <https://www.openldap.org/conf/odd-tuebingen-2018/HowardHist.pdf>
- <https://www.openldap.org/doc/admin24/intro.html>
- <https://www.openldap.org/foundation/>
- <https://www.openldap.org/software/>
- <https://www.openldap.org/software/roadmap.html>


## Security Notes

narrow executable package without higher-risk signals.

- **Geiger risk:** green / low
- narrow executable package without higher-risk signals


## Configuration and credential file locations

These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.


## Configuration files

- Unix: /usr/local/etc/openldap/slapd.conf
## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** openldap
- **Version Scheme:** 0
- **Revision:** 0
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** yes
- **URL Keys:** stable

## Other Package-Manager Records

- Debian apt - ldap-utils - 2.6.10+dfsg-1: normalized package name match | Debian stable package indexes: ldap-utils from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | OpenLDAP utilities | https://www.openldap.org/
- Debian apt - libldap-common - 2.6.10+dfsg-1: normalized package name match | Debian stable package indexes: libldap-common from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | OpenLDAP common files for libraries | https://www.openldap.org/
- Debian apt - libldap-dev - 2.6.10+dfsg-1: normalized package name match | Debian stable package indexes: libldap-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | OpenLDAP development libraries | https://www.openldap.org/
- Debian apt - libldap2 - 2.6.10+dfsg-1: normalized package name match | Debian stable package indexes: libldap2 from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | OpenLDAP libraries | https://www.openldap.org/
- Debian apt - libldap2-dev - 2.6.10+dfsg-1: normalized package name match | Debian stable package indexes: libldap2-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | transitional package for libldap-dev | https://www.openldap.org/
- Debian apt - slapd - 2.6.10+dfsg-1: normalized package name match | Debian stable package indexes: slapd from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | OpenLDAP server (slapd) | https://www.openldap.org/
- Debian apt - slapd-contrib - 2.6.10+dfsg-1: normalized package name match | Debian stable package indexes: slapd-contrib from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | contributed plugins for OpenLDAP slapd | https://www.openldap.org/
- Debian apt - slapi-dev - 2.6.10+dfsg-1: normalized package name match | Debian stable package indexes: slapi-dev from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | development libraries for OpenLDAP SLAPI plugin interface | https://www.openldap.org/
- Nix - openldap: normalized package name match | nixpkgs package indexes: pkgs/by-name/op/openldap/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
- Ubuntu apt - ldap-utils - 2.6.7+dfsg-1~exp1ubuntu8: normalized package name match | Ubuntu 24.04 LTS package indexes: ldap-utils from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | OpenLDAP utilities | https://www.openldap.org/
- Ubuntu apt - libldap-common - 2.6.7+dfsg-1~exp1ubuntu8: normalized package name match | Ubuntu 24.04 LTS package indexes: libldap-common from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | OpenLDAP common files for libraries | https://www.openldap.org/
- Ubuntu apt - libldap-dev - 2.6.7+dfsg-1~exp1ubuntu8: normalized package name match | Ubuntu 24.04 LTS package indexes: libldap-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | OpenLDAP development libraries | https://www.openldap.org/
- Ubuntu apt - libldap2 - 2.6.7+dfsg-1~exp1ubuntu8: normalized package name match | Ubuntu 24.04 LTS package indexes: libldap2 from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | OpenLDAP libraries | https://www.openldap.org/
- Ubuntu apt - libldap2-dev - 2.6.7+dfsg-1~exp1ubuntu8: normalized package name match | Ubuntu 24.04 LTS package indexes: libldap2-dev from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | transitional package for libldap-dev | https://www.openldap.org/
- Ubuntu apt - slapd - 2.6.7+dfsg-1~exp1ubuntu8: normalized package name match | Ubuntu 24.04 LTS package indexes: slapd from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz | OpenLDAP server (slapd) | https://www.openldap.org/
- Ubuntu apt - slapd-contrib - 2.6.7+dfsg-1~exp1ubuntu8: normalized package name match | Ubuntu 24.04 LTS package indexes: slapd-contrib from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | contributed plugins for OpenLDAP slapd | https://www.openldap.org/


## Related links

- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [Security and crypto packages](https://www.automicvault.com/pkg/security-crypto-tools/) - Matched security, identity, cryptography, password, signing, or certificate metadata.
- [Homebrew utility packages](https://www.automicvault.com/pkg/brew-utility-packages/) - Matched Homebrew package provider.
- [openssl@3](https://www.automicvault.com/pkg/brew/openssl-3/) - Runtime dependency declared by Homebrew.
- [dovecot](https://www.automicvault.com/pkg/brew/dovecot/) - Popular package that depends on this formula.
- [heimdal](https://www.automicvault.com/pkg/brew/heimdal/) - Popular package that depends on this formula.
- [lighttpd](https://www.automicvault.com/pkg/brew/lighttpd/) - Popular package that depends on this formula.
- [netatalk](https://www.automicvault.com/pkg/brew/netatalk/) - Popular package that depends on this formula.
- [percona-server](https://www.automicvault.com/pkg/brew/percona-server/) - Popular package that depends on this formula.
- [percona-server@8.0](https://www.automicvault.com/pkg/brew/percona-server-8-0/) - Popular package that depends on this formula.
- [php](https://www.automicvault.com/pkg/brew/php/) - Popular package that depends on this formula.
- [php@8.1](https://www.automicvault.com/pkg/brew/php-8-1/) - Popular package that depends on this formula.
- [freediameter](https://www.automicvault.com/pkg/brew/freediameter/) - Shares av.db curated category or tags: authentication, cli, networking, server.
- [freeradius-server](https://www.automicvault.com/pkg/brew/freeradius-server/) - Shares av.db curated category or tags: authentication, cli, networking, server.
- [activemq](https://www.automicvault.com/pkg/brew/activemq/) - Shares av.db curated category or tags: cli, networking, server.
- [bind](https://www.automicvault.com/pkg/brew/bind/) - Shares av.db curated category or tags: cli, networking, server.
- [cntlm](https://www.automicvault.com/pkg/brew/cntlm/) - Shares av.db curated category or tags: authentication, cli, networking.
- [coredns](https://www.automicvault.com/pkg/brew/coredns/) - Shares av.db curated category or tags: cli, networking, server.
- [coturn](https://www.automicvault.com/pkg/brew/coturn/) - Shares av.db curated category or tags: cli, networking, server.
- [dante](https://www.automicvault.com/pkg/brew/dante/) - Shares av.db curated category or tags: cli, networking, server.
- [samba](https://www.automicvault.com/pkg/brew/samba/) - Local metadata places this package in an adjacent workflow. Shared terms: cli, directory, directory-services, networking, openssl.

## Combined YAML source

View the package source record on GitHub. [combined/openldap.yml](https://github.com/automic-vault/db/blob/main/combined/openldap.yml)


## Sources

- Nucleus package database
- Geiger risk classifier
- package-page enrichment
- curated configuration and credential file locations
- curated package history
- package version freshness
- av.db category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
