Version 2.3.1: add missing pam_sm_setcred symbol

This commit is contained in:
Sergey Poznyakoff 2018-08-13 10:49:24 +03:00
parent 5d171e11b4
commit 23951fcddb
3 changed files with 15 additions and 2 deletions

9
NEWS
View file

@ -1,7 +1,14 @@
pam-modules -- history of user-visible changes. 2018-08-12
pam-modules -- history of user-visible changes. 2018-08-13
See the end of file for copying conditions.
Please send pam-modules bug reports to <bug-pam-modules@gnu.org.ua>
Version 2.3.1, 2018-08-13
* Add missing symbol
pam_innetgr lacked to define the pam_sm_setcred
Version 2.3, 2018-08-12

View file

@ -16,7 +16,7 @@
AC_PREREQ(2.63)
AC_INIT(pam-modules, 2.3, bug-pam-modules@gnu.org.ua)
AC_INIT(pam-modules, 2.3.1, bug-pam-modules@gnu.org.ua)
AC_CONFIG_SRCDIR(pam_fshadow/pam_fshadow.c)
AC_CONFIG_AUX_DIR([build-aux])
AC_CONFIG_MACRO_DIR([m4])

View file

@ -272,6 +272,12 @@ pam_sm_authenticate(pam_handle_t *pamh,
return check_netgroup(pamh, argc, argv, __FUNCTION__);
}
PAM_EXTERN int
pam_sm_setcred(pam_handle_t *pamh, int flags, int argc, const char **argv)
{
return check_netgroup(pamh, argc, argv, __FUNCTION__);
}
PAM_EXTERN int
pam_sm_chauthtok(pam_handle_t *pamh,int flags,int argc,const char **argv)
{