-
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
how do I configure memberOf? #20
Comments
Have you tried to import the directory of users first that the GroupOfName directory? |
I am afraid that I don't clearly understand your instructions. I am a bit of noob when it comes to ldap. |
Maybe your problem it's becouse you are importing data into OpenLDAP, you need create first the member and after the groupOfNames. For security LDAP no associate the member added after of a groupOfNames. |
This is an example for run your OpenLDAP container: docker run --name openldap -d -p 389:389 \
-e SLAPD_PASSWORD=YourPassword \
-e SLAPD_DOMAIN=domain.com \
-e SLAPD_ORGANIZATION=YourBussinesName \
-e SLAPD_ADDITIONAL_MODULES=memberof \
--volume openldap-conf:/etc/ldap \
--volume openldap-data:/var/lib/ldap \
dinkel/openldap The important paramter is: -e SLAPD_ADDITIONAL_MODULES=memberof |
Are you sure memberof work? |
Have given up on it working. For me the docket container was for local development so not the end of the world just very annoying |
It works, but you have to use |
Hi. Thank you for great image. Really helpful.
I need help with my setup. I have a very simple one. Nothing complicated. I've looked into the issue about memberOf issue and I can't wrap my head around a solution.
I have LDIF file that I store in a prepopulate folder. The file is very simple two users, only one belongs to the application group (groupOfUniqueNames). The file is hosted at http://pastebin.com/VwfJkQKi
Here is the docker-compose configuration I am using
openldap:
image: dinkel/openldap
ports:
- "636:636"
- "389:389"
volumes:
- "./containers/prepopulate/ldap:/etc/ldap.dist/prepopulate:ro"
environment:
- SLAPD_DOMAIN=test
- SLAPD_PASSWORD=admin
- SLAPD_CONFIG_PASSWORD=config
- SLAPD_ADDITIONAL_MODULES=memberof
simple search for uid=two works perfect.
My Objective/requirement: I want to be able to execute a simple query with membership (&(uid=two)(memberOf=cn=application,ou=apps,dc=test)). It does not work.
Can you please help/advise?
The text was updated successfully, but these errors were encountered: