]> granicus.if.org Git - linux-pam/log
linux-pam
20 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).

20 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.

20 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).

20 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.

20 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.

21 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).

21 years agoRelevant BUGIDs: 612956 Linux-PAM-0-77
Andrew G. Morgan [Mon, 23 Sep 2002 17:36:46 +0000 (17:36 +0000)]
Relevant BUGIDs: 612956

Purpose of commit: new release

Commit summary:
---------------
Time to make a new PAM release.

21 years agoRelevant BUGIDs: 521314
Andrew G. Morgan [Mon, 23 Sep 2002 17:33:22 +0000 (17:33 +0000)]
Relevant BUGIDs: 521314

Purpose of commit: bugfix

Commit summary:
---------------
This code is needed to complete this bugfix.

21 years agoRelevant BUGIDs: 471377
Andrew G. Morgan [Tue, 17 Sep 2002 04:41:29 +0000 (04:41 +0000)]
Relevant BUGIDs: 471377

Purpose of commit: bugfix

Commit summary:
---------------
PDF support was broken - installation was messed up.

21 years agoRelevant BUGIDs: 476951, 476953
Andrew G. Morgan [Sat, 13 Jul 2002 05:48:19 +0000 (05:48 +0000)]
Relevant BUGIDs: 476951, 476953

Purpose of commit: bugfix

Commit summary:
---------------
Be more careful when using the deny option - pay attention to the trust
option before you grant access.
Fix from Nalin.

21 years agoRelevant BUGIDs: 436435
Andrew G. Morgan [Sat, 13 Jul 2002 05:10:54 +0000 (05:10 +0000)]
Relevant BUGIDs: 436435

Purpose of commit: new feature

Commit summary:
---------------
add account management to a bunch of modules.
Submitted by Harald Welte.

22 years agoRelevant BUGIDs: 476941, 476980
Andrew G. Morgan [Thu, 11 Jul 2002 06:22:45 +0000 (06:22 +0000)]
Relevant BUGIDs: 476941, 476980

Purpose of commit: bugfix and new feature

Commit summary:
---------------
fix case that wheel is the primary group of the user
add support for passwordless transitions from a trusted user to another
  non-root user.

22 years agoRelevant BUGIDs: 476963
Andrew G. Morgan [Thu, 11 Jul 2002 05:43:50 +0000 (05:43 +0000)]
Relevant BUGIDs: 476963

Purpose of commit: new feature

Commit summary:
---------------
some applications are not prepared to get a SIGCHLD from a child
process they didn't think they launched, so we now suppress
this signal for the duration of use of the helper binary.
The 'noreap' module argument is provided to override this new
default.

22 years agoRelevant BUGIDs: none
Andrew G. Morgan [Tue, 9 Jul 2002 06:17:13 +0000 (06:17 +0000)]
Relevant BUGIDs: none

Purpose of commit: prep for next release

Commit summary:
---------------
add an entry for 0.77 changes and bump the revision ids in the
configure.in file.

22 years agoRelevant BUGIDs: 521314 Linux-PAM-0-76
Andrew G. Morgan [Tue, 9 Jul 2002 04:44:18 +0000 (04:44 +0000)]
Relevant BUGIDs: 521314

Purpose of commit: bugfix

Commit summary:
---------------
bigcrypt does not match crypt when password length is too long.
This led to a pam_unix problem when the module had not set the
password in bigcrypt mode, but was trying to compare with bigcrypt
output. The fix is to use the stored password as a guide to how much
of the encrypted password to compare against.

22 years agoRelevant BUGIDs: 415423
Andrew G. Morgan [Thu, 27 Jun 2002 05:54:05 +0000 (05:54 +0000)]
Relevant BUGIDs: 415423

Purpose of commit: cleanup

Commit summary:
---------------
Shouldn't explicitly include prototype in the file - it conflicts with
common defaults and thus should not be there. (Request for removal from
David Lee.)

22 years agoRelevant BUGIDs: 419307
Andrew G. Morgan [Thu, 27 Jun 2002 05:43:28 +0000 (05:43 +0000)]
Relevant BUGIDs: 419307

Purpose of commit: new feature/cleanup

Commit summary:
---------------
made pam_nologin more secure by changing the default behavior and
adding some more features. General code clean up in the process.

22 years agoRelevant BUGIDs: 565470
Andrew G. Morgan [Thu, 27 Jun 2002 04:04:54 +0000 (04:04 +0000)]
Relevant BUGIDs: 565470

Purpose of commit: bugfix

Commit summary:
---------------
It seems that configure was barfing on some packages because libpam_misc
could not compile without also being linked to libpam.

22 years agoRelevant BUGIDs: 491466
Andrew G. Morgan [Wed, 29 May 2002 06:35:46 +0000 (06:35 +0000)]
Relevant BUGIDs: 491466

Purpose of commit: cleanup

Commit summary:
---------------
These were all suggestions from the OS X patch provided by Luke Howard.
There is another proposed patch for OS X support which promises to be
a little cleaner with the heavy stuff, so I am committing these simple
changes now, with the intention of moving to the other patch for the
big stuff (see 534205).

22 years agoRelevant BUGIDs: 476971
Andrew G. Morgan [Wed, 29 May 2002 05:31:12 +0000 (05:31 +0000)]
Relevant BUGIDs: 476971

Purpose of commit: documentation

Commit summary:
---------------
typo/correctness fixes from Nalin.

22 years agoRelevant BUGIDs: 490938, 409852
Andrew G. Morgan [Wed, 29 May 2002 04:51:07 +0000 (04:51 +0000)]
Relevant BUGIDs: 490938, 409852

Purpose of commit: debugging

Commit summary:
---------------
Added a simple wrapper to make it easier to test xsh with the sandbox
libraries (no help with modules - besides editing your personal pam.d/xsh
file).

22 years agoRelevant BUGIDs: 424315
Andrew G. Morgan [Wed, 29 May 2002 04:44:43 +0000 (04:44 +0000)]
Relevant BUGIDs: 424315

Purpose of commit: cleanup

Commit summary:
---------------
This was a reimplementation of pam_warn to be more useful. I did it in
conjuction with testing the new setcred behavior.

22 years agoRelevant BUGIDs: 490938, 409852
Andrew G. Morgan [Wed, 29 May 2002 04:40:04 +0000 (04:40 +0000)]
Relevant BUGIDs: 490938, 409852

Purpose of commit: cleanup

Commit summary:
---------------
add a cvsignore file

22 years agoRelevant BUGIDs: 471377
Andrew G. Morgan [Wed, 29 May 2002 04:14:10 +0000 (04:14 +0000)]
Relevant BUGIDs: 471377

Purpose of commit: new feature

Commit summary:
---------------
build pdf files when you type 'make pdf' in the doc/ directory.

22 years agoRelevant BUGIDs: 529078
Andrew G. Morgan [Mon, 27 May 2002 23:23:15 +0000 (23:23 +0000)]
Relevant BUGIDs: 529078

Purpose of commit: documentation

Commit summary:
---------------
removed an inappropriate Red Hat ref.
added a description of required etc. in terms of the [..] syntax.

22 years agoRelevant BUGIDs: 517064
Andrew G. Morgan [Sun, 26 May 2002 23:58:23 +0000 (23:58 +0000)]
Relevant BUGIDs: 517064

Purpose of commit: feature

Commit summary:
---------------
document old feature and add '\]' parsing to make it a better feature.
The feature is that we can accept spaces in module arguments by enclosing
the whole argument inside square brackets. For example a module argument
like this:

  "[hello [you\], this is me]"

will be parsed as

  "hello [you], this is me"

Not very interesting, but you get the idea.
Thanks to Russell Kliese for requesting this.

22 years agoRelevant BUGIDs: 557322
Andrew G. Morgan [Sun, 26 May 2002 23:00:28 +0000 (23:00 +0000)]
Relevant BUGIDs: 557322

Purpose of commit: cleanup

Commit summary:
---------------
clean up a compilation warning about strcmp() not being defined.

22 years agoRelevant BUGIDs: 527965
Andrew G. Morgan [Fri, 10 May 2002 06:00:12 +0000 (06:00 +0000)]
Relevant BUGIDs: 527965

Purpose of commit: documentation

Commit summary:
---------------
module developers guide changes wrt the conversation function from
Jenn Vesperman.

22 years agoRelevant BUGIDs: 527821
Andrew G. Morgan [Fri, 10 May 2002 05:25:52 +0000 (05:25 +0000)]
Relevant BUGIDs: 527821

Purpose of commit: documentation

