From be09d6354efcb2571731bdffc47da86f22621ac8 Mon Sep 17 00:00:00 2001 From: Tomas Mraz Date: Wed, 21 Sep 2005 10:00:58 +0000 Subject: Relevant BUGIDs: Purpose of commit: new feature Commit summary: --------------- Moved functions from pammodutil to libpam. --- modules/pam_shells/Makefile.am | 4 +--- modules/pam_shells/pam_shells.c | 4 ++-- 2 files changed, 3 insertions(+), 5 deletions(-) (limited to 'modules/pam_shells') diff --git a/modules/pam_shells/Makefile.am b/modules/pam_shells/Makefile.am index ad504a0f..4eef6288 100644 --- a/modules/pam_shells/Makefile.am +++ b/modules/pam_shells/Makefile.am @@ -9,10 +9,8 @@ EXTRA_DIST = README securelibdir = $(SECUREDIR) secureconfdir = $(SCONFIGDIR) -AM_CFLAGS = -I$(top_srcdir)/libpam/include -I$(top_srcdir)/libpamc/include \ - -I$(top_srcdir)/modules/pammodutil/include/ +AM_CFLAGS = -I$(top_srcdir)/libpam/include -I$(top_srcdir)/libpamc/include AM_LDFLAGS = -no-undefined -avoid-version -module \ - $(top_builddir)/modules/pammodutil/libpammodutil.la \ -L$(top_builddir)/libpam -lpam if HAVE_VERSIONING AM_LDFLAGS += -Wl,--version-script=../modules.map diff --git a/modules/pam_shells/pam_shells.c b/modules/pam_shells/pam_shells.c index 793b3dff..be4aeb18 100644 --- a/modules/pam_shells/pam_shells.c +++ b/modules/pam_shells/pam_shells.c @@ -31,7 +31,7 @@ #define PAM_SM_ACCOUNT #include -#include +#include #include static int perform_check(pam_handle_t *pamh) @@ -61,7 +61,7 @@ static int perform_check(pam_handle_t *pamh) return PAM_SERVICE_ERR; } - pw = _pammodutil_getpwnam(pamh, userName); + pw = pam_modutil_getpwnam(pamh, userName); if (!pw) { return PAM_AUTH_ERR; /* user doesn't exist */ } -- cgit v1.2.3