Commit graph

644 commits

Author SHA1 Message Date
Dag-Erling Smørgrav
6013f825ec Add documentation.
Sponsored by:	DARPA, NAI Labs


git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@145 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2002-05-09 19:52:55 +00:00
Dag-Erling Smørgrav
5733bc9f27 Add support for marking up variable names and values.
git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@144 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2002-05-09 19:50:54 +00:00
Dag-Erling Smørgrav
e8af376306 Silly me forgot to update the version macros when I rolled Cinnamon.
I need a "release procedures" document...


git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@143 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2002-05-09 19:21:04 +00:00
Dag-Erling Smørgrav
082364c255 Initialize other to all-zeroes before using it.
git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@142 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2002-05-03 14:55:03 +00:00
Dag-Erling Smørgrav
f3d250644a Release documentation for OpenPAM Cinnamon.
git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@141 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2002-05-02 06:31:48 +00:00
Dag-Erling Smørgrav
4081013c2b Regenerate with correct #include information.
git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@140 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2002-05-02 06:30:26 +00:00
Dag-Erling Smørgrav
87ffc052b0 OpenPAM extensions need <security/openpam.h>.
git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@139 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2002-05-02 06:30:03 +00:00
Dag-Erling Smørgrav
39f6210db3 Regenerate.
git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@138 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2002-05-02 06:27:17 +00:00
Dag-Erling Smørgrav
472018b4e5 Fall in line with Solaris and Linux-PAM wrt use of the "other" policy:
use it to fill the gaps in incomplete policies as well as to replace
missing ones.

Sponsored by:	DARPA, NAI Labs


git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@137 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2002-05-02 06:08:02 +00:00
Dag-Erling Smørgrav
2cc6bad9fc Don't reference vpath after it's been freed.
git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@136 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2002-04-24 22:50:40 +00:00
Dag-Erling Smørgrav
96263392d6 Regenerate in order to properly close literal sections.
git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@135 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2002-04-18 00:00:40 +00:00
Dag-Erling Smørgrav
43c4dfb014 Properly terminate literal sections that appear at the end of the
DESCRIPTION section.

Sponsored by:	DARPA, NAI Labs


git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@134 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2002-04-18 00:00:17 +00:00
Dag-Erling Smørgrav
0dc4389568 Regenerate.
git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@133 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2002-04-17 23:51:52 +00:00
Dag-Erling Smørgrav
c1bd6712a0 Add colons so gendoc recognizes this as a list rather than a literal
section.

Sponsored by:	DARPA, NAI Labs


git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@132 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2002-04-17 23:51:34 +00:00
Dag-Erling Smørgrav
1e53b5bf95 When closing a literal section, reset $inliteral, not $inlist.
Sponsored by:	DARPA, NAI Labs


git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@131 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2002-04-17 23:48:53 +00:00
Dag-Erling Smørgrav
c51f824179 Set rsp to NULL before calling the conversation function, so we can
later detect if it hasn't been touched.

Sponsored by:	DARPA, NAI Labs


git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@130 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2002-04-17 07:26:16 +00:00
Dag-Erling Smørgrav
ad8d33ef88 Add a null conversation function.
Sponsored by:	DARPA, NAI Labs


git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@129 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2002-04-17 06:46:51 +00:00
Dag-Erling Smørgrav
eabc266fb3 Fix braino in the gcc version of the openpam_log() macro.
Sponsored by:	DARPA, NAI Labs


git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@128 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2002-04-16 23:29:40 +00:00
Dag-Erling Smørgrav
2d7706551f Additional debugging messages.
git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@127 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2002-04-15 08:30:42 +00:00
Dag-Erling Smørgrav
1673fb83d0 Typo on page 73.
git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@126 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2002-04-15 08:29:23 +00:00
Dag-Erling Smørgrav
eeab6a40c4 Don't copy log messages to stderr, even #ifdef DEBUG.
git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@125 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2002-04-15 08:28:43 +00:00
Dag-Erling Smørgrav
b055d19eda Print a newline after an error or info message.
git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@124 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2002-04-15 03:26:55 +00:00
Dag-Erling Smørgrav
dc52aa4375 Document change 9736, I'm rerolling Cinenaria.
git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@123 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2002-04-15 02:34:19 +00:00
Dag-Erling Smørgrav
2dc37c7bb2 Fix highly embarassing typo. This makes a good argument for using
verbose variable names.


git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@122 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2002-04-15 02:31:56 +00:00
Dag-Erling Smørgrav
78265f5fc9 Release documentation for OpenPAM Cineraria.
git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@121 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2002-04-14 20:25:33 +00:00
Dag-Erling Smørgrav
22986240c0 Bump version & release.
git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@120 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2002-04-14 20:25:15 +00:00
Dag-Erling Smørgrav
c7a79e22d3 Regenerate.
git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@119 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2002-04-14 20:24:37 +00:00
Dag-Erling Smørgrav
31fa053253 Stuff the tarball in /tmp.
git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@118 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2002-04-14 20:24:13 +00:00
Dag-Erling Smørgrav
fbb6b90656 Note typo on page 40.
git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@117 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2002-04-14 20:23:20 +00:00
Dag-Erling Smørgrav
2b15d8097d New files.
git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@116 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2002-04-14 20:22:58 +00:00
Dag-Erling Smørgrav
61c8a26c60 More checks & documentation, and fix some markup nits.
Sponsored by:	DARPA, NAI Labs


