-
Notifications
You must be signed in to change notification settings - Fork 142
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
Infinite loop after restart #53
Comments
To anyone with same issue: you can fix this by directly running slapd: |
I am having the same issue. I wanted to add additional attributes to the users and therefore mount
Now I am getting the [1] docker-test-openldap/Dockerfile Line 34 in 2645f21
|
I don’t know how to configure the LDAP server correctly, but this hack helped:
#!/usr/bin/with-contenv bash
echo "starting slapd"
/usr/sbin/slapd -h "ldapi:/// ldap://0.0.0.0:10389 ldaps://0.0.0.0:10636" -d 256 -u openldap -g openldap
echo "Removing lock file..."
rm /var/lib/ldap/alock |
I would advise against using
VOLUMES
inDockerfile
, as not all users are interested in having persistency on these paths, and it looks like it is not possible to just ignore them. Without the volumes the error would not happen.The text was updated successfully, but these errors were encountered: