summaryrefslogtreecommitdiffstats
path: root/source/nsswitch/winbindd_pam.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2001-08-27 19:46:22 +0000
committerAndrew Tridgell <tridge@samba.org>2001-08-27 19:46:22 +0000
commit1d36250e338ae0ff9fbbf86019809205dd97d05e (patch)
treee9698f0341f3d5189f45dfd8773b38e57b4da599 /source/nsswitch/winbindd_pam.c
parent8021669b167053b5500f035c9c50d1327d73c232 (diff)
downloadsamba-1d36250e338ae0ff9fbbf86019809205dd97d05e.tar.gz
samba-1d36250e338ae0ff9fbbf86019809205dd97d05e.tar.xz
samba-1d36250e338ae0ff9fbbf86019809205dd97d05e.zip
converted another bunch of stuff to NTSTATUS
Diffstat (limited to 'source/nsswitch/winbindd_pam.c')
-rw-r--r--source/nsswitch/winbindd_pam.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/nsswitch/winbindd_pam.c b/source/nsswitch/winbindd_pam.c
index 6f1872e0a42..40762b1f0b9 100644
--- a/source/nsswitch/winbindd_pam.c
+++ b/source/nsswitch/winbindd_pam.c
@@ -135,7 +135,7 @@ enum winbindd_result winbindd_pam_auth(struct winbindd_cli_state *state)
server_state.controller, trust_passwd,
last_change_time);
- return (result == NT_STATUS_NOPROBLEMO) ? WINBINDD_OK : WINBINDD_ERROR;
+ return (result == NT_STATUS_OK) ? WINBINDD_OK : WINBINDD_ERROR;
}
/* Challenge Response Authentication Protocol */
@@ -206,7 +206,7 @@ enum winbindd_result winbindd_pam_auth_crap(struct winbindd_cli_state *state)
server_state.controller, trust_passwd,
last_change_time);
- return (result == NT_STATUS_NOPROBLEMO) ? WINBINDD_OK : WINBINDD_ERROR;
+ return (result == NT_STATUS_OK) ? WINBINDD_OK : WINBINDD_ERROR;
}
/* Change a user password */