1999-12-30 05:08:44 +01:00
|
|
|
#include "includes.h"
|
|
|
|
#ifdef USE_PAM
|
|
|
|
|
|
|
|
#include <pwd.h> /* For struct passwd */
|
|
|
|
|
2001-01-19 05:46:38 +01:00
|
|
|
void start_pam(const char *user);
|
1999-12-30 05:08:44 +01:00
|
|
|
void finish_pam(void);
|
|
|
|
int auth_pam_password(struct passwd *pw, const char *password);
|
|
|
|
char **fetch_pam_environment(void);
|
2000-12-03 01:51:51 +01:00
|
|
|
int do_pam_authenticate(int flags);
|
1999-12-30 05:08:44 +01:00
|
|
|
int do_pam_account(char *username, char *remote_user);
|
2000-01-27 00:55:38 +01:00
|
|
|
void do_pam_session(char *username, const char *ttyname);
|
2000-10-14 17:08:49 +02:00
|
|
|
void do_pam_setcred(void);
|
1999-12-30 05:08:44 +01:00
|
|
|
void print_pam_messages(void);
|
2000-10-14 15:36:13 +02:00
|
|
|
int pam_password_change_required(void);
|
2000-10-14 17:08:49 +02:00
|
|
|
void do_pam_chauthtok(void);
|
2000-12-03 01:51:51 +01:00
|
|
|
void pam_set_conv(struct pam_conv *);
|
1999-12-30 05:08:44 +01:00
|
|
|
|
|
|
|
#endif /* USE_PAM */
|