diff options
author | Sergey Poznyakoff <gray@gnu.org.ua> | 2007-08-27 22:38:35 +0000 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org.ua> | 2007-08-27 22:38:35 +0000 |
commit | cf85e27af52453931fe4925056c63c1a5e749bd6 (patch) | |
tree | e5c06581e2d8c8340199cb900b2976472fbcf3b1 /pam_fshadow | |
parent | e49b98a296de9943bb596230e6f100010571dd87 (diff) | |
download | pam-modules-cf85e27af52453931fe4925056c63c1a5e749bd6.tar.gz pam-modules-cf85e27af52453931fe4925056c63c1a5e749bd6.tar.bz2 |
Lots of fixes in pam_mysql
git-svn-id: file:///svnroot/pam-modules/trunk@61 56984be4-0537-0410-a56c-fcb268c96130
Diffstat (limited to 'pam_fshadow')
-rw-r--r-- | pam_fshadow/Makefile.am | 2 | ||||
-rw-r--r-- | pam_fshadow/pam_fshadow.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/pam_fshadow/Makefile.am b/pam_fshadow/Makefile.am index 8aeea74..10849cb 100644 --- a/pam_fshadow/Makefile.am +++ b/pam_fshadow/Makefile.am @@ -25,7 +25,7 @@ NORMAL_UNINSTALL = -rm -f $(DESTDIR)$(pamdir)/pam_fshadow.a $(DESTDIR)$(pamdir)/ pam_fshadow.lo: $(srcdir)/pam_fshadow.c $(LIBTOOL) --mode=compile $(CC) -c -DHAVE_CONFIG_H \ - $(CFLAGS) $(AM_CFLAGS) $(CPPFLAGS) $(AM_CPPFLAGS) $(INCLUDES) $< + $(CFLAGS) $(AM_CFLAGS) $(INCLUDES) $(CPPFLAGS) $(AM_CPPFLAGS) $< pam_fshadow.la$(EXEEXT): pam_fshadow.lo $(LIBTOOL) --mode=link $(CC) -module -export-dynamic \ diff --git a/pam_fshadow/pam_fshadow.c b/pam_fshadow/pam_fshadow.c index 18accfd..63dcb26 100644 --- a/pam_fshadow/pam_fshadow.c +++ b/pam_fshadow/pam_fshadow.c @@ -379,8 +379,6 @@ verify_user_pass(const char *confdir, const char *username, return retval; } -/* --- authentication management functions (only) --- */ - static int copy_backref (pam_handle_t *pamh, const char *name, const char *buf, regmatch_t rmatch[3], int index, char **pstr) @@ -415,6 +413,8 @@ copy_backref (pam_handle_t *pamh, const char *name, return rc; } +/* --- authentication management functions (only) --- */ + PAM_EXTERN int pam_sm_authenticate(pam_handle_t *pamh, int flags, int argc, const char **argv) |