summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}