[PR #14] [MERGED] Add automatic config admin password replacement #48

Closed
opened 2026-02-27 16:47:48 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/rroemhild/docker-test-openldap/pull/14
Author: @michelvocks
Created: 2/14/2020
Status: Merged
Merged: 5/16/2020
Merged by: @rroemhild

Base: masterHead: add_config_admin_pw


📝 Commits (1)

  • a34f163 Add automatic config admin password replacement

📊 Changes

2 files changed (+16 additions, -4 deletions)

View changed files

bootstrap/config/configadminpw.ldif (+4 -0)
📝 bootstrap/slapd-init.sh (+12 -4)

📄 Description

By default, OpenLDAP on Debian adds a default configuration admin user with a randomly generated root password. This PR adds a function that automatically changes this password to the LDAP_SECRET password on the initial startup.

This is super helpful when you programmatically want to update certain configurations (e.g. schema) within your unit-tests.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/rroemhild/docker-test-openldap/pull/14 **Author:** [@michelvocks](https://github.com/michelvocks) **Created:** 2/14/2020 **Status:** ✅ Merged **Merged:** 5/16/2020 **Merged by:** [@rroemhild](https://github.com/rroemhild) **Base:** `master` ← **Head:** `add_config_admin_pw` --- ### 📝 Commits (1) - [`a34f163`](https://github.com/rroemhild/docker-test-openldap/commit/a34f163fc2023a59bac3c3836013f87b8862736f) Add automatic config admin password replacement ### 📊 Changes **2 files changed** (+16 additions, -4 deletions) <details> <summary>View changed files</summary> ➕ `bootstrap/config/configadminpw.ldif` (+4 -0) 📝 `bootstrap/slapd-init.sh` (+12 -4) </details> ### 📄 Description By default, OpenLDAP on Debian adds a default configuration admin user with a randomly generated root password. This PR adds a function that automatically changes this password to the `LDAP_SECRET` password on the initial startup. This is super helpful when you programmatically want to update certain configurations (e.g. schema) within your unit-tests. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-27 16:47:48 +03:00
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/docker-test-openldap#48
No description provided.