mirror of
git://anongit.mindrot.org/openssh.git
synced 2024-12-15 22:54:35 +00:00
63dc3e90e5
- (djm) Revise auth-pam.c conversation function to be a little more readable. - (djm) Revise kbd-int PAM conversation function to fold all text messages to before first prompt. Fixes hangs if last pam_message did not require a reply. - (djm) Fix password changing when using PAM kbd-int authentication
21 lines
616 B
C
21 lines
616 B
C
#include "includes.h"
|
|
#ifdef USE_PAM
|
|
|
|
#include <pwd.h> /* For struct passwd */
|
|
|
|
void start_pam(const char *user);
|
|
void finish_pam(void);
|
|
int auth_pam_password(struct passwd *pw, const char *password);
|
|
char **fetch_pam_environment(void);
|
|
int do_pam_authenticate(int flags);
|
|
int do_pam_account(char *username, char *remote_user);
|
|
void do_pam_session(char *username, const char *ttyname);
|
|
void do_pam_setcred(void);
|
|
void print_pam_messages(void);
|
|
int pam_password_change_required(void);
|
|
void do_pam_chauthtok(void);
|
|
void pam_set_conv(struct pam_conv *);
|
|
void message_cat(char **p, const char *a);
|
|
|
|
#endif /* USE_PAM */
|