Commit Graph

28 Commits

Author SHA1 Message Date
christos b7414305ba Update the manual section 2006-06-14 16:23:46 +00:00
christos 826ade140d Use /dev/tty if possible and only fall back to stdin/stderr if that is not
available like getpass(3) does.
2006-06-14 16:17:01 +00:00
xtraeme 0511c26dfa openpam_dynamic(): add missing '/' between OPENPAM_MODULES_DIR and
the pam's name module, otherwise it will try to load the module as:

"/usr/lib/security<pam_module>"

Before christos' update we were using PAM_SOPREFIX = "/usr/lib/security/"
with the last '/', now we aren't. So be SAFE and add it to avoid
future problems.
2006-02-05 05:39:49 +00:00
christos aad78462b6 resolve conflicts 2006-02-05 02:37:45 +00:00
christos 70d3347b2d Import figwort: for changes read the HISTORY file. 2006-02-05 02:32:33 +00:00
lukem f391b937b7 appease gcc -Wuninitialized 2005-06-01 12:14:53 +00:00
christos 6a3704f4d9 Never fail open: auth chain *must* have at least one required or binding
element.
2005-03-16 15:28:55 +00:00
christos 0711b6123a Deal with the NUSER addition. 2005-03-03 02:07:07 +00:00
christos c2c52ef2eb Resolve conflicts. 2005-02-26 20:58:24 +00:00
christos 4ef1eb92fc Import feterita from www.openpam.org 2005-02-26 20:44:47 +00:00
wiz 3748b0d6f7 Add xref to openpam_free_data (for man page). 2005-02-22 15:22:02 +00:00
wiz d2ef6b97b8 Add sections to some functions so xrefs in man page will be correct. 2005-02-22 15:21:26 +00:00
christos 192f3d9e5a Add a PAM_SOCKADDR extension so that we can pass the socket address
of the host we logged in from to the lastlog module.
2005-02-01 17:51:01 +00:00
christos 4f025fd3d0 Protect alarm(0) the same way we protected the other alarm calls.
From Dag-Erling Sm=F8rgrav
2005-02-01 13:20:25 +00:00
christos 0e59802be5 Fail closed for NetBSD. If /etc/pam.d and /etc/pam.conf are missing, then
return PAM_SYSTEM_ERR. This is done by checking that chains have at least
one member.
2005-01-12 01:38:23 +00:00
christos edd9734813 Fix debugging compilation. 2005-01-08 07:58:02 +00:00
thorpej a6336417c1 openpam_dynamic(): If the pathname provided is not an absolute pathname,
prepend PAM_SOPREFIX to the name before dlopen()'ing it.  On NetBSD, define
PAM_SOPREFIX as "/usr/lib/security/".
2005-01-03 17:21:48 +00:00
christos 36dcc3119d more size_t casts 2004-12-30 16:22:45 +00:00
christos 28b908ca06 add size_t casts to silence up lint where size_t is unsigned long. 2004-12-30 02:25:51 +00:00
christos 80184d2e85 Add a linted comment for an unused variable 2004-12-12 08:16:41 +00:00
christos 78a16257c7 Lint silencing comments 2004-12-12 06:18:52 +00:00
christos 3c33f5d161 - unsigned char casts for ctype macros.
- lint silencing comments.
2004-12-12 06:18:17 +00:00
christos d316c2d956 Don't look in /usr/local for pam configuration files. NetBSD does not
have them. XXX: maybe look in /usr/pkgsrc?
Unsigned char casts for ctype macros.
2004-12-12 06:17:31 +00:00
christos e9803b264c prevent double-free by setting variable to NULL after it has been freed.
Avoids problem when shared library is not found during configuration.
2004-12-12 06:15:58 +00:00
christos fe57a1b812 NetBSD specific link set changes. 2004-12-12 06:14:58 +00:00
christos 3c39f8e35c - add LINTED comments.
- prevent alarm of negative numbers.
- size_t lint casts
- avoid shadowing of variables.
2004-12-12 06:14:06 +00:00
christos dead717d6a size_t cast for lint 2004-12-12 06:12:26 +00:00
christos b73b054f62 import openpam "eelgrass" released on 20040210 2004-12-12 06:07:19 +00:00