Source

iredmail / iRedMail / conf / openldap

Diff from to

iRedMail/conf/openldap

 export LDAP_BIND='yes'
 export LDAP_BIND_VERSION='3'
 
+# OpenLDAP daemon user and group name.
+export OPENLDAP_DAEMON_USER='ldap'
+export OPENLDAP_DAEMON_GROUP='ldap'
+
 export LDAP_RC_SCRIPT_NAME='slapd'
 
 # Database backend type.
         export OPENLDAP_VERSION='2.4'
     fi
 
-    # LDAP daemon user & group.
-    export LDAP_USER='ldap'
-    export LDAP_GROUP='ldap'
-
     # Configuration files.
     export OPENLDAP_CONF_ROOT="/etc/openldap"
     export OPENLDAP_DB_CONFIG_SAMPLE="${OPENLDAP_CONF_ROOT}/DB_CONFIG.example"
     # OpenLDAP version.
     export OPENLDAP_VERSION='2.4'
 
-    # LDAP daemon user & group.
-    export LDAP_USER='ldap'
-    export LDAP_GROUP='ldap'
-
     # Configuration files.
     export OPENLDAP_CONF_ROOT="/etc/openldap"
     export OPENLDAP_DB_CONFIG_SAMPLE='/var/lib/ldap/DB_CONFIG.example'
     export OPENLDAP_VERSION='2.4'
 
     # LDAP daemon user & group.
-    export LDAP_USER='openldap'
-    export LDAP_GROUP='openldap'
+    export OPENLDAP_DAEMON_USER='openldap'
+    export OPENLDAP_DAEMON_GROUP='openldap'
 
     # Configuration files.
     export OPENLDAP_CONF_ROOT="/etc/ldap"
     # OpenLDAP version.
     export OPENLDAP_VERSION='2.4'
 
-    # LDAP daemon user & group.
-    export LDAP_USER='ldap'
-    export LDAP_GROUP='ldap'
-
     # Configuration files.
     export OPENLDAP_CONF_ROOT="/etc/openldap"
     export OPENLDAP_DB_CONFIG_SAMPLE="${OPENLDAP_CONF_ROOT}/DB_CONFIG.example"
     # OpenLDAP version.
     export OPENLDAP_VERSION='2.4'
 
-    # LDAP daemon user & group.
-    export LDAP_USER='ldap'
-    export LDAP_GROUP='ldap'
-
     # Configuration files.
     export OPENLDAP_CONF_ROOT='/usr/local/etc/openldap'
     export OPENLDAP_DB_CONFIG_SAMPLE="${OPENLDAP_CONF_ROOT}/DB_CONFIG.example"
     export OPENLDAP_VERSION='2.4'
 
     # LDAP daemon user & group.
-    export LDAP_USER='_openldap'
-    export LDAP_GROUP='_openldap'
+    export OPENLDAP_DAEMON_USER='_openldap'
+    export OPENLDAP_DAEMON_GROUP='_openldap'
 
     # Configuration files.
     export OPENLDAP_CONF_ROOT='/etc/openldap'