-
-
Notifications
You must be signed in to change notification settings - Fork 48
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
Do not see any search results #5
Comments
I get the results of 11,000+ records with your command so I'm not sure what could be happening there. You might not see your admin account listed as it may be sitting in db0 (config). Have you tried adding any normal users yet? Try this for an example https://www.thegeekstuff.com/2015/02/openldap-add-users-groups/ |
Tried adding normal users but it complains as it cannot find any entry for the base DN. First we created a file
Then we tried to add:
In server logs we see this:
so there isn't any base entry created in the database. shouldn't the docker command be creating a base entry in the database? |
Yes, should. |
we did not try that image but confirm that there wasn't any base entry in the database i.e., the LDAP tree was empty. Once we added a root node (the base entry), then our search started giving back results. |
Great, can you share that LDIF and I will wrap it in? |
sure. this is the minimal LDIF to create a base entry:
and we added it to the database by running:
|
Thanks! How I've missed this is beyond me, but there have been many iterations of this image over the years and I may have missed one. I hope you have success going forward with this! |
This resolved the binding issue I have been experiencing, thanks! |
we don't see any search results using this image. here is what we did:
Expected: Result for the admin user
Observed:
Server log can be found here. Is there something wrong that we are doing?
The text was updated successfully, but these errors were encountered: