-
Notifications
You must be signed in to change notification settings - Fork 111
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
memberOf Overlay config not loaded #11
Comments
Hi davidsan, Thanks for your bug report! One of my last commits added a regression with the splitting of lists in I would be happy if you could retest with the latest version... |
The overlay seems to be loaded, as I can see it by slapcat-ing |
Your outputs do look good to me! There is no actual attribute May I suggest to read through #8, which might help you understand the usage of the |
There is an attribute [http://www.openldap.org/doc/admin24/overlays.html#Reverse Group Membership Maintenance](http://www.openldap.org/doc/admin24/overlays.html#Reverse Group Membership Maintenance) I've tested on another OpenLDAP instance, and the memberOf attribute does show up there with slapcat. I've seen issue #8 but I've correctly set the |
Thanks for the link. I didn't know about that the
So thanks for enlightening me here! I did a few tests and could "finally" reproduce the problem you are describing! However it only occurs, if I populated the entries in a prepopulation file. If I added it using
Can you confirm that? I am trying to find a solution to the prepopulation problem... |
I've replayed your commands and indeed can confirm that it is working.
Now, I'm not sure if memberOf overlay should be supported for both or just one of those About prepopulation problem, if it happens pre-configuration it can expected as applying memberOf overlay does not add the |
Hello all,
I've tried to spin up a container using this image by passing the
-e SLAPD_ADDITIONAL_MODULES=memberof
option.When I run
slapcat -b cn=config
inside the container, I see no mention of any settings related to memberOf overlay. It seems like thememberof.ldif
does not get loaded during entrypoint.I've tried to add the memberOf overlay manually by running this command:
slapadd -n0 -F /etc/ldap/slapd.d -l /etc/ldap/modules/memberof.ldif
and I do see memberOf overlay related configuration withslapcat
command. I'm not sure why it is not loaded from the entrypoint.I'm also facing another issue, after adding the memberOf manually, I'm still not seeing the memberOf attribute on my users (even after removing them from a group and re-adding them). I'm using phpLDAPadmin to check the attribute.
The full command I'm using for launching container is:
docker run -d -p 389:389 --name ldap -e SLAPD_PASSWORD=Password -e SLAPD_DOMAIN=my.domain.com -e SLAPD_ADDITIONAL_MODULES='memberof' -e SLAPD_FORCE_RECONFIGURE=true dinkel/openldap
The text was updated successfully, but these errors were encountered: