Commit graph

312 commits

Author SHA1 Message Date
Dag-Erling Smørgrav
cdca046ca4 Retroactively tag 20050616 (Figwort)
git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/tags/openpam-20050616@399 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2007-10-24 10:32:08 +00:00
Dag-Erling Smørgrav
4c55b07779 Roll OpenPAM Figwort.
git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@312 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2005-06-16 15:46:58 +00:00
Dag-Erling Smørgrav
a6ea311d45 Make sure OPENPAM_MODULES_DIR has a trailing slash.
git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@311 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2005-06-10 18:51:37 +00:00
Dag-Erling Smørgrav
491c21814b Return specific error codes for pam_sm_setcred() and pam_sm_chauthtok()
instead of the generic PAM_PERM_DENIED.


git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@310 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2005-06-10 08:19:09 +00:00
Dag-Erling Smørgrav
0721e593ae Add $P4$ tags to files that didn't already have them.
git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@309 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2005-06-09 21:35:39 +00:00
Dag-Erling Smørgrav
9787583d8d If the module path is relative, prepend the module installation
directory which was specified at configure time.

Inspired by:	NetBSD


git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@308 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2005-06-09 21:32:00 +00:00
Dag-Erling Smørgrav
ee668335b1 Add Hubert Feyrer, also of NetBSD.
git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@307 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2005-06-09 19:10:01 +00:00
Dag-Erling Smørgrav
1ba4c62279 s/\$Id\$/\$P4\$/
git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@306 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2005-06-09 19:06:41 +00:00
Dag-Erling Smørgrav
a46b07769a Add a pam.conf(5) manual page.
git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@305 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2005-06-09 19:05:38 +00:00
Dag-Erling Smørgrav
554a37183c Better to use unsigned char when isspace() is involved.
git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@304 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2005-02-03 08:22:02 +00:00
Dag-Erling Smørgrav
fb363b4d2e Sort cross-references in dictionary order.
Requested by:	ru@


git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@303 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2005-02-02 15:07:11 +00:00
Dag-Erling Smørgrav
f95eb3c6b8 Add Christos Zoulas and Emmanuel Dreyfus from NetBSD for their
contributions.


git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@302 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2005-02-01 12:02:37 +00:00
Dag-Erling Smørgrav
3b5c3d5aab Leave alarm() alone if openpam_ttyconv_timeout is zero or negative.
Also bobbit an unused variable.

Obtained from:	NetBSD


git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@301 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2005-02-01 12:00:02 +00:00
Dag-Erling Smørgrav
b8dd03287c Additional healthy paranoia.
Obtained from:	NetBSD


git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@300 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2005-02-01 11:57:49 +00:00
Dag-Erling Smørgrav
9443f9f3f9 Prepare for tomorrow's release of OpenPAM Feterita.
git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@299 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2005-01-31 16:13:22 +00:00
Dag-Erling Smørgrav
0ea52a81e0 Need to set the release date in configure.ac.
git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@298 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2005-01-31 15:41:13 +00:00
Dag-Erling Smørgrav
f5d2a18594 Dynamically branding a release with today's date has caused trouble
in the past, and it confuses autoconf.  From now on, dist.sh will
extract the release date from openpam_version.h.


git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@297 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2005-01-31 15:40:49 +00:00
Dag-Erling Smørgrav
f6fc93a6f1 Sort EXTRA_DIST and add HISTORY.
git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@296 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2005-01-31 15:38:55 +00:00
Dag-Erling Smørgrav
0892b49dd1 Remove unneeded files, and add openpam_free_envlist(3).
git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@295 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2005-01-31 15:38:30 +00:00
Dag-Erling Smørgrav
cc2b3e94a9 Whitespace nits.
git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@294 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2005-01-31 15:32:02 +00:00
Dag-Erling Smørgrav
e345e8362e configure.in -> configure.ac
git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@293 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2005-01-31 14:52:11 +00:00
Dag-Erling Smørgrav
cb577fd535 configure.in is deprecated in favor of configure.ac.
git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@292 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2005-01-31 14:49:57 +00:00
Dag-Erling Smørgrav
322e461278 Formatting and documentation nits.
git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@291 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2005-01-28 15:24:44 +00:00
Dag-Erling Smørgrav
5b853cf298 Use FREE() instead of free().
git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@290 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2005-01-28 15:21:35 +00:00
Dag-Erling Smørgrav
9d0dd0c39b Add openpam_free_envlist(). I'm tired of freeing them by hand.
git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@289 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2005-01-28 14:47:41 +00:00
Dag-Erling Smørgrav
7adc56bb5f Hard sentence breaks in inline documentation.
git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@288 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2005-01-28 14:08:44 +00:00
Dag-Erling Smørgrav
37a4b9b75d Rewrap a paragraph.
git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@287 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2005-01-28 14:02:05 +00:00
Dag-Erling Smørgrav
ca035fe3a4 Add a couple of missing words.
git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@286 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2005-01-28 14:00:23 +00:00
Dag-Erling Smørgrav
c95c8038ed Hard sentence break.
git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@285 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2005-01-28 13:58:30 +00:00
Dag-Erling Smørgrav
61e4fb1d75 Add explicit section numbers to sete[gu]id() / setgroups() cross-
references; otherwise, gendoc.pl incorrectly assumes they're in
section 3.


