diff options
-rw-r--r-- | source3/auth/pampass.c | 4 | ||||
-rw-r--r-- | source3/passdb/pampass.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/source3/auth/pampass.c b/source3/auth/pampass.c index 83640bf5c8..01d2d81b9d 100644 --- a/source3/auth/pampass.c +++ b/source3/auth/pampass.c @@ -720,13 +720,13 @@ BOOL smb_pam_passchange(char * user, char * oldpassword, char * newpassword) } /* If PAM not used, also no PAM restrictions on sessions. */ - BOOL smb_pam_claim_session(const char *user, char *tty, char *rhost) + BOOL smb_pam_claim_session(char *user, char *tty, char *rhost) { return True; } /* If PAM not used, also no PAM restrictions on sessions. */ - BOOL smb_pam_close_session(const char *in_user, char *tty, char *rhost) + BOOL smb_pam_close_session(char *in_user, char *tty, char *rhost) { return True; } diff --git a/source3/passdb/pampass.c b/source3/passdb/pampass.c index 83640bf5c8..01d2d81b9d 100644 --- a/source3/passdb/pampass.c +++ b/source3/passdb/pampass.c @@ -720,13 +720,13 @@ BOOL smb_pam_passchange(char * user, char * oldpassword, char * newpassword) } /* If PAM not used, also no PAM restrictions on sessions. */ - BOOL smb_pam_claim_session(const char *user, char *tty, char *rhost) + BOOL smb_pam_claim_session(char *user, char *tty, char *rhost) { return True; } /* If PAM not used, also no PAM restrictions on sessions. */ - BOOL smb_pam_close_session(const char *in_user, char *tty, char *rhost) + BOOL smb_pam_close_session(char *in_user, char *tty, char *rhost) { return True; } |