1. Zhang Huangbin
  2. iredmail

Source

iredmail / iRedMail / functions / backend.sh

Diff from to

File iRedMail/functions/backend.sh

  • Ignore whitespace
 # -------------------------------------------------------
 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