auth-pam.h (107861) | auth-pam.h (124211) |
---|---|
1/* $Id: auth-pam.h,v 1.16 2002/07/23 00:44:07 stevesk Exp $ */ 2/* $FreeBSD: head/crypto/openssh/auth-pam.h 107861 2002-12-14 13:52:39Z des $ */ | 1/* $Id: auth-pam.h,v 1.21 2003/09/02 13:18:53 djm Exp $ */ 2/* $FreeBSD: head/crypto/openssh/auth-pam.h 124211 2004-01-07 11:16:27Z des $ */ |
3 4/* 5 * Copyright (c) 2000 Damien Miller. All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions 9 * are met: 10 * 1. Redistributions of source code must retain the above copyright --- 16 unchanged lines hidden (view full) --- 27 28#include "includes.h" 29#ifdef USE_PAM 30 31#if !defined(SSHD_PAM_SERVICE) 32# define SSHD_PAM_SERVICE __progname 33#endif 34 | 3 4/* 5 * Copyright (c) 2000 Damien Miller. All rights reserved. 6 * 7 * Redistribution and use in source and binary forms, with or without 8 * modification, are permitted provided that the following conditions 9 * are met: 10 * 1. Redistributions of source code must retain the above copyright --- 16 unchanged lines hidden (view full) --- 27 28#include "includes.h" 29#ifdef USE_PAM 30 31#if !defined(SSHD_PAM_SERVICE) 32# define SSHD_PAM_SERVICE __progname 33#endif 34 |
35void start_pam(const char *user); | 35void start_pam(const char *); |
36void finish_pam(void); | 36void finish_pam(void); |
37int auth_pam_password(Authctxt *authctxt, const char *password); 38char **fetch_pam_environment(void); 39void free_pam_environment(char **env); 40int do_pam_authenticate(int flags); 41int do_pam_account(const char *username, const char *remote_user); 42void do_pam_session(const char *username, const char *ttyname); 43void do_pam_setcred(int init); 44void print_pam_messages(void); | 37u_int do_pam_account(void); 38void do_pam_session(void); 39void do_pam_set_tty(const char *); 40void do_pam_setcred(int ); |
45int is_pam_password_change_required(void); 46void do_pam_chauthtok(void); | 41int is_pam_password_change_required(void); 42void do_pam_chauthtok(void); |
47void do_pam_set_conv(struct pam_conv *); 48void message_cat(char **p, const char *a); | 43int do_pam_putenv(char *, char *); 44void print_pam_messages(void); 45char ** fetch_pam_environment(void); 46void free_pam_environment(char **); |
49 50#endif /* USE_PAM */ | 47 48#endif /* USE_PAM */ |