only add schemas if LDAP_ADD_SCHEMAS is set to yes
Signed-off-by: Johannes Kastl <kastl@b1-systems.de>
This commit is contained in:
parent
ddc2f8884a
commit
d3df878c99
|
|
@ -465,7 +465,9 @@ ldap_initialize() {
|
|||
ldap_configure_tls
|
||||
fi
|
||||
# Initialize OpenLDAP with schemas/tree structure
|
||||
ldap_add_schemas
|
||||
if is_boolean_yes "$LDAP_ADD_SCHEMAS"; then
|
||||
ldap_add_schemas
|
||||
fi
|
||||
if [[ -f "$LDAP_CUSTOM_SCHEMA_FILE" ]]; then
|
||||
ldap_add_custom_schema
|
||||
fi
|
||||
|
|
|
|||
|
|
@ -465,7 +465,9 @@ ldap_initialize() {
|
|||
ldap_configure_tls
|
||||
fi
|
||||
# Initialize OpenLDAP with schemas/tree structure
|
||||
ldap_add_schemas
|
||||
if is_boolean_yes "$LDAP_ADD_SCHEMAS"; then
|
||||
ldap_add_schemas
|
||||
fi
|
||||
if [[ -f "$LDAP_CUSTOM_SCHEMA_FILE" ]]; then
|
||||
ldap_add_custom_schema
|
||||
fi
|
||||
|
|
|
|||
Loading…
Reference in New Issue