2007-10-07 17:14:02 +05:30
|
|
|
#include <security/pam_appl.h>
|
|
|
|
#include <security/pam_misc.h>
|
|
|
|
|
2007-10-07 17:17:11 +05:30
|
|
|
static struct pam_conv conv = {
|
|
|
|
misc_conv,
|
|
|
|
NULL
|
|
|
|
};
|
|
|
|
|
2007-10-07 17:14:02 +05:30
|
|
|
/* compatibility with different versions of Linux-PAM */
|
|
|
|
#ifndef PAM_ESTABLISH_CRED
|
|
|
|
#define PAM_ESTABLISH_CRED PAM_CRED_ESTABLISH
|
|
|
|
#endif
|
|
|
|
#ifndef PAM_DELETE_CRED
|
|
|
|
#define PAM_DELETE_CRED PAM_CRED_DELETE
|
|
|
|
#endif
|
|
|
|
#ifndef PAM_NEW_AUTHTOK_REQD
|
|
|
|
#define PAM_NEW_AUTHTOK_REQD PAM_AUTHTOKEN_REQD
|
|
|
|
#endif
|
|
|
|
#ifndef PAM_DATA_SILENT
|
|
|
|
#define PAM_DATA_SILENT 0
|
|
|
|
#endif
|