From: hno <> Date: Mon, 1 Jul 2002 16:17:43 +0000 (+0000) Subject: winbind status patches by Jerry Murdock X-Git-Tag: SQUID_3_0_PRE1~932 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1e21efd75b7f40673a0e555e716eff71f45e4665;p=thirdparty%2Fsquid.git winbind status patches by Jerry Murdock --- diff --git a/helpers/basic_auth/winbind/wb_basic_auth.c b/helpers/basic_auth/winbind/wb_basic_auth.c index ff9db92fcb..a4ec81efe0 100644 --- a/helpers/basic_auth/winbind/wb_basic_auth.c +++ b/helpers/basic_auth/winbind/wb_basic_auth.c @@ -53,7 +53,7 @@ void do_authenticate(char *user, char *pass) { &request, &response); debug("winbindd result: %d\n",winbindd_result); - if (winbindd_result==WINBINDD_OK) { + if (winbindd_result==NSS_STATUS_SUCCESS) { SEND("OK"); } else { SEND("ERR"); diff --git a/helpers/ntlm_auth/winbind/wb_ntlm_auth.c b/helpers/ntlm_auth/winbind/wb_ntlm_auth.c index 247c824fe2..2d519abb68 100644 --- a/helpers/ntlm_auth/winbind/wb_ntlm_auth.c +++ b/helpers/ntlm_auth/winbind/wb_ntlm_auth.c @@ -247,7 +247,7 @@ do_authenticate(ntlm_authenticate * auth, int auth_length) &request, &response); debug("winbindd result: %d\n", winbindd_result); - if (winbindd_result == WINBINDD_OK) { + if (winbindd_result == NSS_STATUS_SUCCESS) { lc(domain); lc(user); authok(domain, user); @@ -380,7 +380,7 @@ check_winbindd() struct winbindd_request request; struct winbindd_response response; r = winbindd_request(WINBINDD_INTERFACE_VERSION, &request, &response); - if (r != WINBINDD_OK) { + if (r != NSS_STATUS_SUCCESS) { warn("Can't contact winbindd. Dying\n"); exit(1); }