Commits

Zhang Huangbin  committed f0316d3

Code cleanup.

  • Participants
  • Parent commits 5f4b9fe

Comments (0)

Files changed (1)

File iRedMail/conf/openldap

 
 export LDAP_RC_SCRIPT_NAME='slapd'
 
+# Configuration files.
+export OPENLDAP_CONF_ROOT='/etc/openldap'
+
 # Database backend type.
 # Note:
 #   * We use the same database type on all distributions to reduce our
         export OPENLDAP_VERSION='2.4'
     fi
 
-    # Configuration files.
-    export OPENLDAP_CONF_ROOT="/etc/openldap"
     export OPENLDAP_DB_CONFIG_SAMPLE="${OPENLDAP_CONF_ROOT}/DB_CONFIG.example"
-
     export OPENLDAP_SYSCONFIG_CONF="${ETC_SYSCONFIG_DIR}/ldap"
 
     # Module related.
     # OpenLDAP version.
     export OPENLDAP_VERSION='2.4'
 
-    # Configuration files.
-    export OPENLDAP_CONF_ROOT="/etc/openldap"
     export OPENLDAP_DB_CONFIG_SAMPLE='/var/lib/ldap/DB_CONFIG.example'
 
     export OPENLDAP_PID_FILE='/var/run/slapd/slapd.pid'
     # OpenLDAP version.
     export OPENLDAP_VERSION='2.4'
 
-    # Configuration files.
-    export OPENLDAP_CONF_ROOT="/etc/openldap"
     export OPENLDAP_DB_CONFIG_SAMPLE="${OPENLDAP_CONF_ROOT}/DB_CONFIG.example"
-
     export OPENLDAP_SYSCONFIG_CONF="${ETC_SYSCONFIG_DIR}/slapd"
 
     # Module related.
     export OPENLDAP_DAEMON_USER='_openldap'
     export OPENLDAP_DAEMON_GROUP='_openldap'
 
-    # Configuration files.
-    export OPENLDAP_CONF_ROOT='/etc/openldap'
     export OPENLDAP_DB_CONFIG_SAMPLE="/usr/local/share/examples/openldap/DB_CONFIG"
 
     # Module related.