Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/CISOfy/lynis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Boelen <michael.boelen@cisofy.com>2016-06-18 12:14:01 +0300
committerMichael Boelen <michael.boelen@cisofy.com>2016-06-18 12:14:01 +0300
commit983e293eb157131ca5e085e4927ea5fc220edc73 (patch)
treecc5e8bea4af5cfa53f57a73d2c61357f47165857 /include/tests_ldap
parent9c093f7a97fb0b9593a303ef7394c3bc5dea99b2 (diff)
Replaced text strings to allow translations
Diffstat (limited to 'include/tests_ldap')
-rw-r--r--include/tests_ldap8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/tests_ldap b/include/tests_ldap
index 14e19598..1034fd67 100644
--- a/include/tests_ldap
+++ b/include/tests_ldap
@@ -39,10 +39,10 @@
#YYY add additional slash
IsRunning slapd
if [ ${RUNNING} -eq 0 ]; then
- Display --indent 2 --text "- Checking OpenLDAP instance" --result "NOT FOUND" --color WHITE
+ Display --indent 2 --text "- Checking OpenLDAP instance" --result "${STATUS_NOT_FOUND}" --color WHITE
LogText "Result: No running slapd process found."
else
- Display --indent 2 --text "- Checking OpenLDAP instance" --result FOUND --color GREEN
+ Display --indent 2 --text "- Checking OpenLDAP instance" --result "${STATUS_FOUND}" --color GREEN
LogText "Result: Found running slapd process"
SLAPDFOUND=1
SLAPD_RUNNING=1
@@ -67,9 +67,9 @@
done
# Check if we found a valid location
if [ ! "${SLAPD_CONF_LOCATION}" = "" ]; then
- Display --indent 4 --text "- Checking slapd.conf" --result FOUND --color GREEN
+ Display --indent 4 --text "- Checking slapd.conf" --result "${STATUS_FOUND}" --color GREEN
else
- Display --indent 4 --text "- Checking slapd.conf" --result "NOT FOUND" --color YELLOW
+ Display --indent 4 --text "- Checking slapd.conf" --result "${STATUS_NOT_FOUND}" --color YELLOW
fi
fi
#