From 250d5b3e0cd70648919f031af57283e96872ff78 Mon Sep 17 00:00:00 2001 From: Alexander Lobodzinski Date: Fri, 16 Oct 2015 11:52:25 +0200 Subject: [PATCH] ypldap on OpenBSD --- include/tests_nameservices | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/include/tests_nameservices b/include/tests_nameservices index 2b84991f..14fac534 100644 --- a/include/tests_nameservices +++ b/include/tests_nameservices @@ -505,7 +505,13 @@ logtext "Result: ypbind is running" Display --indent 2 --text "- Checking ypbind status" --result "FOUND" --color GREEN 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 logtext "Result: ypbind is not active" Display --indent 2 --text "- Checking ypbind status" --result "NOT FOUND" --color WHITE