summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2002-02-06 20:31:26 +0000
committerAndrew Bartlett <abartlet@samba.org>2002-02-06 20:31:26 +0000
commit72b1011cb280c3dfc24e4c487bef231e2e5de357 (patch)
tree72736ae4fe5884e3444bcef27fb68eec581971fa /source3/lib
parent9aa88da9d5500b185299c05103d63c76f527a9dc (diff)
downloadsamba-72b1011cb280c3dfc24e4c487bef231e2e5de357.tar.gz
samba-72b1011cb280c3dfc24e4c487bef231e2e5de357.tar.bz2
samba-72b1011cb280c3dfc24e4c487bef231e2e5de357.zip
Try to get this finally working. (Note to self: *always* check build farm...)
:-) Andrew Bartlett (This used to be commit 542e0e37455e6bcd8e0c248b3bb6ede8306d1656)
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/pam_errors.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/lib/pam_errors.c b/source3/lib/pam_errors.c
index ef0e850904..f0f47333cb 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 */