Ldap

Pages 32-33 of the Bitsmasher Lab Operations Manual (62 pages)

LDAP Directory Services

Server Configuration

Outage Details

The slapd failure manifests as:

\begin{lstlisting}[style=mystyle]

TLS init def ctx failed (-1)

    \end{lstlisting}

This indicates a TLS certificate configuration issue -- likely an expired, missing, or misconfigured CA certificate. The server is listening on its network interface (SSH works for root), but the LDAP daemon itself has not recovered since December 2025.

Monitoring Approach

Franklin maintains /home/franklin/status.sh} which checks:

The script provides a simple pass/fail indicator for LDAP health without requiring complex monitoring infrastructure.

Recovery Steps

To restore the LDAP server:

  1. SSH to ldap.lab.bitsmasher.net as root (ed25519 key)
  2. Check slapd logs: \texttt{journalctl -u slapd --since "2025-12-13"}
  3. Verify TLS certificate chain in /etc/ssl or the configured cert path
  4. Update or regenerate the CA-signed certificate if expired
  5. Restart slapd: \texttt{systemctl restart slapd}
  6. Verify with ldapsearch for franklin and sly DNs

Directory Structure (Expected)

The OpenLDAP directory should contain entries for:

Once restored, the LDAP directory serves as the central authentication source for the lab, complementing Kerberos for identity management.