From 72b1011cb280c3dfc24e4c487bef231e2e5de357 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Wed, 6 Feb 2002 20:31:26 +0000 Subject: Try to get this finally working. (Note to self: *always* check build farm...) :-) Andrew Bartlett (This used to be commit 542e0e37455e6bcd8e0c248b3bb6ede8306d1656) --- source3/lib/pam_errors.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source3/lib/pam_errors.c b/source3/lib/pam_errors.c index ef0e850904a..f0f47333cb6 100644 --- a/source3/lib/pam_errors.c +++ b/source3/lib/pam_errors.c @@ -103,7 +103,7 @@ int nt_status_to_pam(NTSTATUS nt_status) /***************************************************************************** convert a PAM error to a NT status32 code *****************************************************************************/ -NTSTATUS pam_to_ntstatus(int pam_error) +NTSTATUS pam_to_nt_status(int pam_error) { if (pam_error == 0) return NT_STATUS_OK; return NT_STATUS_UNSUCCESSFUL; @@ -112,7 +112,7 @@ NTSTATUS pam_to_ntstatus(int pam_error) /***************************************************************************** convert an NT status32 code to a PAM error *****************************************************************************/ -int ntstatus_to_pam(NTSTATUS nt_status) +int nt_status_to_pam(NTSTATUS nt_status) { if (NT_STATUS_EQUAL(nt_status, NT_STATUS_OK)) return 0; return 4; /* PAM_SYSTEM_ERR */ -- cgit v1.2.1