]> granicus.if.org Git - linux-pam/log
linux-pam
19 years agoRelevant BUGIDs: none
Thorsten Kukuk [Wed, 4 May 2005 21:21:00 +0000 (21:21 +0000)]
Relevant BUGIDs: none

Purpose of commit: cleanup

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

Get ride of static buffer for paths

19 years agoRelevant BUGIDs: none
Thorsten Kukuk [Sun, 1 May 2005 07:48:12 +0000 (07:48 +0000)]
Relevant BUGIDs: none

Purpose of commit: cleanup

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

Solve duplicate definition warning

19 years agoRelevant BUGIDs: none
Thorsten Kukuk [Fri, 29 Apr 2005 11:59:56 +0000 (11:59 +0000)]
Relevant BUGIDs: none

Purpose of commit: bugfix

Commit summary:
---------------
Fix some compiler warnings

19 years agoRelevant BUGIDs: none
Thorsten Kukuk [Fri, 29 Apr 2005 11:40:14 +0000 (11:40 +0000)]
Relevant BUGIDs: none

Purpose of commit: bugfix

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

Fix compiler warnings

19 years agoRelevant BUGIDs: none
Thorsten Kukuk [Fri, 29 Apr 2005 08:31:09 +0000 (08:31 +0000)]
Relevant BUGIDs: none

Purpose of commit: bugfix

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

Add missing check for NULL pointer

19 years agoRelevant BUGIDs: 600351,1032922
Thorsten Kukuk [Fri, 29 Apr 2005 08:29:29 +0000 (08:29 +0000)]
Relevant BUGIDs: 600351,1032922

Purpose of commit: bugfix

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

Create parent directories, if they do not exist, and set the permissions
later, so that we can copy the skel directory.

19 years agoRelevant BUGIDs: none
Thorsten Kukuk [Fri, 29 Apr 2005 08:13:26 +0000 (08:13 +0000)]
Relevant BUGIDs: none

Purpose of commit: cleanup

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

Set PAM_DEFAULT_PROMPT to "login: " as already done by all
Linux distributors.

19 years agoRelevant BUGIDs:
Tomas Mraz [Tue, 19 Apr 2005 07:37:50 +0000 (07:37 +0000)]
Relevant BUGIDs:

Purpose of commit: bugfix

Commit summary:
---------------
Various cleanups and minor bugfixes by Steve Grubb.

19 years agoRelevant BUGIDs:
Tomas Mraz [Tue, 12 Apr 2005 16:25:46 +0000 (16:25 +0000)]
Relevant BUGIDs:

Purpose of commit: bugfix

Commit summary:
---------------
pam_unix: nis option shouldn't clear the shadow option

19 years agoRelevant BUGIDs: Red Hat bz #150537
Tomas Mraz [Fri, 8 Apr 2005 15:08:16 +0000 (15:08 +0000)]
Relevant BUGIDs: Red Hat bz #150537

Purpose of commit: bugfix

Commit summary:
---------------
misc_conv: flush input first then print the prompt - fixes problem
with expect scripts

19 years agoRelevant BUGIDs: Red Hat bz #88127
Tomas Mraz [Fri, 8 Apr 2005 13:18:09 +0000 (13:18 +0000)]
Relevant BUGIDs: Red Hat bz #88127

Purpose of commit:

Commit summary:
---------------
pam_unix: fix regression introduced in 0.78 - both NIS and local password
should be changed if possible - see the analysis in the RH bugzilla

19 years agoRelevant BUGIDs:
Tomas Mraz [Mon, 4 Apr 2005 09:46:10 +0000 (09:46 +0000)]
Relevant BUGIDs:

Purpose of commit: bugfix

Commit summary:
---------------
Test for NULL data before dereferencing them

19 years agoRelevant BUGIDs:
Thorsten Kukuk [Thu, 31 Mar 2005 14:58:36 +0000 (14:58 +0000)]
Relevant BUGIDs:

Purpose of commit:

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

Prepare for future development

19 years agoRelevant BUGIDs: none Linux-PAM-0-79
Thorsten Kukuk [Thu, 31 Mar 2005 14:50:39 +0000 (14:50 +0000)]
Relevant BUGIDs: none

Purpose of commit: none

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

Set release date

19 years agoImproved log facilities
Sebastien Tricaud [Thu, 31 Mar 2005 00:31:57 +0000 (00:31 +0000)]
Improved log facilities

19 years agoRelevant BUGIDs: none
Thorsten Kukuk [Wed, 30 Mar 2005 14:59:35 +0000 (14:59 +0000)]
Relevant BUGIDs: none

Purpose of commit: bugfix

Commit summary:
---------------
include errno.h if errno is used.

19 years agoRelevant BUGIDs:
Tomas Mraz [Wed, 30 Mar 2005 10:42:54 +0000 (10:42 +0000)]
Relevant BUGIDs:

Purpose of commit: bugfix

Commit summary:
---------------
Fix wrong allocation in _pammodutil_gr* functions.
Raise the limit on allocated memory size.
Don't retry call if not ERANGE or EINTR

19 years agofixed configure issue with new cracklib
Sebastien Tricaud [Wed, 30 Mar 2005 09:45:55 +0000 (09:45 +0000)]
fixed configure issue with new cracklib

19 years agoprelude ids support
Sebastien Tricaud [Tue, 29 Mar 2005 20:41:18 +0000 (20:41 +0000)]
prelude ids support

19 years agoRelevant BUGIDs: none
Thorsten Kukuk [Tue, 29 Mar 2005 14:05:40 +0000 (14:05 +0000)]
Relevant BUGIDs: none

Purpose of commit: bugfix

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

Fix make clean (remove symlinks)

19 years agoRelevant BUGIDs: -
Tomas Mraz [Wed, 23 Mar 2005 14:35:21 +0000 (14:35 +0000)]
Relevant BUGIDs: -

Purpose of commit: bugfix

Commit summary:
---------------
Improve LSB-2.0 compliance

19 years agoFixed typo issue
Sebastien Tricaud [Wed, 16 Mar 2005 00:06:01 +0000 (00:06 +0000)]
Fixed typo issue

19 years agoRelevant BUGIDs: Novell #66885
Thorsten Kukuk [Mon, 14 Mar 2005 09:42:27 +0000 (09:42 +0000)]
Relevant BUGIDs: Novell #66885

Purpose of commit: bugfix

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

DISPLAY variable was not preserved, which means that pam_xauth only
works if the calling application takes care of it.

19 years agoRelevant BUGIDs: mail
Thorsten Kukuk [Mon, 21 Feb 2005 09:52:05 +0000 (09:52 +0000)]
Relevant BUGIDs: mail

Purpose of commit: bugfix

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

The following reported by mail was fixed:

"I've been in trouble using the '%group' feature in the limits.conf file.
There are priorities when settings the limits and the order is as
enumerated here. The problem is that the initial value is
LIMITS_DEF_NONE, so neither LIMITS_DEF_ALL nor LIMITS_DEF_ALLGROUP
can ever be set."

19 years agoRelevant BUGIDs:
Thorsten Kukuk [Mon, 7 Feb 2005 08:18:53 +0000 (08:18 +0000)]
Relevant BUGIDs:

Purpose of commit: bugfix

Commit summary:
---------------
Fix wrong variable name in debug code

19 years agoRelevant BUGIDs: Red Hat bz 98745
Tomas Mraz [Fri, 4 Feb 2005 15:04:51 +0000 (15:04 +0000)]
Relevant BUGIDs: Red Hat bz 98745

Purpose of commit: docfix

Commit summary:
---------------
Make the documentation of pam_shells reflect reality.

19 years agoRelevant BUGIDs: 1106011
Thorsten Kukuk [Tue, 25 Jan 2005 10:43:11 +0000 (10:43 +0000)]
Relevant BUGIDs: 1106011

Purpose of commit: bugfix

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

Fix compilation on systems without PATH_MAX

19 years agoRelevant BUGIDs: none
Tomas Mraz [Mon, 24 Jan 2005 14:04:17 +0000 (14:04 +0000)]
Relevant BUGIDs: none

Purpose of commit: bugfix

Commit summary:
---------------
Fix possible segfault in the last patch to pam_tally.

19 years agoFixed string issue for backward compatibility (pointed out by Yoann Vandoorselaere)
Sebastien Tricaud [Wed, 19 Jan 2005 10:45:12 +0000 (10:45 +0000)]
Fixed string issue for backward compatibility (pointed out by Yoann Vandoorselaere)

19 years agoAudit option added
Sebastien Tricaud [Sun, 16 Jan 2005 22:12:24 +0000 (22:12 +0000)]
Audit option added

19 years agoRelevant BUGIDs:
Tomas Mraz [Wed, 12 Jan 2005 10:56:57 +0000 (10:56 +0000)]
Relevant BUGIDs:

Purpose of commit: cleanup

Commit summary:
---------------
Get user name by pam_get_user call instead of pam_get_item

19 years agoRelevant BUGIDs:
Thorsten Kukuk [Mon, 10 Jan 2005 10:31:32 +0000 (10:31 +0000)]
Relevant BUGIDs:

Purpose of commit: bugfix

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

Fix seg.fault in case the PAM configuration file is corrupt

19 years agoRelevant BUGIDs: 872943
Thorsten Kukuk [Mon, 10 Jan 2005 09:45:37 +0000 (09:45 +0000)]
Relevant BUGIDs: 872943

Purpose of commit: bugfix

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

Fix return value for unknown user (This is PAM_USER_UNKNOWN and
not PAM_AUTHINFO_UNAVAIL).

19 years agoRelevant BUGIDs: 629251, Red Hat bz 143750
Tomas Mraz [Fri, 7 Jan 2005 15:31:26 +0000 (15:31 +0000)]
Relevant BUGIDs: 629251, Red Hat bz 143750

Purpose of commit: bugfix

Commit summary:
---------------
libpam: don't return PAM_IGNORE if the impression is positive and
  using cached chain
pam_nologin: don't overwrite return value with return from pam_get_item

19 years agoRelevant BUGIDs: Red Hat bz 60930
Tomas Mraz [Fri, 7 Jan 2005 13:52:42 +0000 (13:52 +0000)]
Relevant BUGIDs: Red Hat bz 60930

Purpose of commit: bugfix, new feature

Commit summary:
---------------
major rewrite of the pam_tally module

19 years agoRelevant BUGIDs: Red Hat bz 131190
Tomas Mraz [Fri, 7 Jan 2005 12:16:01 +0000 (12:16 +0000)]
Relevant BUGIDs: Red Hat bz 131190

Purpose of commit: new feature

Commit summary:
---------------
Support new limits of Linux kernel 2.6

19 years agoRelevant BUGIDs: 872945
Thorsten Kukuk [Wed, 5 Jan 2005 16:15:26 +0000 (16:15 +0000)]
Relevant BUGIDs: 872945

Purpose of commit: bugfix

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

Calling pam_chauthtok of pam_unix and entering the correct old password,
but abort on typing the new one, PAM_AUTHTOK_RECOVER_ERR is returned.
Since we got the old token, PAM_AUTHTOK_ERR needs to be returned.
Found by LSB PAM testsuite.

19 years agoRelevant BUGIDs: report per email
Thorsten Kukuk [Tue, 4 Jan 2005 11:41:46 +0000 (11:41 +0000)]
Relevant BUGIDs: report per email

Purpose of commit: bugfix

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

Don't abort, if cracklib dictionaries were not found, but tell the
user that pam_cracklib will not be built.

19 years agoRelevant BUGIDs: Red Hat bz 120694
Tomas Mraz [Tue, 4 Jan 2005 08:42:42 +0000 (08:42 +0000)]
Relevant BUGIDs: Red Hat bz 120694

Purpose of commit: bugfix

Commit summary:
---------------
skip logging of 'user unknown' authentication failure if the user
has passwd entry

19 years agoRelevant BUGIDs: Red Hat bz 143777
Tomas Mraz [Mon, 27 Dec 2004 15:47:57 +0000 (15:47 +0000)]
Relevant BUGIDs: Red Hat bz 143777

Purpose of commit: cleanup

Commit summary:
---------------
Added missing arguments to pam_succeed_if manpage

