]> granicus.if.org Git - linux-pam/log
linux-pam
18 years agoRelevant BUGIDs:
Thorsten Kukuk [Tue, 24 Jan 2006 15:26:36 +0000 (15:26 +0000)]
Relevant BUGIDs:

Purpose of commit: bugfix

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

Fix one german translation

18 years agoRelevant BUGIDs:
Thorsten Kukuk [Tue, 24 Jan 2006 09:47:11 +0000 (09:47 +0000)]
Relevant BUGIDs:

Purpose of commit: cleanup

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

Remove not working register_static script

18 years agoRelevant BUGIDs:
Thorsten Kukuk [Tue, 24 Jan 2006 09:46:36 +0000 (09:46 +0000)]
Relevant BUGIDs:

Purpose of commit: cleanup

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

Remove wrong/unsused files

18 years agoRelevant BUGIDs:
Thorsten Kukuk [Tue, 24 Jan 2006 09:42:46 +0000 (09:42 +0000)]
Relevant BUGIDs:

Purpose of commit: bugfix

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

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

        * modules/pam_debug/pam_debug.c: Fix name of pam_module struct.

18 years agoRelevant BUGIDs: none
Thorsten Kukuk [Mon, 23 Jan 2006 12:36:32 +0000 (12:36 +0000)]
Relevant BUGIDs: none

Purpose of commit: new feature

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

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

        * modules/pam_listfile/pam_listfile.c: Add support for session
        and password management.

18 years agoRelevant BUGIDs: none
Thorsten Kukuk [Sun, 22 Jan 2006 15:40:58 +0000 (15:40 +0000)]
Relevant BUGIDs: none

Purpose of commit: bugfix

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

Fix infrastructure and compile errors for PAM_STATIC (static modules):

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

        * modules/pam_succeed_if/pam_succeed_if.c (pam_sm_acct_mgmt):
        Add support for static modules.
        * modules/pam_xauth/pam_xauth.c: Likewise.

        * libpam/pam_handlers.c (_pam_add_handler): Add pamh to
        _pam_open_static_handler call.

        * libpam/pam_static.c (_pam_open_static_handler): Add pamh
        as argument.
        * libpam/pam_private.h: Adjust prototype.

18 years agoRelevant BUGIDs: none
Thorsten Kukuk [Sun, 22 Jan 2006 07:36:54 +0000 (07:36 +0000)]
Relevant BUGIDs: none

Purpose of commit: bugfix

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

Fix compiling of static version of shared libpam, libpamc and libpam_misc
libraries without assuming "--enable-static-modules  do not make the modules
dynamically loadable".

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

        * configure.in: Don't define PAM_DYNAMIC.
        * libpam/pam_handlers.c: Get ride of PAM_DYNAMIC, don't
        include pam_dynamic.h
        * libpam/pam_dynamic.c: Don't include pam_dynamic.h,
        exclude functions if we compile with PAM_STATIC.
        * libpam/pam_dynamic.h: Remove.
        * libpam/pam_private.h: Add function prototypes from pam_dynamic.h.
        * libpam/Makefile.am: Bump version number of libpam, remove
        pam_dynamic.h.

18 years agoRelevant BUGIDs: none
Thorsten Kukuk [Thu, 19 Jan 2006 12:21:02 +0000 (12:21 +0000)]
Relevant BUGIDs: none

Purpose of commit: bugfix

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

2006-01-19  Thorsten Kukuk  <kukuk@suse.de>

        * doc/specs/Makefile.am (spec): Add padout to fix parallel
        build (Reported by Andreas Haumer <andreas@xss.co.at>).

18 years agoRelevant BUGIDs: bugreport
Thorsten Kukuk [Sun, 15 Jan 2006 09:05:45 +0000 (09:05 +0000)]
Relevant BUGIDs: bugreport

Purpose of commit: bugfix

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

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

* modules/pam_echo/pam_echo.c: Define HOST_NAME_MAX if not
already defined.

18 years agoRelevant BUGIDs: Linux-PAM-0_99_3_0
Thorsten Kukuk [Sat, 14 Jan 2006 12:34:15 +0000 (12:34 +0000)]
Relevant BUGIDs:

Purpose of commit:

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

Adjust for 0.99.3.0 release

18 years agoRelevant BUGIDs:
Thorsten Kukuk [Fri, 13 Jan 2006 20:59:48 +0000 (20:59 +0000)]
Relevant BUGIDs:

Purpose of commit: bugfix

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

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

* libpam_misc/misc_conv.c (misc_conv): Fix strict aliasing
error.

* modules/pam_umask/pam_umask.c (search_key): Don't ignore
EOF/error return value from fgets().

* configure.in: Check for getline and getdelim

18 years agoRelevant BUGIDs: none
Thorsten Kukuk [Fri, 13 Jan 2006 19:25:41 +0000 (19:25 +0000)]
Relevant BUGIDs: none

Purpose of commit: update

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

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

        * po/fi.po: Add new translations.
        * po/de.po: Likewise.
        * po/es.po: Likewise.
        * po/fr.po: Likewise.
        * po/it.po: Likewise.
        * po/ja.po: Likewise.
        * po/pt_BR.po: Likewise.
        * po/zh_CH.po: Likewise.
        * po/zh_TW.po: Likewise.

18 years agoRelevant BUGIDs: none
Dmitry V. Levin [Fri, 13 Jan 2006 14:55:18 +0000 (14:55 +0000)]
Relevant BUGIDs: none

Purpose of commit: cleanup

Commit summary:
---------------
2006-01-13  Dmitry V. Levin  <ldv@altlinux.org>

* libpam/pam_audit.c (_pam_auditlog): Replace strerror(errno)
call with %m specifier.

18 years agoRelevant BUGIDs: none
Thorsten Kukuk [Thu, 12 Jan 2006 15:34:49 +0000 (15:34 +0000)]
Relevant BUGIDs: none

Purpose of commit: new feature

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

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

        * configure.in: Add check for -fpie/-pie
        * modules/pam_filter/upperLOWER/Makefile.am: Compile/link
        upperLOWER with -fpie/-pie if supported.
        * modules/pam_unix/Makefile.am: Compile/link unix_chkpwd
        with -fpie/-pie if supported.

18 years agoRelevant BUGIDs:
Tomas Mraz [Thu, 12 Jan 2006 10:06:49 +0000 (10:06 +0000)]
Relevant BUGIDs:

Purpose of commit: new feature

Commit summary:
---------------
2006-01-12  Steve Grubb  <sgrubb@redhat.com>

        * configure.in: Add check for audit library.
        * libpam/Makefile.am (libpam_la_LDFLAGS): Add LIBAUDIT.
        (libpam_la_SOURCES): Add pam_audit.c.
        * libpam/pam_account.c (pam_acct_mgmt): Add _pam_auditlog() call.
        * libpam/pam_auth.c (pam_authenticate), (pam_setcred): Likewise.
        * libpam/pam_password.c (pam_chauthtok):  Likewise.
        * libpam/pam_session.c (pam_open_session),
        (pam_close_session): Likewise.
        * libpam/pam_private.h: Add audit_state member to pam_handle,
        declare _pam_auditlog and _pam_audit_end.
        * libpam/pam_start.c (pam_start): Initialize audit_state.
        * libpam/pam_audit.c: New file with _pam_auditlog and _pam_audit_end
        implementation.
        * libpam/pam_end.c (pam_end): Add _pam_audit_end() call.
        * NEWS: Note about added auditing.

18 years agoRelevant BUGIDs: none
Thorsten Kukuk [Wed, 11 Jan 2006 12:18:34 +0000 (12:18 +0000)]
Relevant BUGIDs: none

Purpose of commit: bugfix

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

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

        * libpam/Makefile.am (AM_CFLAGS): Define LIBPAM_COMPILE.

        * libpam/include/security/_pam_types.h: Don't define PAM_NONNULL
        if we compile libpam itself.

And update all po files with new line numbers in PAM modules ...

18 years agoRelevant BUGIDs: none
Thorsten Kukuk [Wed, 11 Jan 2006 12:05:57 +0000 (12:05 +0000)]
Relevant BUGIDs: none

Purpose of commit: new feature

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

Update hungarian translation

18 years agoRelevant BUGIDs:
Thorsten Kukuk [Mon, 9 Jan 2006 17:11:46 +0000 (17:11 +0000)]
Relevant BUGIDs:

Purpose of commit: new feature

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

Update norwegian translation

18 years agoRelevant BUGIDs:
Thorsten Kukuk [Sun, 8 Jan 2006 09:36:55 +0000 (09:36 +0000)]
Relevant BUGIDs:

Purpose of commit: cleanup

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

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

        * modules/pam_cracklib/pam_cracklib.c: Use PAM_AUTHTOK_RECOVERY_ERR
        instead of PAM_AUTHTOK_RECOVER_ERR.
        * modules/pam_pwdb/support.-c: Likewise.
        * modules/pam_unix/support.c: Likewise.
        * modules/pam_userdb/pam_userdb.c (pam_sm_authenticate): Likewise.
        * libpam/pam_strerror.c (pam_strerror): Likewise.

        * libpam/include/security/_pam_compat.h: Define
        PAM_AUTHTOK_RECOVER_ERR for backward compatibility.

        * libpam/include/security/_pam_types.h: Rename
        PAM_AUTHTOK_RECOVER_ERR to PAM_AUTHTOK_RECOVERY_ERR.

18 years agoRelevant BUGIDs: none
Thorsten Kukuk [Thu, 5 Jan 2006 13:00:28 +0000 (13:00 +0000)]
Relevant BUGIDs: none

Purpose of commit: bugfix

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

item of pam_get_item() is allowed to be NULL and the behavior is
documented, so we have to allow it.

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

        * libpam/include/security/_pam_types.h: Remove nonnull attribute
        from third paramter (item) of pam_get_item.
        * libpam/Makefile.am: Bump version number of shared library.

19 years agoRelevant BUGIDs:
Tomas Mraz [Wed, 21 Dec 2005 10:04:09 +0000 (10:04 +0000)]
Relevant BUGIDs:

Purpose of commit: new feature

Commit summary:
---------------
        * modules/pam_succeed_if/pam_succeed_if.c (evaluate_ingroup),
        (evaluate_notingroup): Simplified.
        (evaluate_innetgr), (evaluate_notinnetgr): New functions.
        (evaluate): Added calls to evaluate_(not)innetgr().
        * modules/pam_succeed_if/README: Documented netgroup matching.
        * NEWS: Mentioned the added netgroup matching support.

19 years agoRelevant BUGIDs:
Thorsten Kukuk [Tue, 20 Dec 2005 21:28:06 +0000 (21:28 +0000)]
Relevant BUGIDs:

Purpose of commit: new feature

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

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

        * modules/pam_lastlog/pam_lastlog.c (last_login_read): Use
        strftime instead of ctime.

19 years agoRelevant BUGIDs:
Thorsten Kukuk [Tue, 20 Dec 2005 20:55:09 +0000 (20:55 +0000)]
Relevant BUGIDs:

Purpose of commit: bugfix

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

Fix typo in translation

19 years agoRelevant BUGIDs:
Thorsten Kukuk [Mon, 19 Dec 2005 07:41:50 +0000 (07:41 +0000)]
Relevant BUGIDs:

Purpose of commit: bugfix

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

Solaris does not have LOG_AUTHPRIV:

2005-12-19  Thorsten Kukuk  <kukuk@thkukuk.de>

        * libpam/pam_syslog.c: Define LOG_AUTHPRIV as LOG_AUTH on Solaris.
        Reported by Charles_H_Bedford@nbc.gov.

19 years agoRelevant BUGIDs:
Thorsten Kukuk [Mon, 19 Dec 2005 07:31:17 +0000 (07:31 +0000)]
Relevant BUGIDs:

Purpose of commit: new feature

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

2005-12-19  Thorsten Kukuk  <kukuk@thkukuk.de>

        * modules/pam_time/pam_time.c (check_account): Implement
        support for netgroups.

        * modules/pam_time/time.conf: Document usage of netgroups.

19 years agoRelevant BUGIDs: none
Thorsten Kukuk [Fri, 16 Dec 2005 17:52:36 +0000 (17:52 +0000)]
Relevant BUGIDs: none

Purpose of commit: new feature

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

2005-12-16  Thorsten Kukuk  <kukuk@thkukuk.de>

        * modules/pam_group/pam_group.c (check_account): Implement
        support for netgroups.

        * modules/pam_group/group.conf: Add all documentation to this
        example config file and don't reference to outdated configs.

        * modules/pam_group/README: New.

        * modules/pam_group/Makefile.am: Add README to EXTRADIST.

19 years agoRelevant BUGIDs: none
Thorsten Kukuk [Fri, 16 Dec 2005 07:57:07 +0000 (07:57 +0000)]
Relevant BUGIDs: none

Purpose of commit: bugfix

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

2005-12-15  Thorsten Kukuk  <kukuk@suse.de>

        * modules/pam_lastlog/pam_lastlog.c (last_login_read): Don't report an
        error if user logins the first time.

        * modules/pam_lastlog/README: New.

        * modules/pam_lastlog/Makefile.am: Add README to EXTRADIST.

19 years agoRelevant BUGIDs:
Thorsten Kukuk [Wed, 14 Dec 2005 09:58:32 +0000 (09:58 +0000)]
Relevant BUGIDs:

Purpose of commit: bugfix

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

Fix wrong comment.

19 years agoRelevant BUGIDs:
Thorsten Kukuk [Wed, 14 Dec 2005 09:53:06 +0000 (09:53 +0000)]
Relevant BUGIDs:

Purpose of commit: bugfix

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

2005-12-14  Thorsten Kukuk  <kukuk@suse.de>

        * doc/pam_appl.sgml: Fix typo (Reported by
        Russell Bateman <russ@windofkeltia.com>)

19 years agoRelevant BUGIDs: none Linux-PAM-0_99_2_1
Thorsten Kukuk [Mon, 12 Dec 2005 17:34:10 +0000 (17:34 +0000)]
Relevant BUGIDs: none

Purpose of commit: release

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

release version 0.99.2.1

19 years agoRelevant BUGIDs:
Tomas Mraz [Mon, 12 Dec 2005 15:57:29 +0000 (15:57 +0000)]
Relevant BUGIDs:

Purpose of commit: bugfix

Commit summary:
---------------
Fixed typo in string.

19 years agoRelevant BUGIDs: none
Dmitry V. Levin [Mon, 12 Dec 2005 14:45:00 +0000 (14:45 +0000)]
Relevant BUGIDs: none

Purpose of commit: cleanup

Commit summary:
---------------
2005-12-12  Dmitry V. Levin  <ldv@altlinux.org>

Cleanup pam_syslog messages.

* modules/pam_env/pam_env.c (_expand_arg): Fix compiler warning.
* modules/pam_filter/pam_filter.c (set_filter): Append %m
specifier to pam_syslog messages where appropriate.
* modules/pam_group/pam_group.c (read_field): Likewise.
* modules/pam_mkhomedir/pam_mkhomedir.c (make_remark): Remove.
(create_homedir): Do not use make_remark() wrapper, call
pam_info() directly.  Call pam_syslog() right after failed
operation and append %m specifier to pam_syslog messages where
appropriate.
* modules/pam_rhosts/pam_rhosts_auth.c (pam_iruserok): Replace
sequence of malloc(), strcpy() and strcat() calls with asprintf().
Append %m specifier to pam_syslog messages where appropriate.
* modules/pam_securetty/pam_securetty.c (securetty_perform_check):
Append %m specifier to pam_syslog messages where appropriate.
* modules/pam_shells/pam_shells.c (perform_check): Likewise.

19 years agoRelevant BUGIDs:
Tomas Mraz [Mon, 12 Dec 2005 12:47:36 +0000 (12:47 +0000)]
Relevant BUGIDs:

Purpose of commit: bugfix

Commit summary:
---------------
Fixed typo in string. Updated czech translation.

19 years agoRelevant BUGIDs:
Tomas Mraz [Mon, 12 Dec 2005 11:17:00 +0000 (11:17 +0000)]
Relevant BUGIDs:

Purpose of commit: bugfix

Commit summary:
---------------
Fix PS, PDF, TXT and HTML install (by Mike Becher).

19 years agoRelevant BUGIDs: none
Thorsten Kukuk [Mon, 12 Dec 2005 08:22:03 +0000 (08:22 +0000)]
Relevant BUGIDs: none

Purpose of commit: bugfix

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

2005-12-12  Thorsten Kukuk  <kukuk@suse.de>

* modules/pam_mail/README: Document "quiet" and "standard"
options.

19 years agoRelevant BUGIDs: none
Thorsten Kukuk [Wed, 7 Dec 2005 17:09:18 +0000 (17:09 +0000)]
Relevant BUGIDs: none

Purpose of commit: cleanup

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

2005-12-07  Thorsten Kukuk  <kukuk@suse.de>

        * modules/pam_mail/pam_mail.c: Modify assembling of output
        for easier translation.

        * po/de.po: Translate new pam_mail messages.

19 years agoRelevant BUGIDs:
Thorsten Kukuk [Thu, 24 Nov 2005 22:34:04 +0000 (22:34 +0000)]
Relevant BUGIDs:

Purpose of commit: bugfix

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

Fix wrong format specifier (%s instead of %m)

19 years agoRelevant BUGIDs: none
Dmitry V. Levin [Thu, 24 Nov 2005 17:18:52 +0000 (17:18 +0000)]
Relevant BUGIDs: none

Purpose of commit: cleanup

Commit summary:
---------------
2005-11-24  Dmitry V. Levin  <ldv@altlinux.org>

* config.h.in: Remove generated file.
* .cvsignore: Add config.h.in.

19 years agoRelevant BUGIDs: none
Dmitry V. Levin [Thu, 24 Nov 2005 17:15:31 +0000 (17:15 +0000)]
Relevant BUGIDs: none

Purpose of commit: cleanup

Commit summary:
---------------
2005-11-24  Dmitry V. Levin  <ldv@altlinux.org>

* configure.in: Do not check for strerror.
* libpam_misc/misc_conv.c (read_string): Replace strerror()
call with %m specifier.
* libpamc/pamc_converse.c (pamc_converse): Likewise.
* modules/pam_echo/pam_echo.c (pam_echo): Likewise.
* modules/pam_localuser/pam_localuser.c (pam_sm_authenticate):
Likewise.
* modules/pam_selinux/pam_selinux.c (security_label_tty):
Likewise.
(security_restorelabel_tty, security_label_tty): Append %m
specifier where appropriate.
* modules/pam_selinux/pam_selinux_check.c (main): Replace
strerror() call with %m specifier.
* modules/pam_unix/pam_unix_passwd.c (save_old_password,
_update_passwd, _update_shadow): Likewise.
* modules/pam_unix/support.c (_unix_run_helper_binary): Likewise.
* modules/pam_unix/unix_chkpwd.c (_update_shadow): Likewise.
* po/Linux-PAM.pot: Update strings from pam_selinux.
* po/cs.po: Likewise.
* po/de.po: Likewise.
* po/es.po: Likewise.
* po/fi.po: Likewise.
* po/fr.po: Likewise.
* po/hu.po: Likewise.
* po/it.po: Likewise.
* po/ja.po: Likewise.
* po/nb.po: Likewise.
* po/pa.po: Likewise.
* po/pl.po: Likewise.
* po/pt.po: Likewise.
* po/pt_BR.po: Likewise.
* po/zh_CN.po: Likewise.
* po/zh_TW.po: Likewise.

19 years agoRelevant BUGIDs: none
Thorsten Kukuk [Wed, 23 Nov 2005 16:42:39 +0000 (16:42 +0000)]
Relevant BUGIDs: none

Purpose of commit: bugfix

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

2005-11-23  Thorsten Kukuk  <kukuk@suse.de>

        * modules/pam_xauth/pam_xauth.c (pam_sm_open_session): Introduce
        new variable to fix compiler warning.

        * libpam/pam_modutil_getlogin.c (pam_modutil_getlogin): PAM_TTY
        don't need to start with /dev/.

19 years agoRelevant BUGIDs: none Linux-PAM-0_99_2_0
Thorsten Kukuk [Mon, 21 Nov 2005 14:07:49 +0000 (14:07 +0000)]
Relevant BUGIDs: none

Purpose of commit: release

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

Prepare for 0.99.2.0 release

19 years agoRelevant BUGIDs: none
Thorsten Kukuk [Fri, 18 Nov 2005 09:01:00 +0000 (09:01 +0000)]
Relevant BUGIDs: none

Purpose of commit: cleanup

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

Update NEWS file, checkin regenerated po files

19 years agoRelevant BUGIDs:
Thorsten Kukuk [Fri, 18 Nov 2005 08:59:56 +0000 (08:59 +0000)]
Relevant BUGIDs:

Purpose of commit:

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

submit missing files from last checkin

19 years agoRelevant BUGIDs: 534205
Thorsten Kukuk [Fri, 18 Nov 2005 08:57:01 +0000 (08:57 +0000)]
Relevant BUGIDs: 534205

Purpose of commit: new feature

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

2005-11-16  Thorsten Kukuk  <kukuk@thkukuk.de>

        * libpam/pam_handlers.c: Replace code for all dlopen variants with
        a generic wrapper.
        * libpam/pam_dynamic.c: Implement generic wrapper for dlopen.
        * libpam/pam_dynamic.h: Provide prototypes.
        For Mac OS X support [#534205]

19 years agoRelevant BUGIDs: 604380
Thorsten Kukuk [Thu, 17 Nov 2005 08:48:46 +0000 (08:48 +0000)]
Relevant BUGIDs:  604380

Purpose of commit: bugfix

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

Fix compatibility with Solaris if compiled on Solaris:

2005-11-17  Thorsten Kukuk  <kukuk@thkukuk.de>

        * libpam/include/security/_pam_compat.h: Fix wrong #ifdef nesting.
        Redefine PAM_CHANGE_EXPIRED_AUTHTOK [#604380]

19 years agoRelevant BUGIDs: 562730, 435990
Tomas Mraz [Wed, 9 Nov 2005 10:17:00 +0000 (10:17 +0000)]
Relevant BUGIDs: 562730, 435990

Purpose of commit: bugfix

Commit summary:
---------------
        * modules/pam_access/pam_access.c (pam_sm_acct_mgmt): Parse correctly
        full path tty name.
        * modules/pam_time/pam_time.c (pam_sm_acct_mgmt): Parse correctly
        full path tty name. Allow unset tty.
        (logic_member): Allow matching ':' in tty name.
        * modules/pam_group/pam_group.c (pam_sm_acct_mgmt): Parse correctly
        full path tty name. Allow unset tty.
        (logic_member): Allow matching ':' in tty name.

        * libpam_misc/misc_conv.c (read_string): Read only up to EOL if stdin
        is not terminal.

19 years agoRelevant BUGIDs:
Thorsten Kukuk [Mon, 7 Nov 2005 20:09:42 +0000 (20:09 +0000)]
Relevant BUGIDs:

Purpose of commit: bugfix

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

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

        * modules/pam_unix/pam_unix_passwd.c (_unix_verify_shadow): Use
        correct variable names.

And adjust .cvsignore files for libtool generated files.

19 years agoRelevant BUGIDs: Debian bugs #330458, #330852
Steve Langasek [Sun, 6 Nov 2005 12:50:43 +0000 (12:50 +0000)]
Relevant BUGIDs: Debian bugs #330458, #330852

Purpose of commit: bugfix

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

don't treat a missing /etc/environment as a fatal error when attempting
to read it, and try to read this file by default; this restores the
behavior from Linux-PAM 0.76.

19 years agoRelevant BUGIDs: 1245888
Tomas Mraz [Wed, 2 Nov 2005 12:41:34 +0000 (12:41 +0000)]
Relevant BUGIDs: 1245888

Purpose of commit: bugfix

Commit summary:
---------------
        * modules/pam_unix/pam_unix_passwd.c (_unix_verify_shadow): Change the
        logic when comparing dates to handle corner cases better [#1245888].

19 years agoRelevant BUGIDs: 1224807
Tomas Mraz [Wed, 2 Nov 2005 09:40:41 +0000 (09:40 +0000)]
Relevant BUGIDs: 1224807

Purpose of commit: bugfix

Commit summary:
---------------
Fix a typo - strlen of a wrong variable.

19 years agoRelevant BUGIDs: 624214
Thorsten Kukuk [Wed, 2 Nov 2005 08:58:16 +0000 (08:58 +0000)]
Relevant BUGIDs: 624214

Purpose of commit: bugfix

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

2005-10-31  Thorsten Kukuk  <kukuk@suse.de>

        * modules/pam_filter/pam_filter.c: Use XCASE only if defined
        [#624214]

19 years agoRelevant BUGIDs: 1197444
Thorsten Kukuk [Thu, 27 Oct 2005 09:41:24 +0000 (09:41 +0000)]
Relevant BUGIDs: 1197444

Purpose of commit: cleanup

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

doc/man/pam.8: Fix wording for authentication chapter

19 years agoRelevant BUGIDs: Red Hat bz 168180
Tomas Mraz [Wed, 26 Oct 2005 19:05:32 +0000 (19:05 +0000)]
Relevant BUGIDs: Red Hat bz 168180

Purpose of commit: bugfix

Commit summary:
---------------
2005-10-26  Tomas Mraz  <t8m@centrum.cz>

        * modules/pam_unix/pam_unix_acct.c (_unix_run_verify_binary),
        modules/pam_unix/pam_unix_passwd.c (_unix_run_shadow_binary),
        modules/pam_unix/support.c (_unix_run_shadow_binary_): Set real
        uid to 0 before executing the helper if SELinux is enabled.
        * modules/pam_unix/unix_chkpwd.c (main): Disable user check only
        if real uid is 0 (CVE-2005-2977). Log failed password check attempt.

19 years agoRelevant BUGIDs: Red Hat bz 171164
Tomas Mraz [Thu, 20 Oct 2005 17:01:06 +0000 (17:01 +0000)]
Relevant BUGIDs: Red Hat bz 171164

Purpose of commit: new feature

Commit summary:
---------------
2005-10-20  Tomas Mraz  <t8m@centrum.cz>

        * configure.in: Added check for xauth binary and --with-xauth option.
        * config.h.in: Added configurable PAM_PATH_XAUTH.
        * modules/pam_xauth/README,
        modules/pam_xauth/pam_xauth.8: Document where xauth is looked for.
        * modules/pam_xauth/pam_xauth.c (pam_sm_open_session): Implement
        searching xauth binary on multiple places.
        (run_coprocess): Don't use execvp as it can be a security risk.

19 years agoRelevant BUGIDs: Debian bug #53653
Steve Langasek [Tue, 4 Oct 2005 22:56:17 +0000 (22:56 +0000)]
Relevant BUGIDs: Debian bug #53653

Purpose of commit: cleanup

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

Declare public header files extern "C" so that they are C++-safe.

19 years ago2005-10-02 Dmitry V. Levin <ldv@altlinux.org>
Dmitry V. Levin [Tue, 4 Oct 2005 11:35:18 +0000 (11:35 +0000)]
2005-10-02  Dmitry V. Levin  <ldv@altlinux.org>
    Steve Langasek  <vorlon@debian.org>

Cleanup gratuitous use of strdup().
Fix "missing argument" checks.

* modules/pam_env/pam_env.c (_pam_parse): Add const qualifier
to conffile and envfile arguments.  Do not use x_strdup() for
conffile and envfile initialization.  Fix "missing argument"
checks.
(_parse_config_file): Take conffile argument of type "const char *"
instead of "char **".  Do not free conffile.
(_parse_env_file): Take env_file argument of type "const char *"
instead of "char **".  Do not free env_file.
(pam_sm_setcred): Add const qualifier to conf_file and env_file.
Pass conf_file and env_file to _parse_config_file() and
_parse_env_file() by value.
(pam_sm_open_session): Likewise.

* modules/pam_ftp/pam_ftp.c (_pam_parse): Add const qualifier to
users argument.  Do not use x_strdup() for users initialization.
(lookup):  Add const qualifier to list argument.
(pam_sm_authenticate): Add const qualifier to users argument.

* modules/pam_mail/pam_mail.c (_pam_parse): Add const qualifier
to maildir argument.  Do not use x_strdup() for maildir
initialization.  Fix "missing argument" check.
(get_folder): Take path_mail argument of type "const char *"
instead of "char **".  Do not free path_mail.
(_do_mail): Add const qualifier to path_mail argument.
Pass path_mail to get_folder() by value.

* modules/pam_motd/pam_motd.c: Include <syslog.h>.
(pam_sm_open_session): Add const qualifier to motd_path.
Do not use x_strdup() for motd_path initialization.  Do not
free motd_path.  Fix "missing argument" check. Add "unknown
option" warning.

* modules/pam_userdb/pam_userdb.c (_pam_parse): Add const
qualifier to database and cryptmode arguments. Fix "missing
argument" checks.
(pam_sm_authenticate): Add const qualifier to database and cryptmode.
(pam_sm_acct_mgmt): Likewise.

19 years agoRelevant BUGIDs:
Steve Langasek [Sun, 2 Oct 2005 11:49:27 +0000 (11:49 +0000)]
Relevant BUGIDs:

Purpose of commit: cleanup

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

spelling fix in log message (s/acces/access/)

19 years agoRelevant BUGIDs: none
Steve Langasek [Fri, 30 Sep 2005 09:09:51 +0000 (09:09 +0000)]
Relevant BUGIDs: none

Purpose of commit: bugfix

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

Fix memory leak due to gratuitous use of strdup().

19 years agoRelevant BUGIDs: none Linux-PAM-0_99_1_0
Thorsten Kukuk [Tue, 27 Sep 2005 14:04:07 +0000 (14:04 +0000)]
Relevant BUGIDs: none

Purpose of commit:

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

Move release date for 0.99.1.0

19 years agoRelevant BUGIDs: help
Thorsten Kukuk [Tue, 27 Sep 2005 08:49:09 +0000 (08:49 +0000)]
Relevant BUGIDs:

Purpose of commit: bugfix

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

More .cvsignore fixes

19 years agoRelevant BUGIDs: none
Thorsten Kukuk [Tue, 27 Sep 2005 08:45:57 +0000 (08:45 +0000)]
Relevant BUGIDs: none

Purpose of commit: bugfix

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

Install draft and rfc, fix make dist outside source dir.

2005-09-27  Thorsten Kukuk  <kukuk@thkukuk.de>

        * doc/specs/Makefile.am (install-data-local): Install
        rfc and draft.
        (all): Copy rfc if we build outside of source directory.

19 years agoRelevant BUGIDs: none
Thorsten Kukuk [Tue, 27 Sep 2005 08:40:38 +0000 (08:40 +0000)]
Relevant BUGIDs: none

Purpose of commit: cleanup

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

Add more missing .cvsignore files to CVS

19 years agoRelevant BUGIDs:
Thorsten Kukuk [Tue, 27 Sep 2005 08:30:05 +0000 (08:30 +0000)]
Relevant BUGIDs:

Purpose of commit: bugfix

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

commit forgotten .cvsignore files

19 years agoRelevant BUGIDs: none
Thorsten Kukuk [Tue, 27 Sep 2005 08:27:53 +0000 (08:27 +0000)]
Relevant BUGIDs: none

Purpose of commit: cleanup

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

Remove missed file

19 years agoRelevant BUGIDs: none
Thorsten Kukuk [Tue, 27 Sep 2005 06:20:36 +0000 (06:20 +0000)]
Relevant BUGIDs: none

Purpose of commit: bugfix

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

Remove files not containing translations and not distributed by us.

19 years agoRelevant BUGIDs: none
Thorsten Kukuk [Tue, 27 Sep 2005 06:16:10 +0000 (06:16 +0000)]
Relevant BUGIDs: none

Purpose of commit: bugfix/cleanup

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

Some cleanups for building out of tree and docu.

2005-09-27  Thorsten Kukuk  <kukuk@suse.de>

        * NEWS: Document removal of pam_radius.
        * autogen.sh: Make configure script executeable.

        * conv/pam_conv1/Makefile (EXTRA_DIST): Removed lex.yy.c
        (lex.yy.c): Fixed out of tree build.

        * conv/pam_conv1/pam_conv.y: Fix main prototype.

        * README: Adjust.

19 years agoRelevant BUGIDs:
Tomas Mraz [Mon, 26 Sep 2005 19:35:39 +0000 (19:35 +0000)]
Relevant BUGIDs:

Purpose of commit: cleanup

Commit summary:
---------------
2005-09-26  Tomas Mraz  <t8m@centrum.cz>

        * NEWS: Add a few missing entries from CHANGELOG.

        * AUTHORS: Fixed entries for Toady and me

        * Makefile.am (M4_FILES): Fixed out of tree build.
        * doc/specs/Makefile.am (EXTRA_DIST): Removed lex.yy.c
        (spec, lex.yy.c): Fixed out of tree build.

        * modules/pam_userdb/README: Document try_first_pass and
        use_first_pass options, remove use_authtok option.

19 years ago2005-09-26 Dmitry V. Levin <ldv@altlinux.org>
Dmitry V. Levin [Mon, 26 Sep 2005 17:29:02 +0000 (17:29 +0000)]
2005-09-26  Dmitry V. Levin  <ldv@altlinux.org>

* NEWS: Mention changes in pam_lastlog.

19 years agoRelevant BUGIDs: none
Thorsten Kukuk [Mon, 26 Sep 2005 14:54:28 +0000 (14:54 +0000)]
Relevant BUGIDs: none

Purpose of commit: cleanup

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

2005-09-26  Thorsten Kukuk  <kukuk@suse.de>

        * NEWS: New file.
        * autogen.sh: Don't generate NEWS file.
        * CHANGELOG: Document it as obsolete.

19 years agoRelevant BUGIDs: none
Thorsten Kukuk [Mon, 26 Sep 2005 14:38:36 +0000 (14:38 +0000)]
Relevant BUGIDs: none

Purpose of commit: bugfix

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

Mark missing strings for translation

19 years agoRelevant BUGIDs:
Tomas Mraz [Mon, 26 Sep 2005 14:27:09 +0000 (14:27 +0000)]
Relevant BUGIDs:

Purpose of commit: cleanup

Commit summary:
---------------
2005-09-26  Tomas Mraz  <t8m@centrum.cz>

        * modules/pam_unix/pam_unix_acct.c (_unix_run_verify_binary):
        _log_err() -> pam_syslog()
        (pam_sm_acct_mgmt): _log_err() -> pam_syslog(), fix warning.
        * modules/pam_unix/pam_unix_auth.c (pam_sm_authenticate):
        _log_err() -> pam_syslog()
        * modules/pam_unix/pam_unix_passwd.c: removed obsolete ifdef
        (getNISserver, _unix_run_shadow_binary, _update_passwd,
        _update_shadow, _do_setpass, _pam_unix_approve_pass,
        pam_sm_chauthtok): _log_err() -> pam_syslog()
        * modules/pam_unix/pam_unix_sess.c: removed obsolete ifdef
        (pam_sm_open_session, pam_sm_close_session):
        _log_err() -> pam_syslog()
        * modules/pam_unix/support.c (_log_err, converse): removed
        (_make_remark): use pam_prompt() instead of converse()
        (_set_ctrl, _cleanup_failures, _unix_run_helper_binary,
        _unix_verify_password, _unix_read_password):
        _log_err() -> pam_syslog()
        _cleanup(), _unix_cleanup(): Silence unused param warnings.
        (_cleanup_failures, _unix_verify_password, _unix_getpwnam,
        _unix_run_helper_binary): Silence incorrect type warnings.
        (_unix_read_password): Use multiple pam_prompt() and pam_info() calls
        instead of converse().
        * modules/pam_unix/support.h (_log_err): removed
        * modules/pam_unix/unix_chkpwd.c (_log_err): LOG_AUTH -> LOG_AUTHPRIV

19 years agoRelevant BUGIDs: none
Thorsten Kukuk [Mon, 26 Sep 2005 12:49:52 +0000 (12:49 +0000)]
Relevant BUGIDs: none

Purpose of commit: bugfix

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

Fix spec generation and creating tar archive with automake:

        * configure.in: Add doc/specs/Makefile.
        * Makefile.am: Add releasedocs rule.
        * doc/Makefile.am: Add specs subdir, remove files from specs
        directory, add rfc86.0.txt to releasedocs.
        * doc/specs/Makefile.am: New file.
        * doc/specs/formatter/parse.y: move from here ...
        * doc/specs/parse.y: ... here.
        * doc/specs/formatter/parse.lex: move from here ...
        * doc/specs/parse.lex: ... here.

19 years agoRelevant BUGIDs:
Tomas Mraz [Mon, 26 Sep 2005 09:56:28 +0000 (09:56 +0000)]
Relevant BUGIDs:

Purpose of commit: new feature

Commit summary:
---------------
Support for NULL tty for pam_access.
2005-09-23  Tomas Mraz  <t8m@centrum.cz>

        * modules/pam_access/pam_access.c (from_match): Support NULL from.
        (string_match): Support NULL string, add NONE keyword matching it.
        (pam_sm_acct_mgmt): Don't fail when ttyname returns NULL.
        * modules/pam_access/access.conf: NONE keyword description
        * modules/pam_access/README: NONE keyword description

19 years agoRelevant BUGIDs: none
Dmitry V. Levin [Fri, 23 Sep 2005 11:28:55 +0000 (11:28 +0000)]
Relevant BUGIDs: none

Purpose of commit: cleanup

Commit summary:
---------------
2005-09-22  Dmitry V. Levin  <ldv@altlinux.org>

* modules/pam_xauth/pam_xauth.c: (check_acl, pam_sm_open_session,
pam_sm_close_session): Strip redundant "pam_xauth: " prefix from
text of log messages.
(pam_sm_open_session): Replace sequence of malloc(), strcpy()
and strcat() calls with asprintf().  Replace syslog() calls
with pam_syslog().

19 years agoRelevant BUGIDs: none
Dmitry V. Levin [Thu, 22 Sep 2005 22:16:02 +0000 (22:16 +0000)]
Relevant BUGIDs: none

Purpose of commit: bugfix

Commit summary:
---------------
2005-09-22  Dmitry V. Levin  <ldv@altlinux.org>

* modules/pam_nologin/pam_nologin.c (parse_args): Use strncmp()
instead of memcmp() for string comparison.

19 years ago2005-09-21 Dmitry V. Levin <ldv@altlinux.org>
Dmitry V. Levin [Thu, 22 Sep 2005 21:48:50 +0000 (21:48 +0000)]
2005-09-21  Dmitry V. Levin  <ldv@altlinux.org>

* po/Linux-PAM.pot: Update with new strings from pam_mail for
translation.
* po/cs.po: Likewise.
* po/de.po: Likewise.
* po/es.po: Likewise.
* po/fi.po: Likewise.
* po/fr.po: Likewise.
* po/hu.po: Likewise.
* po/it.po: Likewise.
* po/ja.po: Likewise.
* po/nb.po: Likewise.
* po/pa.po: Likewise.
* po/pl.po: Likewise.
* po/pt.po: Likewise.
* po/pt_BR.po: Likewise.
* po/zh_CN.po: Likewise.
* po/zh_TW.po: Likewise.

19 years agoRelevant BUGIDs: none
Dmitry V. Levin [Thu, 22 Sep 2005 21:43:32 +0000 (21:43 +0000)]
Relevant BUGIDs: none

Purpose of commit: bugfix, cleanup

Commit summary:
---------------
2005-09-21  Dmitry V. Levin  <ldv@altlinux.org>

* modules/pam_mail/pam_mail.c: Include <errno.h>.
Remove YOUR_MAIL_VERBOSE_FORMAT, YOUR_MAIL_STANDARD_FORMAT and
NO_MAIL_STANDARD_FORMAT macros.
(parse_args, get_folder): Cleanup error messages.
(get_folder): Fix leak of the path_mail variable in case of
pam_get_user() failure.  Cleanup memory management.
(get_mail_status): Add pam_handle_t* argument. Fix leaks of
namelist variable.  Cleanup memory management. Log memory
allocation failures.  Remove 250-byte limit on Maildir pathname.
(report_mail): Mark text messages for translation.
(_do_mail): Cleanup memory management. Pass pam_handle_t*
to get_mail_status().

19 years agoRelevant BUGIDs: none
Dmitry V. Levin [Thu, 22 Sep 2005 21:35:30 +0000 (21:35 +0000)]
Relevant BUGIDs: none

Purpose of commit: new feature

Commit summary:
---------------
2005-09-21  Dmitry V. Levin  <ldv@altlinux.org>

* modules/pam_nologin/pam_nologin.c: Include <syslog.h>.
(parse_args): Add pam_handle_t* argument.  Log unrecognized
options.
(perform_check): Log pam_get_user() and malloc() failures.
(pam_sm_authenticate, pam_sm_setcred, pam_sm_acct_mgmt):
Pass pam_handle_t* to parse_args().

19 years agoRelevant BUGIDs: none
Thorsten Kukuk [Wed, 21 Sep 2005 13:43:51 +0000 (13:43 +0000)]
Relevant BUGIDs: none

Purpose of commit: new feature

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

Create a ChangeLog file for new checkins

19 years agoRelevant BUGIDs:
Tomas Mraz [Wed, 21 Sep 2005 13:27:10 +0000 (13:27 +0000)]
Relevant BUGIDs:

Purpose of commit: new feature

Commit summary:
---------------
Allow out of tree builds

19 years agoRelevant BUGIDs:
Tomas Mraz [Wed, 21 Sep 2005 12:13:08 +0000 (12:13 +0000)]
Relevant BUGIDs:

Purpose of commit: bugfix

Commit summary:
---------------
oops, forgot to remove backslash

19 years agoRelevant BUGIDs:
Tomas Mraz [Wed, 21 Sep 2005 12:11:23 +0000 (12:11 +0000)]
Relevant BUGIDs:

Purpose of commit: cleanup

Commit summary:
---------------
Remove pammodutil from include directories

19 years agoRelevant BUGIDs:
Tomas Mraz [Wed, 21 Sep 2005 10:54:50 +0000 (10:54 +0000)]
Relevant BUGIDs:

Purpose of commit: bugfix, new feature

Commit summary:
---------------
pam_lastlog: Cleanup, fix broken logic in pam_parse,
modify wtmp by default, nowtmp option switches that off (patch by ldv)

19 years agoRelevant BUGIDs:
Tomas Mraz [Wed, 21 Sep 2005 10:00:58 +0000 (10:00 +0000)]
Relevant BUGIDs:

Purpose of commit: new feature

Commit summary:
---------------
Moved functions from pammodutil to libpam.

19 years agoUpdate with new strings for translation
Thorsten Kukuk [Tue, 20 Sep 2005 17:10:26 +0000 (17:10 +0000)]
Update with new strings for translation

19 years agoRelevant BUGIDs: none
Thorsten Kukuk [Tue, 20 Sep 2005 17:08:58 +0000 (17:08 +0000)]
Relevant BUGIDs: none

Purpose of commit: cleanup

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

Remove no longer used file

19 years agoRelevant BUGIDs: none
Thorsten Kukuk [Tue, 20 Sep 2005 17:06:08 +0000 (17:06 +0000)]
Relevant BUGIDs: none

Purpose of commit: bugfix

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

Add missing License file to EXTRA_DIST

19 years agoRelevant BUGIDs: none
Thorsten Kukuk [Tue, 20 Sep 2005 16:26:26 +0000 (16:26 +0000)]
Relevant BUGIDs: none

Purpose of commit: clenaup

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

Move libprelude macros from acinclude.m4 to m4/libprelude.m4 for
easier update.

19 years agoRelevant BUGIDs: none
Thorsten Kukuk [Tue, 20 Sep 2005 15:40:16 +0000 (15:40 +0000)]
Relevant BUGIDs: none

Purpose of commit: new feature

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

Add finish translation

19 years agoRelevant BUGIDs:
Tomas Mraz [Tue, 20 Sep 2005 13:54:17 +0000 (13:54 +0000)]
Relevant BUGIDs:

Purpose of commit: bugfix

Commit summary:
---------------
pam_unix: Always honor nis flag on password change (by Aaron Hope)

19 years agoRelevant BUGIDs:
Tomas Mraz [Tue, 20 Sep 2005 13:13:54 +0000 (13:13 +0000)]
Relevant BUGIDs:

Purpose of commit: cleanup

Commit summary:
---------------
Revert de-constification of pam_get_data and pam_get_item prototypes

19 years agoRelevant BUGIDs:
Thorsten Kukuk [Tue, 20 Sep 2005 12:56:03 +0000 (12:56 +0000)]
Relevant BUGIDs:

Purpose of commit: cleanup

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

cleanup from ldv (forgot to commit...)

19 years agoRelevant BUGIDs: none
Thorsten Kukuk [Tue, 20 Sep 2005 12:54:58 +0000 (12:54 +0000)]
Relevant BUGIDs: none

Purpose of commit: new feature

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

Commit missing changes for pam_echo

19 years agoRelevant BUGIDs: Red Hat bz 168790
Tomas Mraz [Tue, 20 Sep 2005 12:17:01 +0000 (12:17 +0000)]
Relevant BUGIDs: Red Hat bz 168790

Purpose of commit: bugfix

Commit summary:
---------------
pam_limits: Fix regression from RLIMIT_NICE support (wrong limit
values for other limits are applied) patch by Anton Guda

19 years agoRelevant BUGIDs: none
Thorsten Kukuk [Tue, 20 Sep 2005 11:56:54 +0000 (11:56 +0000)]
Relevant BUGIDs: none

Purpose of commit: new feature

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

Add pam_echo module

19 years agoRelevant BUGIDs: none
Thorsten Kukuk [Tue, 20 Sep 2005 08:31:27 +0000 (08:31 +0000)]
Relevant BUGIDs: none

Purpose of commit: bugfix

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

Fix missing NULL pointer check and us asprintf instead of malloc/snprintf
(from Dmitry V. Levin).

19 years agoRelevant BUGIDs:
Tomas Mraz [Mon, 19 Sep 2005 16:47:20 +0000 (16:47 +0000)]
Relevant BUGIDs:

Purpose of commit: cleanup

Commit summary:
---------------
Major cleanup with bug fixes (testing of possible NULL return values)
Patch by Dmitry V. Levin (ldv)

19 years agoRelevant BUGIDs:
Tomas Mraz [Mon, 19 Sep 2005 15:58:28 +0000 (15:58 +0000)]
Relevant BUGIDs:

Purpose of commit: cleanup

Commit summary:
---------------
Added PAM_NONNULL attributes to some public API (by ldv)
Removed const qualifiers from pam_get_item, pam_get_data to comply
with spec

19 years agoRelevant BUGIDs:
Thorsten Kukuk [Mon, 19 Sep 2005 14:46:07 +0000 (14:46 +0000)]
Relevant BUGIDs:

Purpose of commit: bugfix

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

Fix compiling of libpammodutil and linking against it.

19 years agoRelevant BUGIDs: none
Thorsten Kukuk [Mon, 19 Sep 2005 13:21:44 +0000 (13:21 +0000)]
Relevant BUGIDs: none

Purpose of commit: bugfix

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

Remove removed pam_radius.c