ypldap on OpenBSD

This commit is contained in:
Alexander Lobodzinski 2015-10-16 11:52:25 +02:00
parent 34eb749636
commit 250d5b3e0c
1 changed files with 7 additions and 1 deletions

View File

@ -505,7 +505,13 @@
logtext "Result: ypbind is running" logtext "Result: ypbind is running"
Display --indent 2 --text "- Checking ypbind status" --result "FOUND" --color GREEN Display --indent 2 --text "- Checking ypbind status" --result "FOUND" --color GREEN
YPBIND_RUNNING=1 YPBIND_RUNNING=1
ReportSuggestion "Disable the usage of NIS/NIS+ and use an alternative like LDAP or Kerberos instead" IsRunning ypldap
if [ ${RUNNING} -eq 1 ]; then
logtext "Result: ypldap is running"
Display --indent 2 --text "- Checking ypldap status" --result "FOUND" --color GREEN
else
ReportSuggestion "Disable the usage of NIS/NIS+ and use an alternative like LDAP or Kerberos instead"
fi
else else
logtext "Result: ypbind is not active" logtext "Result: ypbind is not active"
Display --indent 2 --text "- Checking ypbind status" --result "NOT FOUND" --color WHITE Display --indent 2 --text "- Checking ypbind status" --result "NOT FOUND" --color WHITE