git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@284 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2005-01-28 13:57:45 +00:00
Dag-Erling Smørgrav
b448e8cf37 Numerous improvements inspired by comments from ru@. Mainly, this
fixes a couple of markup bugs, improves reference sorting, and
improves handling of function argument names (function pointer
arguments were not properly handled).


git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@283 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2005-01-28 13:56:15 +00:00
Dag-Erling Smørgrav
82614fcbcd Don't build su(1) and pam_unix(8) by default; they're just examples.
git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@282 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2004-07-28 15:57:54 +00:00
Dag-Erling Smørgrav
2486034511 Remove an unnecessary cast, obviating the need for <stdint.h> which
apparently isn't present on some platforms (e.g. Solaris 8)


git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@281 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2004-07-27 12:07:13 +00:00
Dag-Erling Smørgrav
58b2c9d06a s/accound/account/
Spotted by:	rwatson


git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@280 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2004-03-07 05:04:36 +00:00
Dag-Erling Smørgrav
38daa8ac23 Make the ENTER*() and RETURN*() macros safe from side-effects, and
solve the "dereferencing NULL pointer" warning.


git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@279 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2004-02-17 11:13:13 +00:00
Dag-Erling Smørgrav
5dcc905a94 Prepare to release OpenPAM Eelgrass.
git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@278 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2004-02-10 11:00:53 +00:00
Dag-Erling Smørgrav
e38d7ba072 I originally thought the XSSO was wrong to declare pam_get_data()'s
final argument as void ** rather than const void **, but having seen
the strict aliasing warnings gcc generates at higher -O levels, it
makes a lot more sense.  Change the prototype and definition back to
what the XSSO specifies, and make the necessary changes to avoid
warnings in code that calls pam_get_data().


git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@277 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2003-12-11 17:41:17 +00:00
Dag-Erling Smørgrav
187f68b10f Tell gcc that _openpam_log() behaves like printf().
git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@276 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2003-12-11 17:37:14 +00:00
Dag-Erling Smørgrav
4e4cdb38d4 I completely bungled the previous commit. Don't know what I was
thinking (or smoking) at the time.  Really fix it this time.


git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@275 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2003-12-10 17:42:25 +00:00
Dag-Erling Smørgrav
924113f0c6 Belatedly fix confusion about the layout of resp, cf. similar changes
in OpenSSH-portable.


git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@274 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2003-11-19 09:36:36 +00:00
Dag-Erling Smørgrav
0e41195790 Correct the description of the conversation function's second argument,
and credit yar@ for spotting the mistake.


git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@273 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2003-07-21 21:58:11 +00:00
Dag-Erling Smørgrav
c8dc56b998 Revert the previous commit. It seemed like a good idea at the time,
but it breaks at least one module in -CURRENT.


git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@272 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2003-07-21 21:52:56 +00:00
Dag-Erling Smørgrav
bb34964217 Postpone Dogwood until tomorrow.
git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@271 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2003-07-15 00:32:43 +00:00
Dag-Erling Smørgrav
9314904961 Update the release notes and installation instructions.
git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@270 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2003-07-14 23:53:57 +00:00
Dag-Erling Smørgrav
27480e5170 FOPEN_MAX wasn't such a reliable <stdio.h> indicator after all, so
use _IOFBF instead.


git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@269 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2003-07-14 23:53:19 +00:00
Dag-Erling Smørgrav
a131b240b3 Include all files listed in the manifest.
git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@268 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2003-07-14 23:44:14 +00:00
Dag-Erling Smørgrav
5985e60d5a Solaris needs <limits.h> for NGROUPS_MAX. Don't bother making this
conditional as it's a standard header.


git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@267 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2003-07-14 15:31:38 +00:00
Dag-Erling Smørgrav
bb8d609e45 Install headers in the right place.
git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@266 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2003-07-14 15:07:23 +00:00
Dag-Erling Smørgrav
51ec3dc33d Prepare to release OpenPAM Dogwood later today.
git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@265 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2003-07-14 14:34:43 +00:00
Dag-Erling Smørgrav
21f58dc32e Use read(2) on fileno(stdin) rather than fgets(3). This make timeout
handling considerably simpler, eliminating the need for setjmp(3) and
evil global variables.

Portions submitted by:	Dmitry V. Levin <ldv@altlinux.org>


git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@264 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2003-07-14 14:17:47 +00:00