dinkel/docker-openldap

loglevel-configuration option

Opened this issue · 1 comments

I'm trying to use the Prepopulate-functionality with one single ldif-file. Using Apache Directory Studio importing this specific ldif file runs without any problem. Trying the same ldif-File with the prepoluate-mechanism fails without any error or message. How can I turn on some more logging to identify the problem?

i guess that you can do that in the entrypoint.sh
the script does :

slapcat -n0 -F /etc/ldap/slapd.d -l /tmp/config.ldif sed -i "s/\(olcRootDN: cn=admin,cn=config\)/\1\nolcRootPW: ${sed_safe_password_hash}/g" /tmp/config.ldif
you can add a sed to set olcLogLevel (see http://www.zytrax.com/books/ldap/ch6/#loglevel )