diff options
author | Thorsten Kukuk <kukuk@thkukuk.de> | 2004-10-06 13:42:36 +0000 |
---|---|---|
committer | Thorsten Kukuk <kukuk@thkukuk.de> | 2004-10-06 13:42:36 +0000 |
commit | 3f42e813b61a2492f5b58d514aacf459f0799cdf (patch) | |
tree | 7d45281025891630178becc1d3b222e993832f74 /modules/pam_unix/support.h | |
parent | b651aa8d81ecf3072cc52dcd0192905b686d17b1 (diff) | |
download | pam-3f42e813b61a2492f5b58d514aacf459f0799cdf.tar.gz pam-3f42e813b61a2492f5b58d514aacf459f0799cdf.tar.bz2 pam-3f42e813b61a2492f5b58d514aacf459f0799cdf.zip |
Relevant BUGIDs:
Purpose of commit:
Commit summary:
---------------
bugfix: Last part of fixes from Red Hat
Diffstat (limited to 'modules/pam_unix/support.h')
-rw-r--r-- | modules/pam_unix/support.h | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/modules/pam_unix/support.h b/modules/pam_unix/support.h index 7219cd99..b2aa4b40 100644 --- a/modules/pam_unix/support.h +++ b/modules/pam_unix/support.h @@ -5,6 +5,7 @@ #ifndef _PAM_UNIX_SUPPORT_H #define _PAM_UNIX_SUPPORT_H +#include <pwd.h> /* * here is the string to inform the user that the new passwords they @@ -133,6 +134,11 @@ extern int _make_remark(pam_handle_t * pamh, unsigned int ctrl ,int type, const char *text); extern int _set_ctrl(pam_handle_t * pamh, int flags, int *remember, int argc, const char **argv); +extern int _unix_getpwnam (pam_handle_t *pamh, + const char *name, int files, int nis, + struct passwd **ret); +extern int _unix_comesfromsource (pam_handle_t *pamh, + const char *name, int files, int nis); extern int _unix_blankpasswd(pam_handle_t *pamh,unsigned int ctrl, const char *name); extern int _unix_verify_password(pam_handle_t * pamh, const char *name @@ -144,6 +150,6 @@ extern int _unix_read_password(pam_handle_t * pamh ,const char *prompt2 ,const char *data_name ,const char **pass); +extern int _unix_shadowed(const struct passwd *pwd); #endif /* _PAM_UNIX_SUPPORT_H */ - |