2001-02-15 00:51:32 +00:00
|
|
|
/* $Id: auth-pam.h,v 1.10 2001/02/15 00:51:32 djm Exp $ */
|
2001-02-09 01:55:35 +00:00
|
|
|
|
1999-12-30 04:08:44 +00:00
|
|
|
#include "includes.h"
|
|
|
|
#ifdef USE_PAM
|
|
|
|
|
|
|
|
#include <pwd.h> /* For struct passwd */
|
|
|
|
|
2001-01-19 04:46:38 +00:00
|
|
|
void start_pam(const char *user);
|
1999-12-30 04:08:44 +00:00
|
|
|
void finish_pam(void);
|
|
|
|
int auth_pam_password(struct passwd *pw, const char *password);
|
|
|
|
char **fetch_pam_environment(void);
|
2000-12-03 00:51:51 +00:00
|
|
|
int do_pam_authenticate(int flags);
|
1999-12-30 04:08:44 +00:00
|
|
|
int do_pam_account(char *username, char *remote_user);
|
2000-01-26 23:55:38 +00:00
|
|
|
void do_pam_session(char *username, const char *ttyname);
|
2000-10-14 15:08:49 +00:00
|
|
|
void do_pam_setcred(void);
|
1999-12-30 04:08:44 +00:00
|
|
|
void print_pam_messages(void);
|
2001-02-15 00:51:32 +00:00
|
|
|
int is_pam_password_change_required(void);
|
2000-10-14 15:08:49 +00:00
|
|
|
void do_pam_chauthtok(void);
|
2001-02-15 00:51:32 +00:00
|
|
|
void do_pam_set_conv(struct pam_conv *);
|
2001-02-07 01:58:33 +00:00
|
|
|
void message_cat(char **p, const char *a);
|
1999-12-30 04:08:44 +00:00
|
|
|
|
|
|
|
#endif /* USE_PAM */
|