Commit Graph

689 Commits

Author SHA1 Message Date
Thorsten Kukuk
2682f073ed Relevant BUGIDs:
Purpose of commit: new feature

Commit summary:
---------------

2007-07-16  Thorsten Kukuk  <kukuk@thkukuk.de>

        * doc/man/pam.conf-syntax.xml: Improve documentation about
        sufficient keyword (Patch by Petteri Räty <betelgeuse@gentoo.org>)
2007-01-16 16:25:11 +00:00
Thorsten Kukuk
67df1415e3 Relevant BUGIDs:
Purpose of commit: bugfix

Commit summary:
---------------

Don't be more restrictive than useradd for account names:

2006-12-20  Thorsten Kukuk  <kukuk@thkukuk.de>

        * modules/pam_unix/pam_unix_passwd.c (pam_sm_chauthtok): Forbid
        only '+' and '-' as first characters for account names.
        * modules/pam_unix/pam_unix_auth.c (pam_sm_authenticate): Likewise.
2006-12-20 14:56:08 +00:00
Tomas Mraz
5446d7c039 Relevant BUGIDs:
Purpose of commit: bugfix

Commit summary:
---------------
2006-12-18  Tomas Mraz  <t8m@centrum.cz>

        * modules/pam_keyinit/pam_keyinit.c (kill_keyrings): Switch to new
        egid first, euid next. Revert euid/egid to old euid/egid and not
        ruid/rgid.
        (pam_sm_open_session): Switch to new rgid first, ruid next.
2006-12-18 21:07:42 +00:00
Tomas Mraz
40b7dda604 Relevant BUGIDs:
Purpose of commit: bugfix

Commit summary:
---------------
Truncated passwords in shadow do not make sense for other variants than bigcrypt.

2006-12-18  Tomas Mraz  <t8m@centrum.cz>

        * modules/pam_unix/support.c (_unix_verify_password): Use strncmp
        only for bigcrypt result.
2006-12-18 20:09:33 +00:00
Thorsten Kukuk
102d5d74ca Relevant BUGIDs:
Purpose of commit: bugfix

Commit summary:
---------------

2006-12-18  Thorsten Kukuk  <kukuk@thkukuk.de>

        * configure.in: Fix ENOKEY check (specify errno.h as header
        file to search in).
2006-12-18 19:26:21 +00:00
Thorsten Kukuk
8cdf517cae Relevant BUGIDs:
Purpose of commit: bugfix

Commit summary:
---------------

2006-12-18  Thorsten Kukuk  <kukuk@thkukuk.de>

        * configure.in: Add AM_PROG_CC_C_O.
        * libpam/Makefile.am: Add content of AM_LDFLAGS to *_LDFLAGS.
        * modules/pam_tally/Makefile.am: Likewise.
        * modules/pam_unix/Makefile.am: Likewise.
2006-12-18 18:54:55 +00:00
Thorsten Kukuk
d306b6d444 Relevant BUGIDs:
Purpose of commit: bugfix

Commit summary:
---------------

automake 1.10 ignores AM_LDFLAGS if object specific LDFLAGS are
used, too.

2006-12-18  Thorsten Kukuk  <kukuk@thkukuk.de>

	* configure.in: Add AM_PROG_CC_C_O.
	* libpam/Makefile.am: Add content of AM_LDFLAGS to *_LDFLAGS.
	* modules/pam_tally/Makefile.am: Likewise.
	* modules/pam_unix/Makefile.am: Likewise.
2006-12-18 18:50:24 +00:00
Thorsten Kukuk
52fc680992 Relevant BUGIDs:
Purpose of commit: cleanup

Commit summary:
---------------

2006-12-18  Thorsten Kukuk  <kukuk@thkukuk.de>

        * modules/pam_stress/pam_stress.c (pam_sm_chauthtok): Fix
        localisation of message printed to user.
        * po/de.po: Adjust translation.
2006-12-18 14:51:41 +00:00
Tomas Mraz
ca332123df Relevant BUGIDs:
Purpose of commit: bugfix

Commit summary:
---------------
2006-12-18  Tomas Mraz  <t8m@centrum.cz>

        * modules/pam_unix/pam_unix_passwd.c (pam_sm_chauthtok): Localize
        message printed to user.
2006-12-18 13:23:58 +00:00
Thorsten Kukuk
e21c7e7fea Relevant BUGIDs: 1606180
Purpose of commit: new feature

Commit summary:
---------------

2006-12-13  Thorsten Kukuk  <kukuk@suse.de>

        * modules/pam_localuser/pam_localuser.c: Add support for session
        and chauthtok [SF#1606180].
        * modules/pam_localuser/pam_localuser.8.xml: Document last change.

        * libpam/pam_audit.c (_pam_audit_writelog): Print error message
        only once.
2006-12-13 10:35:49 +00:00
Thorsten Kukuk
03209d3db5 Relevant BUGIDs:
Purpose of commit: bugfix

Commit summary:
---------------

2006-12-12  Thorsten Kukuk  <kukuk@thkukuk.de>

        * libpam/pam_audit.c (_pam_audit_writelog): Print error
        message on failure to syslog.
2006-12-12 15:58:01 +00:00
Thorsten Kukuk
e648517eef Relevant BUGIDs:
Purpose of commit: bugfix

Commit summary:
---------------

2006-12-09  Thorsten Kukuk  <kukuk@thkukuk.de>

        * modules/pam_umask/pam_umask.c: Use strtoul instead of strtol,
        fix overflow detection.
2006-12-10 10:37:26 +00:00
Thorsten Kukuk
98822a2108 Relevant BUGIDs:
Purpose of commit: new feature

Commit summary:
---------------

2006-12-06  Thorsten Kukuk  <kukuk@thkukuk.de>

        * modules/pam_faildelay/pam_faildelay.c: If no argument is
        given, try to read FAIL_DELAY from /etc/login.defs.
        * modules/pam_faildelay/pam_faildelay.8.xml: Document usage
        of /etc/login.defs.
2006-12-07 12:34:00 +00:00
Thorsten Kukuk
a4cef64893 Relevant BUGIDs: 1591598
Purpose of commit: bugfix

Commit summary:
---------------

2006-12-06  Thorsten Kukuk  <kukuk@thkukuk.de>

        * modules/pam_mkhomedir/pam_mkhomedir.c (rec_mkdir): Fix
        handling of left-most path component [SF#1591598].
        (create_homedir): Mark user visible messages for translation.
        * po/de.po: Adjust german translation for pam_mkhomedir.
2006-12-06 13:40:50 +00:00
Tomas Mraz
6f10cfe133 Relevant BUGIDs: rhbz #211438
Purpose of commit: bugfix

Commit summary:
---------------
2006-12-04  Tomas Mraz <t8m@centrun.cz>

        * po/jp.po: Fixed mistake in Password: message (from
        Peng Huang <phuang@redhat.com>).
2006-12-04 12:34:51 +00:00
Thorsten Kukuk
0fd1f9d13b Relevant BUGIDs:
Purpose of commit: bugfix

Commit summary:
---------------

2006-11-28  Thorsten Kukuk  <kukuk@thkukuk.de>

        * po/hu.po: Update hungarian translation (from
        Kalman Kemenczy <kkemenczy@novell.com>).
2006-11-28 17:12:41 +00:00
Thorsten Kukuk
ef5bb12282 Relevant BUGIDs:
Purpose of commit: cleanup

Commit summary:
---------------

2006-11-28  Thorsten Kukuk  <kukuk@thkukuk.de>

        * configure.in: Allow disabling support for cracklib, audit, libdb.
2006-11-28 16:15:02 +00:00
Thorsten Kukuk
7d1bd1749e Relevant BUGIDs:
Purpose of commit: cleanup

Commit summary:
---------------

Add new test case to .cvsignore file
2006-11-28 16:06:31 +00:00
Thorsten Kukuk
cad9cf5dc9 Relevant BUGIDs:
Purpose of commit: bugfix

Commit summary:
---------------

2006-11-28  Thorsten Kukuk  <kukuk@thkukuk.de>

        * modules/pam_faildelay/pam_faildelay.8.xml: Correct name of Author.
2006-11-28 15:21:55 +00:00
Thorsten Kukuk
a4ae272de1 Relevant BUGIDs:
Purpose of commit: cleanup

Commit summary:
---------------

2006-11-28  Thorsten Kukuk  <kukuk@thkukuk.de>

        * configure.in: Remove --enable-docdir (obsolete by --docdir).
        * doc/Makefile.am: Don't overwrite htmldir.
        * doc/adg/Makefile.am: Use docdir, htmldir and pdfdir.
        * doc/mwg/Makefile.am: Likewise.
        * doc/sag/Makefile.am: Likewise.
        * doc/specs/Makefile.am: Use docdir.
2006-11-28 12:50:26 +00:00
Thorsten Kukuk
211a01706a Relevant BUGIDs:
Purpose of commit: cleanup

Commit summary:
---------------

2006-11-28  Thorsten Kukuk  <kukuk@thkukuk.de>

        * configure.in: Remove --enable-docdir (obsolete by --docdir).
        * doc/Makefile.am: Don't overwrite htmldir.
        * doc/adg/Makefile.am: Use docdir, htmldir and pdfdir.
        * doc/mwg/Makefile.am: Likewise.
        * doc/sag/Makefile.am: Likewise.
        * doc/specs/Makefile.am: Use docdir.
2006-11-28 11:48:30 +00:00
Thorsten Kukuk
f511ab9fc8 Relevant BUGIDs:
Purpose of commit: bugfix

Commit summary:
---------------

fix last checkin for "make distcheck"
2006-11-28 10:44:49 +00:00
Thorsten Kukuk
97a8b4664a Relevant BUGIDs:
Purpose of commit: bugfix

Commit summary:
---------------

2006-11-28  Thorsten Kukuk  <kukuk@thkukuk.de>

        * tests/tst-pam_set_data.c: New test cases for pam_set_data().
        * tests/Makefile.am: Add pam_set_data test case.

        * libpam/pam_data.c: Add NULL pointer check for module_data_name.
        * libpam/Makefile.am: Bump revision of shared library.
2006-11-28 10:28:03 +00:00
Thorsten Kukuk
be4ffbeb91 Relevant BUGIDs:
Purpose of commit: bugfix

Commit summary:
---------------

   * po/POTFILES.in: Add pam_faildelay.c and pam_loginuid.c.
2006-11-08 11:25:35 +00:00
Thorsten Kukuk
4c09f39787 Relevant BUGIDs:
Purpose of commit: new feature

Commit summary:
---------------

2006-11-08  Thorsten Kukuk  <kukuk@thkukuk.de>

        * configure.in: Add modules/pam_faildelay/Makefile.
        * doc/sag/Linux-PAM_SAG.xml: Include pam_faildelay.xml.
        * doc/sag/pam_faildelay.xml: New.
        * libpam/pam_static_modules.h: Include static pam_faildelay data.
        * modules/Makefile.am: Add pam_faildelay directory.
        * modules/pam_faildelay/Makefile.am: New.
        * modules/pam_faildelay/README: New, generated from XML file.
        * modules/pam_faildelay/README.xml: New.
        * modules/pam_faildelay/pam_faildelay.8: New, generated from xml.
        * modules/pam_faildelay/pam_faildelay.8.xml: New.
        * modules/pam_faildelay/pam_faildelay.c: New.
        * modules/pam_faildelay/tst-pam_faildelay: New.
2006-11-08 11:21:41 +00:00
Thorsten Kukuk
2dc572392c Relevant BUGIDs:
Purpose of commit: bugfix

Commit summary:
---------------

2006-11-07  Thorsten Kukuk  <kukuk@thkukuk.de>

        * modules/pam_cracklib/pam_cracklib.c: PAM_DEBUG_ARG
        is a bit mask and not a boolean value (Reported by
        Jochen Voss <voss@seehuhn.de>).
2006-11-07 11:11:33 +00:00
Thorsten Kukuk
fa6312088d Relevant BUGIDs:
Purpose of commit: bugfix

Commit summary:
---------------

2006-10-26  Thorsten Kukuk  <kukuk@thkukuk.de>

        * modules/pam_motd/pam_motd.8.xml: Fix typo.
2006-10-26 13:51:51 +00:00
Thorsten Kukuk
cc02218cd5 Relevant BUGIDs:
Purpose of commit: bugfix

Commit summary:
---------------

2006-10-26  Thorsten Kukuk  <kukuk@thkukuk.de>

	* doc/man/pam.3.xml: Add pam_get_user function.
2006-10-26 11:22:37 +00:00
Thorsten Kukuk
2c4a6cd7e5 Relevant BUGIDs:
Purpose of commit: bugfix

Commit summary:
---------------

2006-10-24  Thorsten Kukuk  <kukuk@thkukuk.de>

        * modules/pam_namespace/pam_namespace.c: Reserve space for
        trailing zero.
2006-10-24 14:34:19 +00:00
Thorsten Kukuk
06250234a0 Relevant BUGIDs:
Purpose of commit: bugfix

Commit summary:
---------------

2006-10-24  Thorsten Kukuk  <kukuk@thkukuk.de>

        * modules/pam_unix/support.c (_unix_verify_password): Try system
        crypt() if we don't know the hash alogorithm.
        * modules/pam_unix/unix_chkpwd.c (_unix_verify_password): Likewise.
2006-10-24 13:07:51 +00:00
Tomas Mraz
d6acfdc384 Relevant BUGIDs:
Purpose of commit: cleanup

Commit summary:
---------------
2006-10-13  Tomas Mraz <t8m@centrum.cz>

        * doc/sag/Linux-PAM_SAG.xml: Add id to book.
        * doc/adg/Linux-PAM_ADG.xml: Add id to book.
        * doc/mwg/Linux-PAM_MWG.xml: Add id to book.
2006-10-13 12:42:03 +00:00
Tomas Mraz
f28e6faa78 Relevant BUGIDs:
Purpose of commit: cleanup

Commit summary:
---------------
2006-10-13  Tomas Mraz <t8m@centrum.cz>

        * doc/mwg/Linux-PAM_MWG.xml: Add id[s] to section[s].
        * doc/sag/pam_access.xml: Likewise.
        * doc/sag/pam_echo.xml: Likewise.
        * doc/sag/pam_env.xml: Likewise.
        * doc/sag/pam_exec.xml: Likewise.
        * doc/sag/pam_group.xml: Likewise.
        * doc/sag/pam_limits.xml: Likewise.
        * doc/sag/pam_namespace.xml: Likewise.
        * doc/sag/pam_time.xml: Likewise.
2006-10-13 11:33:18 +00:00
Thorsten Kukuk
43ac17c270 Relevant BUGIDs:
Purpose of commit: bugfix

Commit summary:
---------------

2006-10-07  Thorsten Kukuk  <kukuk@suse.de>

        * po/hu.po: Updated hungarian translation (from
        Kalman Kemenczy <kkemenczy@novell.com>)
2006-10-07 09:55:18 +00:00
Thorsten Kukuk
cf3bf3e5e0 Relevant BUGIDs:
Purpose of commit: bugfix

Commit summary:
---------------

Fix typo.
2006-09-20 14:34:37 +00:00
Thorsten Kukuk
8440c76a17 Relevant BUGIDs:
Purpose of commit: new feature/bugfix

Commit summary:
---------------

2006-09-20  Thorsten Kukuk  <kukuk@thkukuk.de>

        * doc/adg/Makefile.am: Add manual pages as dependency.
        * doc/mwg/Makefile.am: Likewise.
        * doc/sag/Makefile.am: Likewise.
        * doc/sag/Linux-PAM_SAG.xml: Include pam_unix.xml.
        * doc/sag/pam_unix.xml: New.
        * modules/pam_unix/Makefile.am: Generate pam_unix.8 manual page.
        * modules/pam_unix/README.xml: New.
        * modules/pam_unix/pam_unix.8.xml: New.
        * modules/pam_unix/README: Regenerate from XML.
        * modules/pam_unix/pam_unix.8: Generated from XML.
2006-09-20 13:46:03 +00:00
Dmitry V. Levin
3cfe927277 Relevant BUGIDs:
Purpose of commit: bugfix

Commit summary:
---------------

2006-09-09  Dmitry V. Levin  <ldv@altlinux.org>

	* modules/pam_wheel/pam_wheel.8.xml: Fix typo.
	* modules/pam_wheel/pam_wheel.8: Likewise.
	* modules/pam_wheel/README: Likewise.
2006-09-09 23:11:34 +00:00
Thorsten Kukuk
9bffb4040a Relevant BUGIDs:
Purpose of commit: bugfix

Commit summary:
---------------

2006-09-08  Thorsten Kukuk  <kukuk@thkukuk.de>

        * po/de.po: Fix typo.
2006-09-08 10:31:43 +00:00
Thorsten Kukuk
ff348c516d Relevant BUGIDs:
Purpose of commit: release

Commit summary:
---------------

Prepare release of Version 0.99.6.3
2006-09-06 12:37:29 +00:00
Thorsten Kukuk
14365044b7 Relevant BUGIDs:
Purpose of commit: bugfix

Commit summary:
---------------

2006-09-01  Thorsten Kukuk  <kukuk@thkukuk.de>

	* modules/pam_loginuid/pam_loginuid.8.xml: Fix typo in
	config name.
2006-09-01 13:17:47 +00:00
Thorsten Kukuk
633c7e0651 Relevant BUGIDs:
Purpose of commit: new feature

Commit summary:
---------------

2006-08-31  Thorsten Kukuk  <kukuk@thkukuk.de>

        * modules/pam_env/environment: New, dummy environment example
        config file.
2006-09-01 11:37:13 +00:00
Thorsten Kukuk
89c393b73d Relevant BUGIDs:
Purpose of commit: bugfix

Commit summary:
---------------

Fix some bugs on older distributions

2006-08-31  Thorsten Kukuk  <kukuk@thkukuk.de>

        * modules/pam_namespace/Makefile.am: Don't install
        manual page if we don't build module.

        * m4/ld-as-needed.m4: Don't set LDFLAGS if check failed.
        * m4/ld-O1: Likewise.
2006-08-31 11:06:15 +00:00
Tomas Mraz
160a0b2ce1 Relevant BUGIDs:
Purpose of commit: new feature

Commit summary:
---------------
2006-08-30  Tomas Mraz  <t8m@centrum.cz>

        * modules/pam_access/pam_access.8.xml: All services supported.
        * modules/pam_access/pam_access.c (pam_sm_open_session): New.
        (pam_sm_close_session): New.
        (pam_sm_chauthtok): New.

        * modules/pam_access/pam_succeed_if.8.xml: All services supported.
        * modules/pam_access/pam_succeed_if.c (pam_sm_setcred): Return
        PAM_IGNORE rather than success.
        (pam_sm_open_session): New.
        (pam_sm_close_session): New.
        (pam_sm_chauthtok): New.
2006-08-30 16:09:05 +00:00
Thorsten Kukuk
424578c5c4 Relevant BUGIDs:
Purpose of commit: cleanup/bugfix

Commit summary:
---------------

2006-08-30  Thorsten Kukuk  <kukuk@thkukuk.de>

        * xtests/Makefile.am: Move shell code to execute tests from here ...
        * xtests/run-xtests.sh: ... to here.
        * xtests/*.c: Include config.h.
        * tests/*.c: Likewise.
2006-08-30 08:45:30 +00:00
Thorsten Kukuk
d668e9e5ee Relevant BUGIDs:
Purpose of commit: cleanup

Commit summary:
---------------

2006-08-30  Thorsten Kukuk  <kukuk@thkukuk.de>

        * modules/pam_namespace/pam_namespace.c: Use pam_modutil_getpwnam()
        instead of getpwnam().
2006-08-30 08:42:38 +00:00
Thorsten Kukuk
338f579d2d Relevant BUGIDs:
Purpose of commit: new feature

Commit summary:
---------------

As discussed with Tomas I'm adding the pam_loginuid module from RH
to make the SELinux/Audit stack complete:

2006-08-29  Thorsten Kukuk  <kukuk@thkukuk.de>

        * doc/sag/pam_loginuid.xml: New.
        * doc/sag/Linux-PAM_SAG.xml: Include pam_loginuid.xml.

        * configure.in: Add modules/pam_loginuid/Makefile.
        * modules/Makefile.am: Add pam_loginuid sub directory.

        * libpam/pam_static_modules.h: Add pam_loginuid.

        * modules/pam_loginuid/Makefile.am: New.
        * modules/pam_loginuid/tst-pam_loginuid: New.
        * modules/pam_loginuid/pam_loginuid.8.xml: New.
        * modules/pam_loginuid/pam_loginuid.8: New, generated from XML source.
        * modules/pam_loginuid/pam_loginuid.c: New.
        * modules/pam_loginuid/README.xml: New.
        * modules/pam_loginuid/README: New, generated from XML source.
2006-08-29 16:21:31 +00:00
Dmitry V. Levin
02bb68f7d7 Relevant BUGIDs:
Purpose of commit: bugfix

Commit summary:
---------------

2006-08-29  Dmitry V. Levin  <ldv@altlinux.org>

	* modules/pam_exec/pam_exec.c (call_exec): Add required third
	argument to open() call with O_CREAT flag set.
2006-08-28 23:02:58 +00:00
Thorsten Kukuk
6fefdd6724 Relevant BUGIDs:
Purpose of commit: cleanup

Commit summary:
---------------

2006-08-28  Thorsten Kukuk  <kukuk@thkukuk.de>

        * modules/pam_cracklib/pam_cracklib.c (pam_sm_chauthtok): Remove
        duplicate code.
2006-08-28 09:50:23 +00:00
Thorsten Kukuk
e2b06236b6 Relevant BUGIDs:
Purpose of commit: bugfix

Commit summary:
---------------

Of course, it should be LOG_WARNING and not LOG_WARN ...
2006-08-24 18:29:30 +00:00
Thorsten Kukuk
4f552174b4 Relevant BUGIDs:
Purpose of commit: bugfix

Commit summary:
---------------

2006-08-24  Thorsten Kukuk  <kukuk@thkukuk.de>

        * release version 0.99.6.2

        * modules/pam_lastlog/pam_lastlog.c (last_login_date): Create
        lastlog file if it does not exist.
2006-08-24 18:01:22 +00:00
Thorsten Kukuk
59a0a22580 Relevant BUGIDs:
Purpose of commit: bugfix

Commit summary:
---------------

2006-08-24  Thorsten Kukuk  <kukuk@thkukuk.de>

        * modules/pam_cracklib/pam_cracklib.c (pam_sm_chauthtok): Check
        for error from getting second token.
        * xtests/Makefile.am: Add tst-pam_cracklib1
        * xtests/tst-pam_cracklib1.c: New, check for pam_cracklib seg.fault.
        * xtests/tst-pam_cracklib1.pamd: New, config for cracklib test.
2006-08-24 11:26:10 +00:00