-
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 not working #8
Comments
It seems that you also need to add the Hope this helps... |
Since you also happen to maintain a PHP LDAP Admin image, could you maybe tell me how to to what you just described in the Web interface? |
Please note, that I am no expert in OpenLDAP, I am still learning and beginning see the root of your problem. You have to choose between either Seeing this example setup might help you understand
Now the query stings below should work:
If you need GIDs in your groups as well, I don't know how you would do that, as groupOfNames doesn't allow you to have this attribute. DuckDuckGoing showed a few results with hacks that extend the posixGroup with a specially crafted Btw: In phpLDAPadmin you can create new groups by clicking "Create a child entry" from your "Groups" organizationalUnit, then click on "Default" and choose "groupOfNames" from the list. You are then presented with a DN browser for your |
First of all, I'd like to thank you very much for your in-depth description. I tinkered around a bit with the various settings and forms inside PLA, but wasn't able to achieve any success. So I decided to just copy&paste your LDIF into my server. I created a fresh Docker container and imported your LDIF posted above via PHP LDAP Admin (successfully, no errors or warnings): These queries are still not working:
Any other ideas? |
This looks as if the Note that if you have a volume connected that saves your configuration, you need to add You can quite easily check this in phpLDAPadmin, when clicking on "schema" and then try to find "olcMemberOf" in the drop down list. |
Oh my godness. I am so sorry for wasting your time.
I would have never found this issue without you! I am really glad you helped me out, @dinkel ! |
Hi,
I'm trying to get the memberOf overlay to work, but unfortunately haven't had much luck with it. It also didn't help that OpenLDAP documentation is pretty poor (specifically for cn=config).
I built the container and ran it with the following command:
Initial slapcat output:
Next I create the following Organizational Units with LDAP Account Manager:
("All changes were successfull" according to LAM).
Now the slapcat output also has the following entries (proceded by the one posted above):
Next I create a Group called "Users":
Finally, I create a User (cn=Mr Test, uid=test) which has "Users" as its primary group:
AFAIK, there should be an attribute
memberOf
. Also, the following LDAP queries do not work:All of the above give the same result:
Am I missing something here?
I also tried applications like Ampache, but got the response
User cn=Mr Test,ou=People,dc=example,dc=com is not a member of group cn=Users,ou=Groups,dc=example,dc=com
(which is definitely false).Any help is appreciated.
EDIT: Removed timestamps and creator information from slapcat output for better readability.
The text was updated successfully, but these errors were encountered: