[PR #6] [MERGED] Add memberOf overlay #44

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

📋 Pull Request Information

Original PR: https://github.com/rroemhild/docker-test-openldap/pull/6
Author: @shaan1337
Created: 5/23/2019
Status: Merged
Merged: 5/24/2019
Merged by: @rroemhild

Base: masterHead: master


📝 Commits (1)

📊 Changes

2 files changed (+41 additions, -0 deletions)

View changed files

bootstrap/config/memberof.ldif (+35 -0)
📝 bootstrap/slapd-init.sh (+6 -0)

📄 Description

Hello,

This PR adds the memberOf overlay using the memberof and refint modules.
This will add the memberOf attribute to all members of a group with the DN of the group as the attribute's value.

Example query:

 ldapsearch -D "cn=admin,dc=planetexpress,dc=com" -w GoodNewsEveryone -p 389 -h 127.0.0.1 -b "dc=planetexpress,dc=com" -s sub "(&(objectClass=*))" memberOf

Btw, thanks for this great docker image :)


🔄 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/6 **Author:** [@shaan1337](https://github.com/shaan1337) **Created:** 5/23/2019 **Status:** ✅ Merged **Merged:** 5/24/2019 **Merged by:** [@rroemhild](https://github.com/rroemhild) **Base:** `master` ← **Head:** `master` --- ### 📝 Commits (1) - [`0872312`](https://github.com/rroemhild/docker-test-openldap/commit/0872312174f93d72304b8b89ec48127208209584) Add memberOf overlay ### 📊 Changes **2 files changed** (+41 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `bootstrap/config/memberof.ldif` (+35 -0) 📝 `bootstrap/slapd-init.sh` (+6 -0) </details> ### 📄 Description Hello, This PR adds the `memberOf` overlay using the `memberof` and `refint` modules. This will add the `memberOf` attribute to all members of a group with the DN of the group as the attribute's value. **Example query:** ``` ldapsearch -D "cn=admin,dc=planetexpress,dc=com" -w GoodNewsEveryone -p 389 -h 127.0.0.1 -b "dc=planetexpress,dc=com" -s sub "(&(objectClass=*))" memberOf ``` Btw, thanks for this great docker image :) --- <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:47 +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#44
No description provided.