Sign inSign up

crashvb/slapd

By crashvb

•Updated almost 2 years ago

Contains slapd.

Image
0

1.3K

crashvb/slapd repository overview

⁠slapd

version) image size linting license

⁠Overview

This docker image contains slapd⁠ and phpldapadmin⁠.

⁠Entrypoint Scripts

⁠slapd

The embedded entrypoint script is located at /etc/entrypoint.d/10slapd and performs the following actions:

  1. If TLS is enabled, the PKI certificates and Diffie-Hellman parameters are imported.
  2. A new ejbca configuration is generated using the following environment variables:
VariableDefault ValueDescription
LDAP_ADMIN_PASSWORDThe ldap root password.
LDAP_DOMAINexample.comThe name of the ldap domain
LDAP_ORGANIZATIONExample CompanyThe name of the ldap organization.
LDAP_SUFFIXderivedThe corresponding ldap suffix (base DN)
SLAPD_CERT_DAYS30Validity period of any generated PKI certificates.
SLAPD_KEY_SIZE4096Key size of any generated PKI keys.
TLS_CIPHER_SUITESECURE256:-VERS-TLS-ALL:+VERS-TLS1.3:+VERS-TLS1.2:+VERS-DTLS1.2:+SIGN-RSA-SHA256:%SAFE_RENEGOTIATION:%STATELESS_COMPRESSION:%LATEST_RECORD_VERSIONThe TLS ciphers use to restrict connects.
  1. The following configurations are added: OrganizationalUnits and PosixGroups.
  2. The following configurations are modified: PosixIndices and TLSCertificate.

⁠Standard Configuration

⁠Container Layout
/
├─ etc/
│  ├─ entrypoint.d/
│  │  └─ 10slapd
│  └─ supervisor/
│     └─ config.d/
│        └─ slapd.conf
├─ run/
│  └─ secrets/
│     ├─ slapd.crt
│     ├─ slapd.key
│     ├─ slapdca.crt
│     └─ ldap_admin_password
└─ usr/
   └─ local/
      ├─ bin/
      │  ├─ ldap-groupadd
      │  ├─ ldap-groupdel
      │  ├─ ldap-groupmembership
      │  ├─ ldap-passwd
      │  ├─ ldap-root-passwd
      │  ├─ ldap-su-passwd
      │  ├─ ldap-su-useradd
      │  ├─ ldap-su-userdel
      │  ├─ ldap-test
      │  ├─ ldap-useradd
      │  ├─ ldap-userdel
      │  └─ ldap-userhostaccess
      └─ share/
         └─ ldap/
            ├─ *.ldif
            └─ *.template
⁠Exposed Ports
  • 389/tcp - ldap listening port.
  • 636/tcp - ldaps listening port.
⁠Volumes
  • /etc/ldap - The slapd configuration directory.
  • /var/lib/ldap - The slapd data directory.

⁠Development

Source Control⁠

Tag summary

Content type

Image

Digest

sha256:63918d1a0…

Size

73.8 MB

Last updated

almost 2 years ago

docker pull crashvb/slapd