Source

iredmail / iRedMail / functions / backend.sh

Diff from to

iRedMail/functions/backend.sh

 # -------------------------------------------------------
 backend_install()
 {
-    if [ X"${BACKEND}" == X"OPENLDAP" ]; then
-        # Install, config and initialize OpenLDAP.
-        check_status_before_run openldap_config && \
-        check_status_before_run openldap_data_initialize
+    if [ X"${BACKEND}" == X'OPENLDAP' ]; then
+        # Install, config and initialize LDAP server
+        check_status_before_run ldap_server_config
 
         # Initialize MySQL database server.
         check_status_before_run mysql_initialize