Commit summary:
---------------
some suggestions from Jenn Vesperman.
some cleanup - updates noted in passing.

22 years agoRelevant BUGIDs: 554274, 554261, 554182
Andrew G. Morgan [Fri, 10 May 2002 04:03:01 +0000 (04:03 +0000)]
Relevant BUGIDs: 554274, 554261, 554182

Purpose of commit: documentation fixes

Commit summary:
---------------
Three fixes for documentation - bugs, typos, expired truths.

22 years agoRelevant BUGIDs: 533664
Jan Rekorajski [Thu, 9 May 2002 12:03:57 +0000 (12:03 +0000)]
Relevant BUGIDs: 533664

Purpose of commit: new feature

Commit summary:
---------------
documented % domain

22 years agoRelevant BUGIDs: 533664
Jan Rekorajski [Thu, 9 May 2002 12:02:06 +0000 (12:02 +0000)]
Relevant BUGIDs: 533664

Purpose of commit: new feature

Commit summary:
---------------
added '%' domain for maxlogins limiting, now '*' and @group have
the old meaning (every) and '%' the new one (all)

22 years agoRelevant BUGIDs: 533664
Jan Rekorajski [Thu, 9 May 2002 12:00:35 +0000 (12:00 +0000)]
Relevant BUGIDs: 533664

Purpose of commit: new feature

Commit summary:
---------------
document '%' domain for maxlogins limit and clarify how '*' and @group
domains work for login limiting

22 years agoRelevant BUGIDs: 533668
Jan Rekorajski [Tue, 7 May 2002 17:26:40 +0000 (17:26 +0000)]
Relevant BUGIDs: 533668

Purpose of commit: cleanup

Commit summary:
---------------
put not so interesting log messages under debug arg

22 years agoRelevant BUGIDs: 547051, 547521
Andrew G. Morgan [Tue, 7 May 2002 17:22:54 +0000 (17:22 +0000)]
Relevant BUGIDs: 547051, 547521

Purpose of commit: bugfixes

