Age | Commit message (Collapse) | Author | Files |
|
|
|
|
|
|
|
* 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.
|
|
* 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.
|
|
* 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.
|
|
* 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.
|
|
|
|
* 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.
|
|
* 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.
|
|
* 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".
|
|
* 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.
|
|
* 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".
|
|
|
|
* pam_ldaphome/pam_ldaphome.c (get_ldap_attrs): restore pubkey
debug output.
(pam_sm_authenticate): New keyword "authorized_keys"
|
|
* pam_ldaphome/pam_ldaphome.c (get_ldap_attrs): return array of values.
(store_pubkeys): Fix key comparison.
|
|
* 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.
|
|
* 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).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
git-svn-id: file:///svnroot/pam-modules/trunk@119 56984be4-0537-0410-a56c-fcb268c96130
|
|
* 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
|
|
* 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
|
|
* 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
|
|
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
|
|
git-svn-id: file:///svnroot/pam-modules/trunk@113 56984be4-0537-0410-a56c-fcb268c96130
|
|
git-svn-id: file:///svnroot/pam-modules/trunk@112 56984be4-0537-0410-a56c-fcb268c96130
|
|
* 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
|
|
Happy GNU Year!
git-svn-id: file:///svnroot/pam-modules/trunk@110 56984be4-0537-0410-a56c-fcb268c96130
|
|
* 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
|
|
* 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
|
|
* 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
|
|
git-svn-id: file:///svnroot/pam-modules/trunk@106 56984be4-0537-0410-a56c-fcb268c96130
|
|
* 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
|
|
git-svn-id: file:///svnroot/pam-modules/trunk@103 56984be4-0537-0410-a56c-fcb268c96130
|
|
* 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
|
|
git-svn-id: file:///svnroot/pam-modules/trunk@101 56984be4-0537-0410-a56c-fcb268c96130
|
|
* 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
|
|
git-svn-id: file:///svnroot/pam-modules/trunk@97 56984be4-0537-0410-a56c-fcb268c96130
|
|
* 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
|
|
git-svn-id: file:///svnroot/pam-modules/trunk@95 56984be4-0537-0410-a56c-fcb268c96130
|
|
git-svn-id: file:///svnroot/pam-modules/trunk@94 56984be4-0537-0410-a56c-fcb268c96130
|
|
git-svn-id: file:///svnroot/pam-modules/trunk@93 56984be4-0537-0410-a56c-fcb268c96130
|
|
* 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
|
|
git-svn-id: file:///svnroot/pam-modules/trunk@91 56984be4-0537-0410-a56c-fcb268c96130
|
|
* 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
|