mirror of https://github.com/CISOfy/lynis.git
Merge branch 'master' of https://github.com/CISOfy/lynis
This commit is contained in:
commit
ca1d7ace1d
|
@ -37,13 +37,13 @@
|
||||||
Register --test-no LDAP-2219 --weight L --network NO --category security --description "Check running OpenLDAP instance"
|
Register --test-no LDAP-2219 --weight L --network NO --category security --description "Check running OpenLDAP instance"
|
||||||
if [ ${SKIPTEST} -eq 0 ]; then
|
if [ ${SKIPTEST} -eq 0 ]; then
|
||||||
if IsRunning "slapd"; then
|
if IsRunning "slapd"; then
|
||||||
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 "${STATUS_FOUND}" --color GREEN
|
Display --indent 2 --text "- Checking OpenLDAP instance" --result "${STATUS_FOUND}" --color GREEN
|
||||||
LogText "Result: Found running slapd process"
|
LogText "Result: Found running slapd process"
|
||||||
SLAPDFOUND=1
|
SLAPDFOUND=1
|
||||||
SLAPD_RUNNING=1
|
SLAPD_RUNNING=1
|
||||||
|
else
|
||||||
|
Display --indent 2 --text "- Checking OpenLDAP instance" --result "${STATUS_NOT_FOUND}" --color WHITE
|
||||||
|
LogText "Result: No running slapd process found."
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
#
|
#
|
||||||
|
|
Loading…
Reference in New Issue