Commit summary:
---------------
Both of these fixes inspired by use with X based services.
The first makes a TTY of the form hostname:0 work (if you specify a different
separator with the module argument "fieldsep=".
The second treats "" for a RHOST the same way it would treat a NULL value.

22 years agoRelevant BUGIDs: 533664
Jan Rekorajski [Tue, 7 May 2002 17:17:03 +0000 (17:17 +0000)]
Relevant BUGIDs: 533664

Purpose of commit: bugfix

Commit summary:
---------------
keep well know behaviour of maxlogins default ('*') limit

22 years agoRelevant BUGIDs: 517743
Andrew G. Morgan [Tue, 7 May 2002 16:47:21 +0000 (16:47 +0000)]
Relevant BUGIDs: 517743

Purpose of commit: bugfix

Commit summary:
---------------
pam_pwdb did it, so make pam_unix log when a passowrd is changed.

22 years agoRelevant BUGIDs: 530428
Jan Rekorajski [Fri, 15 Mar 2002 19:17:49 +0000 (19:17 +0000)]
Relevant BUGIDs: 530428

Purpose of commit: bugfix

Commit summary:
---------------
pam_limits didn't use the priority value specified in config.

22 years agoRelevant BUGIDs: 530428
Jan Rekorajski [Fri, 15 Mar 2002 19:15:16 +0000 (19:15 +0000)]
Relevant BUGIDs: 530428

Purpose of commit: bugfix

Commit summary:
---------------
pam_limits didn't the priority value specified in config.

22 years agoRelevant BUGIDs: 507379
Andrew G. Morgan [Fri, 8 Feb 2002 06:40:11 +0000 (06:40 +0000)]
Relevant BUGIDs: 507379

Purpose of commit: bugfix

Commit summary:
---------------
there were some dangling file descriptors and unclear pass/fail
properties of some of the password updating code in pam_unix.
Bug report from Len Lattanzi.

22 years agoRelevant BUGIDs: 476981
Andrew G. Morgan [Fri, 8 Feb 2002 05:21:31 +0000 (05:21 +0000)]
Relevant BUGIDs: 476981

Purpose of commit: document bugfix

Commit summary:
---------------
pam_mkhomedir wasn't recursing directories correctly. Fix from Nalin.

22 years agoRelevant BUGIDs: 476981
Andrew G. Morgan [Fri, 8 Feb 2002 05:20:17 +0000 (05:20 +0000)]
Relevant BUGIDs: 476981

Purpose of commit: bugfix

Commit summary:
---------------
properly recurse directories (fix from Nalin).

22 years agoRelevant BUGIDs: 493294
Andrew G. Morgan [Sat, 19 Jan 2002 07:10:45 +0000 (07:10 +0000)]
Relevant BUGIDs: 493294

Purpose of commit: bugfix and document

Commit summary:
---------------
The login limit counting seemed to have its math incorrect.
The default has been changed to the sane one, and a new module argument
has been added "utmp_early" that returns the module to its old behavior.

Thanks to Berend De Schouwe for getting to the bottom of this issue.

22 years agoRelevant BUGIDs: task 43507
Andrew G. Morgan [Sat, 19 Jan 2002 06:13:53 +0000 (06:13 +0000)]
Relevant BUGIDs: task 43507

Purpose of commit: documentation

Commit summary:
---------------
a little background on the msg argument of the conversation function.

22 years agoRelevant BUGIDs: 418450
Andrew G. Morgan [Tue, 11 Dec 2001 07:54:22 +0000 (07:54 +0000)]
Relevant BUGIDs: 418450

Purpose of commit: comment

Commit summary:
---------------
added a comment to indicate that tru64 behaves like bsd by having no -ldl.

22 years agoRelevant BUGIDs: 486063
Andrew G. Morgan [Tue, 11 Dec 2001 07:41:39 +0000 (07:41 +0000)]
Relevant BUGIDs: 486063

Purpose of commit: compatibility

Commit summary:
---------------
A BSD fix from Dag-Erling Smørgrav and Anton Berezin. What was there
before did not correctly deal with BSD dynamic linking.

22 years agoRelevant BUGIDs: 232194
Andrew G. Morgan [Sun, 9 Dec 2001 22:51:12 +0000 (22:51 +0000)]
Relevant BUGIDs: 232194

Purpose of commit: new feature

Commit summary:
---------------
If you are looking for an object that you can blindly dlopen() and
use to bind to pam w/ modules, this commit is for you. Its not fully
integrated into the build tree, but I'd like some feedback before
wiring it in as a regular feature.

22 years agoRelevant BUGIDs: 486361
Andrew G. Morgan [Sun, 9 Dec 2001 22:39:03 +0000 (22:39 +0000)]
Relevant BUGIDs: 486361

Purpose of commit: bugfix

Commit summary:
---------------
pam_unix is too generic a module to override the PAM_USER_PROMPT item.
(More modifications to xsh to help me test this change.)

22 years agoRelevant BUGIDs: 490938
Andrew G. Morgan [Sun, 9 Dec 2001 22:15:11 +0000 (22:15 +0000)]
Relevant BUGIDs: 490938

Purpose of commit: new feature

Commit summary:
---------------
Added libpammodutil and link it with every module as its built.
The issue here is that there is a lot of code that the various modules
use in common, and this staic library can be used to help make this code
more maintainable. I do not intend to make this library dynamic. Especially
right now, as I want to be free to chop and change the API and don't want
to deal with revision control and third party modules.

This checkin makes the pam_rhost_auth module make some use of this new
library. I don't intend to add support for any other module prior to
releasing 0.76.

22 years agoRelevant BUGIDs: 485454
Andrew G. Morgan [Sun, 9 Dec 2001 21:44:58 +0000 (21:44 +0000)]
Relevant BUGIDs: 485454

Purpose of commit: cleanup

Commit summary:
---------------
The malloc debugging stuff appears to have had a few residual issues
that I've fixed (trying to resolve another checkin!).

22 years agoRelevant BUGIDs: [task] 43507
Andrew G. Morgan [Sat, 8 Dec 2001 19:02:48 +0000 (19:02 +0000)]
Relevant BUGIDs: [task] 43507

Purpose of commit: documentation

Commit summary:
---------------
a couple of placeholders for new man pages.

22 years agoRelevant BUGIDs: [tasks] 43507, 17426
Andrew G. Morgan [Sat, 8 Dec 2001 18:56:47 +0000 (18:56 +0000)]
Relevant BUGIDs: [tasks] 43507, 17426

Purpose of commit: documentation

Commit summary:
---------------
Generally more documentation with some cleanups and email address
sanitization.

22 years agoRelevant BUGIDs: 483959
Steve Langasek [Fri, 30 Nov 2001 23:26:30 +0000 (23:26 +0000)]
Relevant BUGIDs: 483959

Purpose of commit: bugfix

Commit summary:
---------------
pam_unix: fix 'likeauth' to kill off the memory leak once and for all.

22 years agoRelevant BUGIDs: 483959, 113596
Steve Langasek [Tue, 27 Nov 2001 18:26:29 +0000 (18:26 +0000)]
Relevant BUGIDs: 483959, 113596

Purpose of commit: bugfix

Commit summary:
---------------
 * Restore pam_unix's handling of 'likeauth' argument to a known working
   state
 * prettify AUTH_RETURN macro
 * remove redundant argv checks in pam_sm_setcred()

22 years agoRelevant BUGIDs: 476957, 436053
Andrew G. Morgan [Tue, 27 Nov 2001 06:09:48 +0000 (06:09 +0000)]
Relevant BUGIDs: 476957, 436053

Purpose of commit: improved feature

Commit summary:
---------------
Replace the 'similar' function with a real distance algorithm. (From Harald
Welte and Nalin).

Also fix a typo that somehow slipped through an earlier checkin. [Bug 476947].

22 years agoRelevant BUGIDs: 476949
Andrew G. Morgan [Tue, 27 Nov 2001 05:37:30 +0000 (05:37 +0000)]
Relevant BUGIDs: 476949

Purpose of commit: documentation fixes

Commit summary:
---------------
Fix some typos noted by Nalin.

22 years agoRelevant BUGIDs: 476934
Andrew G. Morgan [Tue, 27 Nov 2001 05:25:43 +0000 (05:25 +0000)]
Relevant BUGIDs: 476934

Purpose of commit: documentation fix

Commit summary:
---------------
Module doesn't understand 'console' but does understand 'LOCAL'. Fix
from Nalin.

22 years agoRelevant BUGIDs: 483959
Andrew G. Morgan [Tue, 27 Nov 2001 05:15:37 +0000 (05:15 +0000)]
Relevant BUGIDs: 483959

Purpose of commit: fix memory leak

Commit summary:
---------------
Fernando Trias pointed out a silly memory leak in pam_unix.so. It looks
like some allocated memory that is simply not needed for anything.

22 years agoRelevant BUGIDs: 476947
Andrew G. Morgan [Mon, 26 Nov 2001 06:05:24 +0000 (06:05 +0000)]
Relevant BUGIDs: 476947

Purpose of commit: cleanup

Commit summary:
---------------
be more confident that strings are being initialized correctly
from Nalin.

22 years agoRelevant BUGIDs: 484252
Andrew G. Morgan [Mon, 26 Nov 2001 03:27:40 +0000 (03:27 +0000)]
Relevant BUGIDs: 484252

Purpose of commit: bugfix

Commit summary:
---------------
pam_userdb was not paying close enough attention to password comparisons.
Bug report and fix from Vladimir Pastukhov.

22 years agoRelevant BUGIDs: 485454
Andrew G. Morgan [Mon, 26 Nov 2001 03:04:46 +0000 (03:04 +0000)]
Relevant BUGIDs: 485454

Purpose of commit: revive feature

Commit summary:
---------------
malloc et al. debugging was not supported by the new autoconf setup,
this commit rectifies that. It also adds a couple of header file inclusions
that seem to be needed with recent glibc headers.

22 years agoRelevant BUGIDs: 476985
Andrew G. Morgan [Tue, 13 Nov 2001 05:45:16 +0000 (05:45 +0000)]
Relevant BUGIDs: 476985

Purpose of commit: bugfix

Commit summary:
---------------
Nalin's fix to do a better job of not corrupting the lastlog file.

22 years agoRelevant BUGIDs: 476986
Andrew G. Morgan [Tue, 13 Nov 2001 05:07:24 +0000 (05:07 +0000)]
Relevant BUGIDs: 476986

Purpose of commit: new feature, cleanup

Commit summary:
---------------
patch from Nalin to support '+hostname' as equivalent to 'hostname'.
fixed compiler warning by working out when to include header file.

22 years agoRelevant BUGIDs: 476938
Andrew G. Morgan [Mon, 12 Nov 2001 07:20:39 +0000 (07:20 +0000)]
Relevant BUGIDs: 476938

Purpose of commit: cleanup

Commit summary:
---------------
removed a compiler warning (courtesy Nalin) and added a memory leak comment.

22 years agoRelevant BUGIDs: 476961
Andrew G. Morgan [Mon, 12 Nov 2001 06:57:38 +0000 (06:57 +0000)]
Relevant BUGIDs: 476961

Purpose of commit: comments

Commit summary:
---------------
Added some clarification comments to help explain why I'm rejecting
bug 476961.

22 years agoRelevant BUGIDs: 460717
Andrew G. Morgan [Mon, 12 Nov 2001 05:04:52 +0000 (05:04 +0000)]
Relevant BUGIDs: 460717

Purpose of commit: bugfix

Commit summary:
---------------
it seems there was a slight problem with md5 compatibility with
respect to bigendian non-md5 hash support.

22 years agoRelevant BUGIDs: 476983
Andrew G. Morgan [Mon, 12 Nov 2001 02:23:28 +0000 (02:23 +0000)]
Relevant BUGIDs: 476983

Purpose of commit: bugfixes

Commit summary:
---------------
lots of segfault potential removed. Nalin found the biggies.

22 years agoRelevant BUGIDs: 473034
Andrew G. Morgan [Mon, 12 Nov 2001 01:21:14 +0000 (01:21 +0000)]
Relevant BUGIDs: 473034

Purpose of commit: bugfix

Commit summary:
---------------
pam_env was only coincidentally parsing environment variables correctly.
Bug report from weichangyang of hotmail com.

22 years agoRelevant BUGIDs: 476987
Andrew G. Morgan [Mon, 12 Nov 2001 00:30:32 +0000 (00:30 +0000)]
Relevant BUGIDs: 476987

Purpose of commit: document

Commit summary:
---------------
comment about fix for this bug with an earlier commit.

22 years agoRelevant BUGIDs: 476940
Andrew G. Morgan [Sun, 11 Nov 2001 08:24:42 +0000 (08:24 +0000)]
Relevant BUGIDs: 476940

Purpose of commit: cleanup

Commit summary:
---------------
use autoconf to configure where the documentation should go.

22 years agoRelevant BUGIDs: 436057, 476970
Andrew G. Morgan [Sun, 11 Nov 2001 07:43:54 +0000 (07:43 +0000)]
Relevant BUGIDs: 436057, 476970

Purpose of commit: cleanup

Commit summary:
---------------
general comment, make and include cleanup.

22 years agoRelevant BUGIDs: 476990
Andrew G. Morgan [Sun, 11 Nov 2001 07:25:37 +0000 (07:25 +0000)]
Relevant BUGIDs: 476990

Purpose of commit: new feature

Commit summary:
---------------
support -ve process priorities (and include superuser in this feature)

22 years agoRelevant BUGIDs: 424315
Andrew G. Morgan [Sun, 11 Nov 2001 07:18:55 +0000 (07:18 +0000)]
Relevant BUGIDs: 424315

Purpose of commit: cleanup

Commit summary:
---------------
keep cvs update's clean

22 years agoRelevant BUGIDs: 435764
Andrew G. Morgan [Fri, 9 Nov 2001 05:48:13 +0000 (05:48 +0000)]
Relevant BUGIDs: 435764

Purpose of commit: document commit

Commit summary:
---------------
add a changelog entry

22 years agoRelevant BUGIDs: 435764
Andrew G. Morgan [Fri, 9 Nov 2001 05:29:55 +0000 (05:29 +0000)]
Relevant BUGIDs: 435764

Purpose of commit: compatibility

Commit summary:
---------------
recognize db3 now. (Bug reported by laf0rge.)

22 years agoRelevant BUGIDs: 435991
Andrew G. Morgan [Fri, 12 Oct 2001 06:13:10 +0000 (06:13 +0000)]
Relevant BUGIDs: 435991

Purpose of commit: bugfix

Commit summary:
---------------
use strncpy, and even then remember to nul terminate. Courtesy of Harald Welte.

22 years agoRelevant BUGIDs: 436060
Andrew G. Morgan [Fri, 12 Oct 2001 05:56:26 +0000 (05:56 +0000)]
Relevant BUGIDs: 436060

Purpose of commit: paranoia fix

Commit summary:
---------------
Remove possibility of an un-nul terminated string. (Patch from Red Hat
release courtesy of Harald Welte.)

22 years agoRelevant BUGIDs: 468724
Andrew G. Morgan [Thu, 11 Oct 2001 04:52:25 +0000 (04:52 +0000)]
Relevant BUGIDs: 468724

Purpose of commit: bugfix

Commit summary:
---------------
Legacy behavior for pam_close_session and pam_setcred was not sufficient.
Basically, it appears to be common practice for some applications to call
these functions without first calling pam_authenticate and pam_open_session
which would have frozen the auth and session module stacks.

The new behavior is to treat the returns of these secondary functions as
authoritative when navigating the stack in the absence of a chain-freezing
first set of calls.

pam_chauthtok should not benefit from this behavior, and there does not
appear to be a justification for using an event like this to freeze the
stack outright - legacy behavior did not do that.

22 years agoRelevant BUGIDs: 463984
Andrew G. Morgan [Thu, 11 Oct 2001 04:14:30 +0000 (04:14 +0000)]
Relevant BUGIDs: 463984

Purpose of commit: bugfix

Commit summary:
---------------
The last fix to the conversation function was less than marginal: it
didn't actually work! This second commit adds the all important 'return
the user's input' bit!

Also added some more D() stuff to pam_misc to help locate the problem
and finally cleaned up the Makefile in the examples/ directory. I used
xsh to do the testing.

22 years agoRelevant BUGIDs: 424315
Andrew G. Morgan [Wed, 10 Oct 2001 05:00:11 +0000 (05:00 +0000)]
Relevant BUGIDs: 424315

Purpose of commit: cleanup, new feature

Commit summary:
---------------
I'm adding a new module (pam_debug) that helped me to verify that
the new setcred handling did not suffer from a bug in the handling
of 'auth optional'. I'm also fixing a D(()) line from
libpam/pam_dispatch.c which was simply broken.

[There is still an outstanding backward compatibility issue with
 pam_dispatch that I'll address with respect to Bug 468724.]

22 years agoRelevant BUGIDs: 449203
Andrew G. Morgan [Wed, 19 Sep 2001 06:18:46 +0000 (06:18 +0000)]
Relevant BUGIDs: 449203

Purpose of commit: new support

Commit summary:
---------------
Include some BSD changes (to the conversation function) and fix a few
gcc warnings.

22 years agoRelevant BUGIDs: 440107
Andrew G. Morgan [Wed, 19 Sep 2001 06:16:34 +0000 (06:16 +0000)]
Relevant BUGIDs: 440107

Purpose of commit: keep configure in synch

Commit summary:
---------------
Vorlon updated configure.in, but didn't check in configure to match it.
I'm doing it so I can test and then commit another patch.

22 years agoRelevant BUGIDs: 440107
Steve Langasek [Thu, 13 Sep 2001 20:03:25 +0000 (20:03 +0000)]
Relevant BUGIDs: 440107

Purpose of commit: module reentrancy

Commit summary:
---------------
Commit sample code that uses getpwnam_r instead of getpwnam.  All code is
#ifdef'ed out right now.

22 years agoRelevant BUGIDs: 440107
Steve Langasek [Thu, 13 Sep 2001 19:52:47 +0000 (19:52 +0000)]
Relevant BUGIDs: 440107

Purpose of commit: module reentrancy

Commit summary:
---------------
Commit sample code that uses getpwnam_r instead of getpwnam.  All code is
#ifdef'ed out right now.

22 years agoRelevant BUGIDs: 440107
Steve Langasek [Thu, 13 Sep 2001 05:26:26 +0000 (05:26 +0000)]
Relevant BUGIDs: 440107

Purpose of commit: reentrant modules

Commit summary:
---------------
Lay the autoconf groundwork for making all PAM modules reentrant on systems
that include the POSIX getxx_r() functions.

22 years agoRelevant BUGIDs: 435760 and task 17426
Andrew G. Morgan [Thu, 13 Sep 2001 03:42:11 +0000 (03:42 +0000)]
Relevant BUGIDs: 435760 and task 17426

Purpose of commit: cleanup

Commit summary:
---------------
1. use $(mandir) autoconf variabl - patch from Harald Welte
2. add automated support for generating the draft rfc text

22 years agoRelevant BUGIDs: 460491
Andrew G. Morgan [Thu, 13 Sep 2001 02:44:55 +0000 (02:44 +0000)]
Relevant BUGIDs: 460491

Purpose of commit: bugfix

Commit summary:
---------------
sourceforge is now using another cvs->html viewer, so we need to update
these reference source code links.

22 years agoRelevant BUGIDs: 461089
Andrew G. Morgan [Thu, 13 Sep 2001 02:31:39 +0000 (02:31 +0000)]
Relevant BUGIDs: 461089

Purpose of commit: cleanup

Commit summary:
---------------
remove a compilation warning.

22 years agoRelevant BUGIDs: 440107
Steve Langasek [Wed, 12 Sep 2001 19:15:10 +0000 (19:15 +0000)]
Relevant BUGIDs: 440107

Purpose of commit: reentrant modules

Commit summary:
---------------
Lay the autoconf groundwork for making all PAM modules reentrant on systems
that include the POSIX getxx_r() functions.

23 years agoRelevant BUGIDs: 440107
Steve Langasek [Tue, 10 Jul 2001 20:24:16 +0000 (20:24 +0000)]
Relevant BUGIDs: 440107

Purpose of commit: bugfix/cleanup

Commit summary:
---------------
Removed superfluous use of static variables in md5 and bigcrypt routines,
bringing us a step closer to thread-safeness.  Eliminated some variable
indirection along the way.

23 years agoRelevant BUGIDs: 436432
Steve Langasek [Wed, 27 Jun 2001 18:53:30 +0000 (18:53 +0000)]
Relevant BUGIDs: 436432

Purpose of commit: cleanup

Commit summary:
---------------
nix unneeded #include line from pam_tally.c.  Keep things as minimalistic as
possible until we /know/ it's needed for something.

23 years agoRelevant BUGIDs: 436061
Andrew G. Morgan [Wed, 27 Jun 2001 06:23:59 +0000 (06:23 +0000)]
Relevant BUGIDs: 436061

Purpose of commit: new feature

Commit summary:
---------------
Oops, missed this off in my earlier commit for bug 436061.

23 years agoRelevant BUGIDs: 436432
Andrew G. Morgan [Wed, 27 Jun 2001 06:20:42 +0000 (06:20 +0000)]
Relevant BUGIDs: 436432

Purpose of commit: cleanup

Commit summary:
---------------
small changes inspired by reading a red hat diff.

23 years agoRelevant BUGIDs: 436061
Andrew G. Morgan [Wed, 27 Jun 2001 05:55:33 +0000 (05:55 +0000)]
Relevant BUGIDs: 436061

Purpose of commit: new feature

Commit summary:
---------------
Harald Welte poured over the Red Hat version and submitted the outstanding
diff.

23 years agoRelevant BUGIDs: 422563
Andrew G. Morgan [Mon, 25 Jun 2001 00:08:13 +0000 (00:08 +0000)]
Relevant BUGIDs: 422563

Purpose of commit: new feature

Commit summary:
---------------
more support for Irix native compiler.

23 years agoRelevant BUGIDs: 413162
Andrew G. Morgan [Sun, 24 Jun 2001 22:54:05 +0000 (22:54 +0000)]
Relevant BUGIDs: 413162

Purpose of commit: new feature

Commit summary:
---------------
pam_cracklib enhancements to make use of negative limits.
Werner Puschitz gets brownie points for submitting documentation to
match!

23 years agoRelevant BUGIDs: 424060
Andrew G. Morgan [Sun, 24 Jun 2001 22:21:24 +0000 (22:21 +0000)]
Relevant BUGIDs: 424060

Purpose of commit: bugfix

Commit summary:
---------------
latest attempt to deal with the number of rlimits supported by
Linux. (Last attempt was the fix for Bug 219554 (ne 119554).

23 years agoRelevant BUGIDs: 433460
Andrew G. Morgan [Sun, 24 Jun 2001 20:50:00 +0000 (20:50 +0000)]
Relevant BUGIDs: 433460

Purpose of commit: remove stale link

Commit summary:
---------------
The documentation did not match reality.

23 years agoRelevant BUGIDs: 417512
Andrew G. Morgan [Sat, 26 May 2001 20:45:09 +0000 (20:45 +0000)]
Relevant BUGIDs: 417512

Purpose of commit: add a clarification

Commit summary:
---------------
At a user's request, added a clarification to the documentation regarding
the choice of argv[0] as a service name.