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