tiredofit / docker-openldap

Dockerized LDAP server with many customizable options
MIT License
108 stars 47 forks source link

Readonly User fixes (user creation and ACLs) #66

Closed adrianparilli closed 1 year ago

adrianparilli commented 1 year ago

I've been dealing with issues regarding this feature, that basically doesn't work as expected.

Changes:

· Custom-script's if statement was moved up, along this section, for more clarity · If statement was inverted and some fixes made (no more ldap errors 53 & 68) · When true (no custom-scripts folder): Executes default.sh (this already includes if statement for adding readonly user) If ENABLE_READONLY_USER is true: Updates readonly-user templates and adds correspondent ACLs regarding olc permissions (readonly user's creationldif is not necessary because of default.sh, but left for possible usage with custom scripts...) · When false (custom-scripts dolfer is found): Executes custom-scripts (totally at user's discretion of what is on their scripts...

Default and custom schemas / ldifs addition is left intact. Working on custom repo based on branch 2.6.

tiredofit commented 1 year ago

Hi, I am closing this as I am seeing some issues with being able to build a Docker Image - Github is fizzling out. You would have to rebase anyways on your end to remove your commit that you have said needs more work.

About to push a new version shortly.