xref: /freebsd/contrib/openpam/HISTORY (revision 8ab2f5ecc596131f6ca790d6ae35540c06ed7985)
1OpenPAM Eelgrass						2004-02-10
2
3 - BUGFIX: Correct array handling bugs in conversation code.
4
5 - BUGFIX: In openpam_ttyconv(3), don't strip trailing linear
6   whitespace from the user's response.
7
8 - BUGFIX: Many constness issues addressed.
9============================================================================
10OpenPAM Dogwood							2003-07-15
11
12 - ENHANCE: Use the GNU autotools.
13
14 - ENHANCE: Constify the msg field in struct pam_message.
15
16 - BUGFIX: Remove left-over debugging output
17
18 - BUGFIX: Avoid side effects in arguments to the FREE() macro
19
20 - ENHANCE: Make openpam_ttyconv(3) use read(2) rather than fgets(3).
21
22 - BUGFIX: Staticize some variables which shouldn't be global.
23
24 - BUGFIX: Correcly anticipate a NULL user in pam_get_user(3).
25
26 - ENHANCE: Various minor documentation improvements.
27
28Thanks to Dmitry V. Levin <ldv@altlinux.org> for considerable
29assistance with this release.
30============================================================================
31OpenPAM Digitalis						2003-06-01
32
33 - ENHANCE: Completely rewrite the configuration parser and add
34   support for the "include" control flag.
35
36 - ENHANCE: Improve portability to NetBSD, OpenBSD and Linux.
37
38 - ENHANCE: Lots of additional paranoia.
39
40 - BUGFIX: The sample su(1) application dropped privileges before
41   forking instead of after.
42
43 - ENHANCE: Document openpam_log(3).
44
45 - ENHANCE: Other minor documentation fixes.
46
47Thanks to Dmitry V. Levin <ldv@altlinux.org> for considerable
48assistance with this release.
49============================================================================
50OpenPAM Dianthus						2003-05-02
51
52 - BUGFIX: Initialize some potentially uninitialized variables.
53
54 - BUGFIX: Silence some warnings emitted by gcc -std=iso9899:1999.
55
56 - BUGFIX: In pam_getenv(), return a pointer to the stored variable
57   instead of a freshly allocated copy.
58
59 - ENHANCE: Detect recursion in openpam_borrow_cred()
60
61 - ENHANCE: Make borrowing one's own credentials a no-op.
62
63 - ENHANCE: Further improve debugging support.
64
65 - ENHANCE: Clean up some variable names.
66============================================================================
67OpenPAM Daffodil						2003-01-06
68
69 - ENHANCE: Document dependency on <sys/types.h> (for size_t)
70
71 - ENHANCE: Slightly improve error detection in openpam_ttyconv().
72
73 - BUGFIX: Fix several typos in debugging macros.
74============================================================================
75OpenPAM Cyclamen						2002-12-12
76
77 - ENHANCE: Improve recursion detection in openpam_dispatch().
78
79 - ENHANCE: Add debugging messages at entry and exit points of most
80   functions.
81
82 - ENHANCE: Fix some minor style issues.
83
84 - BUGFIX: Add default cases to the switches in openpam_log.c.
85
86 - ENHANCE: Add /usr/local/etc/pam.conf to policy search path.
87
88 - BUGFIX: In openpam_ttyconv(3), print the prompt to stdout rather
89   than stderr.
90============================================================================
91OpenPAM Citronella						2002-06-30
92
93 - ENHANCE: Add the "binding" control flag (from Solaris 9).
94
95 - ENHANCE: Define struct pam_repository and PAM_REPOSITORY (from
96   Solaris 9).
97
98 - ENHANCE: Flesh out the pam(3) man page.
99
100 - ENHANCE: Add an openpam(3) page with cross-references to all the
101   documented OpenPAM API extensions.
102
103 - ENHANCE: Add a pam_conv(3) man page describing the conversation
104   system.
105
106 - ENHANCE: Improved sample application.
107
108 - ENHANCE: Added sample pam_unix module.
109
110 - BUGFIX: Various documentation nits.
111============================================================================
112OpenPAM Cinquefoil						2002-05-24
113
114 - BUGFIX: Various warnings uncovered by gcc 3.1.
115
116 - ENHANCE: Add a null conversation function, openpam_nullconv(3).
117
118 - BUGFIX: Initialize the "other" chain to all zeroes.
119
120 - ENHANCE: Document openpam_ttyconv(3).
121============================================================================
122OpenPAM Cinnamon						2002-05-02
123
124 - ENHANCE: Add a null conversation function, openpam_nullconv().
125
126 - BUGFIX: Various markup bugs in the documentation.
127
128 - BUGFIX: Document <security/openpam.h>.
129
130 - BUGFIX: Duplicate expansion of openpam_log() macro arguments.
131
132 - ENHANCE: Restructure the policy-loading code and align our use of
133   the "other" policy with Solaris and Linux-PAM.
134
135 - ENHANCE: Log dlopen() and dlsym() failures.
136
137 - ENHANCE: In openpam_ttyconv(), emit a newline after error and info
138   messages unless the message contains one already.
139
140 - BUGFIX: In pam_vprompt(), initialize the response pointer to NULL
141   so we can detect whether the conversation function touched it.
142============================================================================
143OpenPAM Cineraria						2002-04-14
144
145 - BUGFIX: Fix confusion between token and prompt in
146   pam_get_authtok(3).
147
148 - ENHANCE: Improved documentation.
149
150 - ENHANCE: Adopt the same preprocessor tricks that were used in
151   FreeBSD's version of Linux-PAM to simplify static linking without
152   requiring dummy primitives.
153
154 - ENHANCE: Move the policy-loading code out of pam_start.c.
155
156 - BUGFIX: Fix typo in one of the versions of the openpam_log macro.
157
158 - ENHANCE: Add versioning macros.
159============================================================================
160OpenPAM Cinchona						2002-04-08
161
162 - ENHANCE: Improved documentation for several API functions.
163
164 - BUGFIX: Fix bug in pam_set_data() that would result in corruption
165   of the module data list.
166
167 - BUGFIX: Allocate the correct amount of memory for the environment
168   list in pam_putenv().
169
170 - ENHANCE: Change pam_get_authtok()'s prototype so the caller can
171   specify what token it wants.  Also introduce PAM_OLDAUTHTOK_PROMPT.
172
173 - BUGFIX: Plug memory leak in pam_get_user() / pam_get_authtok(), and
174   reduce differences between these very similar functions.
175
176 - ENHANCE: Check flags carefully in pam_authenticate() and
177   pam_chauthtok().
178
179 - BUGFIX: Fix bugs in portability code; libpam now builds on NetBSD.
180
181 - ENHANCE: In pam_get_authtok(), if PAM_OLDAUTHTOK is set, we're
182   asked for PAM_AUTHTOK, and we have to prompt the user, prompt her
183   twice and compare the responses.
184
185 - ENHANCE: Add openpam_{borrow,restore}_cred(), for temporarily
186   switching to user credentials.
187
188 - ENHANCE: Add openpam_free_data(), a generic cleanup function for
189   pam_set_data() consumers.
190============================================================================
191OpenPAM	Centaury						2002-03-14
192
193 - BUGFIX: Add missing #include <string.h> to openpam_log.c.
194
195 - BUGFIX: s/PAM_REINITIALISE_CRED/PAM_REINITIALIZE_CRED/.  XSSO uses
196   the former, but Solaris and Linux-PAM use the latter.
197
198 - BUGFIX: The dynamic loader and the module cache contained a number
199   of bugs which would cause a segmentation fault if pam_start(3) was
200   called again after pam_end(3), as happens in login(1), xdm(1) etc.
201   after a failed login.
202
203 - BUGFIX: Refer to a module by the name used in the policy file, even
204   if the module that was actually loaded was versioned.
205
206 - ENHANCE: Suppress debugging logs, unless compiled with -DDEBUG.
207============================================================================
208OpenPAM Celandine						2002-03-05
209
210 - BUGFIX: PAM_TRY_AGAIN is a valid return value for pam_chauthtok().
211
212 - BUGFIX: Run passwd chain twice, first with the PAM_PRELIM_CHECK
213   flag set, then with the PAM_UPDATE_AUTHTOK flag set.
214
215 - BUGFIX: Failure of a "sufficient" module should not terminate the
216   passwd chain if the PAM_PRELIM_CHECK flag is set.
217
218 - BUGFIX: Clear PAM_AUTHTOK after running the service modules.
219
220 - ENHANCE: Prevent applications from specifying the PAM_PRELIM_CHECK
221   or PAM_UPDATE_AUTHTOK flags themselves.
222
223 - BUGFIX: openpam_set_option() did not support changing the value of
224   an existing option.
225
226 - ENHANCE: Add support for module versioning.  OpenPAM will prefer a
227   module with the same version number as the library itself to one
228   with no version number at all.
229============================================================================
230OpenPAM	Cantaloupe						2002-02-22
231
232 - BUGFIX: The proper use of PAM_SYMBOL_ERR is to indicate an invalid
233   argument to pam_[gs]et_item(3), not to indicate dlsym(3) failures.
234
235 - ENHANCE: Add in-line documentation in most source files, and a Perl
236   script that generates mdoc code from that.
237
238 - BUGFIX: The environment list was not properly NULL-terminated.
239
240 - ENHANCE: Allow the PAM_AUTHTOK_PROMPT item to override the prompt
241   specified by the module.
242
243 - BUGFIX: PAM_NUM_ITEMS was set too low.  It has been moved to
244   pam_constants.h to avoid it going stale again.
245
246 - ENHANCE: Move all code related to static modules into a separate
247   file.
248
249 - ENHANCE: openpam_ttyconv() now masks most signals while prompting the
250   user, and supports setting a timeout (which defaults to off).
251
252 - BUGFIX: Some manual pages referenced XSSO even though they
253   documented OpenPAM-specific functions.
254
255 - ENHANCE: Added openpam_get_option() and openpam_set_option().
256
257 - ENHANCE: openpam_get_authtok() now respects the echo_pass,
258   try_first_pass, and use_first_pass options.
259============================================================================
260OpenPAM	Caliopsis						2002-02-13
261
262Fixed a number of bugs in the previous release, including:
263  - a number of bugs in and related to pam_[gs]et_item(3)
264  - off-by-one bug in pam_start.c would trim last character off certain
265    configuration lines
266  - incorrect ordering of an array in openpam_load.c would cause service
267    module functions to get mixed up
268  - missing 'continue' in openpam_dispatch.c caused successes to be
269    counted as failures
270============================================================================
271OpenPAM	Calamite						2002-02-09
272
273First (beta) release.
274============================================================================
275$P4: //depot/projects/openpam/HISTORY#22 $
276