summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2001-09-04 11:39:57 +0000
committerAndrew Tridgell <tridge@samba.org>2001-09-04 11:39:57 +0000
commited3fbafdd34af0f22c0f90c93718e887bae23dec (patch)
tree04f24cd728a3213a667f89b48ec311c569157224
parentb04933dfbb891532d08e7de42bdcf2eb9186a018 (diff)
downloadsamba-ed3fbafdd34af0f22c0f90c93718e887bae23dec.tar.gz
samba-ed3fbafdd34af0f22c0f90c93718e887bae23dec.tar.bz2
samba-ed3fbafdd34af0f22c0f90c93718e887bae23dec.zip
cope with pam being off
(This used to be commit 5f6e7bbce76c85571ee10a3f8b5bbbd0beadb632)
-rw-r--r--source3/auth/pampass.c2
-rw-r--r--source3/passdb/pampass.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/source3/auth/pampass.c b/source3/auth/pampass.c
index 46b38ab1c0..fda4a54103 100644
--- a/source3/auth/pampass.c
+++ b/source3/auth/pampass.c
@@ -875,7 +875,7 @@ BOOL smb_pam_passchange(char * user, char * oldpassword, char * newpassword)
#else
/* If PAM not used, no PAM restrictions on accounts. */
- uint32 smb_pam_accountcheck(char * user)
+ NTSTATUS smb_pam_accountcheck(char * user)
{
return NT_STATUS_OK;
}
diff --git a/source3/passdb/pampass.c b/source3/passdb/pampass.c
index 46b38ab1c0..fda4a54103 100644
--- a/source3/passdb/pampass.c
+++ b/source3/passdb/pampass.c
@@ -875,7 +875,7 @@ BOOL smb_pam_passchange(char * user, char * oldpassword, char * newpassword)
#else
/* If PAM not used, no PAM restrictions on accounts. */
- uint32 smb_pam_accountcheck(char * user)
+ NTSTATUS smb_pam_accountcheck(char * user)
{
return NT_STATUS_OK;
}