]> granicus.if.org Git - linux-pam/blob - ChangeLog
Relevant BUGIDs:
[linux-pam] / ChangeLog
1 2006-10-13  Tomas Mraz <t8m@centrum.cz>
2
3         * doc/mwg/Linux-PAM_MWG.xml: Add id[s] to section[s].
4         * doc/sag/pam_access.xml: Likewise.
5         * doc/sag/pam_echo.xml: Likewise.
6         * doc/sag/pam_env.xml: Likewise.
7         * doc/sag/pam_exec.xml: Likewise.
8         * doc/sag/pam_group.xml: Likewise.
9         * doc/sag/pam_limits.xml: Likewise.
10         * doc/sag/pam_namespace.xml: Likewise.
11         * doc/sag/pam_time.xml: Likewise.
12         * doc/sag/Linux-PAM_SAG.xml: Add id to book.
13         * doc/adg/Linux-PAM_ADG.xml: Add id to book.
14         * doc/mwg/Linux-PAM_MWG.xml: Add id to book.
15         
16
17 2006-10-07  Thorsten Kukuk  <kukuk@suse.de>
18
19         * po/hu.po: Updated hungarian translation (from
20         Kalman Kemenczy <kkemenczy@novell.com>)
21
22 2006-09-20  Thorsten Kukuk  <kukuk@thkukuk.de>
23
24         * doc/adg/Makefile.am: Add manual pages as dependency.
25         * doc/mwg/Makefile.am: Likewise.
26         * doc/sag/Makefile.am: Likewise.
27         * doc/sag/Linux-PAM_SAG.xml: Include pam_unix.xml.
28         * doc/sag/pam_unix.xml: New.
29         * modules/pam_unix/Makefile.am: Generate pam_unix.8 manual page.
30         * modules/pam_unix/README.xml: New.
31         * modules/pam_unix/pam_unix.8.xml: New.
32         * modules/pam_unix/README: Regenerate from XML.
33         * modules/pam_unix/pam_unix.8: Generated from XML.
34
35 2006-09-09  Dmitry V. Levin  <ldv@altlinux.org>
36
37         * modules/pam_wheel/pam_wheel.8.xml: Fix typo.
38         * modules/pam_wheel/pam_wheel.8: Likewise.
39         * modules/pam_wheel/README: Likewise.
40
41 2006-09-08  Thorsten Kukuk  <kukuk@thkukuk.de>
42
43         * po/de.po: Fix typo.
44
45 2006-09-06  Thorsten Kukuk  <kukuk@thkukuk.de>
46
47         * release version 0.99.6.3
48
49 2006-09-01  Thorsten Kukuk  <kukuk@thkukuk.de>
50
51         * modules/pam_loginuid/pam_loginuid.8.xml: Fix typo in
52         config name.
53
54 2006-08-31  Thorsten Kukuk  <kukuk@thkukuk.de>
55
56         * modules/pam_env/environment: New, dummy environment example
57         config file.
58
59         * modules/pam_namespace/Makefile.am: Don't install
60         manual page if we don't build module.
61
62         * m4/ld-as-needed.m4: Don't set LDFLAGS if check failed.
63         * m4/ld-O1: Likewise.
64
65 2006-08-30  Tomas Mraz  <t8m@centrum.cz>
66
67         * modules/pam_access/pam_access.8.xml: All services supported.
68         * modules/pam_access/pam_access.c (pam_sm_open_session): New.
69         (pam_sm_close_session): New.
70         (pam_sm_chauthtok): New.
71
72         * modules/pam_access/pam_succeed_if.8.xml: All services supported.
73         * modules/pam_access/pam_succeed_if.c (pam_sm_setcred): Return
74         PAM_IGNORE rather than success.
75         (pam_sm_open_session): New.
76         (pam_sm_close_session): New.
77         (pam_sm_chauthtok): New.
78
79 2006-08-30  Thorsten Kukuk  <kukuk@thkukuk.de>
80
81         * xtests/Makefile.am: Move shell code to execute tests from here ...
82         * xtests/run-xtests.sh: ... to here.
83         * xtests/*.c: Include config.h.
84         * tests/*.c: Likewise.
85
86         * modules/pam_namespace/pam_namespace.c: Use pam_modutil_getpwnam()
87         instead of getpwnam().
88
89 2006-08-29  Thorsten Kukuk  <kukuk@thkukuk.de>
90
91         * doc/sag/pam_loginuid.xml: New.
92         * doc/sag/Linux-PAM_SAG.xml: Include pam_loginuid.xml.
93
94         * configure.in: Add modules/pam_loginuid/Makefile.
95         * modules/Makefile.am: Add pam_loginuid sub directory.
96
97         * libpam/pam_static_modules.h: Add pam_loginuid.
98
99         * modules/pam_loginuid/Makefile.am: New.
100         * modules/pam_loginuid/tst-pam_loginuid: New.
101         * modules/pam_loginuid/pam_loginuid.8.xml: New.
102         * modules/pam_loginuid/pam_loginuid.8: New, generated from XML source.
103         * modules/pam_loginuid/pam_loginuid.c: New.
104         * modules/pam_loginuid/README.xml: New.
105         * modules/pam_loginuid/README: New, generated from XML source.
106
107 2006-08-29  Dmitry V. Levin  <ldv@altlinux.org>
108
109         * modules/pam_exec/pam_exec.c (call_exec): Add required third
110         argument to open() call with O_CREAT flag set.
111
112 2006-08-28  Thorsten Kukuk  <kukuk@thkukuk.de>
113
114         * modules/pam_cracklib/pam_cracklib.c (pam_sm_chauthtok): Remove
115         duplicate code.
116
117 2006-08-24  Thorsten Kukuk  <kukuk@thkukuk.de>
118
119         * release version 0.99.6.2
120
121         * modules/pam_lastlog/pam_lastlog.c (last_login_date): Create
122         lastlog file if it does not exist.
123
124         * modules/pam_cracklib/pam_cracklib.c (pam_sm_chauthtok): Check
125         for error from getting second token.
126         * xtests/Makefile.am: Add tst-pam_cracklib1
127         * xtests/tst-pam_cracklib1.c: New, check for pam_cracklib seg.fault.
128         * xtests/tst-pam_cracklib1.pamd: New, config for cracklib test.
129
130 2006-08-24  Thorsten Kukuk  <kukuk@thkukuk.de>
131
132         * xtests/tst-pam_dispatch4.c: New test.
133         * xtests/tst-pam_dispatch4.pamd: PAM config for new test.
134
135 2006-08-09  Thorsten Kukuk  <kukuk@thkukuk.de>
136
137         * release version 0.99.6.1
138
139 2006-08-09  David Howells  <dhowells@redhat.com>
140
141         * modules/pam_keyinit/pam_keyinit.c (kill_keyrings): Set real uid
142         to user's before revoking.
143         (pam_sm_open_session): Remember the uid.
144
145 2006-08-06  Thorsten Kukuk  <kukuk@thkukuk.de>
146
147         * modules/pam_umask/pam_umask.c (setup_limits_from_gecos):
148         Add error handling.
149         * modules/pam_umask/pam_umask.8.xml: Document silent option.
150
151         * xtests/Makefile.am: Fix includes for bootstrapping.
152         Reported by Greg Schafer <gschafer@zip.com.au>.
153
154 2006-08-05  Thorsten Kukuk  <kukuk@thkukuk.de>
155
156         * release version 0.99.6.0
157
158         * modules/pam_limits/pam_limits.c (pam_sm_open_session): Use
159         pam_modutil_getpwnam instead of getpwnam.
160
161         * modules/pam_succeed_if/pam_succeed_if.c (evaluate): Cast
162         svc variable to char pointer for snprintf.
163
164         * configure.in: Generate xtests/Makefile.
165         * Makefile.am (SUBDIRS): Add xtests.
166         * README: Document make check and make xtests.
167         * xtests/Makefile.am: New.
168         * xtests/tst-pam_dispatch1.pamd: New.
169         * xtests/tst-pam_dispatch2.pamd: New.
170         * xtests/tst-pam_dispatch3.pamd: New.
171         * xtests/tst-pam_dispatch1.c: New.
172         * xtests/tst-pam_dispatch2.c: New.
173         * xtests/tst-pam_dispatch3.c: New.
174
175 2006-08-04 Ray Strode  <rstrode@redhat.com>
176
177         * modules/pam_succeed_if/pam_succeed_if.c (pam_sm_authenticate):
178         Return PAM_USER_UNKNOWN instead of PAM_SERVICE_ERR where appropriate.
179
180 2006-08-03  David Howells  <dhowells@redhat.com>
181
182         * modules/pam_keyinit/pam_keyinit.c: Debug should be off by default.
183         (init_keyrings): Properly handle multiple invocations of the module.
184         (kill_keyrings, pam_sm_open_session, pam_sm_close_session): Likewise.
185
186 2006-08-03  Tomas Mraz  <t8m@centrum.cz>
187
188         * modules/pam_succeed_if/pam_succeed_if.c (evaluate_inlist):
189         New function for list matching.
190         (evaluate_notinlist): Likewise.
191         (evaluate): Add service value match, list matching.
192         * modules/pam_succeed_if/pam_succeed_if.8.xml: Document the
193         features.
194
195         * modules/pam_selinux/pam_selinux.c (security_label_tty): Don't log
196         relabelling error when the tty device doesn't exist (ENOENT).
197
198 2006-08-01  Thorsten Kukuk  <kukuk@thkukuk.de>
199
200         * doc/man/pam_fail_delay.3.xml: Fix some Bugs and enhance
201         rationale about when this function should be used and when not.
202
203         * doc/index.html: Cleanup to look prettier.
204
205 2006-08-01  Thorsten Kukuk  <kukuk@thkukuk.de>
206
207         * libpam/Makefile.am: Bump patchlevel of libpam.
208         * libpam/pam_dispatch.c (_pam_dispatch_aux): If [return=die]
209         or [return=bad] is used, don't return PAM_IGNORE. Based on
210         patch by Tomas Mraz <t8m@centrum.cz>, [BRC#196859].
211
212 2006-07-28  Thorsten Kukuk  <kukuk@thkukuk.de>
213
214         * ABOUT-NLS: Upgrade to gettext-0.15.
215         * config.rpath: Likewise.
216         * m4/gettext.m4: Upgrade to gettext-0.15.
217         * m4/inttypes-h.m4: New file, from gettext-0.15.
218         * m4/inttypes-pri.m4: Upgrade to gettext-0.15.
219         * m4/lib-link.m4: Upgrade to gettext-0.15.
220         * m4/lib-prefix.m4: Upgrade to gettext-0.15.
221         * m4/lock.m4: New file, from gettext-0.15.
222         * m4/longdouble.m4: Upgrade to gettext-0.15.
223         * m4/nls.m4: Upgrade to gettext-0.15.
224         * m4/po.m4: Upgrade to gettext-0.15.
225         * m4/size_max.m4: Upgrade to gettext-0.15.
226         * m4/visibility.m4: New file, from gettext-0.15.
227         * po/Makefile.in.in: Upgrade to gettext-0.15.
228
229 2006-07-24  David Quigley   <dpquigl@tycho.nsa.gov>
230
231         * modules/pam_namespace/Makefile.am: Add pam_namespace.h.
232         * modules/pam_namespace/pam_namespace.c: Move includes and
233         data structure definitions from here ...
234         * modules/pam_namespace/pam_namespace.h: ... here. New file.
235
236         * modules/pam_namespace/pam_namespace.c: Move large sections
237         of code into new functions.
238
239 2006-07-24  Thorsten Kukuk  <kukuk@thkukuk.de>
240
241         * doc/adg/Makefile.am: Add uninstall and distclean rules.
242         * doc/mwg/Makefile.am: Likewise.
243         * doc/sag/Makefile.am: Likewise.
244
245 2006-07-08  Daniel Richard G.  <skunk@iskunk.org>
246
247         * conf/pam_conv1/Makefile.am: Fix rules for lex and yacc files.
248         * conf/pam_conv1/pam_conv.lex: Rename to ...
249         * conf/pam_conv1/pam_conv_l.l: ... this.
250         * conf/pam_conv1/pam_conv.y: Rename to ...
251         * conf/pam_conv1/pam_conv_y.y: ... this.
252         * configure.in: Add AC_HELP_STRING()s to various AC_ARG_ENABLE()
253         calls.
254         * doc/Makefile.am: Fix rule to install index.html.
255         * doc/adg/Makefile.am: Fix test usage.
256         * doc/mwg/Makefile.am: Likewise.
257         * doc/sag/Makefile.am: Likewise.
258         * doc/specs/Makefile.am: Fix rules for lex and yacc files.
259         * specs/parse.lex: Rename to ...
260         * doc/specs/parse_l.l: ... this.
261         * doc/specs/parse.y: Rename to ...
262         * doc/specs/parse_y.y: ... this.
263         * libpam/pam_account.c: Fix #if vs. #ifdef.
264         * libpam/pam_audit.c: Likewise.
265         * libpam/pam_auth.c: Likewise.
266         * libpam/pam_password.c: Likewise.
267         * libpam/pam_private.h: Likewise.
268         * libpam/pam_session.c: Likewise.
269         * libpam/pam_start.c: Likewise.
270         * libpam/pam_static.c: Fix "empty sourcefile" warning.
271         * modules/pam_limits/pam_limits.c: Check for __linux, too.
272         * modules/pam_userdb/Makefile.am: Don't run test if no
273         libdb available.
274         * tests/tst-dlopen.c: Include config.h.
275
276 2006-07-03  Dan Yefimov  <dan@D00M.lightwave.net.ru>
277
278         * configure.in: Fixed have_key_syscalls test.
279
280         * modules/pam_access/pam_access.c (from_match): Fixed IPv4 network
281         match, removed AI_ADDRCONFIG flag.
282
283 2006-06-30  Tomas Mraz  <t8m@centrum.cz>
284
285         * modules/pam_namespace/Makefile.am(EXTRA_DIST): Add namespace.init.
286
287 2006-06-29  Thorsten Kukuk  <kukuk@thkukuk.de>
288
289         * doc/Makefile.am (releasedocs): Fix directory layout.
290         * doc/adg/Makefile.am: Likewise.
291         * doc/mwg/Makefile.am: Likewise.
292         * doc/sag/Makefile.am: Likewise.
293
294 2006-06-28  Thorsten Kukuk  <kukuk@thkukuk.de>
295
296         * doc/sag: System Administrator Guide as XML source.
297         * doc/sag/Makefile.am: New.
298         * doc/sag/Linux-PAM_SAG.xml: New, main XML document.
299         * doc/sag/pam_*.xml: New, wrapper to include module documentation.
300
301         * doc/adg: Application Developers Guide as XML source.
302         * doc/adg/Makefile.am: New.
303         * doc/adg/Linux-PAM_ADG.xml: New, main XML document.
304         * doc/adg/pam_*.xml: New, wrappers to include manual pages.
305
306         * doc/mwg: Application Developers Guide as XML source.
307         * doc/mwg/Makefile.am: New.
308         * doc/mwg/Linux-PAM_MWG.xml: New, main XML document.
309         * doc/mwg/pam_*.xml: New, wrappers to include manual pages.
310
311         * doc/CREDITS: Removed.
312         * doc/NOTES: Removed.
313         * doc/pam_appl.sgml: Removed.
314         * doc/pam_modules.sgml: Removed.
315         * doc/pam_source.sgml: Removed.
316         * doc/figs/pam_orient.txt: Removed.
317         * doc/figs: Removed.
318
319         * configure.in: Remove checks for sgml2* progrs, add sag, adg
320         and mwg Makefiles.
321
322         * doc/Makefile.am: Remove references to sgml, add sag, adg and mwg
323         directories.
324         * doc/modules: Remove directory.
325         * doc/html: Remove directory.
326         * doc/ps: Remove directory.
327         * doc/pdf: Remove directory.
328         * doc/txts: Remove directory.
329         * doc/index.html: Moved from html directory to here.
330
331 2006-06-28  Thorsten Kukuk  <kukuk@thkukuk.de>
332
333         * release version 0.99.5.0
334
335         * bump version number to 0.99.5.0
336
337         * modules/pam_rhosts/pam_rhosts.c: New module, replaces
338         pam_rhosts_auth.so.
339         * modules/pam_rhosts/pam_rhosts.8.xml: New.
340         * modules/pam_rhosts/pam_rhosts.8: New, generated from XML source.
341         * modules/pam_rhosts/tst-pam_rhosts: New.
342         * modules/pam_rhosts/Makefile.am: Add pam_rhosts, generate
343         manual page and README.
344         * modules/pam_rhosts/README.xml: New.
345         * modules/pam_rhosts/reADME: Regenerated from XML source.
346
347         * doc/man/pam_sm_acct_mgmt.3.xml: Adjust syntax for module
348         writers guide.
349         * doc/man/pam_sm_authenticate.3.xml: Likewise.
350         * doc/man/pam_sm_chauthtok.3.xml: Likewise.
351         * doc/man/pam_sm_close_session.3.xml: Likewise.
352         * doc/man/pam_sm_open_session.3.xml: Likewise.
353         * doc/man/pam_sm_setcred.3.xml: Likewise.
354
355         * po/POTFILES.in: Add new source files.
356
357         * libpam/pam_static_modules.h: Add new modules.
358
359         * modules/pam_keyinit.c: Add _pam_keyinit_modstruct.
360
361         * modules/pam_keyinit/Makefile.am (EXTRA_DIST): Add XML
362         files and manual page.
363
364 2006-06-27  Thorsten Kukuk <kukuk@thkukuk.de>
365
366         * configure.in: Allow disabling of SELinux support, check for
367         rootok_af.
368
369 2006-06-27  Tomas Mraz <t8m@centrum.cz>
370
371         * modules/pam_namespace/pam_namespace.c: New module
372         originally written by Janak Desai.
373         * modules/pam_namespace/Makefile.am: New.
374         * modules/pam_namespace/README: New.
375         * modules/pam_namespace/md5.c: New.
376         * modules/pam_namespace/md5.h: New.
377         * modules/pam_namespace/namespace.conf: New.
378         * modules/pam_namespace/namespace.conf.5: New.
379         * modules/pam_namespace/namespace.conf.5.xml: New.
380         * modules/pam_namespace/namespace.init: New.
381         * modules/pam_namespace/pam_namespace.8: New.
382         * modules/pam_namespace/pam_namespace.8.xml: New.
383         * modules/pam_namespace/tst-pam_namespace: New.
384         * modules/Makefile.am: Added pam_namespace.
385         * configure.in: Added pam_namespace, test for unshare
386         library call.
387
388 2006-06-27  David Howells <dhowells@redhat.com>
389
390         * modules/pam_keyinit/pam_keyinit.c: New module.
391         * modules/pam_keyinit/pam_keyinit.8: New.
392         * modules/pam_keyinit/pam_keyinit.8.xml: New.
393         * modules/pam_keyinit/README: New.
394         * modules/pam_keyinit/README.xml: New.
395         * modules/pam_keyinit/Makefile.am: New.
396         * modules/pam_keyinit/tst-pam_keyinit: New.
397         * modules/Makefile.am: Added pam_keyinit.
398         * configure.in: Added test for the key mgmt syscall.
399
400 2006-06-27  Thorsten Kukuk <kukuk@thkukuk.de>
401
402         * m4/libprelude.m4: Sync with upstream.
403
404 2006-06-27  Tomas Mraz <t8m@centrum.cz>
405
406         * modules/pam_unix/pam_unix_acct.c (_unix_run_verify_binary):
407         signal() fails with SIG_ERR return
408         * modules/pam_unix/pam_unix_passwd.c(_unix_run_shadow_binary):
409         Likewise.
410         * modules/pam_unix/support.c(_unix_run_helper_binary):
411         Likewise.
412
413 2006-06-25  Thorsten Kukuk  <kukuk@thkukuk.de>
414
415         * doc/man/misc_conv.3.xml: New.
416         * doc/man/misc_conv.3: New.
417         * doc/man/pam_misc_paste_env.3.xml: New.
418         * doc/man/pam_misc_paste_env.3: New.
419         * doc/man/pam_misc_drop_env.3.xml: New.
420         * doc/man/pam_misc_drop_env.3: New.
421         * doc/man/pam_misc_setenv.3.xml: New.
422         * doc/man/pam_misc_setenv.3: New.
423         * doc/man/Makefile.am: Add new manual pages.
424
425         * doc/man/pam_acct_mgmt.3.xml: Fix syntax for inclusion
426         in Applicatoin Developer Guide.
427         * doc/man/pam_authenticate.3.xml: Likewise
428         * doc/man/pam_chauthtok.3.xml: Likewise
429         * doc/man/pam_close_session.3.xml: Likewise
430         * doc/man/pam_conv.3.xml: Likewise
431         * doc/man/pam_end.3.xml: Likewise
432         * doc/man/pam_fail_delay.3.xml: Likewise
433         * doc/man/pam_getenv.3.xml: Likewise
434         * doc/man/pam_getenvlist.3.xml: Likewise
435         * doc/man/pam_open_session.3.xml: Likewise
436         * doc/man/pam_putenv.3.xml: Likewise
437         * doc/man/pam_setcred.3.xml: Likewise
438         * doc/man/pam_start.3.xml: Likewise
439         * doc/man/pam_strerror.3.xml: Likewise
440
441         * doc/man/pam_acct_mgmt.3: Regenerate from XML source.
442         * doc/man/pam_authenticate.3: Likewise
443         * doc/man/pam_chauthtok.3: Likewise
444         * doc/man/pam_close_session.3: Likewise
445         * doc/man/pam_conv.3: Likewise
446         * doc/man/pam_end.3: Likewise
447         * doc/man/pam_fail_delay.3: Likewise
448         * doc/man/pam_getenv.3: Likewise
449         * doc/man/pam_getenvlist.3: Likewise
450         * doc/man/pam_open_session.3: Likewise
451         * doc/man/pam_putenv.3: Likewise
452         * doc/man/pam_setcred.3: Likewise
453         * doc/man/pam_sm_close_session.3: Likewise
454         * doc/man/pam_start.3: Likewise
455         * doc/man/pam_strerror.3: Likewise
456         * doc/man/pam_syslog.3: Likewise
457         * doc/man/PAM.8: Likewise
458
459 2006-06-24  Thorsten Kukuk  <kukuk@thkukuk.de>
460
461         * modules/pam_limits/pam_limits.c (setup_limits): Don't
462         reset priority for root.
463
464 2006-06-23  Thorsten Kukuk  <kukuk@thkukuk.de>
465
466         * modules/pam_access/access.conf.5.xml: Fix syntax for SAG.
467         * modules/pam_access/pam_access.8.xml: Likewise.
468         * modules/pam_deny/pam_deny.8.xml: Likewise.
469         * modules/pam_echo/pam_echo.8.xml: Likewise.
470         * modules/pam_env/pam_env.8.xml: Likewise.
471         * modules/pam_env/pam_env.conf.5.xml: Likewise.
472         * modules/pam_group/group.conf.5.xml: Likewise.
473         * modules/pam_group/pam_group.8.xml: Likewise.
474         * modules/pam_limits/limits.conf.5.xml: Likewise.
475         * modules/pam_listfile/pam_listfile.8.xml: Likewise.
476         * modules/pam_succeed_if/pam_succeed_if.8.xml: Likewise.
477         * modules/pam_time/pam_time.8.xml: Likewise.
478         * modules/pam_time/time.conf.5.xml: Likewise.
479
480         * modules/pam_access/access.conf.5: Regenerate.
481         * modules/pam_access/pam_access.8: Likewise.
482         * modules/pam_deny/pam_deny.8: Likewise.
483         * modules/pam_echo/README: Likewise.
484         * modules/pam_echo/pam_echo.8: Likewise.
485         * modules/pam_env/pam_env.8: Likewise.
486         * modules/pam_env/pam_env.conf.5: Likewise.
487         * modules/pam_group/README: Likewise.
488         * modules/pam_group/group.conf.5: Likewise.
489         * modules/pam_group/pam_group.8: Likewise.
490         * modules/pam_limits/limits.conf.5: Likewise.
491         * modules/pam_listfile/README: Likewise.
492         * modules/pam_listfile/pam_listfile.8: Likewise.
493         * modules/pam_succeed_if/pam_succeed_if.8: Likewise.
494         * modules/pam_time/pam_time.8: Likewise.
495         * modules/pam_time/time.conf.5: Likewise.
496
497         * doc/man/Makefile.am: Add pam.conf-desc.xml, pam.conf-dir.xml
498         and pam.conf-syntax.xml.
499         * doc/man/pam.conf.5.xml: Split into different pieces for SAG.
500         * doc/man/pam.conf.5: Regenerated.
501         * doc/man/pam.conf-desc.xml: New.
502         * doc/man/pam.conf-dir.xml: New.
503         * doc/man/pam.conf-syntax.xml: New.
504
505 2006-06-21  Thorsten Kukuk  <kukuk@thkukuk.de>
506
507         * modules/pam_selinux/Makefile.am: Fix "make dist" if libselinux
508         is not installed.
509
510         * modules/pam_issue/pam_issue.8.xml: Fix listing of escapes.
511         * modules/pam_issue/pam_issue.8: Regenerate.
512
513 2006-06-20  Thorsten Kukuk  <kukuk@thkukuk.de>
514
515         * configure.in: Remove unused check for libcap.
516
517         * m4/ld-as-needed.m4: New.
518         * m4/ld-O1.m4: New.
519         * configure.in: Call PAM_LD_AS_NEEDED and PAM_LD_O1,
520         require docbook version 4.4.
521
522 2006-06-19  Thorsten Kukuk  <kukuk@thkukuk.de>
523
524         * doc/man/pam.8.xml: Syntax cleanup.
525         * doc/pam/PAM.8: Regenerated from xml source.
526         * man/pam_sm_chauthtok.3: New.
527         * man/pam_sm_chauthtok.3.xml: New.
528         * man/pam_sm_close_session.3: New.
529         * man/pam_sm_close_session.3.xml: New.
530         * man/pam_sm_open_session.3: New.
531         * man/pam_sm_open_session.3.xml: New.
532         * man/pam_sm_authenticate.3: New.
533         * man/pam_sm_authenticate.3.xml: New.
534         * man/pam_sm_setcred.3: New.
535         * man/pam_sm_setcred.3.xml: New.
536         * man/Makefile.am: Add new pam_sm_* manual pages.
537
538         * specs/Makefile.am: Fix rule to generate draft.
539
540 2006-06-18  Thorsten Kukuk  <kukuk@thkukuk.de>
541
542         * modules/pam_tally/Makefile.am: Include Make.xml.rules.
543         * modules/pam_tally/pam_tally.8.xml: New.
544         * modules/pam_tally/pam_tally.8: New, generated from xml file.
545         * modules/pam_tally/README.xml: New.
546         * modules/pam_tally/README: Regenerated from xml file.
547
548         * modules/pam_selinux/Makefile.am: Include Make.xml.rules.
549         * modules/pam_selinux/pam_selinux.8.xml: New.
550         * modules/pam_selinux/pam_selinux.8: Regenerated from xml file.
551         * modules/pam_selinux/README.xml: New.
552         * modules/pam_selinux/README: Regenerated from xml file.
553
554 2006-06-17  Thorsten Kukuk  <kukuk@thkukuk.de>
555
556         * modules/pam_debug/Makefile.am: Include Make.xml.rules.
557         * modules/pam_debug/pam_debug.8.xml: New.
558         * modules/pam_debug/pam_debug.8: New, generated from xml file.
559         * modules/pam_debug/README.xml: New.
560         * modules/pam_debug/README: Regenerated from xml file.
561
562         * examples/vpass.c: UID is unsigned on Linux.
563         * modules/pam_exec/pam_exec.c: Likewise.
564         * modules/pam_unix/pam_unix_acct.c: Likewise.
565         * modules/pam_unix/pam_unix_sess.c: Likewise.
566
567         * modules/pam_succeed_if/pam_succeed_if.8.xml: Fix syntax error.
568         * modules/pam_succeed_if/pam_succeed_if.8: Regenerated.
569         * modules/pam_succeed_if/README: Regenerated.
570
571         * modules/pam_limits/Makefile.am: Include Make.xml.rules.
572         * modules/pam_limits/limits.conf.5: New, generated from xml file.
573         * modules/pam_limits/limits.conf.5.xml: New.
574         * modules/pam_limits/pam_limits.8: New, generated from xml file.
575         * modules/pam_limits/pam_limits.8.xml: New.
576         * modules/pam_limits/README.xml: New.
577         * modules/pam_limits/README: Regenerated from README.xml.
578
579 2006-06-16  Thorsten Kukuk  <kukuk@thkukuk.de>
580
581         * modules/pam_unix/pam_unix_passwd.c (save_old_password): UIDs
582         are unsigned on Linux, don't truncate them.
583         (_do_setpass): err is of type clnt_stat, not int.
584
585         * modules/pam_lastlog/pam_lastlog.c (last_login_read): Don't
586         truncate UID for syslog output.
587
588         * modules/pam_time/pam_time.c: Replace type boolean with int.
589         * modules/pam_group/pam_group.c: Likewise.
590
591 2006-06-15  Thorsten Kukuk  <kukuk@thkukuk.de>
592
593         * modules/pam_unix/bigcrypt.h: New.
594         * modules/pam_unix/Makefile.am: Add bigcrypt.h.
595         * modules/pam_unix/bigcrypt.c: Include bigcrypt.h.
596         * modules/pam_unix/support.c: Include bigcrypt.h, remove
597         own prototype.
598         * modules/pam_unix/bigcrypt_main.c: Include bigcrypt.h, remove
599         own prototype.
600         * modules/pam_unix/pam_unix_passwd.c: Include bigcrypt.h, remove
601         own prototype.
602
603         * modules/pam_time/pam_time.c (logic_member): Remove unused
604         variable len.
605
606         * modules/pam_group/pam_group.c (logic_field): Accept
607         colon in tty name. [#1428276].
608         (logic_member): Remove unused variable len.
609         (check_account): Fix usage of err variable in debug code.
610
611         * modules/pam_time/pam_time.c (logic_field): Likewise.
612
613         * configure.in: Add special exceptions for icc: different
614         compiler warnings, no PIE support.
615
616 2006-06-14  Thorsten Kukuk  <kukuk@thkukuk.de>
617
618         * libpam/pam_misc.c (_pam_strdup): Use strlen and strcpy.
619
620         * configure.in: Remove --enable-memory-debug, add option
621         to disable prelude if installed.
622
623         * modules/pam_tally/pam_tally.c: Remove MEMORY_DEBUG
624         * modules/pam_filter/upperLOWER/upperLOWER.c: Likewise.
625         * modules/pam_unix/unix_chkpwd.c: Likewise.
626         * libpam/include/security/_pam_types.h: Likewise.
627         * libpam/libpam.map: Remove LIBPAM_MALLOC_DEBUG export.
628         * libpam/pam_malloc.c: Remove file.
629         * libpam/Makefile.am: Remove pam_malloc.c and pam_malloc.h.
630
631         * libpam/pam_handlers.c (extract_modulename): Use _pam_strdup
632         instead of strdup.
633
634         * libpam/pam_private.h: Remove _pam_strCMP.
635         * libpam/pam_misc.c: Likewise.
636         * libpam/pam_handlers.c: Replaced _pam_strCMP with strcasecmp.
637
638 2006-06-12  Thorsten Kukuk  <kukuk@thkukuk.de>
639
640         * modules/pam_tally/Makefile.am (AM_LDFLAGS): Remove flags
641         for modules from main application.
642
643 2006-06-09  Thorsten Kukuk  <kukuk@thkukuk.de>
644
645         * modules/pam_time/Makefile.am: Include Make.xml.rules.
646         * modules/pam_time/time.conf.5: New, generated from xml file.
647         * modules/pam_time/time.conf.5.xml: New.
648         * modules/pam_time/pam_time.8: New, generated from xml file.
649         * modules/pam_time/pam_time.8.xml: New.
650         * modules/pam_time/README.xml: New.
651         * modules/pam_time/README: Regenerated from README.xml.
652
653         * modules/pam_wheel/Makefile.am: Include Make.xml.rules.
654         * modules/pam_wheel/pam_wheel.8.xml: New.
655         * modules/pam_wheel/pam_wheel.8: New, generated from xml file.
656         * modules/pam_wheel/README.xml: New.
657         * modules/pam_wheel/README: Regenerated from xml file.
658
659         * modules/pam_xauth/Makefile.am: Include Make.xml.rules.
660         * modules/pam_xauth/pam_xauth.8.xml: New.
661         * modules/pam_xauth/pam_xauth.8: Regenerated from xml file.
662         * modules/pam_xauth/README.xml: New.
663         * modules/pam_xauth/README: Regenerated from xml file.
664
665         * modules/pam_deny/pam_deny.8.xml: Fix syntax errors.
666         * modules/pam_deny/pam_deny.8: Regenerate from xml file.
667         * modules/pam_deny/README: Likewise.
668
669         * modules/pam_warn/Makefile.am: Include Make.xml.rules.
670         * modules/pam_warn/pam_warn.8.xml: New.
671         * modules/pam_warn/pam_warn.8: New, generated from xml file.
672         * modules/pam_warn/README.xml: New.
673         * modules/pam_warn/README: Regenerated from xml file.
674
675         * modules/pam_userdb/Makefile.am: Include Make.xml.rules.
676         * modules/pam_userdb/pam_userdb.8.xml: New.
677         * modules/pam_userdb/pam_userdb.8: New, generated from xml file.
678         * modules/pam_userdb/README.xml: New.
679         * modules/pam_userdb/README: Regenerated from xml file.
680
681 2006-06-06  Thorsten Kukuk  <kukuk@thkukuk.de>
682
683         * modules/pam_shells/Makefile.am: Include Make.xml.rules.
684         * modules/pam_shells/pam_shells.8.xml: New.
685         * modules/pam_shells/pam_shells.8: New, generated from xml file.
686         * modules/pam_shells/README.xml: New.
687         * modules/pam_shells/README: Regenerated from xml file.
688
689         * libpam/include/security/pam_malloc.h: Add missing license
690         informations.
691
692         * libpam/include/security/pam_ext.h: Add brackets for C++.
693         * libpam/include/security/pam_modutil.h: Likewise.
694
695         * libpam/include/security/pam_modules.h: Document where to
696         find the copyright/license informations.
697
698         * libpam/include/security/pam_appl.h: Move _pam_compat.h
699         include inside of brackets.
700
701 2006-06-04  Thorsten Kukuk  <kukuk@thkukuk.de>
702
703         * modules/pam_securetty/Makefile.am: Include Make.xml.rules.
704         * modules/pam_securetty/pam_securetty.8.xml: New.
705         * modules/pam_securetty/pam_securetty.8: Regenerated from xml file.
706         * modules/pam_securetty/README.xml: New.
707         * modules/pam_securetty/README: Regenerated from xml file.
708
709         * modules/pam_rootok/Makefile.am: Include Make.xml.rules.
710         * modules/pam_rootok/pam_rootok.8.xml: New.
711         * modules/pam_rootok/pam_rootok.8: New, generated from xml file.
712         * modules/pam_rootok/README.xml: New.
713         * modules/pam_rootok/README: Regenerated from xml file.
714
715         * modules/pam_permit/Makefile.am: Include Make.xml.rules.
716         * modules/pam_permit/pam_permit.8.xml: New.
717         * modules/pam_permit/pam_permit.8: New, generated from xml file.
718         * modules/pam_permit/README.xml: New.
719         * modules/pam_permit/README: Regenerated from xml file.
720
721         * modules/pam_nologin/Makefile.am: Include Make.xml.rules.
722         * modules/pam_nologin/pam_nologin.8.xml: New.
723         * modules/pam_nologin/pam_nologin.8: Regenerated from xml file.
724         * modules/pam_nologin/README.xml: New.
725         * modules/pam_nologin/README: Regenerated from xml file.
726
727 2006-06-03  Thorsten Kukuk  <kukuk@thkukuk.de>
728
729         * modules/pam_motd/Makefile.am: Include Make.xml.rules.
730         * modules/pam_motd/pam_motd.8.xml: New.
731         * modules/pam_motd/pam_motd.8: New, generated from xml file.
732         * modules/pam_motd/README.xml: New.
733         * modules/pam_motd/README: New, generated from xml file.
734
735 2006-06-02  Thorsten Kukuk  <kukuk@thkukuk.de>
736
737         * modules/pam_mail/Makefile.am: Include Make.xml.rules.
738         * modules/pam_mail/pam_mail.8.xml: New.
739         * modules/pam_mail/pam_mail.8: New, generated from xml file.
740         * modules/pam_mail/README.xml: New.
741         * modules/pam_mail/README: Regenerated from xml file.
742
743         * modules/pam_localuser/Makefile.am: Include Make.xml.rules.
744         * modules/pam_localuser/pam_localuser.8.xml: New.
745         * modules/pam_localuser/pam_localuser.8: New, generated from xml file.
746         * modules/pam_localuser/README.xml: New.
747         * modules/pam_localuser/README: Regenerated from xml file.
748
749         * doc/man/PAM.8: Regenerate with DocBook XSL Stylesheets v1.70.1.
750         * doc/man/pam.3: Likewise.
751         * doc/man/pam.conf.5: Likewise.
752         * doc/man/pam_acct_mgmt.3: Likewise.
753         * doc/man/pam_authenticate.3: Likewise.
754         * doc/man/pam_chauthtok.3: Likewise.
755         * doc/man/pam_close_session.3: Likewise.
756         * doc/man/pam_conv.3: Likewise.
757         * doc/man/pam_end.3: Likewise.
758         * doc/man/pam_error.3: Likewise.
759         * doc/man/pam_fail_delay.3: Likewise.
760         * doc/man/pam_get_data.3: Likewise.
761         * doc/man/pam_get_item.3: Likewise.
762         * doc/man/pam_get_user.3: Likewise.
763         * doc/man/pam_getenv.3: Likewise.
764         * doc/man/pam_getenvlist.3: Likewise.
765         * doc/man/pam_info.3: Likewise.
766         * doc/man/pam_open_session.3: Likewise.
767         * doc/man/pam_prompt.3: Likewise.
768         * doc/man/pam_putenv.3: Likewise.
769         * doc/man/pam_set_data.3: Likewise.
770         * doc/man/pam_set_item.3: Likewise.
771         * doc/man/pam_setcred.3: Likewise.
772         * doc/man/pam_sm_acct_mgmt.3: Likewise.
773         * doc/man/pam_start.3: Likewise.
774         * doc/man/pam_strerror.3: Likewise.
775         * doc/man/pam_syslog.3: Likewise.
776         * modules/pam_access/access.conf.5: Likewise.
777         * modules/pam_access/pam_access.8: Likewise.
778         * modules/pam_cracklib/pam_cracklib.8: Likewise.
779         * modules/pam_deny/pam_deny.8: Likewise.
780         * modules/pam_echo/pam_echo.8: Likewise.
781         * modules/pam_env/pam_env.8: Likewise.
782         * modules/pam_env/pam_env.conf.5: Likewise.
783         * modules/pam_exec/pam_exec.8: Likewise.
784         * modules/pam_filter/pam_filter.8: Likewise.
785         * modules/pam_ftp/pam_ftp.8: Likewise.
786         * modules/pam_group/group.conf.5: Likewise.
787         * modules/pam_group/pam_group.8: Likewise.
788         * modules/pam_issue/pam_issue.8: Likewise.
789         * modules/pam_lastlog/pam_lastlog.8: Likewise.
790         * modules/pam_mkhomedir/pam_mkhomedir.8: Likewise.
791         * modules/pam_succeed_if/pam_succeed_if.8: Likewise.
792         * modules/pam_umask/pam_umask.8: Likewise.
793
794         * modules/pam_unix/pam_unix_acct.c (pam_sm_acct_mgmt): Use
795         dngettext if available [#1427738].
796         * configure.in: Check for dngettext [#1427738].
797         * po/*.po: Update to dngettext usage.
798
799         * modules/pam_listfile/Makefile.am: Include Make.xml.rules.
800         * modules/pam_listfile/pam_listfile.8.xml: New.
801         * modules/pam_listfile/pam_listfile.8: New, generated from xml file.
802         * modules/pam_listfile/README.xml: New.
803         * modules/pam_listfile/README: Regenerated from xml file.
804
805 2006-06-01  Thorsten Kukuk  <kukuk@thkukuk.de>
806
807         * modules/pam_lastlog/Makefile.am: Include Make.xml.rules.
808         * modules/pam_lastlog/pam_lastlog.8.xml: New.
809         * modules/pam_lastlog/pam_lastlog.8: New, generated from xml file.
810         * modules/pam_lastlog/README.xml: New.
811         * modules/pam_lastlog/README: Regenerated from xml file.
812
813         * modules/pam_group/Makefile.am: Include Make.xml.rules.
814         * modules/pam_group/group.conf.5.xml: New.
815         * modules/pam_group/group.conf.5: New, generated from xml file.
816         * modules/pam_group/pam_group.8.xml: New.
817         * modules/pam_group/pam_group.8: New, generated from xml file.
818         * modules/pam_group/README.xml: New.
819         * modules/pam_group/README: Regenerated from xml file.
820
821         * modules/pam_ftp/Makefile.am: Include Make.xml.rules.
822         * modules/pam_ftp/pam_ftp.8.xml: New.
823         * modules/pam_ftp/pam_ftp.8: New, generated from xml file.
824         * modules/pam_ftp/README.xml: New.
825         * modules/pam_ftp/README: Regenerated from xml file.
826
827         * modules/pam_issue/Makefile.am: Include Make.xml.rules.
828         * modules/pam_issue/pam_issue.8.xml: New.
829         * modules/pam_issue/pam_issue.8: New, generated from xml file.
830         * modules/pam_issue/README.xml: New.
831         * modules/pam_issue/README: Regenerated from xml file.
832
833         * modules/pam_filter/Makefile.am: Include Make.xml.rules.
834         * modules/pam_filter/pam_filter.8.xml: New.
835         * modules/pam_filter/pam_filter.8: New, generated from xml file.
836         * modules/pam_filter/README.xml: New.
837         * modules/pam_filter/README: Regenerated from xml file.
838
839 2006-05-30  Thorsten Kukuk  <kukuk@thkukuk.de>
840
841         * modules/pam_mkhomedir/pam_mkhomedir.8.xml: Fix umask and skel
842         directory documentation.
843
844         * modules/pam_umask/Makefile.am: Include Make.xml.rules.
845         * modules/pam_umask/pam_umask.8.xml: New.
846         * modules/pam_umask/pam_umask.8: New, generated from xml file.
847         * modules/pam_umask/README.xml: New.
848         * modules/pam_umask/README: Regenerated from xml file.
849
850 2006-05-29  Thorsten Kukuk  <kukuk@thkukuk.de>
851
852         * modules/pam_mkhomedir/Makefile.am: Include Make.xml.rules.
853         * modules/pam_mkhomedir/pam_mkhomedir.8.xml: New.
854         * modules/pam_mkhomedir/pam_mkhomedir.8: New, generated from xml file.
855         * modules/pam_mkhomedir/README.xml: New.
856         * modules/pam_mkhomedir/README: Regenerated from xml file.
857
858 2006-05-23  Thorsten Kukuk  <kukuk@thkukuk.de>
859
860         * modules/pam_echo/pam_echo.c (pam_echo): Use pam_modutil_read()
861         instead of read().
862
863 2006-05-22  Thorsten Kukuk  <kukuk@thkukuk.de>
864
865         * modules/pam_listfile/pam_listfile.c (pam_sm_authenticate):
866         Fix memory leaks, [#1490956] found by Coverity.
867
868         * modules/pam_tally/pam_tally.c (pam_get_uid): Check return
869         value of pam_get_user().
870         (tally_get_data): Check if oldtime is not NULL.
871         [#1489818] found by Coverity.
872
873         * modules/pam_mkhomedir/pam_mkhomedir.c (create_homedir): Don't
874         ignore return value of stat(). [#1489808] found by Coverity.
875
876         * modules/pam_mail/pam_mail.c (get_folder): Fix a potential
877         NULL pointer dereference. [#1489792] found by Coverity.
878
879         * libpam/Makefile.am: bump release number of libpam.so.
880         * libpam/pam_misc.c (_pam_mkargv): Fix memory leak,
881         [#1489804] found by Coverity.
882
883         * modules/pam_echo/pam_echo.c (replace_and_print): Initialize
884         str, [#1489658] found by Coverity.
885
886         * modules/pam_cracklib/pam_cracklib.c (_pam_unix_approve_pass): Fix
887         a potential NULL pointer dereference.
888         (pam_sm_chauthtok): Remove dead code.
889         [#1489634] found by Coverity.
890
891 2006-05-04  Thorsten Kukuk  <kukuk@suse.de>
892
893         * configure.in: Check for fseeko.
894         * modules/pam_tally/pam_tally.c: Use fseeko if available
895         (Based on patch by IBM).
896
897 2006-05-04  Thorsten Kukuk  <kukuk@thkukuk.de>
898
899         * release version 0.99.4.0
900
901         * libpam/pam_strerror.c: Unify error messages.
902
903         * po/zh_TW.po: Adjust for last pam_strerror changes.
904         * po/zh_CN.po: Likewise.
905         * po/uk.po: Likewise.
906         * po/tr.po: Likewise.
907         * po/pt.po: Likewise.
908         * po/pt_BR.po: Likewise.
909         * po/pl.po: Likewise.
910         * po/ja.po: Likewise.
911         * po/nl.po: Likewise.
912         * po/nb.po: Likewise.
913         * po/it.po: Likewise.
914         * po/hu.po: Likewise.
915         * po/fr.po: Likewise.
916         * po/fi.po: Likewise.
917         * po/es.po: Likewise.
918         * po/de.po: Likewise.
919         * po/cs.po: Likewise.
920
921         * doc/man/pam.3.xml: New.
922         * doc/man/pam.3. New, generated from XML file.
923
924         * doc/man/pam_sm_acct_mgmt.3.xml: New.
925         * doc/man/pam_sm_acct_mgmt.3: New, generated from XML file.
926
927         * doc/man/*.xml: Fix encoding and use always UTF-8, regenerate
928         all manual pages.
929
930         * doc/pam_modules.sgml (PAM_NEW_AUTHTOKEN_REQD): Fix typo.
931
932 2006-05-02  Thorsten Kukuk  <kukuk@thkukuk.de>
933
934         * modules/pam_unix/pam_unix_acct.c (pam_sm_acct_mgmt): Use
935         different strings for plural or not [#1427738]
936
937         * po/*.po: Adjust for pam_unix.so translation fix.
938
939         * modules/pam_tally/pam_tally.c: Always close file handle
940         in error case, don't close it depending on *TALLY value [#1478180]
941
942 2006-04-21  Thorsten Kukuk  <kukuk@thkukuk.de>
943
944         * po/fr.po: Updated.
945
946 2006-04-11  Thorsten Kukuk  <kukuk@thkukuk.de>
947
948         * po/km.po: Updated.
949
950 2006-03-27  Thorsten Kukuk  <kukuk@thkukuk.de>
951
952         * po/LINGUAS: Add uk.
953
954         * po/uk.po: New.
955         * po/cs.po: Updated.
956         * po/po/es.po: Updated.
957         * po/fi.po: Updated.
958         * po/fr.po: Updated.
959         * po/hu.po: Updated.
960         * po/it.po: Updated.
961         * po/ja.po: Updated.
962         * po/nb.po: Updated.
963         * po/pl.po: Updated.
964         * po/pt.po: Updated.
965         * po/pt_BR.po: Updated.
966         * po/zh_CN.po: Updated.
967         * po/zh_TW.po: Updated.
968
969 2006-03-21  Thorsten Kukuk  <kukuk@thkukuk.de>
970
971         * configure.in: Remove ALL_LINGUAS.
972         * po/LINGUAS: New.
973         * po/tr.po: New (from Ismail Donmez <ismail@pardus.org.tr>).
974
975 2006-03-13  Thorsten Kukuk  <kukuk@thkukuk.de>
976
977         * doc/man/pam_error.3.xml: New.
978         * doc/man/pam_error.3: New, generated from XML file.
979         * doc/man/pam_verror.3: New, generated from XML file.
980         * doc/man/Makefile.am: Add pam_error.3 and pam_verror.3.
981
982         * modules/pam_lastlog/Makefile.am: Fix typo.
983
984         * modules/pam_lastlog/pam_lastlog.c: Move comment for
985         translators in right line.
986         * po/*.po: Update po files with comment for translator.
987
988 2006-03-12  Thorsten Kukuk  <kukuk@thkukuk.de>
989
990         * doc/man/Makefile.am: Add new manual pages.
991
992         * doc/man/pam.conf.5.xml: Replace link with content
993         of PAM admin guide.
994         * doc/man/pam.conf.5: Regenerated from XML file.
995
996         * doc/man/pam_info.3.xml: New.
997         * doc/man/pam_info.3: New, generated from XML file.
998         * doc/man/pam_vinfo.3: New, generated from XML file.
999
1000         * doc/man/pam_conv.3.xml: New.
1001         * doc/man/pam_conv.3: New, generated from XML file.
1002
1003         * doc/man/pam_putenv.3.xml: New.
1004         * doc/man/pam_putenv.3: New, generated from XML file.
1005
1006         * doc/man/pam_getenv.3.xml: New.
1007         * doc/man/pam_getenv.3: New, generated from XML file.
1008
1009         * doc/man/pam_getenvlist.3.xml: New.
1010         * doc/man/pam_getenvlist.3: New, generated from XML file.
1011
1012         * libpam/pam_item.c (pam_get_user): Check for valid pamh before
1013         using it.
1014
1015         * configure.in: create tests/Makefile
1016         * Makefile.am (SUBDIRS): Add tests
1017         * tests/Makefile.am: New.
1018         * tests/tst-dlopen.c: New.
1019         * tests/tst-pam_acct_mgmt.c: New.
1020         * tests/tst-pam_authenticate.c: New.
1021         * tests/tst-pam_chauthtok.c: New.
1022         * tests/tst-pam_close_session.c: New.
1023         * tests/tst-pam_end.c: New.
1024         * tests/tst-pam_fail_delay.c: New.
1025         * tests/tst-pam_getenvlist.c: New.
1026         * tests/tst-pam_get_item.c: New.
1027         * tests/tst-pam_open_session.c: New.
1028         * tests/tst-pam_setcred.c: New.
1029         * tests/tst-pam_set_item.c: New.
1030         * tests/tst-pam_start.c: New.
1031         * tests/tst-pam_get_user.c: New.
1032
1033         * modules/pam_access/Makefile.am: Add rules for make check
1034         * modules/pam_access/tst-pam_access: New
1035         * modules/pam_cracklib/Makefile.am: Add rules for make check
1036         * modules/pam_cracklib/tst-pam_cracklib: New
1037         * modules/pam_debug/Makefile.am: Add rules for make check
1038         * modules/pam_debug/tst-pam_debug: New
1039         * modules/pam_deny/Makefile.am: Add rules for make check
1040         * modules/pam_deny/tst-pam_deny: New
1041         * modules/pam_echo/Makefile.am: Add rules for make check
1042         * modules/pam_echo/tst-pam_echo: New
1043         * modules/pam_env/Makefile.am: Add rules for make check
1044         * modules/pam_env/tst-pam_env: New
1045         * modules/pam_exec/Makefile.am: Add rules for make check
1046         * modules/pam_exec/tst-pam_exec: New
1047         * modules/pam_filter/Makefile.am: Add rules for make check
1048         * modules/pam_filter/tst-pam_filter: New
1049         * modules/pam_ftp/Makefile.am: Add rules for make check
1050         * modules/pam_ftp/tst-pam_ftp: New
1051         * modules/pam_group/Makefile.am: Add rules for make check
1052         * modules/pam_group/tst-pam_group: New
1053         * modules/pam_issue/Makefile.am: Add rules for make check
1054         * modules/pam_issue/tst-pam_issue: New
1055         * modules/pam_lastlog/Makefile.am: Add rules for make check
1056         * modules/pam_lastlog/tst-pam_lastlog: New
1057         * modules/pam_limits/Makefile.am: Add rules for make check
1058         * modules/pam_limits/tst-pam_limits: New
1059         * modules/pam_listfile/Makefile.am: Add rules for make check
1060         * modules/pam_listfile/tst-pam_listfile: New
1061         * modules/pam_localuser/Makefile.am: Add rules for make check
1062         * modules/pam_localuser/tst-pam_localuser: New
1063         * modules/pam_mail/Makefile.am: Add rules for make check
1064         * modules/pam_mail/tst-pam_mail: New
1065         * modules/pam_mkhomedir/Makefile.am: Add rules for make check
1066         * modules/pam_mkhomedir/tst-pam_mkhomedir: New
1067         * modules/pam_motd/Makefile.am: Add rules for make check
1068         * modules/pam_motd/tst-pam_motd: New
1069         * modules/pam_nologin/Makefile.am: Add rules for make check
1070         * modules/pam_nologin/tst-pam_nologin: New
1071         * modules/pam_permit/Makefile.am: Add rules for make check
1072         * modules/pam_permit/tst-pam_permit: New
1073         * modules/pam_rhosts/Makefile.am: Add rules for make check
1074         * modules/pam_rhosts/tst-pam_rhosts: New
1075         * modules/pam_rootok/Makefile.am: Add rules for make check
1076         * modules/pam_rootok/tst-pam_rootok: New
1077         * modules/pam_securetty/Makefile.am: Add rules for make check
1078         * modules/pam_securetty/tst-pam_securetty: New
1079         * modules/pam_selinux/Makefile.am: Add rules for make check
1080         * modules/pam_selinux/tst-pam_selinux: New
1081         * modules/pam_shells/Makefile.am: Add rules for make check
1082         * modules/pam_shells/tst-pam_shells: New
1083         * modules/pam_stress/Makefile.am: Add rules for make check
1084         * modules/pam_stress/tst-pam_stress: New
1085         * modules/pam_succeed_if/Makefile.am: Add rules for make check
1086         * modules/pam_succeed_if/tst-pam_succeed_if: New
1087         * modules/pam_tally/Makefile.am: Add rules for make check
1088         * modules/pam_tally/tst-pam_tally: New
1089         * modules/pam_time/Makefile.am: Add rules for make check
1090         * modules/pam_time/tst-pam_time: New
1091         * modules/pam_umask/Makefile.am: Add rules for make check
1092         * modules/pam_umask/tst-pam_umask: New
1093         * modules/pam_unix/Makefile.am: Add rules for make check
1094         * modules/pam_unix/tst-pam_unix: New
1095         * modules/pam_userdb/Makefile.am: Add rules for make check
1096         * modules/pam_userdb/tst-pam_userdb: New
1097         * modules/pam_warn/Makefile.am: Add rules for make check
1098         * modules/pam_warn/tst-pam_warn: New
1099         * modules/pam_wheel/Makefile.am: Add rules for make check
1100         * modules/pam_wheel/tst-pam_wheel: New
1101         * modules/pam_xauth/Makefile.am: Add rules for make check
1102         * modules/pam_xauth/tst-pam_xauth: New
1103
1104 2006-03-11  Thorsten Kukuk  <kukuk@thkukuk.de>
1105
1106         * doc/man/pam_fail_delay.3.xml: New.
1107         * doc/man/pam_fail_delay.3: New, generated from xml.
1108         * doc/man/pam_prompt.3.xml: New.
1109         * doc/man/pam_prompt.3: New, generated from xml.
1110         * doc/man/pam_syslog.3.xml: New.
1111         * doc/man/pam_syslog.3: New, generated from xml.
1112         * doc/man/pam_vprompt.3: New, generated from xml.
1113         * doc/man/pam_vsyslog.3: New, generated from xml.
1114
1115 2006-02-24  Thorsten Kukuk  <kukuk@thkukuk.de>
1116
1117         * po/km.po: Update Khmer translation.
1118
1119 2006-02-24  Thorsten Kukuk  <kukuk@thkukuk.de>
1120
1121         * modules/pam_succeed_if/pam_succeed_if.8.xml: New, based on
1122         version from #1425487.
1123         * modules/pam_succeed_if/pam_succeed_if.8: Regenerated from xml.
1124         * modules/pam_succeed_if/Makefile.am: Include XML rules.
1125         * modules/pam_succeed_if/README.xml: New.
1126         * modules/pam_succeed_if/README: Regenerated from xml.
1127         * modules/pam_succeed_if/pam_succeed_if.c: Fix comment about
1128         return values.
1129
1130 2006-02-22  Thorsten Kukuk  <kukuk@thkukuk.de>
1131
1132         * configure.in: Fix check for incomplete libaudit installations
1133         (Patch from Ruediger Oertel <ro@suse.de>).
1134
1135         * modules/pam_lastlog/pam_lastlog.c (last_login_write): Initialize
1136         correct last_login field [#1427401].
1137
1138         * modules/pam_lastlog/pam_lastlog.c (last_login_read): Mark strftime
1139         format string for translation to allow reorder [#1428269].
1140         * po/*.po: Update with last pam_lastlog change.
1141
1142
1143 2006-02-17  Thorsten Kukuk  <kukuk@thkukuk.de>
1144
1145         * doc/man/Makefile.am: Add new manual pages.
1146         * doc/man/pam_end.3: Regenerated from xml file.
1147         * doc/man/pam_end.3.xml: Document freeing of item data.
1148         * doc/man/pam_get_user.3: New.
1149         * doc/man/pam_get_user.3.xml: New.
1150         * modules/pam_access/access.conf.5.xml: Fix typos.
1151         * modules/pam_env/Makefile.am: Add new manual pages.
1152         * modules/pam_env/README: Regenerate from xml file.
1153         * modules/pam_env/README.xml: New.
1154         * modules/pam_env/pam_env.8: New.
1155         * modules/pam_env/pam_env.8.xml: New.
1156         * modules/pam_env/pam_env.conf.5: New.
1157         * modules/pam_env/pam_env.conf.5.xml New.
1158
1159 2006-02-14  Thorsten Kukuk  <kukuk@thkukuk.de>
1160
1161         * po/fi.po: Updated translations.
1162         * po/pl.po: Likewise.
1163         * po/km.po: New translation.
1164         * configure.in: Add km as new language.
1165
1166 2006-02-13  Thorsten Kukuk  <kukuk@thkukuk.de>
1167
1168         * modules/pam_echo/pam_echo.8.xml: New.
1169         * modules/pam_echo/pam_echo.8: Regenerated from xml file.
1170         * modules/pam_echo/Makefile.am: Include Make.xml.rules.
1171         * modules/pam_echo/pam_echo.c: Fix return value.
1172
1173         * doc/modules/pam_chroot.sgml: Remove obsolete sgml file.
1174
1175 2006-02-12  Thorsten Kukuk  <kukuk@thkukuk.de>
1176
1177         * configure.in: Add doc/man/Makefile.
1178         * Make.xml.rules: Enable xincludes for manual pages.
1179         * doc/Makefile.am (EXRA_DIST): Remove manual pages.
1180         (SUBDIR): Add man subdirectory.
1181         * doc/man/Makefile.am: New.
1182         * doc/man/pam_acct_mgmt.3: New.
1183         * doc/man/pam_acct_mgmt.3.xml: New.
1184         * doc/man/pam_get_data.3: New.
1185         * doc/man/pam_get_data.3.xml: New.
1186         * doc/man/pam_set_data.3: New.
1187         * doc/man/pam_set_data.3.xml: New.
1188         * doc/man/pam.8.xml: New.
1189         * doc/man/pam.8: Regenerated from xml file.
1190         * doc/man/pam_authenticate.3.xml: New.
1191         * doc/man/pam_authenticate.3: Regenerated from xml file.
1192         * doc/man/pam_chauthtok.3.xml: New.
1193         * doc/man/pam_chauthtok.3: Regenerated from xml file.
1194         * doc/man/pam_close_session.3.xml: New.
1195         * doc/man/pam_close_session.3: Regenerated from xml file.
1196         * doc/man/pam_end.3.xml: New.
1197         * doc/man/pam_end.3: Regenerated from xml file.
1198         * doc/man/pam_fail_delay.3.xml: New.
1199         * doc/man/pam_fail_delay.3: Regenerated from xml file.
1200         * doc/man/pam_get_item.3.xml: New.
1201         * doc/man/pam_get_item.3: Regenerated from xml file.
1202         * doc/man/pam_item_types.inc.xml: New.
1203         * doc/man/pam_open_session.3.xml: New.
1204         * doc/man/pam_open_session.3: Regenerated from xml file.
1205         * doc/man/pam_set_item.3.xml: New.
1206         * doc/man/pam_set_item.3: Regenerated from xml file.
1207         * doc/man/pam_setcred.3.xml: New.
1208         * doc/man/pam_setcred.3: Regenerated from xml file.
1209         * doc/man/pam_start.3.xml: New.
1210         * doc/man/pam_start.3: Regenerated from xml file.
1211         * doc/man/pam_strerror.3.xml: New.
1212         * doc/man/pam_strerror.3: Regenerated from xml file.
1213         * doc/man/template-man: Removed.
1214
1215 2006-02-10  Thorsten Kukuk  <kukuk@thkukuk.de>
1216
1217         * configure.in: Remove pam_pwdb support.
1218         * modules/Makefile.am: remove pam_pwdb.
1219         * modules/pam_pwdb: Remove complete directory.
1220         * libpam/Makefile.am: Remove LIBPWDB references.
1221         * libpam/pam_static_modules.h: Remove pam_pwdb references.
1222         * doc/modules/pam_pwdb.sgml: Removed.
1223         * po/POTFILES.in: Remove modules/pam_pwdb/*.c entries.
1224         * doc/pam_source.sgml: Remove references to libpwdb.
1225         * doc/modules/pam_limits.sgml: Remove wrong reference to libpwdb.
1226         * doc/modules/pam_group.sgml: Likewise.
1227         * doc/modules/pam_cracklib.sgml: Replace pam_pwdb with pam_unix.
1228         * doc/modules/pam_userdb.sgml: Likewise.
1229         * modules/pam_cracklib/pam_cracklib.8.xml: Replace pam_pwdb
1230         with pam_unix.
1231         * modules/pam_mkhomedir/pam_mkhomedir.c: Likewise.
1232         * modules/pam_group/pam_group.c: Remove dead code for libpwdb.
1233
1234         * modules/pam_access/Makefile.am: Fix EXTRA_DIST.
1235         * modules/pam_cracklib/Makefile.am: Likewise.
1236         * modules/pam_deny/Makefile.am: Likewise.
1237         * modules/pam_exec/Makefile.am: Likewise.
1238
1239 2006-02-07  Thorsten Kukuk  <kukuk@thkukuk.de>
1240
1241         * configure.in: Check for text browser.
1242         * Make.xml.rules: Add rule to generate README from README.xml.
1243
1244         * modules/pam_access/Makefile.am: Include Make.xml.rules.
1245         * modules/pam_access/README: Regenerated from README.xml.
1246         * modules/pam_access/README.xml: New.
1247         * modules/pam_access/access.conf: Extended by new examples.
1248         * modules/pam_access/access.conf.5: New, generated from xml file.
1249         * modules/pam_access/access.conf.5.xml: New.
1250         * modules/pam_access/pam_access.8: New, generated from xml file.
1251         * modules/pam_access/pam_access.8.xml: New.
1252         * modules/pam_access/pam_access.c: Add rules for IPv6 and
1253         netmasks.
1254         Based on patch from Mike Becher <Mike.Becher@lrz-muenchen.de>.
1255
1256         * modules/pam_deny/Makefile.am: Include Make.xml.rules.
1257         * modules/pam_deny/pam_deny.8.xml: New.
1258         * modules/pam_deny/pam_deny.8: New, generated from xml file.
1259         * modules/pam_deny/README.xml: New.
1260         * modules/pam_deny/README: Regenerated from xml file.
1261
1262         * modules/pam_cracklib/Makefile.am: Include Make.xml.rules.
1263         * modules/pam_cracklib/pam_cracklib.8.xml: New.
1264         * modules/pam_cracklib/pam_cracklib.8: New, generated from xml file.
1265         * modules/pam_cracklib/README.xml: New.
1266         * modules/pam_cracklib/README: Regenerated from xml file.
1267
1268         * modules/pam_exec/Makefile.am: Add rule to generate README.
1269         * modules/pam_exec/README: Regenerated from xml file.
1270         * modules/pam_exec/pam_exec.8: Regenerated from xml file.
1271         * modules/pam_exec/pam_exec.8.xml: Syntax files.
1272
1273 2006-02-06  Thorsten Kukuk  <kukuk@thkukuk.de>
1274
1275         * po/nl.po: New.
1276         * po/pt.po: Update translations.
1277         * configure.in: Add nl as new language.
1278
1279 2006-01-30  Thorsten Kukuk  <kukuk@thkukuk.de>
1280
1281         * modules/pam_exec/pam_exec.8.xml: Fix syntax of Return Value section.
1282         * modules/pam_exec/Makefile.am: Include Make.xml.rules.
1283
1284         * Make.xml.rules: New.
1285
1286         * Makefile.am (EXTRA_DIST): Add Make.xml.rules.
1287
1288 2006-01-27  Thorsten Kukuk  <kukuk@thkukuk.de>
1289
1290         * configure.in: Prefer libdb over libndbm, fix check for
1291         libcrack and remove not needed BACKUP_LIBS.
1292
1293 2006-01-24  Thorsten Kukuk  <kukuk@thkukuk.de>
1294
1295         * modules/pam_debug/pam_debug.c: Fix name of pam_module struct.
1296
1297         * po/de.po: Fix one translation.
1298
1299         * configure.in: Add modules/pam_exec.
1300         * modules/Makefile.am: Add pam_exec subdirectory.
1301         * modules/pam_exec/README: New.
1302         * modules/pam_exec/Makefile.am: New.
1303         * modules/pam_exec/pam_exec.8: New.
1304         * modules/pam_exec/pam_exec.c: New.
1305         * modules/pam_exec/pam_exec.8.xml: New.
1306         * po/POTFILES.in: Add modules/pam_exec/pam_exec.c.
1307         * po/*.po: Merge new pam_exec strings.
1308
1309         * libpam/pam_static_modules.h: New.
1310         * Makefile.am: Reorder subdirectories for static modules.
1311         * configure.in: Add --enable-static-modules option.
1312         * libpam/Makefile.am: Define WITH_SELINUX and WITH_PWDB if
1313         necessary, add pam_static_modules.h, link against all PAM
1314         module object files if STATIC_MODULES is defined.
1315         * libpam/pam_static.c: Remove old _static_module* includes,
1316         include pam_static_modules.h.
1317
1318         * configure.in: Add checks for xsltproc, xmllint and docbook
1319         xsl stylesheet.
1320         * m4/jh_path_xml_catalog.m4: New.
1321
1322 2006-01-22  Thorsten Kukuk  <kukuk@thkukuk.de>
1323
1324         * modules/pam_succeed_if/pam_succeed_if.c: Add support for
1325         static modules.
1326         * modules/pam_xauth/pam_xauth.c: Likewise.
1327
1328         * libpam/pam_static.c (_pam_open_static_handler): Add pamh
1329         as argument.
1330         * libpam/pam_private.h: Adjust prototype.
1331         * libpam/pam_handlers.c (_pam_add_handler): Add pamh to
1332         _pam_open_static_handler call.
1333
1334         * configure.in: Don't define PAM_DYNAMIC.
1335         * libpam/pam_handlers.c: Get ride of PAM_DYNAMIC, don't
1336         include pam_dynamic.h
1337         * libpam/pam_dynamic.c: Don't include pam_dynamic.h,
1338         exclude functions if we compile with PAM_STATIC.
1339         * libpam/pam_dynamic.h: Remove.
1340         * libpam/pam_private.h: Add function prototypes from pam_dynamic.h.
1341         * libpam/Makefile.am: Bump version number of libpam, remove
1342         pam_dynamic.h.
1343
1344 2006-01-21  Thorsten Kukuk  <kukuk@thkukuk.de>
1345
1346         * modules/pam_listfile/pam_listfile.c: Add support for session
1347         and password management.
1348
1349 2006-01-19  Thorsten Kukuk  <kukuk@suse.de>
1350
1351         * doc/specs/Makefile.am (spec): Add padout to fix parallel
1352         build (Reported by Andreas Haumer <andreas@xss.co.at>).
1353
1354 2006-01-15  Thorsten Kukuk  <kukuk@thkukuk.de>
1355
1356         * modules/pam_echo/pam_echo.c: Define HOST_NAME_MAX if not
1357         already defined.
1358
1359 2006-01-13  Thorsten Kukuk  <kukuk@thkukuk.de>
1360
1361         * release version 0.99.3.0
1362
1363         * libpam_misc/misc_conv.c (misc_conv): Fix strict aliasing
1364         error.
1365
1366         * modules/pam_umask/pam_umask.c (search_key): Don't ignore
1367         EOF/error return value from fgets().
1368
1369         * configure.in: Check for getline and getdelim
1370
1371         * po/fi.po: Add new translations.
1372         * po/de.po: Likewise.
1373         * po/es.po: Likewise.
1374         * po/fr.po: Likewise.
1375         * po/it.po: Likewise.
1376         * po/ja.po: Likewise.
1377         * po/pt_BR.po: Likewise.
1378         * po/zh_CH.po: Likewise.
1379         * po/zh_TW.po: Likewise.
1380
1381 2006-01-13  Dmitry V. Levin  <ldv@altlinux.org>
1382
1383         * libpam/pam_audit.c (_pam_auditlog): Replace strerror(errno)
1384         call with %m specifier.
1385
1386 2006-01-12  Thorsten Kukuk  <kukuk@thkukuk.de>
1387
1388         * configure.in: Add check for -fpie/-pie
1389         * modules/pam_filter/upperLOWER/Makefile.am: Compile/link
1390         upperLOWER with -fpie/-pie if supported.
1391         * modules/pam_unix/Makefile.am: Compile/link unix_chkpwd
1392         with -fpie/-pie if supported.
1393
1394 2006-01-12  Steve Grubb  <sgrubb@redhat.com>
1395
1396         * configure.in: Add check for audit library.
1397         * libpam/Makefile.am (libpam_la_LDFLAGS): Add LIBAUDIT.
1398         (libpam_la_SOURCES): Add pam_audit.c.
1399         * libpam/pam_account.c (pam_acct_mgmt): Add _pam_auditlog() call.
1400         * libpam/pam_auth.c (pam_authenticate), (pam_setcred): Likewise.
1401         * libpam/pam_password.c (pam_chauthtok):  Likewise.
1402         * libpam/pam_session.c (pam_open_session),
1403         (pam_close_session): Likewise.
1404         * libpam/pam_private.h: Add audit_state member to pam_handle,
1405         declare _pam_auditlog and _pam_audit_end.
1406         * libpam/pam_start.c (pam_start): Initialize audit_state.
1407         * libpam/pam_audit.c: New file with _pam_auditlog and _pam_audit_end
1408         implementation.
1409         * libpam/pam_end.c (pam_end): Add _pam_audit_end() call.
1410         * NEWS: Note about added auditing.
1411
1412 2006-01-11  Thorsten Kukuk  <kukuk@thkukuk.de>
1413
1414         * libpam/Makefile.am (AM_CFLAGS): Define LIBPAM_COMPILE.
1415
1416         * libpam/include/security/_pam_types.h: Don't define PAM_NONNULL
1417         if we compile libpam itself.
1418
1419         * po/hu.po: Update with new translations.
1420
1421 2006-01-08  Thorsten Kukuk  <kukuk@thkukuk.de>
1422
1423         * modules/pam_cracklib/pam_cracklib.c: Use PAM_AUTHTOK_RECOVERY_ERR
1424         instead of PAM_AUTHTOK_RECOVER_ERR.
1425         * modules/pam_pwdb/support.-c: Likewise.
1426         * modules/pam_unix/support.c: Likewise.
1427         * modules/pam_userdb/pam_userdb.c (pam_sm_authenticate): Likewise.
1428         * libpam/pam_strerror.c (pam_strerror): Likewise.
1429
1430         * libpam/include/security/_pam_compat.h: Define
1431         PAM_AUTHTOK_RECOVER_ERR for backward compatibility.
1432
1433         * libpam/include/security/_pam_types.h: Rename
1434         PAM_AUTHTOK_RECOVER_ERR to PAM_AUTHTOK_RECOVERY_ERR.
1435
1436 2006-01-05  Thorsten Kukuk  <kukuk@thkukuk.de>
1437
1438         * libpam/include/security/_pam_types.h: Remove nonnull attribute
1439         from third paramter (item) of pam_get_item.
1440         * libpam/Makefile.am: Bump version number of shared library.
1441
1442 2005-12-21  Tomas Mraz <t8m@centrum.cz>
1443
1444         * modules/pam_succeed_if/pam_succeed_if.c (evaluate_ingroup),
1445         (evaluate_notingroup): Simplified.
1446         (evaluate_innetgr), (evaluate_notinnetgr): New functions.
1447         (evaluate): Added calls to evaluate_(not)innetgr().
1448         * modules/pam_succeed_if/README: Documented netgroup matching.
1449         * NEWS: Mentioned the added netgroup matching support.
1450
1451 2005-12-20  Thorsten Kukuk  <kukuk@thkukuk.de>
1452
1453         * modules/pam_lastlog/pam_lastlog.c (last_login_read): Use
1454         strftime instead of ctime.
1455
1456         * po/de.po: Fix typo.
1457
1458 2005-12-19  Thorsten Kukuk  <kukuk@thkukuk.de>
1459
1460         * libpam/pam_syslog.c: Define LOG_AUTHPRIV as LOG_AUTH on Solaris.
1461         Reported by Charles_H_Bedford@nbc.gov.
1462
1463         * modules/pam_time/pam_time.c (check_account): Implement
1464         support for netgroups.
1465
1466         * modules/pam_time/time.conf: Document usage of netgroups.
1467
1468 2005-12-16  Thorsten Kukuk  <kukuk@thkukuk.de>
1469
1470         * modules/pam_group/pam_group.c (check_account): Implement
1471         support for netgroups.
1472
1473         * modules/pam_group/group.conf: Add all documentation to this
1474         example config file and don't reference to outdated configs.
1475
1476         * modules/pam_group/README: New.
1477
1478         * modules/pam_group/Makefile.am: Add README to EXTRADIST.
1479
1480 2005-12-15  Thorsten Kukuk  <kukuk@suse.de>
1481
1482         * modules/pam_lastlog/pam_lastlog.c (last_login_read): Don't report an
1483         error if user logins the first time.
1484
1485         * modules/pam_lastlog/README: New.
1486
1487         * modules/pam_lastlog/Makefile.am: Add README to EXTRADIST.
1488
1489 2005-12-14  Thorsten Kukuk  <kukuk@suse.de>
1490
1491         * modules/pam_deny/pam_deny.c: Fix comment.
1492
1493         * doc/pam_appl.sgml: Fix typo.
1494
1495         Reported by Russell Bateman <russ@windofkeltia.com>
1496
1497 2005-12-12  Thorsten Kukuk  <kukuk@thkukuk.de>
1498
1499         * release version 0.99.2.1
1500
1501         * po/de.po: Remove new fuzzy entry
1502
1503         * NEWS: Add 0.99.2.1 changes
1504
1505         * configure.in: bump version number to 0.99.2.1
1506
1507 2005-12-12  Dmitry V. Levin  <ldv@altlinux.org>
1508
1509         Cleanup pam_syslog messages.
1510
1511         * modules/pam_env/pam_env.c (_expand_arg): Fix compiler warning.
1512         * modules/pam_filter/pam_filter.c (set_filter): Append %m
1513         specifier to pam_syslog messages where appropriate.
1514         * modules/pam_group/pam_group.c (read_field): Likewise.
1515         * modules/pam_mkhomedir/pam_mkhomedir.c (make_remark): Remove.
1516         (create_homedir): Do not use make_remark() wrapper, call
1517         pam_info() directly.  Call pam_syslog() right after failed
1518         operation and append %m specifier to pam_syslog messages where
1519         appropriate.
1520         * modules/pam_rhosts/pam_rhosts_auth.c (pam_iruserok): Replace
1521         sequence of malloc(), strcpy() and strcat() calls with asprintf().
1522         Append %m specifier to pam_syslog messages where appropriate.
1523         * modules/pam_securetty/pam_securetty.c (securetty_perform_check):
1524         Append %m specifier to pam_syslog messages where appropriate.
1525         * modules/pam_shells/pam_shells.c (perform_check): Likewise.
1526
1527 2005-12-12  Tomas Mraz  <t8m@centrum.cz>
1528
1529         * modules/pam_mail/pam_mail.c (report_mail): Fixed typo in string.
1530         * po/Linux-PAM.pot: Likewise.
1531         * po/de.po: Likewise.
1532         * po/es.po: Likewise.
1533         * po/fi.po: Likewise.
1534         * po/fr.po: Likewise.
1535         * po/hu.po: Likewise.
1536         * po/it.po: Likewise.
1537         * po/ja.po: Likewise.
1538         * po/nb.po: Likewise.
1539         * po/pa.po: Likewise.
1540         * po/pl.po: Likewise.
1541         * po/pt.po: Likewise.
1542         * po/pt_BR.po: Likewise.
1543         * po/zh_CN.po: Likewise.
1544         * po/zh_TW.po: Likewise.
1545         * po/de.po: Add new translation, fixed typo in string.
1546
1547 2005-12-12  Mike Becher  <Mike.Becher@lrz-muenchen.de>
1548
1549         * doc/Makefile.am: Fixed install of PS, PDF, TXT and HTML files.
1550
1551 2005-12-12  Thorsten Kukuk  <kukuk@suse.de>
1552
1553         * modules/pam_mail/README: Document "quiet" and "standard"
1554         options.
1555
1556 2005-12-07  Thorsten Kukuk  <kukuk@suse.de>
1557
1558         * modules/pam_mail/pam_mail.c: Modify assembling of output
1559         for easier translation.
1560
1561         * po/de.po: Translate new pam_mail messages.
1562
1563
1564 2005-11-24  Thorsten Kukuk  <kukuk@thkukuk.de>
1565
1566         * po/de.po: Add new translation, fix wrong format specifier.
1567         * po/cs.po: Fix wrong format specifier.
1568         * po/es.po: Likewise.
1569         * po/fi.po: Likewise.
1570         * po/fr.po: Likewise.
1571         * po/hu.po: Likewise.
1572         * po/it.po: Likewise.
1573         * po/ja.po: Likewise.
1574         * po/nb.po: Likewise.
1575         * po/pa.po: Likewise.
1576         * po/pl.po: Likewise.
1577         * po/pt.po: Likewise.
1578         * po/pt_BR.po: Likewise.
1579         * po/zh_CN.po: Likewise.
1580         * po/zh_TW.po: Likewise.
1581
1582 2005-11-24  Dmitry V. Levin  <ldv@altlinux.org>
1583
1584         * config.h.in: Remove generated file.
1585         * .cvsignore: Add config.h.in.
1586
1587         * configure.in: Do not check for strerror.
1588         * libpam_misc/misc_conv.c (read_string): Replace strerror()
1589         call with %m specifier.
1590         * libpamc/pamc_converse.c (pamc_converse): Likewise.
1591         * modules/pam_echo/pam_echo.c (pam_echo): Likewise.
1592         * modules/pam_localuser/pam_localuser.c (pam_sm_authenticate):
1593         Likewise.
1594         * modules/pam_selinux/pam_selinux.c (security_label_tty):
1595         Likewise.
1596         (security_restorelabel_tty, security_label_tty): Append %m
1597         specifier where appropriate.
1598         * modules/pam_selinux/pam_selinux_check.c (main): Replace
1599         strerror() call with %m specifier.
1600         * modules/pam_unix/pam_unix_passwd.c (save_old_password,
1601         _update_passwd, _update_shadow): Likewise.
1602         * modules/pam_unix/support.c (_unix_run_helper_binary): Likewise.
1603         * modules/pam_unix/unix_chkpwd.c (_update_shadow): Likewise.
1604         * po/Linux-PAM.pot: Update strings from pam_selinux.
1605         * po/cs.po: Likewise.
1606         * po/de.po: Likewise.
1607         * po/es.po: Likewise.
1608         * po/fi.po: Likewise.
1609         * po/fr.po: Likewise.
1610         * po/hu.po: Likewise.
1611         * po/it.po: Likewise.
1612         * po/ja.po: Likewise.
1613         * po/nb.po: Likewise.
1614         * po/pa.po: Likewise.
1615         * po/pl.po: Likewise.
1616         * po/pt.po: Likewise.
1617         * po/pt_BR.po: Likewise.
1618         * po/zh_CN.po: Likewise.
1619         * po/zh_TW.po: Likewise.
1620
1621 2005-11-23  Thorsten Kukuk  <kukuk@suse.de>
1622
1623         * modules/pam_xauth/pam_xauth.c (pam_sm_open_session): Introduce
1624         new variable to fix compiler warning.
1625
1626         * libpam/pam_modutil_getlogin.c (pam_modutil_getlogin): PAM_TTY
1627         don't need to start with /dev/.
1628
1629 2005-11-21  Thorsten Kukuk  <kukuk@thkukuk.de>
1630
1631         * release version 0.99.2.0
1632
1633         * libpam_misc/Makefile.am: Increase release number (for change
1634         from 2005-11-09)
1635
1636         * NEWS: Adjust for 0.99.2.0
1637
1638 2005-11-17  Thorsten Kukuk  <kukuk@thkukuk.de>
1639
1640         * libpam/include/security/_pam_compat.h: Fix wrong #ifdef nesting.
1641         Redefine PAM_CHANGE_EXPIRED_AUTHTOK [#604380]
1642
1643 2005-11-16  Thorsten Kukuk  <kukuk@thkukuk.de>
1644
1645         * libpam/pam_handlers.c: Replace code for all dlopen variants with
1646         a generic wrapper.
1647         * libpam/pam_dynamic.c: Implement generic wrapper for dlopen.
1648         * libpam/pam_dynamic.h: Provide prototypes.
1649         For Mac OS X support [#534205]
1650
1651 2005-11-09  Tomas Mraz <t8m@centrum.cz>
1652
1653         * modules/pam_access/pam_access.c (pam_sm_acct_mgmt): Parse correctly
1654         full path tty name.
1655         * modules/pam_time/pam_time.c (pam_sm_acct_mgmt): Parse correctly
1656         full path tty name. Allow unset tty.
1657         (logic_member): Allow matching ':' in tty name.
1658         * modules/pam_group/pam_group.c (pam_sm_acct_mgmt): Parse correctly
1659         full path tty name. Allow unset tty.
1660         (logic_member): Allow matching ':' in tty name.
1661
1662         * libpam_misc/misc_conv.c (read_string): Read only up to EOL if stdin
1663         is not terminal.
1664
1665 2005-11-07  Thorsten Kukuk  <kukuk@thkukuk.de>
1666
1667         * modules/pam_unix/pam_unix_passwd.c (_unix_verify_shadow): Use
1668         correct variable names.
1669
1670 2005-11-06  Steve Langasek <vorlon@debian.org>
1671
1672         * modules/pam_env/pam_env.c: don't treat a missing
1673         /etc/environment as a fatal error when attempting to read it,
1674         and try to read this file by default; this restores the behavior
1675         from Linux-PAM 0.76.
1676
1677 2005-11-02  Tomas Mraz <t8m@centrum.cz>
1678
1679         * modules/pam_unix/support.c (_unix_getpwnam): Fix typo [#1224807]
1680         by ohyajapn.
1681
1682         * modules/pam_unix/pam_unix_passwd.c (_unix_verify_shadow): Change the
1683         logic when comparing dates to handle corner cases better [#1245888].
1684
1685 2005-10-31  Thorsten Kukuk  <kukuk@suse.de>
1686
1687         * modules/pam_filter/pam_filter.c: Use XCASE only if defined
1688         [#624214]
1689
1690 2005-10-27  Thorsten Kukuk  <kukuk@suse.de>
1691
1692         * doc/man/pam.8: Fix wording for authentication chapter [#1197444]
1693
1694 2005-10-26  Tomas Mraz  <t8m@centrum.cz>
1695
1696         * modules/pam_unix/pam_unix_acct.c (_unix_run_verify_binary),
1697         modules/pam_unix/pam_unix_passwd.c (_unix_run_shadow_binary),
1698         modules/pam_unix/support.c (_unix_run_shadow_binary_): Set real
1699         uid to 0 before executing the helper if SELinux is enabled.
1700         * modules/pam_unix/unix_chkpwd.c (main): Disable user check only
1701         if real uid is 0 (CVE-2005-2977). Log failed password check attempt.
1702
1703
1704 2005-10-20  Tomas Mraz  <t8m@centrum.cz>
1705
1706         * configure.in: Added check for xauth binary and --with-xauth option.
1707         * config.h.in: Added configurable PAM_PATH_XAUTH.
1708         * modules/pam_xauth/README,
1709         modules/pam_xauth/pam_xauth.8: Document where xauth is looked for.
1710         * modules/pam_xauth/pam_xauth.c (pam_sm_open_session): Implement
1711         searching xauth binary on multiple places.
1712         (run_coprocess): Don't use execvp as it can be a security risk.
1713
1714 2005-10-04  Steve Langasek  <vorlon@debian.org>
1715
1716         * libpam/include/security/pam_malloc.h,
1717         libpam/include/security/pam_modules.h: Declare public header
1718         files extern "C" so that they are C++-safe.
1719
1720 2005-10-02  Dmitry V. Levin  <ldv@altlinux.org>
1721             Steve Langasek  <vorlon@debian.org>
1722
1723         Cleanup gratuitous use of strdup().
1724         Fix "missing argument" checks.
1725
1726         * modules/pam_env/pam_env.c (_pam_parse): Add const qualifier
1727         to conffile and envfile arguments.  Do not use x_strdup() for
1728         conffile and envfile initialization.  Fix "missing argument"
1729         checks.
1730         (_parse_config_file): Take conffile argument of type "const char *"
1731         instead of "char **".  Do not free conffile.
1732         (_parse_env_file): Take env_file argument of type "const char *"
1733         instead of "char **".  Do not free env_file.
1734         (pam_sm_setcred): Add const qualifier to conf_file and env_file.
1735         Pass conf_file and env_file to _parse_config_file() and
1736         _parse_env_file() by value.
1737         (pam_sm_open_session): Likewise.
1738
1739         * modules/pam_ftp/pam_ftp.c (_pam_parse): Add const qualifier to
1740         users argument.  Do not use x_strdup() for users initialization.
1741         (lookup):  Add const qualifier to list argument.
1742         (pam_sm_authenticate): Add const qualifier to users argument.
1743
1744         * modules/pam_mail/pam_mail.c (_pam_parse): Add const qualifier
1745         to maildir argument.  Do not use x_strdup() for maildir
1746         initialization.  Fix "missing argument" check.
1747         (get_folder): Take path_mail argument of type "const char *"
1748         instead of "char **".  Do not free path_mail.
1749         (_do_mail): Add const qualifier to path_mail argument.
1750         Pass path_mail to get_folder() by value.
1751
1752         * modules/pam_motd/pam_motd.c: Include <syslog.h>.
1753         (pam_sm_open_session): Add const qualifier to motd_path.
1754         Do not use x_strdup() for motd_path initialization.  Do not
1755         free motd_path.  Fix "missing argument" check.  Add "unknown
1756         option" warning.
1757
1758         * modules/pam_userdb/pam_userdb.c (_pam_parse): Add const
1759         qualifier to database and cryptmode arguments.  Fix "missing
1760         argument" checks.
1761         (pam_sm_authenticate): Add const qualifier to database and cryptmode.
1762         (pam_sm_acct_mgmt): Likewise.
1763
1764 2005-10-01  Steve Langasek  <vorlon@debian.org>
1765
1766         * modules/pam_userdb/pam_userdb.c: spelling fix in log message.
1767
1768 2005-09-30  Steve Langasek  <vorlon@debian.org>
1769
1770         * modules/pam_userdb/pam_userdb.c: Fix memory leak due to
1771         gratuitous use of strdup().
1772
1773 2005-09-27  Thorsten Kukuk  <kukuk@thkukuk.de>
1774
1775         * release 0.99.1.0
1776
1777         * doc/specs/Makefile.am (install-data-local): Install
1778         rfc and draft.
1779         (all): Copy rfc if we build outside of source directory.
1780
1781 2005-09-27  Thorsten Kukuk  <kukuk@suse.de>
1782
1783         * NEWS: Document removal of pam_radius.
1784         * autogen.sh: Make configure script executeable.
1785
1786         * conv/pam_conv1/Makefile (EXTRA_DIST): Removed lex.yy.c
1787         (lex.yy.c): Fixed out of tree build.
1788
1789         * conv/pam_conv1/pam_conv.y: Fix main prototype.
1790
1791         * README: Adjust.
1792
1793         * po/POTFILES.in: Remove files not distributed by tar archive
1794         and not containing strings for translation.
1795
1796 2005-09-26  Tomas Mraz  <t8m@centrum.cz>
1797
1798         * NEWS: Add a few missing entries from CHANGELOG.
1799
1800         * AUTHORS: Fixed entries for Toady and me.
1801
1802         * Makefile.am (M4_FILES): Fixed out of tree build.
1803         * doc/specs/Makefile.am (EXTRA_DIST): Removed lex.yy.c
1804         (spec, lex.yy.c): Fixed out of tree build.
1805
1806         * modules/pam_userdb/README: Document try_first_pass and
1807         use_first_pass options, remove use_authtok option.
1808
1809
1810 2005-09-26  Dmitry V. Levin  <ldv@altlinux.org>
1811
1812         * NEWS: Mention changes in pam_lastlog.
1813
1814 2005-09-26  Thorsten Kukuk  <kukuk@suse.de>
1815
1816         * NEWS: New file.
1817         * autogen.sh: Don't generate NEWS file.
1818         * CHANGELOG: Document it as obsolete.
1819
1820 2005-09-26  Tomas Mraz  <t8m@centrum.cz>
1821
1822         * modules/pam_unix/pam_unix_acct.c (_unix_run_verify_binary):
1823         _log_err() -> pam_syslog()
1824         (pam_sm_acct_mgmt): _log_err() -> pam_syslog(), fix warning.
1825         * modules/pam_unix/pam_unix_auth.c (pam_sm_authenticate):
1826         _log_err() -> pam_syslog()
1827         * modules/pam_unix/pam_unix_passwd.c: removed obsolete ifdef
1828         (getNISserver, _unix_run_shadow_binary, _update_passwd,
1829         _update_shadow, _do_setpass, _pam_unix_approve_pass,
1830         pam_sm_chauthtok): _log_err() -> pam_syslog()
1831         * modules/pam_unix/pam_unix_sess.c: removed obsolete ifdef
1832         (pam_sm_open_session, pam_sm_close_session):
1833         _log_err() -> pam_syslog()
1834         * modules/pam_unix/support.c (_log_err, converse): removed
1835         (_make_remark): use pam_prompt() instead of converse()
1836         (_set_ctrl, _cleanup_failures, _unix_run_helper_binary,
1837         _unix_verify_password, _unix_read_password):
1838         _log_err() -> pam_syslog()
1839         _cleanup(), _unix_cleanup(): Silence unused param warnings.
1840         (_cleanup_failures, _unix_verify_password, _unix_getpwnam,
1841         _unix_run_helper_binary): Silence incorrect type warnings.
1842         (_unix_read_password): Use multiple pam_prompt() and pam_info() calls
1843         instead of converse().
1844         * modules/pam_unix/support.h (_log_err): removed
1845         * modules/pam_unix/unix_chkpwd.c (_log_err): LOG_AUTH -> LOG_AUTHPRIV
1846
1847 2005-09-26  Thorsten Kukuk  <kukuk@suse.de>
1848
1849         * configure.in: Add doc/specs/Makefile.
1850         * Makefile.am: Add releasedocs rule.
1851         * doc/Makefile.am: Add specs subdir, remove files from specs
1852         directory, add rfc86.0.txt to releasedocs.
1853         * doc/specs/Makefile.am: New file.
1854         * doc/specs/formatter/parse.y: move from here ...
1855         * doc/specs/parse.y: ... here.
1856         * doc/specs/formatter/parse.lex: move from here ...
1857         * doc/specs/parse.lex: ... here.
1858
1859         * modules/pam_mail/pam_mail.c: Mark missing strings for translation
1860         * po/Linux-PAM.pot: Add new strings from pam_mail
1861         * po/cs.po: Likewise.
1862         * po/de.po: Likewise.
1863         * po/es.po: Likewise.
1864         * po/fi.po: Likewise.
1865         * po/fr.po: Likewise.
1866         * po/hu.po: Likewise.
1867         * po/it.po: Likewise.
1868         * po/ja.po: Likewise.
1869         * po/nb.po: Likewise.
1870         * po/pa.po: Likewise.
1871         * po/pl.po: Likewise.
1872         * po/pt.po: Likewise.
1873         * po/pt_BR.po: Likewise.
1874         * po/zh_CN.po: Likewise.
1875         * po/zh_TW.po: Likewise.
1876
1877 2005-09-23  Tomas Mraz  <t8m@centrum.cz>
1878
1879         * modules/pam_access/pam_access.c (from_match): Support NULL from.
1880         (string_match): Support NULL string, add NONE keyword matching it.
1881         (pam_sm_acct_mgmt): Don't fail when ttyname returns NULL.
1882         * modules/pam_access/access.conf: NONE keyword description
1883         * modules/pam_access/README: NONE keyword description
1884
1885 2005-09-22  Dmitry V. Levin  <ldv@altlinux.org>
1886
1887         * modules/pam_xauth/pam_xauth.c: (check_acl, pam_sm_open_session,
1888         pam_sm_close_session): Strip redundant "pam_xauth: " prefix from
1889         text of log messages.
1890         (pam_sm_open_session): Replace sequence of malloc(), strcpy()
1891         and strcat() calls with asprintf().  Replace syslog() calls
1892         with pam_syslog().
1893
1894         * modules/pam_nologin/pam_nologin.c (parse_args): Use strncmp()
1895         instead of memcmp() for string comparison.
1896
1897 2005-09-21  Dmitry V. Levin  <ldv@altlinux.org>
1898
1899         * modules/pam_nologin/pam_nologin.c: Include <syslog.h>.
1900         (parse_args): Add pam_handle_t* argument.  Log unrecognized
1901         options.
1902         (perform_check): Log pam_get_user() and malloc() failures.
1903         (pam_sm_authenticate, pam_sm_setcred, pam_sm_acct_mgmt):
1904         Pass pam_handle_t* to parse_args().
1905
1906         * modules/pam_mail/pam_mail.c: Include <errno.h>.
1907         Remove YOUR_MAIL_VERBOSE_FORMAT, YOUR_MAIL_STANDARD_FORMAT and
1908         NO_MAIL_STANDARD_FORMAT macros.
1909         (parse_args, get_folder): Cleanup error messages.
1910         (get_folder): Fix leak of the path_mail variable in case of
1911         pam_get_user() failure.  Cleanup memory management.
1912         (get_mail_status): Add pam_handle_t* argument.  Fix leaks of
1913         namelist variable.  Cleanup memory management.  Log memory
1914         allocation failures.  Remove 250-byte limit on Maildir pathname.
1915         (report_mail): Mark text messages for translation.
1916         (_do_mail): Cleanup memory management.  Pass pam_handle_t*
1917         to get_mail_status().
1918
1919         * po/Linux-PAM.pot: Update with new strings from pam_mail for
1920         translation.
1921         * po/cs.po: Likewise.
1922         * po/de.po: Likewise.
1923         * po/es.po: Likewise.
1924         * po/fi.po: Likewise.
1925         * po/fr.po: Likewise.
1926         * po/hu.po: Likewise.
1927         * po/it.po: Likewise.
1928         * po/ja.po: Likewise.
1929         * po/nb.po: Likewise.
1930         * po/pa.po: Likewise.
1931         * po/pl.po: Likewise.
1932         * po/pt.po: Likewise.
1933         * po/pt_BR.po: Likewise.
1934         * po/zh_CN.po: Likewise.
1935         * po/zh_TW.po: Likewise.
1936
1937 2005-09-20  Thorsten Kukuk  <kukuk@suse.de>
1938
1939         * configure.in: Add finish translation.
1940         * po/fi.po: New.
1941
1942         * acinclude.m4: remove libprelude macros.
1943         * m4/libprelude.m4: New.
1944
1945         * Makefile.am (EXTRA_DIST): make sure we include all m4 macros.
1946
1947         * libpamc/Makefile.am (EXTRA_DIST): Add License.
1948
1949 See CHANGELOG for earlier changes.