19 years agoRelevant BUGIDs: Red Hat bz 139539
Tomas Mraz [Fri, 3 Dec 2004 09:43:10 +0000 (09:43 +0000)]
Relevant BUGIDs: Red Hat bz 139539

Purpose of commit: bugfix

Commit summary:
---------------
Rearrange conditions in pam_unix_acct to make it more reliable with large
values of expiration times.

19 years agoRelevant BUGIDs: Red Hat bz 140451
Tomas Mraz [Tue, 23 Nov 2004 12:53:19 +0000 (12:53 +0000)]
Relevant BUGIDs: Red Hat bz 140451

Purpose of commit: bugfix

Commit summary:
---------------
Convert uid gid from passwd entry always as decimal. Test failure.

19 years agoRelevant BUGIDs:
Thorsten Kukuk [Fri, 19 Nov 2004 08:43:37 +0000 (08:43 +0000)]
Relevant BUGIDs:

Purpose of commit:

new feature

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

set version number to 0.79

19 years agoRelevant BUGIDs: Linux-PAM-0-78
Thorsten Kukuk [Fri, 19 Nov 2004 08:16:30 +0000 (08:16 +0000)]
Relevant BUGIDs:

Purpose of commit:

release

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

Release version 0.78

19 years agoRelevant BUGIDs: Redhat bz 69279
Tomas Mraz [Wed, 17 Nov 2004 12:54:29 +0000 (12:54 +0000)]
Relevant BUGIDs: Redhat bz 69279

Purpose of commit: bugfix

Commit summary:
---------------
pam_unix: Forced password change shouldn't trump account expiration

19 years agoRelevant BUGIDs: Red Hat bz 103442
Tomas Mraz [Tue, 16 Nov 2004 18:12:31 +0000 (18:12 +0000)]
Relevant BUGIDs: Red Hat bz 103442

Purpose of commit: bugfix

Commit summary:
---------------
Simple doc fix (parameter is file not passwd)

19 years agoApplied debian patches
Sebastien Tricaud [Tue, 16 Nov 2004 14:27:40 +0000 (14:27 +0000)]
Applied debian patches

19 years agoRelevant BUGIDs: Red Hat bz 77646
Tomas Mraz [Thu, 11 Nov 2004 13:19:34 +0000 (13:19 +0000)]
Relevant BUGIDs: Red Hat bz 77646

Purpose of commit: bugfix

Commit summary:
---------------
Test return value of renames for failure so user knows
that his password wasn't really changed.
Also report error when /etc/security/opasswd is missing and
pam_unix module is called with remember=x.

19 years agoRelevant BUGIDs: Red Hat bz 73351
Tomas Mraz [Thu, 11 Nov 2004 13:04:55 +0000 (13:04 +0000)]
Relevant BUGIDs: Red Hat bz 73351

Purpose of commit: new feature

Commit summary:
---------------
Add only_root option to pam_wheel to make it affect
only authentication to root account.

19 years agoRelevant BUGIDs:
Tomas Mraz [Thu, 11 Nov 2004 09:15:54 +0000 (09:15 +0000)]
Relevant BUGIDs:

Purpose of commit: bugfix

Commit summary:
---------------
I've forgot to remove some selinux specific part when changing
locking in pam_unix_passwd

19 years agoRelevant BUGIDs: Redhat BZ 115309
Tomas Mraz [Wed, 10 Nov 2004 09:44:32 +0000 (09:44 +0000)]
Relevant BUGIDs: Redhat BZ 115309

Purpose of commit: bugfix

Commit summary:
---------------
Change the order of password change (first try local, then NIS)

19 years agoRelevant BUGIDs:
Tomas Mraz [Mon, 8 Nov 2004 10:57:15 +0000 (10:57 +0000)]
Relevant BUGIDs:

Purpose of commit: bugfix

Commit summary:
---------------
getlogin doesn't cache the login name properly

19 years agoRelevant BUGIDs:
Thorsten Kukuk [Mon, 8 Nov 2004 08:58:37 +0000 (08:58 +0000)]
Relevant BUGIDs:

Purpose of commit:

bugfix

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

Fix make clean for pam_unix (remove bigcrypt binary)

20 years agoRelevant BUGIDs:
Tomas Mraz [Thu, 4 Nov 2004 11:49:39 +0000 (11:49 +0000)]
Relevant BUGIDs:

Purpose of commit:
bugfix
Commit summary:
---------------
Make limiting logins for users in a group actually work

20 years agoRelevant BUGIDs:
Tomas Mraz [Thu, 4 Nov 2004 11:44:56 +0000 (11:44 +0000)]
Relevant BUGIDs:

Purpose of commit:
bugfix
Commit summary:
---------------
Fix locking in pam_unix_passwd to avoid race on changing passwords

20 years agoRelevant BUGIDs:
Tomas Mraz [Thu, 4 Nov 2004 08:12:38 +0000 (08:12 +0000)]
Relevant BUGIDs:

Purpose of commit:
bugfix
Commit summary:
---------------
Revert the change in previous pam_limits.c commit it's already
compensated by count=1 assignment

20 years agoRelevant BUGIDs: Linux-PAM-0-78-Beta1
Thorsten Kukuk [Thu, 14 Oct 2004 14:47:53 +0000 (14:47 +0000)]
Relevant BUGIDs:

Purpose of commit:

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

bugfix: Fix "make releases"

20 years agoRelevant BUGIDs:
Thorsten Kukuk [Wed, 6 Oct 2004 13:42:36 +0000 (13:42 +0000)]
Relevant BUGIDs:

Purpose of commit:

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

bugfix: Last part of fixes from Red Hat

20 years agoRelevant BUGIDs:
Thorsten Kukuk [Thu, 30 Sep 2004 12:29:18 +0000 (12:29 +0000)]
Relevant BUGIDs:

Purpose of commit:

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

bugfix: Preserve permissions of shadow/passwd file. From Red Hat.

20 years agoRelevant BUGIDs:
Thorsten Kukuk [Tue, 28 Sep 2004 13:48:45 +0000 (13:48 +0000)]
Relevant BUGIDs:

Purpose of commit:

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

bugfix:

* Merge patches from Red Hat (Bug 477000 and other - kukuk)
* Fix pam_rhosts option parsing (Bug 922648 - kukuk)

20 years agoRelevant BUGIDs:
Thorsten Kukuk [Fri, 24 Sep 2004 13:14:14 +0000 (13:14 +0000)]
Relevant BUGIDs:

Purpose of commit:

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

bugfix: Add missing files

20 years agoRelevant BUGIDs:
Thorsten Kukuk [Fri, 24 Sep 2004 13:13:18 +0000 (13:13 +0000)]
Relevant BUGIDs:

Purpose of commit:

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

bugfix: 440107: Add various patches from Linux Distibutors to make
PAM modules reentrant.

20 years agoRelevant BUGIDs:
Thorsten Kukuk [Fri, 24 Sep 2004 11:49:37 +0000 (11:49 +0000)]
Relevant BUGIDs:

Purpose of commit:

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

new feature: Bug 436444: Add pam_localuser module

20 years agoRelevant BUGIDs:
Thorsten Kukuk [Fri, 24 Sep 2004 11:42:39 +0000 (11:42 +0000)]
Relevant BUGIDs:

Purpose of commit:

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

new feature: Add pam_succeed_if Module

20 years agoRelevant BUGIDs:
Thorsten Kukuk [Fri, 24 Sep 2004 09:18:21 +0000 (09:18 +0000)]
Relevant BUGIDs:

Purpose of commit:

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

bugfix: Fix lot of compiler warnings
new feature: add broken_shadow option to pam_unix (patch from Linux
             distributions)

20 years agoRelevant BUGIDs:
Thorsten Kukuk [Thu, 23 Sep 2004 15:52:55 +0000 (15:52 +0000)]
Relevant BUGIDs:

Purpose of commit:

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

bugfix:
- Add targets for installing man pages for modules
- Fix check for libcrypt (Bug 417704)

20 years agoRelevant BUGIDs:
Thorsten Kukuk [Thu, 23 Sep 2004 15:41:58 +0000 (15:41 +0000)]
Relevant BUGIDs:

Purpose of commit:

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

new feature: Add pam_xauth (Bug 436440)

20 years agoRelevant BUGIDs:
Thorsten Kukuk [Wed, 22 Sep 2004 13:00:39 +0000 (13:00 +0000)]
Relevant BUGIDs:

Purpose of commit:

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

bugfix: Fix compiler warnings

20 years agoRelevant BUGIDs:
Thorsten Kukuk [Wed, 22 Sep 2004 12:51:20 +0000 (12:51 +0000)]
Relevant BUGIDs:

Purpose of commit:

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

bugfix 1032604: differentiate between Ctrl-D and Return

20 years agoRelevant BUGIDs:
Thorsten Kukuk [Wed, 22 Sep 2004 09:37:46 +0000 (09:37 +0000)]
Relevant BUGIDs:

Purpose of commit:

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

bugfix: Add rest of Steve Grubb's resource leak and other fixes

20 years agoRelevant BUGIDs:
Thorsten Kukuk [Wed, 15 Sep 2004 12:06:17 +0000 (12:06 +0000)]
Relevant BUGIDs:

Purpose of commit:

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

bugfix: Add parts of Steve Grubb's resource leak and other fixes

20 years agoRelevant BUGIDs:
Thorsten Kukuk [Wed, 15 Sep 2004 09:14:28 +0000 (09:14 +0000)]
Relevant BUGIDs:

Purpose of commit:

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

bugfix: First round of Linux distributor patch merges

20 years agoRelevant BUGIDs:
Thorsten Kukuk [Tue, 14 Sep 2004 14:22:39 +0000 (14:22 +0000)]
Relevant BUGIDs:

Purpose of commit:

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

bugfix: merge with BerliOS

20 years agoRelevant BUGIDs:
Thorsten Kukuk [Tue, 14 Sep 2004 13:48:38 +0000 (13:48 +0000)]
Relevant BUGIDs:

Purpose of commit:

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

bugfix: Bug 1027903 and 1027912

20 years agoRelevant BUGIDs:
Thorsten Kukuk [Tue, 14 Sep 2004 13:16:29 +0000 (13:16 +0000)]
Relevant BUGIDs:

Purpose of commit:

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

docufix: pam_mkhomedir: Remove wrong debug options (Bug 591605)

20 years agoRelevant BUGIDs: 850092
Thorsten Kukuk [Thu, 27 Nov 2003 07:54:20 +0000 (07:54 +0000)]
Relevant BUGIDs: 850092

Purpose of commit: bugfix

Commit summary:
---------------
Using the fakeroot option as normal user does not work, since
we call ldconfig, which aborts with an error message if not
called  as root due missing permissions.
Fixed by calling ldconfig with -n library path option if FAKEROOT
is set.

20 years agoRelevant BUGIDs: 840327
Thorsten Kukuk [Thu, 27 Nov 2003 07:49:46 +0000 (07:49 +0000)]
Relevant BUGIDs: 840327

Purpose of commit: bugfix

Commit summary:
---------------
Mike Civil found out, that the location of the default config file
is empty. Fixed by using the correct define.

20 years agoRelevant BUGIDs: 808022
Thorsten Kukuk [Wed, 26 Nov 2003 11:05:55 +0000 (11:05 +0000)]
Relevant BUGIDs: 808022

Purpose of commit: bugfix

Commit summary:
---------------
_pam_aconf.h will be no longer installed.
It's a configuration header generated by autoconf, and could
interfere with applications which might include it. None of the
other installed headers include it, either, so it doesn't
serve any purpose.

20 years agoRelevant BUGIDs: 849545
Thorsten Kukuk [Wed, 26 Nov 2003 10:31:10 +0000 (10:31 +0000)]
Relevant BUGIDs: 849545

Purpose of commit: bugfix/cleanup

Commit summary:
---------------
CFLAGS from configure run is ignored by Make.Rules.
modules should build after libpam, so that we can link against libpam.
In one place, "ar" instead of "$(AR)" is used.

20 years agoRelevant BUGIDs: 849541
Thorsten Kukuk [Wed, 26 Nov 2003 10:12:18 +0000 (10:12 +0000)]
Relevant BUGIDs: 849541

Purpose of commit: cleanup

Commit summary:
---------------
pam_rhosts_auth.c included sys/fsuid.h
twice on Linux and uses "#ifdef linux"
instead the correct "#ifdef __linux__".

20 years agoRelevant BUGIDs: 849498
Thorsten Kukuk [Wed, 26 Nov 2003 08:50:59 +0000 (08:50 +0000)]
Relevant BUGIDs: 849498

Purpose of commit: bugfix

Commit summary:
---------------
The type of remember in support.c is int, not
long. But we compare remember with LONG_MIN
and LONG_MAX. While this works on 32bit
architectures, this fails on 64bit one.
INT_MIN and INT_MAX should be used.

20 years agoRelevant BUGIDs: 848337
Thorsten Kukuk [Tue, 25 Nov 2003 09:06:54 +0000 (09:06 +0000)]
Relevant BUGIDs: 848337

Purpose of commit: bugfix

Commit summary:
---------------
pam_shells uses strlen/strcmp, but does not
 include the corresponding string.h header file.
 This could lead to problems on architectures,
 where gcc needs a correct prototype to generate
 correct calling code.

 pam_stress.c complains about a redefined
 __USE_BSD symbol. This is a internal glibc
 define and should not be used in source code.

20 years agoRelevant BUGIDs: 848325
Thorsten Kukuk [Tue, 25 Nov 2003 09:00:06 +0000 (09:00 +0000)]
Relevant BUGIDs: 848325

Purpose of commit:
bugfix

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

Don't use ll_time from utmp struct as argument for ctime/time,
this does not work on new 64bit architectures. Instead use a
temporary copy.

20 years agoRelevant BUGIDs:
Thorsten Kukuk [Mon, 24 Nov 2003 14:46:06 +0000 (14:46 +0000)]
Relevant BUGIDs:

Purpose of commit:
bugfix for pam_securetty
Commit summary:
---------------
Move the first usage of uttyname ofter the initialisation
(Bug # 848316). This move was forgetten with the last changes.

21 years agoRelevant BUGIDs: 812567
Jan Rekorajski [Thu, 25 Sep 2003 17:54:44 +0000 (17:54 +0000)]
Relevant BUGIDs: 812567

Purpose of commit: new feature

Commit summary:
---------------
Implementation of "include" directive for pam config file syntax.
- added module type PAM_T_ANY needed to know if we are loading included file or main one
- let _pam_parse_conf_file() know of new directive
- new function _pam_load_conf_file() used to load "included" configs

21 years agoRelevant BUGIDs: 812567
Jan Rekorajski [Thu, 25 Sep 2003 17:50:31 +0000 (17:50 +0000)]
Relevant BUGIDs: 812567

Purpose of commit: new feature

Commit summary:
---------------
Added new "include" directive to pam config file syntax.

21 years agoRelevant BUGIDs: 812567
Jan Rekorajski [Thu, 25 Sep 2003 17:49:29 +0000 (17:49 +0000)]
Relevant BUGIDs: 812567

Purpose of commit: new feature

Commit summary:
---------------
Document new "include" directive for pam config file syntax.

21 years agoRelevant BUGIDs: 770645
Steve Langasek [Sun, 13 Jul 2003 20:01:44 +0000 (20:01 +0000)]
Relevant BUGIDs: 770645

Purpose of commit: cleanup

Commit summary:
---------------
Fix the many compile-time warnings caused by features.h being included
before our _pam_aconf.h.  This should make it much easier to find other
bugs.

Also, call config.status instead of configure, to allow rebuilding
generated files with the same options.

21 years agoRelevant BUGIDs: 643357
Steve Langasek [Sun, 13 Jul 2003 19:57:17 +0000 (19:57 +0000)]
Relevant BUGIDs: 643357

Purpose of commit: cleanup

Commit summary:
---------------
bring configure up-to-date wrt configure.in.

21 years agoRelevant BUGIDs: 634543
Steve Langasek [Sun, 13 Jul 2003 19:47:11 +0000 (19:47 +0000)]
Relevant BUGIDs: 634543

Purpose of commit: cleanup

Commit summary:
---------------
Fix a log message when directory creation has failed

21 years agoRelevant BUGIDs: 728887
Steve Langasek [Sun, 13 Jul 2003 19:39:45 +0000 (19:39 +0000)]
Relevant BUGIDs: 728887

Purpose of commit: bugfix

Commit summary:
---------------
Protect against segfaults in pam_start() when called with an invalid
pamh argument.

21 years agoRelevant BUGIDs: 643360
Steve Langasek [Sun, 13 Jul 2003 19:16:34 +0000 (19:16 +0000)]
Relevant BUGIDs: 643360

Purpose of commit: bugfix

Commit summary:
---------------
Use the value of $(PIC) whenever we're compiling dynamic libs/modules;
this is required on most architectures.

21 years agoRelevant BUGIDs: 643357
Steve Langasek [Sun, 13 Jul 2003 18:41:04 +0000 (18:41 +0000)]
Relevant BUGIDs: 643357

Purpose of commit: bugfix

Commit summary:
---------------
Patch from Sam Hartman to fix handling of module linking on Linux:
modules should be linked against libpam if they call any functions from
the library, since not all platforms will correctly resolve symbol
references otherwise.  Also, make sure we use gcc, not ld, when linking,
since there's additional linker glue that gcc will pull in for us.

21 years agoRelevant BUGIDs: patch 476984
Steve Langasek [Sun, 13 Jul 2003 06:43:04 +0000 (06:43 +0000)]
Relevant BUGIDs: patch 476984

Purpose of commit: bugfix

Commit summary:
---------------
Patch from Nalin Dahyabhai: always compare tty names without the "/dev",
working around inconsistent handling among apps.
Also, make minor adjustments for robustness (handle DOS EOL chars, and
don't hardcode array sizes).

21 years agoRelevant BUGIDs: patch 476976
Steve Langasek [Sun, 13 Jul 2003 06:34:15 +0000 (06:34 +0000)]
Relevant BUGIDs: patch 476976

Purpose of commit: bugfix

Commit summary:
---------------
Patch from Nalin Dahyabhai: when updating /etc/{passwd,shadow}, always
respect any admin-specified permissions on the existing files.

21 years agoRelevant BUGIDs: patch 476968
Steve Langasek [Sun, 13 Jul 2003 06:16:13 +0000 (06:16 +0000)]
Relevant BUGIDs: patch 476968

Purpose of commit: bugfix

Commit summary:
---------------
Patch from Nalin Dahyabhai to prevent a buffer overflow in pam_issue
(rare, but could be triggered by a race condition when the admin updates
/etc/issue).

21 years agoRelevant BUGIDs: patch 476967
Steve Langasek [Sun, 13 Jul 2003 06:10:08 +0000 (06:10 +0000)]
Relevant BUGIDs: patch 476967

Purpose of commit: bugfix

Commit summary:
---------------
Patch from Nalin Dahyabhai: an empty tty value is not fatal when the
user isn't root.

21 years agoRelevant BUGIDs: patch 476936
Steve Langasek [Sun, 13 Jul 2003 05:14:08 +0000 (05:14 +0000)]
Relevant BUGIDs: patch 476936

Purpose of commit: cleanup

Commit summary:
---------------
Variant on Nalin's patch: 'unsigned int' is /usually/ 32 bits, but
uint32_t is /always/ 32 bits -- where present.  Since C99 is fairly
recent, we may need some autoconf support for older platforms, but
should at least be covered for Linux & Solaris.  (Still a better choice
than the non-standard sys/types.h, though.)

21 years agoRelevant BUGIDs: 667584 664290
Andrew G. Morgan [Tue, 14 Jan 2003 05:43:07 +0000 (05:43 +0000)]
Relevant BUGIDs: 667584 664290

Purpose of commit: bugfix

Commit summary:
---------------
Two bug fixes in one: don't trust getlogin() and sanely lower the
time the password databases are locked in pam_unix.

22 years agoRelevant BUGIDs: 612956
Andrew G. Morgan [Tue, 24 Sep 2002 04:35:26 +0000 (04:35 +0000)]
Relevant BUGIDs: 612956

Purpose of commit: cleanup

Commit summary:
---------------
set up for 0.78 development
add pgp key transition info (in the pgp.keys.asc file).