Skip to content

Add LDAP support to Docker build#52

Open
MrLenin wants to merge 1 commit intoevilnet:masterfrom
MrLenin:ldap-docker
Open

Add LDAP support to Docker build#52
MrLenin wants to merge 1 commit intoevilnet:masterfrom
MrLenin:ldap-docker

Conversation

@MrLenin
Copy link

@MrLenin MrLenin commented Mar 13, 2026

Summary

  • Install libldap2-dev in Dockerfile and configure with --with-ldap
  • Templatize LDAP config in x3.conf-dist with environment variable placeholders
  • Add LDAP defaults in dockerentrypoint.sh (disabled by default, X3_LDAP_ENABLE=0)

Test plan

  • Build Docker image with LDAP support
  • Verify LDAP disabled by default (no env vars set)
  • Verify LDAP enabled when X3_LDAP_ENABLE=1 with proper env vars

🤖 Generated with Claude Code

- Add libldap2-dev to build deps and --with-ldap to configure
- Templatize LDAP section in x3.conf-dist with %X3_LDAP_*% placeholders
- Use inetOrgAnonAccount objectClass (X3's custom schema)
- Add LDAP env var defaults to dockerentrypoint.sh

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant