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