diff options
author | Alexander Lobodzinski <alobodzinski@users.noreply.github.com> | 2015-10-16 12:52:25 +0300 |
---|---|---|
committer | Alexander Lobodzinski <alobodzinski@users.noreply.github.com> | 2015-10-16 12:52:25 +0300 |
commit | 250d5b3e0cd70648919f031af57283e96872ff78 (patch) | |
tree | 08cba1d9ee0ae277e3293d9b26fe0434f1f4962a /include/tests_nameservices | |
parent | 34eb749636ed0242db86868af515be4964d40c91 (diff) |
ypldap on OpenBSD
Diffstat (limited to 'include/tests_nameservices')
-rw-r--r-- | include/tests_nameservices | 8 |
1 files changed, 7 insertions, 1 deletions
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 |