aboutsummaryrefslogtreecommitdiff
path: root/pam_umotd
AgeCommit message (Collapse)AuthorFiles
2018-08-15Major cleanupSergey Poznyakoff1
* lib/graypam.h (gray_pam_init) (gray_raise,gray_malloc,gray_zalloc,gray_calloc) (gray_realloc,gray_strdup): Remove. (gray_slist_err,gray_slist_clrerr): New functions. (gray_slist_append,gray_slist_append_char): Return ssize_t. (gray_slist_coalesce): Likewise. (gray_slist_grow_backslash_num) (gray_slist_grow_backslash): Return int. (errno_to_pam): New function. (gray_set_transform_expr): Return int. * lib/mem.c (gray_raise,gray_malloc,gray_zalloc,gray_calloc) (gray_realloc,gray_strdup): Remove. (gray_2nrealloc): Rewrite. * lib/base64.c: Check return from gray_slist_append_char * lib/env.c: Check return values from gray_slist functions * lib/ldappass.c: Likewise. * lib/slist.c (gray_slist_bucket) <ec>: New member. (gray_slist_err,gray_slist_clrerr): New functions. (gray_slist_append,gray_slist_append_char): Return ssize_t. (gray_slist_coalesce): Likewise. (gray_slist_grow_backslash_num) (gray_slist_grow_backslash): Return int. * lib/transform.c: Use standard memory allocation functions. * pam_ldaphome/pam_ldaphome.c: Likewise. * pam_innetgr/pam_innetgr.c: Likewise. * pam_log/pam_log.c: Likewise. * pam_regex/pam_regex.c: Likewise. * pam_sql/pam_mysql.c: Likewise. * pam_sql/pam_pgsql.c: Likewise.
2018-08-14Minor fixesSergey Poznyakoff1
* configure.ac: Don't build static libraries. * examples/ldappubkey: Optionally authenticate via PAM`
2018-08-12New module pam_innetgr.Sergey Poznyakoff1
* Makefile.am: Add new module. * NEWS: Upgrade * configure.ac: Add configuration for pam_innetgr * pam_innetgr/Makefile.am: New file. * pam_innetgr/pam_innetgr.c: New file. * doc/Makefile.am: Add pam_innetgr.8 * doc/pam-modules.texi: Document pam_innetgr. * doc/pam_innetgr.8: New file. * examples/ldappubkey: Bugfixes (publickeyattribute setting): Accept a list of attributes (publickeyfilter): New setting.
2018-01-01Happy GNU YearSergey Poznyakoff2
2015-01-28Update copyright dates.Sergey Poznyakoff2
2014-12-04Implement audit optionSergey Poznyakoff1
Audit is equivalent to debug=100, i.e. it enables logging maximum debugging output.
2014-05-21Remove deprecated use of INCLUDES from Makefiles.Sergey Poznyakoff1
* Make.rules: Use AM_CPPFLAGS instead of INCLUDES. * Makefile.am (SUBDIRS): Add examples. (dist-hook): Remove. * configure.ac: Build examples/Makefile. * examples/Makefile.am: New file. * pam_fshadow/Makefile.am: Include Make.rules on top. Use += to set AM_CPPFLAGS * pam_groupmember/Makefile.am: Likewise. * pam_ldaphome/Makefile.am: Likewise. * pam_log/Makefile.am: Likewise. * pam_regex/Makefile.am: Likewise. * pam_sql/Makefile.am: Likewise. * pam_umotd/Makefile.am: Likewise.
2014-02-11Update copyright years, set version 1.7.92Sergey Poznyakoff2
2012-07-05pam_umotd: control the LA value.Sergey Poznyakoff1
* pam_umotd/pam_umotd.c: New option max-la. (pam_sm_open_session): Return PAM_IGNORE if the 5 minute LA is greater than the max-la value.
2012-07-04Fix the congfigure script.Sergey Poznyakoff1
* acinclude.m4 (PM_ENABLE): Revamp. Change meaning of the second argument. * configure.ac: Reflect the above change. * pam_umotd/pam_umotd.c: Remove unused includes.
2012-07-04Bugfixes.Sergey Poznyakoff1
* acinclude.m4 (PM_ENABLE): Don't test $build_$1 variable before its initialization. * pam_umotd/pam_umotd.c: Remove unnecessary includes. (exec_file): Argv is not const. (pam_sm_open_session): PAM does not guarantee that argv[] is null-terminated. Create a null-terminated copy for use by exec_file.
2012-07-04Bugfixes.Sergey Poznyakoff1
* pam_umotd/pam_umotd.c (logfile_name): Static. (max_output_size): New variable. (pam_opt): New option max-size. (read_fd): Limit output size. (exec_file): Likewise.
2012-07-04Add pam_umotd module.Sergey Poznyakoff2
* Makefile.am [PAM_COND_UMOTD] (UMOTD_DIR): New variable. (SUBDIRS): Add $(UMOTD_DIR). * configure.ac: Check for security/pam_ext.h. Add pam_umotd module. * lib/graypam.h (pam_opt_type)<pam_opt_rest>: New type. * lib/parseopt.c (gray_parseopt): Upon encoutnering pam_opt_rest parameter, stop further processing and return the index of the next argument. * pam_umotd/Makefile.am: New file. * pam_umotd/pam_umotd.c: New file.

Return to:

Send suggestions and report system problems to the System administrator.