From 3f42e813b61a2492f5b58d514aacf459f0799cdf Mon Sep 17 00:00:00 2001 From: Thorsten Kukuk Date: Wed, 6 Oct 2004 13:42:36 +0000 Subject: Relevant BUGIDs: Purpose of commit: Commit summary: --------------- bugfix: Last part of fixes from Red Hat --- modules/pam_unix/support.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'modules/pam_unix/support.h') 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 /* * 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 */ - -- cgit v1.2.3