xgodon
xgodon
i think the easiest solution would be to add your ldif files after the service start, as it seems to make memeberof effective. Or you can build your own image...
i assume you have to delete the prepopulate part of the original entrypoint.sh (the > if [[ "$first_run" == "true" ]]; then > if [[ -d "/etc/ldap/prepopulate" ]]; then >...
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...
Are you sure memberof work? if you do an ldapsearch like : `ldapsearch -x -p 389 -h 127.0.0.1 -b "ou=People,dc=exemple,dc=com" -LLL uid=youruid memberof` do you see the groups?
I have the same problem. Maybe a list alternating text and objects could provide a good solution this is a niceproject text: ['this is a',{b: 'nice'},'project']
or maybe convert to a list : `{p: ["XXXX",{"a": {...}},"YYYYYY"]}`