1 2006-10-13 Tomas Mraz <t8m@centrum.cz>
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.
17 2006-10-07 Thorsten Kukuk <kukuk@suse.de>
19 * po/hu.po: Updated hungarian translation (from
20 Kalman Kemenczy <kkemenczy@novell.com>)
22 2006-09-20 Thorsten Kukuk <kukuk@thkukuk.de>
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.
35 2006-09-09 Dmitry V. Levin <ldv@altlinux.org>
37 * modules/pam_wheel/pam_wheel.8.xml: Fix typo.
38 * modules/pam_wheel/pam_wheel.8: Likewise.
39 * modules/pam_wheel/README: Likewise.
41 2006-09-08 Thorsten Kukuk <kukuk@thkukuk.de>
45 2006-09-06 Thorsten Kukuk <kukuk@thkukuk.de>
47 * release version 0.99.6.3
49 2006-09-01 Thorsten Kukuk <kukuk@thkukuk.de>
51 * modules/pam_loginuid/pam_loginuid.8.xml: Fix typo in
54 2006-08-31 Thorsten Kukuk <kukuk@thkukuk.de>
56 * modules/pam_env/environment: New, dummy environment example
59 * modules/pam_namespace/Makefile.am: Don't install
60 manual page if we don't build module.
62 * m4/ld-as-needed.m4: Don't set LDFLAGS if check failed.
65 2006-08-30 Tomas Mraz <t8m@centrum.cz>
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.
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.
79 2006-08-30 Thorsten Kukuk <kukuk@thkukuk.de>
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.
86 * modules/pam_namespace/pam_namespace.c: Use pam_modutil_getpwnam()
87 instead of getpwnam().
89 2006-08-29 Thorsten Kukuk <kukuk@thkukuk.de>
91 * doc/sag/pam_loginuid.xml: New.
92 * doc/sag/Linux-PAM_SAG.xml: Include pam_loginuid.xml.
94 * configure.in: Add modules/pam_loginuid/Makefile.
95 * modules/Makefile.am: Add pam_loginuid sub directory.
97 * libpam/pam_static_modules.h: Add pam_loginuid.
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.
107 2006-08-29 Dmitry V. Levin <ldv@altlinux.org>
109 * modules/pam_exec/pam_exec.c (call_exec): Add required third
110 argument to open() call with O_CREAT flag set.
112 2006-08-28 Thorsten Kukuk <kukuk@thkukuk.de>
114 * modules/pam_cracklib/pam_cracklib.c (pam_sm_chauthtok): Remove
117 2006-08-24 Thorsten Kukuk <kukuk@thkukuk.de>
119 * release version 0.99.6.2
121 * modules/pam_lastlog/pam_lastlog.c (last_login_date): Create
122 lastlog file if it does not exist.
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.
130 2006-08-24 Thorsten Kukuk <kukuk@thkukuk.de>
132 * xtests/tst-pam_dispatch4.c: New test.
133 * xtests/tst-pam_dispatch4.pamd: PAM config for new test.
135 2006-08-09 Thorsten Kukuk <kukuk@thkukuk.de>
137 * release version 0.99.6.1
139 2006-08-09 David Howells <dhowells@redhat.com>
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.
145 2006-08-06 Thorsten Kukuk <kukuk@thkukuk.de>
147 * modules/pam_umask/pam_umask.c (setup_limits_from_gecos):
149 * modules/pam_umask/pam_umask.8.xml: Document silent option.
151 * xtests/Makefile.am: Fix includes for bootstrapping.
152 Reported by Greg Schafer <gschafer@zip.com.au>.
154 2006-08-05 Thorsten Kukuk <kukuk@thkukuk.de>
156 * release version 0.99.6.0
158 * modules/pam_limits/pam_limits.c (pam_sm_open_session): Use
159 pam_modutil_getpwnam instead of getpwnam.
161 * modules/pam_succeed_if/pam_succeed_if.c (evaluate): Cast
162 svc variable to char pointer for snprintf.
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.
175 2006-08-04 Ray Strode <rstrode@redhat.com>
177 * modules/pam_succeed_if/pam_succeed_if.c (pam_sm_authenticate):
178 Return PAM_USER_UNKNOWN instead of PAM_SERVICE_ERR where appropriate.
180 2006-08-03 David Howells <dhowells@redhat.com>
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.
186 2006-08-03 Tomas Mraz <t8m@centrum.cz>
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
195 * modules/pam_selinux/pam_selinux.c (security_label_tty): Don't log
196 relabelling error when the tty device doesn't exist (ENOENT).
198 2006-08-01 Thorsten Kukuk <kukuk@thkukuk.de>
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.
203 * doc/index.html: Cleanup to look prettier.
205 2006-08-01 Thorsten Kukuk <kukuk@thkukuk.de>
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].
212 2006-07-28 Thorsten Kukuk <kukuk@thkukuk.de>
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.
229 2006-07-24 David Quigley <dpquigl@tycho.nsa.gov>
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.
236 * modules/pam_namespace/pam_namespace.c: Move large sections
237 of code into new functions.
239 2006-07-24 Thorsten Kukuk <kukuk@thkukuk.de>
241 * doc/adg/Makefile.am: Add uninstall and distclean rules.
242 * doc/mwg/Makefile.am: Likewise.
243 * doc/sag/Makefile.am: Likewise.
245 2006-07-08 Daniel Richard G. <skunk@iskunk.org>
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()
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
274 * tests/tst-dlopen.c: Include config.h.
276 2006-07-03 Dan Yefimov <dan@D00M.lightwave.net.ru>
278 * configure.in: Fixed have_key_syscalls test.
280 * modules/pam_access/pam_access.c (from_match): Fixed IPv4 network
281 match, removed AI_ADDRCONFIG flag.
283 2006-06-30 Tomas Mraz <t8m@centrum.cz>
285 * modules/pam_namespace/Makefile.am(EXTRA_DIST): Add namespace.init.
287 2006-06-29 Thorsten Kukuk <kukuk@thkukuk.de>
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.
294 2006-06-28 Thorsten Kukuk <kukuk@thkukuk.de>
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.
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.
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.
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.
319 * configure.in: Remove checks for sgml2* progrs, add sag, adg
322 * doc/Makefile.am: Remove references to sgml, add sag, adg and mwg
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.
331 2006-06-28 Thorsten Kukuk <kukuk@thkukuk.de>
333 * release version 0.99.5.0
335 * bump version number to 0.99.5.0
337 * modules/pam_rhosts/pam_rhosts.c: New module, replaces
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.
347 * doc/man/pam_sm_acct_mgmt.3.xml: Adjust syntax for module
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.
355 * po/POTFILES.in: Add new source files.
357 * libpam/pam_static_modules.h: Add new modules.
359 * modules/pam_keyinit.c: Add _pam_keyinit_modstruct.
361 * modules/pam_keyinit/Makefile.am (EXTRA_DIST): Add XML
362 files and manual page.
364 2006-06-27 Thorsten Kukuk <kukuk@thkukuk.de>
366 * configure.in: Allow disabling of SELinux support, check for
369 2006-06-27 Tomas Mraz <t8m@centrum.cz>
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
388 2006-06-27 David Howells <dhowells@redhat.com>
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.
400 2006-06-27 Thorsten Kukuk <kukuk@thkukuk.de>
402 * m4/libprelude.m4: Sync with upstream.
404 2006-06-27 Tomas Mraz <t8m@centrum.cz>
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):
410 * modules/pam_unix/support.c(_unix_run_helper_binary):
413 2006-06-25 Thorsten Kukuk <kukuk@thkukuk.de>
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.
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
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
459 2006-06-24 Thorsten Kukuk <kukuk@thkukuk.de>
461 * modules/pam_limits/pam_limits.c (setup_limits): Don't
462 reset priority for root.
464 2006-06-23 Thorsten Kukuk <kukuk@thkukuk.de>
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.
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.
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.
505 2006-06-21 Thorsten Kukuk <kukuk@thkukuk.de>
507 * modules/pam_selinux/Makefile.am: Fix "make dist" if libselinux
510 * modules/pam_issue/pam_issue.8.xml: Fix listing of escapes.
511 * modules/pam_issue/pam_issue.8: Regenerate.
513 2006-06-20 Thorsten Kukuk <kukuk@thkukuk.de>
515 * configure.in: Remove unused check for libcap.
517 * m4/ld-as-needed.m4: New.
519 * configure.in: Call PAM_LD_AS_NEEDED and PAM_LD_O1,
520 require docbook version 4.4.
522 2006-06-19 Thorsten Kukuk <kukuk@thkukuk.de>
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.
538 * specs/Makefile.am: Fix rule to generate draft.
540 2006-06-18 Thorsten Kukuk <kukuk@thkukuk.de>
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.
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.
554 2006-06-17 Thorsten Kukuk <kukuk@thkukuk.de>
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.
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.
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.
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.
579 2006-06-16 Thorsten Kukuk <kukuk@thkukuk.de>
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.
585 * modules/pam_lastlog/pam_lastlog.c (last_login_read): Don't
586 truncate UID for syslog output.
588 * modules/pam_time/pam_time.c: Replace type boolean with int.
589 * modules/pam_group/pam_group.c: Likewise.
591 2006-06-15 Thorsten Kukuk <kukuk@thkukuk.de>
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
598 * modules/pam_unix/bigcrypt_main.c: Include bigcrypt.h, remove
600 * modules/pam_unix/pam_unix_passwd.c: Include bigcrypt.h, remove
603 * modules/pam_time/pam_time.c (logic_member): Remove unused
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.
611 * modules/pam_time/pam_time.c (logic_field): Likewise.
613 * configure.in: Add special exceptions for icc: different
614 compiler warnings, no PIE support.
616 2006-06-14 Thorsten Kukuk <kukuk@thkukuk.de>
618 * libpam/pam_misc.c (_pam_strdup): Use strlen and strcpy.
620 * configure.in: Remove --enable-memory-debug, add option
621 to disable prelude if installed.
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.
631 * libpam/pam_handlers.c (extract_modulename): Use _pam_strdup
634 * libpam/pam_private.h: Remove _pam_strCMP.
635 * libpam/pam_misc.c: Likewise.
636 * libpam/pam_handlers.c: Replaced _pam_strCMP with strcasecmp.
638 2006-06-12 Thorsten Kukuk <kukuk@thkukuk.de>
640 * modules/pam_tally/Makefile.am (AM_LDFLAGS): Remove flags
641 for modules from main application.
643 2006-06-09 Thorsten Kukuk <kukuk@thkukuk.de>
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.
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.
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.
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.
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.
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.
681 2006-06-06 Thorsten Kukuk <kukuk@thkukuk.de>
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.
689 * libpam/include/security/pam_malloc.h: Add missing license
692 * libpam/include/security/pam_ext.h: Add brackets for C++.
693 * libpam/include/security/pam_modutil.h: Likewise.
695 * libpam/include/security/pam_modules.h: Document where to
696 find the copyright/license informations.
698 * libpam/include/security/pam_appl.h: Move _pam_compat.h
699 include inside of brackets.
701 2006-06-04 Thorsten Kukuk <kukuk@thkukuk.de>
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.
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.
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.
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.
727 2006-06-03 Thorsten Kukuk <kukuk@thkukuk.de>
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.
735 2006-06-02 Thorsten Kukuk <kukuk@thkukuk.de>
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.
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.
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.
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.
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.
805 2006-06-01 Thorsten Kukuk <kukuk@thkukuk.de>
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.
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.
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.
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.
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.
839 2006-05-30 Thorsten Kukuk <kukuk@thkukuk.de>
841 * modules/pam_mkhomedir/pam_mkhomedir.8.xml: Fix umask and skel
842 directory documentation.
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.
850 2006-05-29 Thorsten Kukuk <kukuk@thkukuk.de>
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.
858 2006-05-23 Thorsten Kukuk <kukuk@thkukuk.de>
860 * modules/pam_echo/pam_echo.c (pam_echo): Use pam_modutil_read()
863 2006-05-22 Thorsten Kukuk <kukuk@thkukuk.de>
865 * modules/pam_listfile/pam_listfile.c (pam_sm_authenticate):
866 Fix memory leaks, [#1490956] found by Coverity.
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.
873 * modules/pam_mkhomedir/pam_mkhomedir.c (create_homedir): Don't
874 ignore return value of stat(). [#1489808] found by Coverity.
876 * modules/pam_mail/pam_mail.c (get_folder): Fix a potential
877 NULL pointer dereference. [#1489792] found by Coverity.
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.
883 * modules/pam_echo/pam_echo.c (replace_and_print): Initialize
884 str, [#1489658] found by Coverity.
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.
891 2006-05-04 Thorsten Kukuk <kukuk@suse.de>
893 * configure.in: Check for fseeko.
894 * modules/pam_tally/pam_tally.c: Use fseeko if available
895 (Based on patch by IBM).
897 2006-05-04 Thorsten Kukuk <kukuk@thkukuk.de>
899 * release version 0.99.4.0
901 * libpam/pam_strerror.c: Unify error messages.
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.
921 * doc/man/pam.3.xml: New.
922 * doc/man/pam.3. New, generated from XML file.
924 * doc/man/pam_sm_acct_mgmt.3.xml: New.
925 * doc/man/pam_sm_acct_mgmt.3: New, generated from XML file.
927 * doc/man/*.xml: Fix encoding and use always UTF-8, regenerate
930 * doc/pam_modules.sgml (PAM_NEW_AUTHTOKEN_REQD): Fix typo.
932 2006-05-02 Thorsten Kukuk <kukuk@thkukuk.de>
934 * modules/pam_unix/pam_unix_acct.c (pam_sm_acct_mgmt): Use
935 different strings for plural or not [#1427738]
937 * po/*.po: Adjust for pam_unix.so translation fix.
939 * modules/pam_tally/pam_tally.c: Always close file handle
940 in error case, don't close it depending on *TALLY value [#1478180]
942 2006-04-21 Thorsten Kukuk <kukuk@thkukuk.de>
946 2006-04-11 Thorsten Kukuk <kukuk@thkukuk.de>
950 2006-03-27 Thorsten Kukuk <kukuk@thkukuk.de>
952 * po/LINGUAS: Add uk.
956 * po/po/es.po: Updated.
965 * po/pt_BR.po: Updated.
966 * po/zh_CN.po: Updated.
967 * po/zh_TW.po: Updated.
969 2006-03-21 Thorsten Kukuk <kukuk@thkukuk.de>
971 * configure.in: Remove ALL_LINGUAS.
973 * po/tr.po: New (from Ismail Donmez <ismail@pardus.org.tr>).
975 2006-03-13 Thorsten Kukuk <kukuk@thkukuk.de>
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.
982 * modules/pam_lastlog/Makefile.am: Fix typo.
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.
988 2006-03-12 Thorsten Kukuk <kukuk@thkukuk.de>
990 * doc/man/Makefile.am: Add new manual pages.
992 * doc/man/pam.conf.5.xml: Replace link with content
994 * doc/man/pam.conf.5: Regenerated from XML file.
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.
1000 * doc/man/pam_conv.3.xml: New.
1001 * doc/man/pam_conv.3: New, generated from XML file.
1003 * doc/man/pam_putenv.3.xml: New.
1004 * doc/man/pam_putenv.3: New, generated from XML file.
1006 * doc/man/pam_getenv.3.xml: New.
1007 * doc/man/pam_getenv.3: New, generated from XML file.
1009 * doc/man/pam_getenvlist.3.xml: New.
1010 * doc/man/pam_getenvlist.3: New, generated from XML file.
1012 * libpam/pam_item.c (pam_get_user): Check for valid pamh before
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.
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
1104 2006-03-11 Thorsten Kukuk <kukuk@thkukuk.de>
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.
1115 2006-02-24 Thorsten Kukuk <kukuk@thkukuk.de>
1117 * po/km.po: Update Khmer translation.
1119 2006-02-24 Thorsten Kukuk <kukuk@thkukuk.de>
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
1130 2006-02-22 Thorsten Kukuk <kukuk@thkukuk.de>
1132 * configure.in: Fix check for incomplete libaudit installations
1133 (Patch from Ruediger Oertel <ro@suse.de>).
1135 * modules/pam_lastlog/pam_lastlog.c (last_login_write): Initialize
1136 correct last_login field [#1427401].
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.
1143 2006-02-17 Thorsten Kukuk <kukuk@thkukuk.de>
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.
1159 2006-02-14 Thorsten Kukuk <kukuk@thkukuk.de>
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.
1166 2006-02-13 Thorsten Kukuk <kukuk@thkukuk.de>
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.
1173 * doc/modules/pam_chroot.sgml: Remove obsolete sgml file.
1175 2006-02-12 Thorsten Kukuk <kukuk@thkukuk.de>
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.
1215 2006-02-10 Thorsten Kukuk <kukuk@thkukuk.de>
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
1231 * modules/pam_mkhomedir/pam_mkhomedir.c: Likewise.
1232 * modules/pam_group/pam_group.c: Remove dead code for libpwdb.
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.
1239 2006-02-07 Thorsten Kukuk <kukuk@thkukuk.de>
1241 * configure.in: Check for text browser.
1242 * Make.xml.rules: Add rule to generate README from README.xml.
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
1254 Based on patch from Mike Becher <Mike.Becher@lrz-muenchen.de>.
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.
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.
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.
1273 2006-02-06 Thorsten Kukuk <kukuk@thkukuk.de>
1276 * po/pt.po: Update translations.
1277 * configure.in: Add nl as new language.
1279 2006-01-30 Thorsten Kukuk <kukuk@thkukuk.de>
1281 * modules/pam_exec/pam_exec.8.xml: Fix syntax of Return Value section.
1282 * modules/pam_exec/Makefile.am: Include Make.xml.rules.
1284 * Make.xml.rules: New.
1286 * Makefile.am (EXTRA_DIST): Add Make.xml.rules.
1288 2006-01-27 Thorsten Kukuk <kukuk@thkukuk.de>
1290 * configure.in: Prefer libdb over libndbm, fix check for
1291 libcrack and remove not needed BACKUP_LIBS.
1293 2006-01-24 Thorsten Kukuk <kukuk@thkukuk.de>
1295 * modules/pam_debug/pam_debug.c: Fix name of pam_module struct.
1297 * po/de.po: Fix one translation.
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.
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.
1318 * configure.in: Add checks for xsltproc, xmllint and docbook
1320 * m4/jh_path_xml_catalog.m4: New.
1322 2006-01-22 Thorsten Kukuk <kukuk@thkukuk.de>
1324 * modules/pam_succeed_if/pam_succeed_if.c: Add support for
1326 * modules/pam_xauth/pam_xauth.c: Likewise.
1328 * libpam/pam_static.c (_pam_open_static_handler): Add pamh
1330 * libpam/pam_private.h: Adjust prototype.
1331 * libpam/pam_handlers.c (_pam_add_handler): Add pamh to
1332 _pam_open_static_handler call.
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
1344 2006-01-21 Thorsten Kukuk <kukuk@thkukuk.de>
1346 * modules/pam_listfile/pam_listfile.c: Add support for session
1347 and password management.
1349 2006-01-19 Thorsten Kukuk <kukuk@suse.de>
1351 * doc/specs/Makefile.am (spec): Add padout to fix parallel
1352 build (Reported by Andreas Haumer <andreas@xss.co.at>).
1354 2006-01-15 Thorsten Kukuk <kukuk@thkukuk.de>
1356 * modules/pam_echo/pam_echo.c: Define HOST_NAME_MAX if not
1359 2006-01-13 Thorsten Kukuk <kukuk@thkukuk.de>
1361 * release version 0.99.3.0
1363 * libpam_misc/misc_conv.c (misc_conv): Fix strict aliasing
1366 * modules/pam_umask/pam_umask.c (search_key): Don't ignore
1367 EOF/error return value from fgets().
1369 * configure.in: Check for getline and getdelim
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.
1381 2006-01-13 Dmitry V. Levin <ldv@altlinux.org>
1383 * libpam/pam_audit.c (_pam_auditlog): Replace strerror(errno)
1384 call with %m specifier.
1386 2006-01-12 Thorsten Kukuk <kukuk@thkukuk.de>
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.
1394 2006-01-12 Steve Grubb <sgrubb@redhat.com>
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
1409 * libpam/pam_end.c (pam_end): Add _pam_audit_end() call.
1410 * NEWS: Note about added auditing.
1412 2006-01-11 Thorsten Kukuk <kukuk@thkukuk.de>
1414 * libpam/Makefile.am (AM_CFLAGS): Define LIBPAM_COMPILE.
1416 * libpam/include/security/_pam_types.h: Don't define PAM_NONNULL
1417 if we compile libpam itself.
1419 * po/hu.po: Update with new translations.
1421 2006-01-08 Thorsten Kukuk <kukuk@thkukuk.de>
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.
1430 * libpam/include/security/_pam_compat.h: Define
1431 PAM_AUTHTOK_RECOVER_ERR for backward compatibility.
1433 * libpam/include/security/_pam_types.h: Rename
1434 PAM_AUTHTOK_RECOVER_ERR to PAM_AUTHTOK_RECOVERY_ERR.
1436 2006-01-05 Thorsten Kukuk <kukuk@thkukuk.de>
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.
1442 2005-12-21 Tomas Mraz <t8m@centrum.cz>
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.
1451 2005-12-20 Thorsten Kukuk <kukuk@thkukuk.de>
1453 * modules/pam_lastlog/pam_lastlog.c (last_login_read): Use
1454 strftime instead of ctime.
1456 * po/de.po: Fix typo.
1458 2005-12-19 Thorsten Kukuk <kukuk@thkukuk.de>
1460 * libpam/pam_syslog.c: Define LOG_AUTHPRIV as LOG_AUTH on Solaris.
1461 Reported by Charles_H_Bedford@nbc.gov.
1463 * modules/pam_time/pam_time.c (check_account): Implement
1464 support for netgroups.
1466 * modules/pam_time/time.conf: Document usage of netgroups.
1468 2005-12-16 Thorsten Kukuk <kukuk@thkukuk.de>
1470 * modules/pam_group/pam_group.c (check_account): Implement
1471 support for netgroups.
1473 * modules/pam_group/group.conf: Add all documentation to this
1474 example config file and don't reference to outdated configs.
1476 * modules/pam_group/README: New.
1478 * modules/pam_group/Makefile.am: Add README to EXTRADIST.
1480 2005-12-15 Thorsten Kukuk <kukuk@suse.de>
1482 * modules/pam_lastlog/pam_lastlog.c (last_login_read): Don't report an
1483 error if user logins the first time.
1485 * modules/pam_lastlog/README: New.
1487 * modules/pam_lastlog/Makefile.am: Add README to EXTRADIST.
1489 2005-12-14 Thorsten Kukuk <kukuk@suse.de>
1491 * modules/pam_deny/pam_deny.c: Fix comment.
1493 * doc/pam_appl.sgml: Fix typo.
1495 Reported by Russell Bateman <russ@windofkeltia.com>
1497 2005-12-12 Thorsten Kukuk <kukuk@thkukuk.de>
1499 * release version 0.99.2.1
1501 * po/de.po: Remove new fuzzy entry
1503 * NEWS: Add 0.99.2.1 changes
1505 * configure.in: bump version number to 0.99.2.1
1507 2005-12-12 Dmitry V. Levin <ldv@altlinux.org>
1509 Cleanup pam_syslog messages.
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
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.
1527 2005-12-12 Tomas Mraz <t8m@centrum.cz>
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.
1547 2005-12-12 Mike Becher <Mike.Becher@lrz-muenchen.de>
1549 * doc/Makefile.am: Fixed install of PS, PDF, TXT and HTML files.
1551 2005-12-12 Thorsten Kukuk <kukuk@suse.de>
1553 * modules/pam_mail/README: Document "quiet" and "standard"
1556 2005-12-07 Thorsten Kukuk <kukuk@suse.de>
1558 * modules/pam_mail/pam_mail.c: Modify assembling of output
1559 for easier translation.
1561 * po/de.po: Translate new pam_mail messages.
1564 2005-11-24 Thorsten Kukuk <kukuk@thkukuk.de>
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.
1582 2005-11-24 Dmitry V. Levin <ldv@altlinux.org>
1584 * config.h.in: Remove generated file.
1585 * .cvsignore: Add config.h.in.
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):
1594 * modules/pam_selinux/pam_selinux.c (security_label_tty):
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.
1621 2005-11-23 Thorsten Kukuk <kukuk@suse.de>
1623 * modules/pam_xauth/pam_xauth.c (pam_sm_open_session): Introduce
1624 new variable to fix compiler warning.
1626 * libpam/pam_modutil_getlogin.c (pam_modutil_getlogin): PAM_TTY
1627 don't need to start with /dev/.
1629 2005-11-21 Thorsten Kukuk <kukuk@thkukuk.de>
1631 * release version 0.99.2.0
1633 * libpam_misc/Makefile.am: Increase release number (for change
1636 * NEWS: Adjust for 0.99.2.0
1638 2005-11-17 Thorsten Kukuk <kukuk@thkukuk.de>
1640 * libpam/include/security/_pam_compat.h: Fix wrong #ifdef nesting.
1641 Redefine PAM_CHANGE_EXPIRED_AUTHTOK [#604380]
1643 2005-11-16 Thorsten Kukuk <kukuk@thkukuk.de>
1645 * libpam/pam_handlers.c: Replace code for all dlopen variants with
1647 * libpam/pam_dynamic.c: Implement generic wrapper for dlopen.
1648 * libpam/pam_dynamic.h: Provide prototypes.
1649 For Mac OS X support [#534205]
1651 2005-11-09 Tomas Mraz <t8m@centrum.cz>
1653 * modules/pam_access/pam_access.c (pam_sm_acct_mgmt): Parse correctly
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.
1662 * libpam_misc/misc_conv.c (read_string): Read only up to EOL if stdin
1665 2005-11-07 Thorsten Kukuk <kukuk@thkukuk.de>
1667 * modules/pam_unix/pam_unix_passwd.c (_unix_verify_shadow): Use
1668 correct variable names.
1670 2005-11-06 Steve Langasek <vorlon@debian.org>
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.
1677 2005-11-02 Tomas Mraz <t8m@centrum.cz>
1679 * modules/pam_unix/support.c (_unix_getpwnam): Fix typo [#1224807]
1682 * modules/pam_unix/pam_unix_passwd.c (_unix_verify_shadow): Change the
1683 logic when comparing dates to handle corner cases better [#1245888].
1685 2005-10-31 Thorsten Kukuk <kukuk@suse.de>
1687 * modules/pam_filter/pam_filter.c: Use XCASE only if defined
1690 2005-10-27 Thorsten Kukuk <kukuk@suse.de>
1692 * doc/man/pam.8: Fix wording for authentication chapter [#1197444]
1694 2005-10-26 Tomas Mraz <t8m@centrum.cz>
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.
1704 2005-10-20 Tomas Mraz <t8m@centrum.cz>
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.
1714 2005-10-04 Steve Langasek <vorlon@debian.org>
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.
1720 2005-10-02 Dmitry V. Levin <ldv@altlinux.org>
1721 Steve Langasek <vorlon@debian.org>
1723 Cleanup gratuitous use of strdup().
1724 Fix "missing argument" checks.
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"
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.
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.
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.
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
1758 * modules/pam_userdb/pam_userdb.c (_pam_parse): Add const
1759 qualifier to database and cryptmode arguments. Fix "missing
1761 (pam_sm_authenticate): Add const qualifier to database and cryptmode.
1762 (pam_sm_acct_mgmt): Likewise.
1764 2005-10-01 Steve Langasek <vorlon@debian.org>
1766 * modules/pam_userdb/pam_userdb.c: spelling fix in log message.
1768 2005-09-30 Steve Langasek <vorlon@debian.org>
1770 * modules/pam_userdb/pam_userdb.c: Fix memory leak due to
1771 gratuitous use of strdup().
1773 2005-09-27 Thorsten Kukuk <kukuk@thkukuk.de>
1777 * doc/specs/Makefile.am (install-data-local): Install
1779 (all): Copy rfc if we build outside of source directory.
1781 2005-09-27 Thorsten Kukuk <kukuk@suse.de>
1783 * NEWS: Document removal of pam_radius.
1784 * autogen.sh: Make configure script executeable.
1786 * conv/pam_conv1/Makefile (EXTRA_DIST): Removed lex.yy.c
1787 (lex.yy.c): Fixed out of tree build.
1789 * conv/pam_conv1/pam_conv.y: Fix main prototype.
1793 * po/POTFILES.in: Remove files not distributed by tar archive
1794 and not containing strings for translation.
1796 2005-09-26 Tomas Mraz <t8m@centrum.cz>
1798 * NEWS: Add a few missing entries from CHANGELOG.
1800 * AUTHORS: Fixed entries for Toady and me.
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.
1806 * modules/pam_userdb/README: Document try_first_pass and
1807 use_first_pass options, remove use_authtok option.
1810 2005-09-26 Dmitry V. Levin <ldv@altlinux.org>
1812 * NEWS: Mention changes in pam_lastlog.
1814 2005-09-26 Thorsten Kukuk <kukuk@suse.de>
1817 * autogen.sh: Don't generate NEWS file.
1818 * CHANGELOG: Document it as obsolete.
1820 2005-09-26 Tomas Mraz <t8m@centrum.cz>
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
1847 2005-09-26 Thorsten Kukuk <kukuk@suse.de>
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.
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.
1877 2005-09-23 Tomas Mraz <t8m@centrum.cz>
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
1885 2005-09-22 Dmitry V. Levin <ldv@altlinux.org>
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
1894 * modules/pam_nologin/pam_nologin.c (parse_args): Use strncmp()
1895 instead of memcmp() for string comparison.
1897 2005-09-21 Dmitry V. Levin <ldv@altlinux.org>
1899 * modules/pam_nologin/pam_nologin.c: Include <syslog.h>.
1900 (parse_args): Add pam_handle_t* argument. Log unrecognized
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().
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().
1919 * po/Linux-PAM.pot: Update with new strings from pam_mail for
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.
1937 2005-09-20 Thorsten Kukuk <kukuk@suse.de>
1939 * configure.in: Add finish translation.
1942 * acinclude.m4: remove libprelude macros.
1943 * m4/libprelude.m4: New.
1945 * Makefile.am (EXTRA_DIST): make sure we include all m4 macros.
1947 * libpamc/Makefile.am (EXTRA_DIST): Add License.
1949 See CHANGELOG for earlier changes.