summaryrefslogtreecommitdiffstats
path: root/auth-pam.h
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2003-05-10 11:28:02 +0200
committerDamien Miller <djm@mindrot.org>2003-05-10 11:28:02 +0200
commit4f9f42a9bb6a6aa8f6100d873dc6344f2f9994de (patch)
treef81c39146e1cfabb4b198f57f60453b2dcaac299 /auth-pam.h
parent - (dtucker) Bug #536: Test for and work around openpty/controlling tty (diff)
downloadopenssh-4f9f42a9bb6a6aa8f6100d873dc6344f2f9994de.tar.xz
openssh-4f9f42a9bb6a6aa8f6100d873dc6344f2f9994de.zip
- (djm) Merge FreeBSD PAM code: replaces PAM password auth kludge withAFTER_FREEBSD_PAM_MERGE
proper challenge-response module
Diffstat (limited to 'auth-pam.h')
-rw-r--r--auth-pam.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/auth-pam.h b/auth-pam.h
index 7881b6b80..5df65caa3 100644
--- a/auth-pam.h
+++ b/auth-pam.h
@@ -1,4 +1,4 @@
-/* $Id: auth-pam.h,v 1.16 2002/07/23 00:44:07 stevesk Exp $ */
+/* $Id: auth-pam.h,v 1.17 2003/05/10 09:28:02 djm Exp $ */
/*
* Copyright (c) 2000 Damien Miller. All rights reserved.
@@ -37,8 +37,8 @@ int auth_pam_password(Authctxt *authctxt, const char *password);
char **fetch_pam_environment(void);
void free_pam_environment(char **env);
int do_pam_authenticate(int flags);
-int do_pam_account(char *username, char *remote_user);
-void do_pam_session(char *username, const char *ttyname);
+int do_pam_account(const char *user, const char *ruser);
+void do_pam_session(const char *user, const char *tty);
void do_pam_setcred(int init);
void print_pam_messages(void);
int is_pam_password_change_required(void);