OpenLDAP Directory Server - Managed Support

AWS Security

OpenLDAP, the standards based slapd directory server, ready on first boot as a private LDAP and LDAPS identity source for your own services.

Base
Hardened build
minimal ports, security patches applied at build time
Access
Unique credentials
generated on first boot, readable only by root
Verified
Boots working
services pass a health gate before release
Support
24/7, 365 days
by email and live chat, 24 hour response SLA

Overview

OpenLDAP is the widely deployed, open source implementation of the Lightweight Directory Access Protocol. Its standalone daemon, slapd, stores users, groups and organisational data in a hierarchical directory and answers standard LDAP queries, so applications, operating systems and network services can share one authoritative identity source instead of a separate account store for each. It speaks plain LDAP with StartTLS as well as LDAP over TLS, uses the fast memory mapped mdb backend, and is configured dynamically through its own cn=config directory, making it the reference directory service for centralised authentication and address book lookups.

It suits any team that wants a private, self owned directory to authenticate and authorise their own applications rather than depending on a hosted identity provider.

Why the cloudimg image

cloudimg delivers OpenLDAP hardened, fully patched and preconfigured so slapd is answering LDAP and LDAPS queries the moment it boots. The directory is seeded with a ready made People and Groups layout and a sample account, so an authenticated search returns data straight away, and the mdb directory database lives on its own dedicated data volume, separate from the operating system disk and independently resizable. No default logins ship: the directory administrator password is generated uniquely on first boot, the self signed TLS certificate is regenerated per instance, and both are written to a root only file. Every deployment is paired with a step by step deploy guide and backed by 24/7 support. cloudimg is not affiliated with the OpenLDAP Foundation.

Common uses

  • A private LDAP identity source for authenticating your own applications and services
  • A standards based directory to develop and test LDAP integrations against
  • Centralised user, group and service account data your infrastructure can query

Key features

  • OpenLDAP 2.6 (slapd) installed from the distribution package repository with the fast mdb backend, LDAPS on port 636 and StartTLS on port 389, a base directory dc=example,dc=com and a seeded ou=people / ou=groups demonstration directory, so ldapsearch returns real entries within minutes of launch. The directory database lives on its own 20 GiB EBS volume, independently resizable and separate from the operating system disk.
  • Secure by default with no shared credentials. The image ships no usable directory administrator credential; a first-boot service generates a unique administrator password of at least 24 characters on every instance, applies it to the slapd rootdn, and regenerates the TLS certificate per instance so no private key is reused. Automated checks assert both directions against the published image: the generated password binds over LDAP and LDAPS, and a wrong password is rejected with LDAP result 49.
  • 24/7 technical support from cloudimg engineers by email and live chat, with a one-hour average response for critical issues. Support scope covers deployment and sizing, schema and DIT design, LDIF import, hardening the LDAP and LDAPS listeners, TLS certificate configuration, access control, replication, backup and restore of the directory database, and OpenLDAP upgrades and troubleshooting.

Description

This is a repackaged open source software product wherein additional charges apply for cloudimg support services.

## A Standards-Based LDAP Directory, Ready on First Boot

OpenLDAP is the widely deployed open source implementation of the Lightweight Directory Access Protocol. Its standalone daemon, slapd, stores users, groups and organisational data in a hierarchical directory and answers standard LDAP queries, so your applications, operating systems and network services can share one authoritative identity source instead of a separate account store for each. This image delivers OpenLDAP 2.6 fully installed from the distribution package repository, with the fast memory-mapped mdb backend, LDAPS enabled, a seeded demonstration directory and a systemd service that starts on boot, so you can run your first LDAP query within minutes of launch rather than working through a manual install and TLS configuration.

## Why This Image Instead of the Alternatives

Unlike AWS Managed Microsoft AD or a hosted identity provider, you get full schema flexibility, VPC-local latency and no per-user fees, with the directory entirely inside your own infrastructure. Unlike a bare open source install, the TLS configuration, credential bootstrapping and storage layout are already done. And unlike Marketplace images that ship a shared default password, every instance generates its own administrator credential and TLS certificate.

## Who This Is For

Platform and identity teams who need a self-hosted, standards-based LDAP directory inside their own VPC to back application authentication, without depending on a hosted identity provider. Application developers who need a real LDAP endpoint to develop and test directory integrations against, instead of mocking one. Infrastructure teams consolidating service-account and group data into one queryable directory.

## What Is Installed

  • OpenLDAP 2.6 (slapd) from the distribution package repository, with the mdb backend
  • ldap-utils, so ldapsearch, ldapadd and ldapmodify are available on the instance
  • A base directory dc=example,dc=com with the administrator DN cn=admin,dc=example,dc=com
  • A seeded demonstration directory containing ou=people, ou=groups and a sample user, so directory queries return data immediately
  • LDAPS on port 636 with a self-signed certificate, plus StartTLS on port 389

## Secure By Default

The image ships with no usable directory administrator credential:

  • A one-shot first-boot service generates a unique administrator password of at least 24 characters on every instance and applies it to the slapd rootdn
  • The TLS certificate is regenerated per instance, so no shared private key is ever reused
  • Credentials are written to a root-only file at /root/openldap-credentials.txt
  • No two instances launched from this image share a directory password or a TLS key. This is asserted by automated checks against the published image: the generated password binds, and a wrong password is rejected with LDAP result 49

## Network Model

slapd listens on port 389 (LDAP with StartTLS) and port 636 (LDAPS). These ports are opened in the security group so downstream services can bind out of the box, but an LDAP endpoint reachable from the internet is a serious exposure. Restrict the 389 and 636 rules to your own VPC CIDR rather than 0.0.0.0/0, prefer LDAPS on 636 for any bind that carries credentials, and never expose a plaintext bind over an untrusted network.

## Storage Layout

The directory database (the mdb data files under /var/lib/ldap) lives on a dedicated 20 GiB EBS volume, separate from the OS disk, independently resizable, and preserved on every instance launched from this image.

## Getting Started

1. Launch on an m5.large or larger, with port 22 open to your management network and 389/636 restricted to your VPC

2. Connect over SSH as the default login user for your variant, then read the generated password with sudo cat /root/openldap-credentials.txt

3. Bind as cn=admin,dc=example,dc=com and search dc=example,dc=com to see the seeded entries, and confirm an LDAPS bind on port 636 succeeds

4. Replace the demonstration entries with your own organisational units and import your directory data

## 24/7 cloudimg Support

Every deployment is backed by cloudimg engineers available around the clock by email and live chat, covering deployment, schema and DIT design, LDIF import, TLS and access control configuration, replication, backup and restore, and OpenLDAP upgrades. Critical issues receive a one-hour average response time. This image uses standard AWS pay-as-you-go infrastructure billing; launch an instance to evaluate against your own schema and terminate at any time.

OpenLDAP is a registered trademark of the OpenLDAP Foundation. All product and company names are trademarks or registered trademarks of their respective holders. Use of them does not imply any affiliation with or endorsement by them.

Related technologies

openldapldap directory serverslapdldap v3directory servicesidentity managementauthentication backendldapsuser directoryself hosted ldap