aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFiles
2012-07-15Upgrade imprimatur.Sergey Poznyakoff1
2012-07-05Version 1.7.91Sergey Poznyakoff2
2012-07-05Document pam_umotd.Sergey Poznyakoff1
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 Poznyakoff3
* 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 Poznyakoff2
* 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-04Update copyright years.Sergey Poznyakoff33
2012-07-04Add pam_umotd module.Sergey Poznyakoff6
* 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.
2012-05-23Bugfixes.Sergey Poznyakoff4
* configure.ac: Version 1.7.90. * NEWS: Update. * doc/Makefile.am (EXTRA_DIST): Remove leftover files. * pam_ldaphome/pam_ldaphome.c (ldap_connect): Set LDAP version before enforcing TLS.
2012-05-18Enable fine-grained control over TLS.Sergey Poznyakoff2
* doc/pam-modules.texi: Document new tls values. * pam_ldaphome/pam_ldaphome.c (ldap_connect): The tls keyword is tri-state. Allowed values are: "yes", "no" and "only".
2012-05-18Improve the docs.Sergey Poznyakoff2
* doc/Makefile.am (check-all-options): Check ldaphome options. (check-ldaphome-config): New rule. (check-options): Add check-ldaphome-config. * doc/pam-modules.texi: Add missing documentation.
2012-05-18Improve configuration for pam_ldaphome.Sergey Poznyakoff2
* doc/pam-modules.texi: Document new configuration keywords. * pam_ldaphome/pam_ldaphome.c (get_intval): Take additional "base" argument. Return 1 if the requested keyword is not present in the database, -1 on error and 0 on success. (ldap_connect): Consult the "ldap-version" configuration variable for the LDAP version to use. (create_home_dir): Read mode for the home directory from the configuration variable "home-dir-mode".
2012-05-17Document pam-modules.texiSergey Poznyakoff1
2012-05-16Minor improvements.Sergey Poznyakoff1
* pam_ldaphome/pam_ldaphome.c (get_ldap_attrs): restore pubkey debug output. (pam_sm_authenticate): New keyword "authorized_keys"
2012-05-15Improve handling of multiple keys.Sergey Poznyakoff1
* pam_ldaphome/pam_ldaphome.c (get_ldap_attrs): return array of values. (store_pubkeys): Fix key comparison.
2012-05-15Allow for multiple authorized keys.Sergey Poznyakoff1
* pam_ldaphome/pam_ldaphome.c (argcvz_free,trimnl): New functions. (get_ldap_attr): Trim trailing newlines from the return value. (ldap_search): Rename to get_pubkeys. Return null-terminated array of sorted lexicographically keys. (store_pubkey): Rename to store_pubkeys, take char ** as its first argument. Store all keys unless the file already contains exactly that set of keys. (import_public_key): Call store_pubkeys. Use argcvz_free to free the keys.
2012-05-15Bugfixes.Sergey Poznyakoff2
* pam_ldaphome/pam_ldaphome.c (argcv_free): Fix multiple free (argcv_concat): Fix overly conservative size calculation and concatenation loop. (parse_ldap_uri): Fix URI reconstruction. (dir_copy_loop): Remove unused variable. (store_pubkey): Return meaningful error code. (import_public_key): Propagate return code from store_pubkey. (create_home_dir): Return meaningful error code. (pam_sm_authenticate): Propagate return code from create_home_dir and import_public_key to the caller. * pam_log/Makefile.am: Remove BUILD_PAM_LOG substitution (complements 1a80b647).
2012-05-15pam_ldaphome: implement populate_homedir.Sergey Poznyakoff1
2012-05-14Initialize submodules in autogen.shSergey Poznyakoff1
2012-05-13Add a placeholder for pam_ldaphome documentation.Sergey Poznyakoff1
2012-05-13Use imprimatur to maintain docs.Sergey Poznyakoff12
2012-05-13Generate ChangeLog automatically from git log.Sergey Poznyakoff4
2012-05-13Migrate to git.Sergey Poznyakoff3
2012-05-13Fix a typoSergey Poznyakoff1
git-svn-id: file:///svnroot/pam-modules/trunk@119 56984be4-0537-0410-a56c-fcb268c96130
2012-05-13Revamp build system. Add pam_ldaphome module.Sergey Poznyakoff13
* configure.ac: Test for ldap. (AC_OUTPUT): Create pam_ldaphome/Makefile. * acinclude.m4 (PM_ENABLE): Declare PAM_COND_<item> conditional in addition to BUILD_PAM_<item> substitution variable. * Makefile.am (SUBDIRS): Include most modules via conditionally defined Makefile variables. * lib/graypam.h (gray_env): New struct. (gray_env_get,gray_env_free,gray_env_read) (gray_boolean_true_p): New protos. * lib/env.c: New file. * lib/Makefile.am (libgraypam_la_SOURCES): Add env.c * pam_fshadow/Makefile.am: Remove BUILD_PAM_FSHADOW substitution. * pam_regex/Makefile.am: Remove BUILD_PAM_REGEX substitution. * pam_sql/pam_sql.c (free_config, boolean_true_p) (read_config): Remove. Use gray_env_* functions instead. All uses updated. * pam_regex/pam_regex.c: Fix typo. * pam_ldaphome/Makefile.am: New file. git-svn-id: file:///svnroot/pam-modules/trunk@118 56984be4-0537-0410-a56c-fcb268c96130
2011-09-29Allow installers to link modules with alternative crypt(3) implementations.Sergey Poznyakoff3
* configure.ac: New option --with-crypt-lib. * README: Document new configuration option. git-svn-id: file:///svnroot/pam-modules/trunk@117 56984be4-0537-0410-a56c-fcb268c96130
2011-08-31Various bugfixes.Sergey Poznyakoff5
* pam_fshadow/pam_fshadow.c (pam_sm_authenticate): Fix erroneous conditional, which allowed for logins with arbitrary passwords if `nopasswd' option was given. * lib/graypam.h (gray_free_transform_expr): New proto. * lib/transform.c (transform) <has_regex>: New member. (free_transform,free_segment): New statics. (gray_free_transform_expr): New function. * pam_regex/pam_regex.c (pam_sm_authenticate): Free slist and transform expression. git-svn-id: file:///svnroot/pam-modules/trunk@116 56984be4-0537-0410-a56c-fcb268c96130
2011-04-08* configure.ac: Enable silent rules. Set version number 1.7.Sergey Poznyakoff4
Require autoconf 2.63, automake 1.11. * pam_log/pam_log.c: Suppress a gcc warning. * NEWS: Update. git-svn-id: file:///svnroot/pam-modules/trunk@114 56984be4-0537-0410-a56c-fcb268c96130
2011-04-08Update copyright yearsSergey Poznyakoff36
git-svn-id: file:///svnroot/pam-modules/trunk@113 56984be4-0537-0410-a56c-fcb268c96130
2011-04-04Update ChangeLogSergey Poznyakoff1
git-svn-id: file:///svnroot/pam-modules/trunk@112 56984be4-0537-0410-a56c-fcb268c96130
2011-04-04Allow for the use of `CALL proc' in MySQL queries.Sergey Poznyakoff1
* pam_sql/pam_mysql.c (flush_result): New static. (mysql_do_query): Call mysql_real_connect with the CLIENT_MULTI_RESULTS flag. (check_query_result, mysql_setenv, gpam_sql_acct): Call flush_result after freeing the result. git-svn-id: file:///svnroot/pam-modules/trunk@111 56984be4-0537-0410-a56c-fcb268c96130
2010-01-02Update copyright years.Sergey Poznyakoff35
Happy GNU Year! git-svn-id: file:///svnroot/pam-modules/trunk@110 56984be4-0537-0410-a56c-fcb268c96130
2009-10-29Improve docs.Sergey Poznyakoff4
* doc/Config: New file * doc/Makefile.am (manual.tar.bz2, man-tar): New rules. * doc/pam-modules.texi: Minor changes. * doc/gendocs_template: Rewrite. git-svn-id: file:///svnroot/pam-modules/trunk@109 56984be4-0537-0410-a56c-fcb268c96130
2009-04-07Minor changesSergey Poznyakoff3
* pamck/conv.c (pamck_conv): Fix handling of PAM_PROMPT_ECHO_ON. * pamck/pamck.c: Minor changes. * pam_sql/pam_sql.c (_pam_get_password): Fix condition. git-svn-id: file:///svnroot/pam-modules/trunk@108 56984be4-0537-0410-a56c-fcb268c96130
2009-02-27Minor changesSergey Poznyakoff3
* pam_fshadow/pam_fshadow.c: Protect shadow-related code with ifdefs. * configure.ac: Check for shadow.h, struct spwd and fgetspent. Do not disable pam_fshadow.c if they are not present. git-svn-id: file:///svnroot/pam-modules/trunk@107 56984be4-0537-0410-a56c-fcb268c96130
2009-02-27Avoid gcc warningsSergey Poznyakoff6
git-svn-id: file:///svnroot/pam-modules/trunk@106 56984be4-0537-0410-a56c-fcb268c96130
2009-02-27Rewrite Makefile.am's in a clearer and simpler waySergey Poznyakoff20
* configure.ac: Require libtool 2.2.5a * Make.rules (.c.lo, .lo.la): Remove (AM_LDFLAGS, INCLUDES, LIBS): New assignments. * pam_sql/Makefile.am, pam_fshadow/Makefile.am, pam_sql/Makefile.am, pam_regex/Makefile.am, pam_log/Makefile.am: Rewrite. * pam_sql/pam_sql.h, pam_sql/pam_mysql.c, pam_sql/pam_pgsql.c. pam_sql/pam_sql.c: Rewrite. * pam_sql/sha1.h, pam_sql/md5.c, pam_sql/md5.h, pam_sql/sha1.c * pam_fshadow/pam_fshadow.c: New option [no]shadow * doc/pam-modules.texi: Update. * lib/graypam.h (gray_trim_ws): New proto * lib/strutil.c: New file. * lib/Makefile.am: Add strutil.c git-svn-id: file:///svnroot/pam-modules/trunk@105 56984be4-0537-0410-a56c-fcb268c96130
2009-02-25Minor fixesSergey Poznyakoff2
git-svn-id: file:///svnroot/pam-modules/trunk@103 56984be4-0537-0410-a56c-fcb268c96130
2009-02-25Implement pamck utility.Sergey Poznyakoff9
* pamck/pamck.c, pamck/pamck.h, pamck/conv.c, pamck/Makefile.am: New files. * doc/pam-modules.texi: Document pamck. * doc/fdl.texi: Move sectioning command to pam-modules.texi. * NEWS: Update. git-svn-id: file:///svnroot/pam-modules/trunk@102 56984be4-0537-0410-a56c-fcb268c96130
2009-02-18Fix improper use of $< in explicit rulesSergey Poznyakoff2
git-svn-id: file:///svnroot/pam-modules/trunk@101 56984be4-0537-0410-a56c-fcb268c96130
2009-02-17Fix configure scriptSergey Poznyakoff9
* pam_fshadow/Makefile.am: Build the module conditionally. * pam_regex/Makefile.am: Likewise. * pam_log/Makefile.am: Likewise. * NEWS, README: Update. * configure.ac: Raise version number to 1.5. Update bug-report address. Add options for disabling fshadow, log and regex. * acinclude.m4: Prefix all macros with PM_ (PM_CHECK_LIB): Rewrite. git-svn-id: file:///svnroot/pam-modules/trunk@98 56984be4-0537-0410-a56c-fcb268c96130
2008-03-20UpdateSergey Poznyakoff1
git-svn-id: file:///svnroot/pam-modules/trunk@97 56984be4-0537-0410-a56c-fcb268c96130
2008-03-20* configure.ac, NEWS: Version 1.4Sergey Poznyakoff5
* doc/pam-modules.texi: Update. * doc/macros.texi (opsummary,kwsummary): Remove anchor definitions, they cause grief in texi2html. git-svn-id: file:///svnroot/pam-modules/trunk@96 56984be4-0537-0410-a56c-fcb268c96130
2008-03-19UpdateSergey Poznyakoff1
git-svn-id: file:///svnroot/pam-modules/trunk@95 56984be4-0537-0410-a56c-fcb268c96130
2008-03-19Improve docsSergey Poznyakoff2
git-svn-id: file:///svnroot/pam-modules/trunk@94 56984be4-0537-0410-a56c-fcb268c96130
2008-03-19UpdateSergey Poznyakoff1
git-svn-id: file:///svnroot/pam-modules/trunk@93 56984be4-0537-0410-a56c-fcb268c96130
2008-03-19Documentation checking framework:Sergey Poznyakoff11
* doc/macros.texi, doc/check-docs.sh, doc/mastermenu.el, doc/untabify.el, doc/rendition.texi: New files. * pam_regex/pam_regex.c: Remove useless use_authtok option. * pam_sql/pam_mysql.c, pam_sql/pam_pgsql.c, pam_sql/pam_sql.c: Pacify `make check-sql-config' in doc. * doc/Makefile.am: Add check-* rules. * doc/pam-modules.texi: Update. git-svn-id: file:///svnroot/pam-modules/trunk@92 56984be4-0537-0410-a56c-fcb268c96130
2008-03-19UpdateSergey Poznyakoff3
git-svn-id: file:///svnroot/pam-modules/trunk@91 56984be4-0537-0410-a56c-fcb268c96130
2008-03-19* configure.ac: Check for pam libraries and header files.Sergey Poznyakoff5
* pam_sql/pam_mysql.c (mysql_setenv): Protect by #ifdef HAVE_PAM_MISC_SETENV. Prevent coredumps on NULL values. * pam_sql/pam_pgsql.c (pgsql_setenv): Likewise. * pam_sql/Makefile.am (pam_mysql_la_LDADD,pam_pgsql_la_LDADD): Add @PAM_MISC@. * pam_sql/pam_sql.c (read_config): Read lines of arbitrary length. git-svn-id: file:///svnroot/pam-modules/trunk@90 56984be4-0537-0410-a56c-fcb268c96130

Return to:

Send suggestions and report system problems to the System administrator.