Closed wkloucek closed 2 months ago
@jp-gouin After digging into this PR, I think we don't really benefit from another schema import besides the one we currently have, especially since the import order was fixed in #161. If you have a reasoning for supporting both mechanisms, I'm happy to continue this PR. Otherwise I'll close it.
What this PR does / why we need it:
The current
customSchemaFiles
option does a schema import viaLDAP_EXTRA_SCHEMAS
. I renamed this current behavior toextraSchemaFiles
. It's done vialdapadd
while slapd is running.I added a new
customSchemaFiles
option that imports schemas viaLDAP_CUSTOM_SCHEMA_DIR
. It's done viaslapadd
while slapd is stopped.Since the new
customSchemaFiles
option does not support all schemas that could be set via the currentcustomSchemaFiles
option, this change is not backwards compatible. The migration should be easy though because one just needs to use theextraSchemaFiles
option instead.Related issues:
Pre-submission checklist: