summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAge
* Relevant BUGIDs: 547051, 547521Andrew G. Morgan2002-05-07
| | | | | | | | | | | 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.
* Relevant BUGIDs: 533664Jan Rekorajski2002-05-07
| | | | | | | | Purpose of commit: bugfix Commit summary: --------------- keep well know behaviour of maxlogins default ('*') limit
* Relevant BUGIDs: 517743Andrew G. Morgan2002-05-07
| | | | | | | | Purpose of commit: bugfix Commit summary: --------------- pam_pwdb did it, so make pam_unix log when a passowrd is changed.
* Relevant BUGIDs: 530428Jan Rekorajski2002-03-15
| | | | | | | | Purpose of commit: bugfix Commit summary: --------------- pam_limits didn't use the priority value specified in config.
* Relevant BUGIDs: 530428Jan Rekorajski2002-03-15
| | | | | | | | Purpose of commit: bugfix Commit summary: --------------- pam_limits didn't the priority value specified in config.
* Relevant BUGIDs: 507379Andrew G. Morgan2002-02-08
| | | | | | | | | | 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.
* Relevant BUGIDs: 476981Andrew G. Morgan2002-02-08
| | | | | | | | Purpose of commit: document bugfix Commit summary: --------------- pam_mkhomedir wasn't recursing directories correctly. Fix from Nalin.
* Relevant BUGIDs: 476981Andrew G. Morgan2002-02-08
| | | | | | | | Purpose of commit: bugfix Commit summary: --------------- properly recurse directories (fix from Nalin).
* Relevant BUGIDs: 493294Andrew G. Morgan2002-01-19
| | | | | | | | | | | | 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.
* Relevant BUGIDs: task 43507Andrew G. Morgan2002-01-19
| | | | | | | | Purpose of commit: documentation Commit summary: --------------- a little background on the msg argument of the conversation function.
* Relevant BUGIDs: 418450Andrew G. Morgan2001-12-11
| | | | | | | | Purpose of commit: comment Commit summary: --------------- added a comment to indicate that tru64 behaves like bsd by having no -ldl.
* Relevant BUGIDs: 486063Andrew G. Morgan2001-12-11
| | | | | | | | | 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.
* Relevant BUGIDs: 232194Andrew G. Morgan2001-12-09
| | | | | | | | | | | 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.
* Relevant BUGIDs: 486361Andrew G. Morgan2001-12-09
| | | | | | | | | 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.)
* Relevant BUGIDs: 490938Andrew G. Morgan2001-12-09
| | | | | | | | | | | | | | | | | 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.
* Relevant BUGIDs: 485454Andrew G. Morgan2001-12-09
| | | | | | | | | 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!).
* Relevant BUGIDs: [task] 43507Andrew G. Morgan2001-12-08
| | | | | | | | Purpose of commit: documentation Commit summary: --------------- a couple of placeholders for new man pages.
* Relevant BUGIDs: [tasks] 43507, 17426Andrew G. Morgan2001-12-08
| | | | | | | | | Purpose of commit: documentation Commit summary: --------------- Generally more documentation with some cleanups and email address sanitization.
* Relevant BUGIDs: 483959Steve Langasek2001-11-30
| | | | | | | | Purpose of commit: bugfix Commit summary: --------------- pam_unix: fix 'likeauth' to kill off the memory leak once and for all.
* Relevant BUGIDs: 483959, 113596Steve Langasek2001-11-27
| | | | | | | | | | | 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()
* Relevant BUGIDs: 476957, 436053Andrew G. Morgan2001-11-27
| | | | | | | | | | | 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].
* Relevant BUGIDs: 476949Andrew G. Morgan2001-11-27
| | | | | | | | Purpose of commit: documentation fixes Commit summary: --------------- Fix some typos noted by Nalin.
* Relevant BUGIDs: 476934Andrew G. Morgan2001-11-27
| | | | | | | | | Purpose of commit: documentation fix Commit summary: --------------- Module doesn't understand 'console' but does understand 'LOCAL'. Fix from Nalin.
* Relevant BUGIDs: 483959Andrew G. Morgan2001-11-27
| | | | | | | | | 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.
* Relevant BUGIDs: 476947Andrew G. Morgan2001-11-26
| | | | | | | | | Purpose of commit: cleanup Commit summary: --------------- be more confident that strings are being initialized correctly from Nalin.
* Relevant BUGIDs: 484252Andrew G. Morgan2001-11-26
| | | | | | | | | Purpose of commit: bugfix Commit summary: --------------- pam_userdb was not paying close enough attention to password comparisons. Bug report and fix from Vladimir Pastukhov.
* Relevant BUGIDs: 485454Andrew G. Morgan2001-11-26
| | | | | | | | | | 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.
* Relevant BUGIDs: 476985Andrew G. Morgan2001-11-13
| | | | | | | | Purpose of commit: bugfix Commit summary: --------------- Nalin's fix to do a better job of not corrupting the lastlog file.
* Relevant BUGIDs: 476986Andrew G. Morgan2001-11-13
| | | | | | | | | 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.
* Relevant BUGIDs: 476938Andrew G. Morgan2001-11-12
| | | | | | | | Purpose of commit: cleanup Commit summary: --------------- removed a compiler warning (courtesy Nalin) and added a memory leak comment.
* Relevant BUGIDs: 476961Andrew G. Morgan2001-11-12
| | | | | | | | | Purpose of commit: comments Commit summary: --------------- Added some clarification comments to help explain why I'm rejecting bug 476961.
* Relevant BUGIDs: 460717Andrew G. Morgan2001-11-12
| | | | | | | | | Purpose of commit: bugfix Commit summary: --------------- it seems there was a slight problem with md5 compatibility with respect to bigendian non-md5 hash support.
* Relevant BUGIDs: 476983Andrew G. Morgan2001-11-12
| | | | | | | | Purpose of commit: bugfixes Commit summary: --------------- lots of segfault potential removed. Nalin found the biggies.
* Relevant BUGIDs: 473034Andrew G. Morgan2001-11-12
| | | | | | | | | Purpose of commit: bugfix Commit summary: --------------- pam_env was only coincidentally parsing environment variables correctly. Bug report from weichangyang of hotmail com.
* Relevant BUGIDs: 476987Andrew G. Morgan2001-11-12
| | | | | | | | Purpose of commit: document Commit summary: --------------- comment about fix for this bug with an earlier commit.
* Relevant BUGIDs: 476940Andrew G. Morgan2001-11-11
| | | | | | | | Purpose of commit: cleanup Commit summary: --------------- use autoconf to configure where the documentation should go.
* Relevant BUGIDs: 436057, 476970Andrew G. Morgan2001-11-11
| | | | | | | | Purpose of commit: cleanup Commit summary: --------------- general comment, make and include cleanup.
* Relevant BUGIDs: 476990Andrew G. Morgan2001-11-11
| | | | | | | | Purpose of commit: new feature Commit summary: --------------- support -ve process priorities (and include superuser in this feature)
* Relevant BUGIDs: 424315Andrew G. Morgan2001-11-11
| | | | | | | | Purpose of commit: cleanup Commit summary: --------------- keep cvs update's clean
* Relevant BUGIDs: 435764Andrew G. Morgan2001-11-09
| | | | | | | | Purpose of commit: document commit Commit summary: --------------- add a changelog entry
* Relevant BUGIDs: 435764Andrew G. Morgan2001-11-09
| | | | | | | | Purpose of commit: compatibility Commit summary: --------------- recognize db3 now. (Bug reported by laf0rge.)
* Relevant BUGIDs: 435991Andrew G. Morgan2001-10-12
| | | | | | | | Purpose of commit: bugfix Commit summary: --------------- use strncpy, and even then remember to nul terminate. Courtesy of Harald Welte.
* Relevant BUGIDs: 436060Andrew G. Morgan2001-10-12
| | | | | | | | | Purpose of commit: paranoia fix Commit summary: --------------- Remove possibility of an un-nul terminated string. (Patch from Red Hat release courtesy of Harald Welte.)
* Relevant BUGIDs: 468724Andrew G. Morgan2001-10-11
| | | | | | | | | | | | | | | | | | | 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.
* Relevant BUGIDs: 463984Andrew G. Morgan2001-10-11
| | | | | | | | | | | | | | 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.
* Relevant BUGIDs: 424315Andrew G. Morgan2001-10-10
| | | | | | | | | | | | | | 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.]
* Relevant BUGIDs: 449203Andrew G. Morgan2001-09-19
| | | | | | | | | Purpose of commit: new support Commit summary: --------------- Include some BSD changes (to the conversation function) and fix a few gcc warnings.
* Relevant BUGIDs: 440107Andrew G. Morgan2001-09-19
| | | | | | | | | 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.
* Relevant BUGIDs: 440107Steve Langasek2001-09-13
| | | | | | | | | 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.
* Relevant BUGIDs: 440107Steve Langasek2001-09-13
| | | | | | | | | 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.