git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@115 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2002-04-14 20:22:20 +00:00
Dag-Erling Smørgrav
4872da15d4 Add version macros.
git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@114 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2002-04-14 19:40:11 +00:00
Dag-Erling Smørgrav
71b9434c2f Fix typo in openpam_log macro.
git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@113 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2002-04-13 00:12:46 +00:00
Dag-Erling Smørgrav
2b0fbefd4a Move the policy-loading code into a separate file.
Sponsored by:	DARPA, NAI Labs


git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@112 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2002-04-12 20:27:47 +00:00
Dag-Erling Smørgrav
3f41e83845 Adopt the same preprocessor tricks that Linux-PAM uses for modules.
This reduces the amount of changes needed to adopt modules written
for Linux-PAM.

Sponsored by:	DARPA, NAI Labs


git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@111 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2002-04-12 20:16:08 +00:00
Dag-Erling Smørgrav
bfaad8a294 Forgot CREDITS.
git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@110 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2002-04-08 14:36:37 +00:00
Dag-Erling Smørgrav
af47d93bdc Last-minute addition to "known issues".
git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@109 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2002-04-08 14:25:12 +00:00
Dag-Erling Smørgrav
330a2ae4a4 Release documentation for OpenPAM Cinchona.
Sponsored by:	DARPA, NAI Labs


git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@108 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2002-04-08 14:19:12 +00:00
Dag-Erling Smørgrav
edac1d2d07 Regenerate.
git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@107 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2002-04-08 14:04:56 +00:00
Dag-Erling Smørgrav
56aafe38c0 Add openpam_{borrow,restore}_cred() (for temporarily switching to
user credentials) and openpam_free_data() (generic cleanup function
for pam_set_data() consumers)

Sponsored by:	DARPA, NAI Labs


git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@106 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2002-04-08 13:42:13 +00:00
Dag-Erling Smørgrav
ff571b036c If PAM_OLDAUTHTOK is set, we're asked for PAM_AUTHTOK, and we have
to prompt the user, prompt her twice and compare the responses.

Sponsored by:	DARPA, NAI Labs


git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@105 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2002-04-06 21:23:26 +00:00
Dag-Erling Smørgrav
b2b11d5483 Fix bugs in portability code; libpam now builds on NetBSD 1.5.2.
Sponsored by:	DARPA, NAI Labs


git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@104 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2002-04-06 19:02:06 +00:00
Dag-Erling Smørgrav
b9591f18fd More errata.
git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@103 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2002-04-06 17:43:38 +00:00
Dag-Erling Smørgrav
c7010177aa Check flags carefully, and add documentation.
Sponsored by:	DARPA, NAI Labs


git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@102 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2002-04-06 17:41:37 +00:00
Dag-Erling Smørgrav
c9f74afc91 Plug memory leak, reduce differences between these very similar
functions, and {add,tweak} documentation.

Sponsored by:	DARPA, NAI Labs


git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@101 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2002-04-06 17:17:44 +00:00
Dag-Erling Smørgrav
1eafe40ac3 Change pam_get_authtok()'s prototype so the caller can specify
what token it wants.  Also introduce PAM_OLDAUTHTOK_PROMPT.

Sponsored by:	DARPA, NAI Labs


git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@100 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2002-04-06 17:05:21 +00:00
Dag-Erling Smørgrav
6a52d30938 Allocate the correct amount of memory for the environment list
(forgot to multiply by sizeof(char *)).

Submitted by:	Takanori Saneto <sanewo@ba2.so-net.ne.jp>


git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@99 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2002-04-02 22:47:12 +00:00
Dag-Erling Smørgrav
8113558d3a Fix braino that arose from confusion between data and dp. This
unbreaks the pam_ldap module.

Based on a patch by Joe Marcus Clarke <marcus@marcuscom.com>.

Sponsored by:	DARPA, NAI Labs


git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@98 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2002-04-01 14:13:56 +00:00
Dag-Erling Smørgrav
6e48c6e7f5 Blah, fix formatting bug in previous revision.
git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@97 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2002-03-14 21:46:58 +00:00
Dag-Erling Smørgrav
de650b3211 Release documentation for OpenPAM Centaury.
Sponsored by:	DARPA, NAI Labs


git-svn-id: svn+ssh://svn.openpam.org/svn/openpam/trunk@96 185d5e19-27fe-0310-9dcf-9bff6b9f3609
2002-03-14 21:23:06 +00:00