1 2009-06-16 Thorsten Kukuk <kukuk@thkukuk.de>
3 * doc/sag/Linux-PAM_SAG.xml: Fix typos.
4 * doc/adg/Linux-PAM_ADG.xml: Likewise.
5 * doc/mwg/Linux-PAM_MWG.xml: Likewise.
7 2009-06-08 Rajesh Ranjan <rajesh672@gmail.com>
9 * po/hi.po: Updated translations.
11 2009-06-01 Jaswinder Singh <jsingh@redhat.com>
13 * po/pa.po: Updated translations.
15 2009-06-01 Tomáš Mráz <t8m@centrum.cz>
17 * modules/pam_pwhistory/opasswd.c (save_old_password): Don't
18 call fclose() on NULL descriptor. Found by Steve Grubb.
20 2009-06-01 Ville Skyttä <ville.skytta@iki.fi>
22 * modules/pam_limits/pam_limits.8.xml: Only *.conf
23 files are parsed. Spelling fixes.
24 * modules/pam_access/pam_access.8.xml: Spelling fixes.
25 * modules/pam_cracklib/pam_cracklib.8.xml: Likewise.
26 * modules/pam_echo/pam_echo.8.xml: Likewise.
27 * modules/pam_env/pam_env.8.xml: Likewise.
28 * modules/pam_exec/pam_exec.8.xml: Likewise.
29 * modules/pam_filter/pam_filter.8.xml: Likewise.
30 * modules/pam_ftp/pam_ftp.8.xml: Likewise.
31 * modules/pam_group/pam_group.8.xml: Likewise.
32 * modules/pam_issue/pam_issue.8.xml: Likewise.
33 * modules/pam_lastlog/pam_lastlog.8.xml: Likewise.
34 * modules/pam_listfile/pam_listfile.8.xml: Likewise.
35 * modules/pam_localuser/pam_localuser.8.xml: Likewise.
36 * modules/pam_loginuid/pam_loginuid.8.xml: Likewise.
37 * modules/pam_mkhomedir/pam_mkhomedir.8.xml: Likewise.
38 * modules/pam_motd/pam_motd.8.xml: Likewise.
39 * modules/pam_namespace/pam_namespace.8.xml: Likewise.
40 * modules/pam_pwhistory/pam_pwhistory.8.xml: Likewise.
41 * modules/pam_selinux/pam_selinux.8.xml: Likewise.
42 * modules/pam_succeed_if/pam_succeed_if.8.xml: Likewise.
43 * modules/pam_tally/pam_tally.8.xml: Likewise.
44 * modules/pam_tally2/pam_tally2.8.xml: Likewise.
45 * modules/pam_time/pam_time.8.xml: Likewise.
46 * modules/pam_timestamp/pam_timestamp.8.xml: Likewise.
47 * modules/pam_timestamp/pam_timestamp_check.8.xml: Likewise.
48 * modules/pam_tty_audit/pam_tty_audit.8.xml: Likewise.
49 * modules/pam_umask/pam_umask.8.xml: Likewise.
50 * modules/pam_unix/pam_unix.8.xml: Likewise.
51 * modules/pam_xauth/pam_xauth.8.xml: Likewise.
53 2009-05-28 Jaswinder Singh <jsingh@redhat.com>
55 * po/pa.po: Updated translations.
57 2009-05-21 Albert Carabasa Giribet <albertc@asic.udl.cat>
59 * po/ca.po: Updated translations.
61 2009-05-11 Ani Peter <anipeter@fedoraproject.org>
63 * po/ml.po: Updated translations.
65 2009-05-11 Charles-Antoine Couret <cacouret@wanadoo.fr>
67 * po/fr.po: Updated translations.
69 2009-05-11 Tomáš Mráz <t8m@centrum.cz>
71 * modules/pam_unix/pam_unix_passwd.c (_unix_run_update_binary): Remove
72 unnecessary setuid() call.
74 2009-05-05 Thorsten Kukuk <kukuk@thkukuk.de>
76 * release version 1.0.92
77 * libpamc/Makefile.am (libpamc_la_LDFLAGS): Increase revesion.
78 * configure.in: Increase version to 1.0.92.
80 2009-04-20 Mario Santagiuliana <mario@marionline.it>
82 * po/it.po: Updated translations.
84 2009-04-17 Fabian Affolter <fab@fedoraproject.org>
86 * po/de.po: Updated translations.
88 2009-04-16 Tomáš Mráz <t8m@centrum.cz>
90 * modules/pam_succeed_if/pam_succeed_if.c (evaluate): Add user
91 parameter. Use user instead of pwd->pw_name in comparsions.
92 (pam_sm_authenticate): Pass the original user to evaluate().
94 2009-04-14 Amitakhya Phukan <aphukan@fedoraproject.org>
96 * po/as.po: Updated translations.
98 2009-04-14 Runa Bhattacharjee <runab@fedoraproject.org>
100 * po/bn_IN.po: Updated translations.
102 2009-04-14 Sweta Kothari <swkothar@redhat.com>
104 * po/gu.po: Updated translations.
106 2009-04-14 Sandeep Shedmake <sandeep.shedmake@gmail.com>
108 * po/mr.po: Updated translations.
110 2009-04-14 Rui Gouveia <rui.gouveia@globaltek.pt>
112 * po/pt.po: Updated translations.
114 2009-04-14 I. Felix <ifelix@redhat.com>
116 * po/ta.po: Updated translations.
118 2009-04-14 Krishna Babu K <kkrothap@redhat.com>
120 * po/te.po: Updated translations.
122 2009-04-09 Thorsten Kukuk <kukuk@thkukuk.de>
124 * modules/pam_unix/yppasswd.h: Update license to GPLv2 or later
125 on request of Olaf Kirch (Author).
126 * modules/pam_unix/yppasswd_xdr.c: Likewise.
128 2009-04-06 R.E. van der Luit <nippur@fedoraproject.org>
130 * po/nl.po: Updated translations.
132 2009-04-06 Terry Chuang <tchuang@redhat.com>
134 * po/zh_TW.po: Updated translations.
136 2009-04-03 Shankar Prasad <svenkate@redhat.com>
138 * po/kn.po: Updated translations.
140 2009-04-03 Manoj Kumar Giri <mgiri@redhat.com>
142 * po/or.po: Updated translations.
144 2009-04-03 Miloš Komarčević <kmilos@gmail.com>
146 * po/sr.po: Updated translations.
147 * po/sr@latin.po: Updated translations.
149 2009-04-03 Leah Liu <lliu@redhat.com>
151 * po/zh_CN.po: Updated translations.
153 2009-04-03 Dmitry V. Levin <ldv@altlinux.org>
155 * libpamc/pamc_load.c (__pamc_exec_agent): Replace call to exit(3)
156 in child process with call to _exit(2).
157 * modules/pam_mkhomedir/pam_mkhomedir.c (create_homedir): Likewise.
158 * modules/pam_unix/pam_unix_acct.c (_unix_run_verify_binary):
160 * modules/pam_unix/pam_unix_passwd.c (_unix_run_update_binary):
162 * modules/pam_unix/support.c (_unix_run_helper_binary): Likewise.
163 * modules/pam_xauth/pam_xauth.c (run_coprocess): Likewise.
164 * modules/pam_exec/pam_exec.c (call_exec): Replace all calls to
165 exit(3) in child process with calls to _exit(2).
166 * modules/pam_filter/pam_filter.c (set_filter): Likewise.
167 * modules/pam_namespace/pam_namespace.c (inst_init,
168 cleanup_tmpdirs): Likewise.
170 2009-03-27 Thorsten Kukuk <kukuk@thkukuk.de>
172 * modules/pam_unix/support.c (_unix_run_helper_binary): Don't
173 ignore return value of write().
175 * libpamc/include/security/pam_client.h (PAM_BP_ASSERT): Honour
177 * modules/pam_timestamp/pam_timestamp.c: don't ignore return
178 values of lchown and fchown.
180 2009-03-25 Thorsten Kukuk <kukuk@thkukuk.de>
182 * modules/pam_mkhomedir/pam_mkhomedir.c: Make option handling
184 (_pam_parse): Fix umask option.
186 * modules/pam_unix/passverify.c: Fix typo.
188 * modules/pam_issue/pam_issue.c: Fix compiler warning.
189 * modules/pam_ftp/pam_ftp.c: Likewise.
191 2009-03-25 Pavol Šimo <palo.simo@gmail.com>
193 * po/sk.po: Updated translations.
195 2009-03-24 Sulyok Péter <peti@sulyok.hu>
197 * po/hu.po: Updated translations.
199 2009-03-24 Domingo Becker <domingobecker@gmail.com>
201 * po/es.po: Updated translations.
203 2009-03-24 Diego Búrigo Zacarão <diegobz@projetofedora.org>
205 * po/pt_BR.po: Updated translations.
207 2009-03-24 Piotr Drąg <piotrdrag@gmail.com>
209 * po/pl.po: Updated translations.
211 2009-03-24 Tomas Mraz <t8m@centrum.cz>
213 * modules/pam_unix/passverify.c(save_old_password): Call fflush() and
215 (unix_update_passwd, unix_update_shadow): Likewise.
216 * modules/pam_pwhistory/opasswd.c(save_old_password): Likewise.
218 * po/cs.po: Updated translations.
220 2009-03-09 Thorsten Kukuk <kukuk@thkukuk.de>
222 * release version 1.0.91
224 * libpam/Makefile.am (libpam_la_LDFLAGS): Bump version number.
225 * xtests/Makefile.am: Add tst-pam_unix4.pamd, tst-pam_unix4.sh
228 2009-03-03 Dmitry V. Levin <ldv@altlinux.org>
230 * tests/tst-pam_mkargv.c (main): Fix for non-64bit architectures.
232 2009-03-03 Tomas Mraz <t8m@centrum.cz>
234 * modules/pam_unix/pam_unix_acct.c(_unix_run_verify_binary): Test
235 for abnormal exit of the helper binary.
236 * modules/pam_unix/pam_unix_passwd.c(_unix_run_update_binary): Likewise.
237 * modules/pam_unix/support.c(_unix_run_helper_binary): Likewise.
238 * modules/pam_mkhomedir/pam_mkhomedir.c(create_homedir): Likewise.
240 2009-02-27 Tomas Mraz <t8m@centrum.cz>
242 * modules/pam_mkhomedir/pam_mkhomedir.c(create_homedir): Replace
243 signal() with sigaction().
244 * modules/pam_namespace/pam_namespace.c(inst_init, cleanup_tmpdirs):
246 * modules/pam_unix/pam_unix_acct.c(_unix_run_verify_binary): Likewise.
247 * modules/pam_unix/pam_unix_passwd.c(_unix_run_update_binary):
249 * modules/pam_unix/passverify.c(su_sighandler): Likewise.
250 * modules/pam_unix/support.c(_unix_run_helper_binary): Likewise.
252 * modules/pam_tally2/Makefile.am: Link the pam_tally2 app to libpam
253 for auxiliary functions.
254 * modules/pam_tally2/pam_tally2.8.xml: Drop non-existing no_reset
255 option. Document new serialize option.
256 * modules/pam_tally2/pam_tally2.c: Add support for the new serialize
258 (_cleanup, tally_set_data, tally_get_data): Add tally file handle to
259 tally PAM data. Needed for fcntl() locking.
260 (get_tally): Use low level file access instead of stdio buffered FILE.
261 If serialize option is used lock the tally file access.
262 (set_tally, tally_bump, tally_reset): Use low level file access instead
263 of stdio buffered FILE. Close the file handle only when it is not owned
265 (pam_sm_authenticate, pam_sm_setcred, pam_sm_acct_mgmt): Pass the tally
266 file handle to tally_set_data(). Get it from tally_get_data().
267 (main): Use low level file access instead of stdio buffered FILE.
269 2009-02-26 Tomas Mraz <t8m@centrum.cz>
271 * xtests/Makefile.am: Add tst-pam_unix4.
272 * xtests/tst-pam_unix4.c: New test for password change
273 and shadow min days limit.
274 * xtests/tst-pam_unix4.pamd: Likewise.
275 * xtests/tst-pam_unix4.sh: Likewise.
277 * modules/pam_unix/pam_unix_acct.c (pam_sm_acct_mgmt): Ignore
278 PAM_AUTHTOK_ERR on shadow verification.
279 * modules/pam_unix/passverify.c (check_shadow_expiry): Return
280 PAM_AUTHTOK_ERR if sp_min limit for password change is defied.
282 2009-02-26 Timur Birsh <taem@linukz.org>
284 * po/LINGUAS: New Kazakh translation.
285 * po/kk.po: New Kazakh translation.
287 2009-02-25 Thorsten Kukuk <kukuk@thkukuk.de>
289 * libpam/pam_misc.c (_pam_StrTok): Use unsigned char
290 instead of int. Reported by Marcus Granado.
291 * tests/Makefile.am (TESTS): Add tst-pam_mkargv.
292 * tests/tst-pam_mkargv.c (main): Test case for
295 * po/de.po: Update fuzzy translations.
297 2009-02-25 Tomas Mraz <t8m@centrum.cz>
299 * xtests/access.conf: Add a line for name resolution test case.
300 * xtests/tst-pam_access4.c (main): Set PAM_RHOST for testing the LOCAL
301 keyword. Add a test case for name resolution.
303 * modules/pam_access/pam_access.c (from_match): Move name resolution
304 to network_netmask_match().
305 (network_netmask_match): Do a name resolution of the origin only if
306 matching against a real network/netmask.
308 2009-02-25 Fabian Affolter <fabian@bernewireless.net>
310 * po/de.po: Updated translations.
312 2009-02-25 Taylon Silmer Lacerda Silva <taylonsilva@gmail.com>
314 * po/pt_BR.po: Updated translations.
316 2009-02-25 Domingo Becker <domingobecker@gmail.com>
318 * po/es.po: Updated translations.
320 2009-02-20 Thorsten Kukuk <kukuk@thkukuk.de>
322 * modules/pam_limits/limits.conf.5.xml: Document that the kernel
323 can refuse values out of range for the local system.
324 * modules/pam_limits/pam_limits.c (setup_limits): Log if setrlimit
327 2009-02-18 Thorsten Kukuk <kukuk@thkukuk.de>
329 * libpam/pam_password.c (pam_chauthtok): Make sure applications
330 don't set internal flags.
332 2009-02-17 Thorsten Kukuk <kukuk@thkukuk.de>
334 * doc/man/pam_sm_chauthtok.3.xml: Document that sufficient
335 can break the PRELIM_CHECK chain.
337 * libpam/pam_dispatch.c: Don't freeze chain for chauthtok
338 [bugzilla.novell.com#470337]
340 2009-02-11 Daniel Nylander <po@danielnylander.se>
342 * po/sv.po: Updated translations.
344 2009-01-29 Thorsten Kukuk <kukuk@thkukuk.de>
346 * doc/man/pam_sm_setcred.3.xml: Document PAM_ESTABLISH_CRED.
348 2009-01-19 Tomas Mraz <t8m@centrum.cz>
350 * modules/pam_mkhomedir/Makefile.am: Add mkhomedir_helper.
351 * modules/pam_mkhomedir/mkhomedir_helper.8.xml: New file. Manual page
352 for mkhomedir_helper.
353 * modules/pam_mkhomedir/mkhomedir_helper.c: New file. Source
354 for mkhomedir_helper. Most of the code moved from pam_mkhomedir.c.
355 * modules/pam_mkhomedir/pam_mkhomedir.c (_pam_parse): Do not convert umask
357 (rec_mkdir): Moved to mkhomedir_helper.c.
358 (create_homedir): Just exec the helper.
359 (pam_sm_open_session): Improve logging.
361 2009-01-19 Daniel Cabrera <h.daniel.cabrera@gmail.com>
363 * po/es.po: Updated translations.
365 2009-01-14 Thorsten Kukuk <kukuk@thkukuk.de>
367 * po/de.po: Updated translations.
369 2009-01-07 Piotr Drąg <piotrdrag@gmail.com>
371 * po/pl.po: Updated translations.
373 2008-12-23 Piotr Drąg <piotrdrag@gmail.com>
375 * po/pl.po: Updated translations.
377 2008-12-18 Thorsten Kukuk <kukuk@thkukuk.de>
379 * modules/pam_pwhistory/pam_pwhistory.c (parse_option): Rename
380 type= option to authtok_type= (because of pam_get_authtok).
381 * modules/pam_pwhistory/pam_pwhistory.8.xml: Likewise.
383 2008-12-17 Tomas Mraz <t8m@centrum.cz>
385 * modules/pam_tty_audit/pam_tty_audit.c (pam_sm_open_session): Do
386 not abort on unknown option. Avoid double free of old_status.
387 (pam_sm_close_session): Use LOG_DEBUG for restored status message.
389 * configure.in: Test for getseuser().
390 * modules/pam_selinux/pam_selinux.c (pam_sm_open_session): Call getseuser()
391 instead of getseuserbyname() if the function is available.
393 2008-12-12 Thorsten Kukuk <kukuk@thkukuk.de>
395 * release version 1.0.90
397 * libpam_misc/Makefile.am: Increase version number of shared library.
398 * libpamc/Makefile.am: Likewise.
400 2008-12-12 Tomas Mraz <t8m@centrum.cz>
402 * modules/pam_tally2/pam_tally2.c (get_tally): Test for EACCES
404 * modules/pam_tally2/pam_tally2.8.xml: Fix documentation.
406 2008-12-10 Thorsten Kukuk <kukuk@thkukuk.de>
408 * doc/man/pam_item_types_ext.inc.xml: Document PAM_AUTHTOK_TYPE.
409 * libpam/pam_end.c (pam_end): Free authtok_type.
410 * tests/tst-pam_get_item.c: Add PAM_AUTHTOK_TYPE
412 * tests/tst-pam_set_item.c: Likewise.
413 * libpam/pam_start.c (pam_start): Initialize xdisplay,
414 xauth and authtok_type.
415 * libpam/pam_get_authtok.c (pam_get_authtok): Rename "type"
417 * modules/pam_cracklib/pam_cracklib.8.xml: Replace "type=" with
419 * doc/man/pam_get_authtok.3.xml: Document authtok_type argument.
420 * modules/pam_cracklib/pam_cracklib.c (pam_sm_chauthtok): Set
421 type= argument as PAM_AUTHTOK_TYPE item.
422 * libpam/pam_get_authtok.c (pam_get_authtok): If no type
423 argument given, use PAM_AUTHTOK_TYPE item.
424 * libpam/pam_item.c (pam_get_item): Fetch PAM_AUTHTOK_TYPE item.
425 (pam_set_item): Store PAM_AUTHTOK_TYPE item.
426 * libpam/pam_private.h: Add authtok_type to pam_handle.
427 * libpam/include/security/_pam_types.h (PAM_AUTHTOK_TYPE): New.
429 2008-12-03 Thorsten Kukuk <kukuk@thkukuk.de>
431 * modules/pam_access/access.conf.5.xml: Replace
432 2001:4ca0 with 2001:db8:: [bug#2356400].
434 * doc/man/Makefile.am: Add pam_get_authtok.3.xml.
435 * doc/man/pam_get_authtok.3.xml: New.
436 * libpam/Makefile.am: Add pam_get_authtok.c.
437 * libpam/libpam.map: Export pam_get_authtok.
438 * libpam/pam_get_authtok.c: New.
439 * libpam/pam_private.h: Add mod_argc and mod_argv to pam_handle.
440 * libpam_include/security/pam_ext.h: Add pam_get_authtok
442 * modules/pam_cracklib/pam_cracklib.c: Use pam_get_authtok.
443 * modules/pam_pwhistory/pam_pwhistory.c: Likewise.
444 * po/POTFILES.in: Add libpam/pam_get_authtok.c.
445 * xtests/tst-pam_cracklib1.c: Adjust error codes.
447 * modules/pam_timestamp/Makefile.am: Remove hmactest.c from
450 * po/*.po: Regenerated.
452 2008-12-02 Michael Calmer <mc@suse.de>
454 * modules/pam_limits/limits.conf.5.xml: Document valid values
455 for limits (bnc#448314).
457 2008-12-02 Thorsten Kukuk <kukuk@thkukuk.de>
459 * modules/pam_env/pam_env.c: Add support for user specific
460 environment file. Based on a patch from Ubuntu.
461 * modules/pam_env/pam_env.8.xml: Document new options.
463 2008-12-02 Olivier Fourdan <ofourdan@redhat.com>
465 * modules/pam_filter/pam_filter.c (master): Use /dev/ptmx
466 instead of the old BSD pseudoterminal API.
467 (set_filter): Call grantpt(), unlockpt() and ptsname(). Do not
468 close pseudoterminal handle in filter child.
469 * modules/pam_filter/upperLOWER/upperLOWER.c (main): Use
470 regular read() instead of pam_modutil_read() to allow for
473 2008-12-02 Tomas Mraz <t8m@centrum.cz>
475 * modules/pam_timestamp/Makefile.am: Add hmacfile to tests.
476 * modules/pam_timestamp/hmacfile.c: Do not try the short key
479 2008-12-01 Tomas Mraz <t8m@centrum.cz>
481 * modules/pam_unix/support.h: Fix masks for cipher algorithm
484 2008-12-01 Thorsten Kukuk <kukuk@thkukuk.de>
486 * modules/pam_unix/pam_unix.8.xml: Document blowfish option.
488 * configure.in: Check for crypt_gensalt_rn.
489 * modules/pam_unix/pam_unix_passwd.c: Pass pamh to
490 create_password_hash function.
491 * modules/pam_unix/passverify.c (create_password_hash): Add
493 * modules/pam_unix/passverify.h: Adjust create_password_hash
495 * modules/pam_unix/support.c: Add support for blowfish option.
496 * modules/pam_unix/support.h: Add defines for blowfish option.
497 Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
499 2008-12-01 Tomas Mraz <t8m@centrum.cz>
501 * modules/pam_access/pam_access.8.xml: Fix description of nodefgroup
504 * modules/pam_group/pam_group.c (is_same): Fix check for correct
507 2008-11-29 Thorsten Kukuk <kukuk@thkukuk.de>
509 * configure.in: Check for xcrypt.h, fix typo in libaudit check.
510 * modules/pam_cracklib/pam_cracklib.c: Include xcrypt.h if
512 * modules/pam_unix/bigcrypt.c: Likewise.
513 * modules/pam_unix/passverify.c: Likewise.
514 * modules/pam_userdb/pam_userdb.c: Likewise.
515 Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
517 * doc/man/pam_getenv.3.xml: Document that application should
518 not free return value.
520 * doc/man/pam.3.xml: Add Note about thread-safeness of libpam
523 2008-11-28 Tomas Mraz <t8m@centrum.cz>
525 * modules/pam_unix/unix_update.c (set_password): Allow root to change
526 passwords without verification of the old ones.
528 * modules/pam_tally2/pam_tally2.c (tally_check): Fix info format
529 to be the same as in pam_tally.
531 * configure.in: Add modules/pam_timestamp/Makefile.
532 * doc/sag/Linux-PAM_SAG.xml: Include pam_timestamp.xml.
533 * doc/sag/pam_timestamp.xml: New.
534 * libpam/pam_static_modules.h: Add pam_timestamp static struct.
535 * modules/Makefile.am: Add pam_timestamp directory.
536 * modules/pam_timestamp/Makefile.am: New.
537 * modules/pam_timestamp/README.xml: New.
538 * modules/pam_timestamp/hmacsha1.h: New.
539 * modules/pam_timestamp/sha1.h: New.
540 * modules/pam_timestamp/pam_timestamp.8.xml: New.
541 * modules/pam_timestamp/pam_timestamp_check.8.xml: New.
542 * modules/pam_timestamp/pam_timestamp.c: New.
543 * modules/pam_timestamp/pam_timestamp_check.c: New.
544 * modules/pam_timestamp/hmacfile.c: New.
545 * modules/pam_timestamp/hmacsha1.c: New.
546 * modules/pam_timestamp/sha1.c: New.
547 * modules/pam_timestamp/tst-pam_timestamp: New.
548 * po/POTFILES.in: Add pam_timestamp sources.
549 * po/*.po: Regenerate.
550 * po/cs.po: Updated translations.
552 2008-11-25 Thorsten Kukuk <kukuk@thkukuk.de>
554 * modules/pam_pwhistory/opasswd.c (save_old_password): Fix typo.
556 * modules/pam_time/pam_time.c (is_same): Fix check
557 of correct string length (debian bug #326407).
559 2008-11-24 Thorsten Kukuk <kukuk@thkukuk.de>
561 * xtests/Makefile.am: Add pam_time1 tests.
562 * xtests/tst-pam_time1.c: New test case.
563 * xtests/tst-pam_time1.pamd: New.
564 * xtests/time.conf: New.
565 * xtests/run-xtests.sh: Copy time.conf.
567 2008-11-24 Tomas Mraz <t8m@centrum.cz>
569 * libpam/pam_handlers.c (_pam_parse_conf_file): '-' at
570 beginning of type token marks silent module.
571 (_pam_load_module): Add handler_type parameter. Do not log
572 module load error if module is silent.
573 (_pam_add_handler): Pass handler_type to _pam_load_module().
574 * libpam/pam_private.h: Add PAM_HT_SILENT_MODULE.
575 * doc/man/pam.conf-syntax.xml: Document the '-' at beginning
578 * modules/pam_cracklib/pam_cracklib.c (pam_sm_chauthtok): Fix leaks
580 * modules/pam_env/pam_env.c (_parse_env_file): Remove superfluous
582 * modules/pam_group/pam_group.c (check_account): Fix leak
584 * modules/pam_listfile/pam_listfile.c (pam_sm_authenticate): Fix leak
586 * modules/pam_securetty/pam_securetty.c (securetty_perform_check): Remove
587 superfluous condition.
588 * modules/pam_stress/pam_stress.c (stress_get_password,pam_sm_authenticate):
589 Remove superfluous conditions.
590 (pam_sm_chauthtok): Fix mistaken && for &.
591 * modules/pam_unix/pam_unix_auth.c (pam_sm_authenticate): Remove
592 superfluous condition.
593 All the problems fixed in this commit were found by Steve Grubb.
595 2008-11-20 Tomas Mraz <t8m@centrum.cz>
597 * modules/pam_sepermit/pam_sepermit.c (sepermit_match): Do not
598 call sepermit_lock() if sense is deny. Do not crash on NULL seuser
600 (pam_sm_authenticate): Try to call getseuserbyname() even if
603 2008-11-19 Thorsten Kukuk <kukuk@thkukuk.de>
605 * modules/pam_xauth/pam_xauth.c (pam_sm_open_session):
606 Preserve XAUTHLOCALHOSTNAME environment variable.
608 * modules/pam_pwhistory/pam_pwhistory.c (pam_sm_chauthtok): Finish
609 implementation of type=STRING option.
611 * modules/pam_pwhistory/pam_pwhistory.8.xml: Document
612 "type=STRING" option.
614 2008-10-27 Thorsten Kukuk <kukuk@thkukuk.de>
616 * doc/man/pam_setcred.3.xml: Document when credentials
618 * po/ja.po: Fix syntax error.
619 * po/de.po: Update translations.
620 * po/*.po: Regenerate with pam_tally2 added.
622 2008-10-23 Taylon Silmer Lacerda Silva <taylonsilva@gmail.com>
624 * po/pt_BR.po: Updated translations.
626 2008-10-23 Krishna Babu K <kkrothap@redhat.com>
628 * po/LINGUAS: New language.
629 * po/te.po: New translation to Telugu.
631 2008-10-23 Manoj Kumar Giri <mgiri@redhat.com>
633 * po/or.po: Updated translations.
635 2008-10-21 Amitakhya Phukan <aphukan@redhat.com>
637 * po/as.po: Updated translations.
639 2008-10-21 Ondrej Sulek <feonsu@gmail.com>
641 * po/sk.po: Updated translations.
643 2008-10-21 Terry Chuang <tchuang@redhat.com>
645 * po/zh_TW.po: Updated translations.
647 2008-10-21 Kiyoto Hashida <khashida@redhat.com>
649 * po/ja.po: Updated translations.
651 2008-10-21 Francesco Valente <fvalen@redhat.com>
653 * po/it.po: Updated translations.
655 2008-10-21 Peter van Egdom <p.van.egdom@gmail.com>
657 * po/nl.po: Updated translations.
659 2008-10-20 Ani Peter <apeter@redhat.com>
661 * po/ml.po: Updated translations.
663 2008-10-20 Pablo Martin-Gomez <pablo.martin-gomez@laposte.net>
665 * po/fr.po: Updated translations.
667 2008-10-20 Runa Bhattacharjee <runab@redhat.com>
669 * po/bn_IN.po: Updated translations.
671 2008-10-20 Shankar Prasad <svenkate@redhat.com>
673 * po/kn.po: Updated translations.
675 2008-10-20 Leah Liu <lliu@redhat.com>
677 * po/zh_CN.po: Updated translations.
679 2008-10-20 Ondrej Sulek <feonsu@gmail.com>
681 * po/LINGUAS: New language.
682 * po/sk.po: New translation to Slovak.
684 2008-10-17 Tomas Mraz <t8m@centrum.cz>
686 * configure.in: Add modules/pam_tally2/Makefile.
687 * doc/sag/Linux-PAM_SAG.xml: Include pam_tally2.xml.
688 * doc/sag/pam_tally2.xml: New.
689 * libpam/pam_static_modules.h: Add pam_tally2 static struct.
690 * modules/Makefile.am: Add pam_tally2 directory.
691 * modules/pam_tally2/Makefile.am: New.
692 * modules/pam_tally2/README.xml: New.
693 * modules/pam_tally2/tallylog.h: New.
694 * modules/pam_tally2/pam_tally2.8.xml: New.
695 * modules/pam_tally2/pam_tally2.c: New.
696 * modules/pam_tally2/pam_tally2_app.c: New.
697 * modules/pam_tally2/tst-pam_tally2: New.
698 * po/POTFILES.in: Add pam_tally2 sources.
700 2008-10-17 Xavier Queralt Mateu <xqueralt@gmail.com>
702 * po/ca.po: Updated translations.
704 2008-10-15 Tomas Mraz <t8m@centrum.cz>
706 * modules/pam_keyinit/pam_keyinit.c (kill_keyrings): Save the old
707 euid to suid to be able to restore it.
709 2008-10-15 Piotr Drąg <piotrdrag@gmail.com>
711 * po/pl.po: Updated translations.
713 2008-10-13 Tomas Mraz <t8m@centrum.cz>
715 * po/LINGUAS: New languages.
716 * po/cs.po: Updated translations.
718 2008-10-13 Amitakhya Phukan <aphukan@redhat.com>
720 * po/as.po: Updated translations.
722 2008-10-13 Shankar Prasad <svenkate@redhat.com>
724 * po/kn.po: Updated translations.
726 2008-10-13 Sandeep Sheshrao Shedmake <sshedmak@redhat.com>
728 * po/mr.po: New translation to Marathi.
730 2008-10-13 Runa Bhattacharjee <runab@redhat.com>
732 * po/bn_IN.po: Updated translations.
734 2008-10-13 Sharuzzaman Ahmat Raslan <sharuzzaman@gmail.com>
736 * po/ms.po: New translation to Malay.
738 2008-10-10 Thorsten Kukuk <kukuk@thkukuk.de>
740 * modules/pam_cracklib/pam_cracklib.c (_pam_unix_approve_pass):
741 Remove check for re-used passwords.
742 * modules/pam_cracklib/pam_cracklib.8.xml: Remove documentation
743 of re-used password check.
745 * configure.in: add modules/pam_pwhistory/Makefile.
746 * doc/sag/Linux-PAM_SAG.xml: Include pam_pwhistory.xml.
747 * doc/sag/pam_pwhistory.xml: New.
748 * libpam/pam_static_modules.h: Add pam_pwhistory data.
749 * modules/Makefile.am: Add pam_pwhistory directory.
750 * modules/pam_pwhistory/Makefile.am: New.
751 * modules/pam_pwhistory/README.xml: New.
752 * modules/pam_pwhistory/opasswd.c: New.
753 * modules/pam_pwhistory/opasswd.h: New.
754 * modules/pam_pwhistory/pam_pwhistory.8.xml: New.
755 * modules/pam_pwhistory/pam_pwhistory.c: New.
756 * modules/pam_pwhistory/tst-pam_pwhistory: New.
757 * xtests/Makefile.am: New.
758 * xtests/run-xtests.sh: New.
759 * xtests/tst-pam_pwhistory1.c: New.
760 * xtests/tst-pam_pwhistory1.pamd: New.
761 * xtests/tst-pam_pwhistory1.sh: New.
762 * po/POTFILES.in: Add modules/pam_pwhistory/.
763 * po/de.po: Update translations.
765 2008-10-02 Thorsten Kukuk <kukuk@thkukuk.de>
767 * po/de.po: Update translations.
769 2008-09-30 Manoj Kumar Giri <mgiri@redhat.com>
771 * po/or.po: Updated translations.
773 2008-09-30 Taylon Silmer Lacerda Silva <taylonsilva@gmail.com>
775 * po/pt_BR.po: Updated translations.
777 2008-09-30 Tomas Mraz <t8m@centrum.cz>
779 * modules/pam_lastlog/pam_lastlog.8.xml: Document new options
780 noupdate and showfailed.
781 * modules/pam_lastlog/pam_lastlog.c(pam_parse): Recognize the new
783 (last_login_read): New output parameter lltime. Do not display
784 the last login message if it would be empty.
785 (last_login_date): New output parameter lltime. Do not write the
786 last login info when LASTLOG_UPDATE is not set.
787 (last_login_failed): New function to display the last bad login
789 (pam_sm_open_session): Obtain lltime from last_login_date() and
790 call last_login_failed() when appropriate.
792 * po/Linux-pam.pot: Updated strings to translate.
795 2008-09-29 Thorsten Kukuk <kukuk@thkukuk.de>
797 * modules/pam_echo/pam_echo.8.xml: Fix format error.
799 2008-09-25 Tomas Mraz <t8m@centrum.cz>
801 * modules/pam_tally/pam_tally.c(get_tally): Fix syslog message.
802 (tally_check): Open faillog read only. Close file descriptor.
803 Fix typos in messages.
805 2008-09-25 Thorsten Kukuk <kukuk@thkukuk.de>
807 * modules/pam_mail/pam_mail.c (report_mail): Fix logic of
808 "quiet" option (Patch from Andreas Henriksson <andreas@fatal.se>)
810 * modules/pam_mail/pam_mail.8.xml: Fix typo.
812 2008-09-23 Tomas Mraz <t8m@centrum.cz>
814 * modules/pam_limits/limits.conf.5.xml: Comment that rss limit is
817 2008-09-19 Tomas Mraz <t8m@centrum.cz>
819 * modules/pam_cracklib/pam_cracklib.8.xml: Fix description
820 of the palindrome test. Document new options maxrepeat and
822 * modules/pam_cracklib/pam_cracklib.c(_pam_parse): Parse
823 the maxrepeat and reject_username options.
824 (password_check): Call the new tests usercheck() and
826 (_pam_unix_approve_pass): Pass user name to the password_check().
828 2008-09-16 Thorsten Kukuk <kukuk@thkukuk.de>
830 * modules/pam_cracklib/pam_cracklib.8.xml: Fix typo.
832 * modules/pam_unix/pam_unix.8.xml: Fix typo.
834 2008-09-03 Thorsten Kukuk <kukuk@thkukuk.de>
836 * modules/pam_exec/pam_exec.c: Expose authtok if requested,
837 provide environment variable containing service type.
838 * modules/pam_exec/pam_exec.8.xml: Document new option.
840 2008-08-29 Tomas Mraz <t8m@centrum.cz>
842 * modules/pam_loginuid/pam_loginuid.c(set_loginuid): Uids
845 2008-08-18 Thorsten Kukuk <kukuk@thkukuk.de>
847 * Makefile.am (M4_FILES): Adjust list.
849 * modules/pam_access/pam_access.8.xml: Fix module service
851 * modules/pam_cracklib/pam_cracklib.8.xml: Likewise.
852 * modules/pam_debug/pam_debug.8.xml: Likewise.
853 * modules/pam_deny/pam_deny.8.xml: Likewise.
854 * modules/pam_echo/pam_echo.8.xml: Likewise.
855 * modules/pam_env/pam_env.8.xml: Likewise.
856 * modules/pam_exec/pam_exec.8.xml: Likewise.
857 * modules/pam_faildelay/pam_faildelay.8.xml: Likewise.
858 * modules/pam_filter/pam_filter.8.xml: Likewise.
859 * modules/pam_ftp/pam_ftp.8.xml: Likewise.
860 * modules/pam_group/pam_group.8.xml: Likewise.
861 * modules/pam_issue/pam_issue.8.xml: Likewise.
862 * modules/pam_keyinit/pam_keyinit.8.xml: Likewise.
863 * modules/pam_lastlog/pam_lastlog.8.xml: Likewise.
864 * modules/pam_limits/pam_limits.8.xml: Likewise.
865 * modules/pam_listfile/pam_listfile.8.xml: Likewise.
866 * modules/pam_localuser/pam_localuser.8.xml: Likewise.
867 * modules/pam_loginuid/pam_loginuid.8.xml: Likewise.
868 * modules/pam_mail/pam_mail.8.xml: Likewise.
869 * modules/pam_mkhomedir/pam_mkhomedir.8.xml: Likewise.
870 * modules/pam_motd/pam_motd.8.xml: Likewise.
871 * modules/pam_namespace/pam_namespace.8.xml: Likewise.
872 * modules/pam_nologin/pam_nologin.8.xml: Likewise.
873 * modules/pam_permit/pam_permit.8.xml: Likewise.
874 * modules/pam_rhosts/pam_rhosts.8.xml: Likewise.
875 * modules/pam_rootok/pam_rootok.8.xml: Likewise.
876 * modules/pam_securetty/pam_securetty.8.xml: Likewise.
877 * modules/pam_selinux/pam_selinux.8.xml: Likewise.
878 * modules/pam_sepermit/pam_sepermit.8.xml: Likewise.
879 * modules/pam_shells/pam_shells.8.xml: Likewise.
880 * modules/pam_succeed_if/pam_succeed_if.8.xml: Likewise.
881 * modules/pam_tally/pam_tally.8.xml: Likewise.
882 * modules/pam_time/pam_time.8.xml: Likewise.
883 * modules/pam_tty_audit/pam_tty_audit.8.xml: Likewise.
884 * modules/pam_umask/pam_umask.8.xml: Likewise.
885 * modules/pam_unix/pam_unix.8.xml: Likewise.
886 * modules/pam_userdb/pam_userdb.8.xml: Likewise.
887 * modules/pam_warn/pam_warn.8.xml: Likewise.
888 * modules/pam_wheel/pam_wheel.8.xml: Likewise.
889 * modules/pam_xauth/pam_xauth.8.xml: Likewise.
891 2008-08-01 Thorsten Kukuk <kukuk@thkukuk.de>
893 * configure.in: Add version for gettext, add search path
894 for m4 directory, fix handling of --disable-* options.
895 Patches from Diego Pettenò <flameeyes@gmail.com>.
897 * configure.in: Run autoupdate on it.
899 * acincludde.m4: Rename to ...
900 * m4/jh_path_xml_catalog.m4: ... this.
902 * m4/*.m4: Remove all autoconf m4 files.
904 2008-07-29 Steve Langasek <vorlon@debian.org>
906 * modules/pam_cracklib/pam_cracklib.8.xml: correct a typo,
907 "Only he" -> "Only the"
909 2008-07-28 Steve Langasek <vorlon@debian.org>
911 * libpamc/test/regress/test.libpamc.c: use standard u_int8_t
912 type instead of __u8, as elsewhere.
913 Patch from Roger Leigh <rleigh@debian.org>.
914 * modules/pam_unix/passverify.c: make save_old_password()
915 thread-safe by using pam_modutil_getpwnam() instead of getpwnam()
916 * modules/pam_unix/passverify.c, modules/pam_unix/passverify.h,
917 modules/pam_unix/pam_unix_passwd.c: add pamh argument to
920 2008-07-27 Steve Langasek <vorlon@debian.org>
922 * modules/pam_*/pam_*.8.xml: fix up the references to pam.d,
923 which is in manpage section 5, not 8.
924 * modules/pam_env/environment, modules/pam_env/pam_env.8.xml:
925 spelling fix, seperate -> separate
927 2008-07-26 Steve Langasek <vorlon@debian.org>
929 * modules/pam_env/pam_env.c: Fix module to skip over
930 non-alphanumeric variable names, and to handle the case when
931 asked to delete a non-existent variable.
933 2008-07-13 Tomas Mraz <t8m@centrum.cz>
935 * modules/pam_mail/pam_mail.8.xml: Module supports session and
936 not account service (#1980773).
938 2008-07-11 Tomas Mraz <t8m@centrum.cz>
940 * modules/pam_unix/pam_unix_acct.c (_unix_run_verify_binary): Do
941 not close the pipe descriptor in borderline case (#2009766).
942 * modules/pam_unix/pam_unix_passwd.c (_unix_run_update_binary):
944 * modules/pam_unix/support.c (_unix_run_helper_binary): Likewise.
945 * modules/pam_unix/support.h: Define upper limit of fds we will
948 * modules/pam_selinux/pam_selinux.c (config_context): Do not
949 ask for the level if use_current_range is set.
950 (context_from_env): New function to obtain the context from
951 PAM environment variables.
952 (pam_sm_open_session): Call context_from_env() if env_params option
953 is present. use_current_range now modifies behavior of the
954 context_from_env and config_context options.
955 * modules/pam_selinux/pam_selinux.8.xml: Describe the env_params
956 option. Adjust description of use_current_range option.
958 2008-07-09 Thorsten Kukuk <kukuk@thkukuk.de>
960 * modules/pam_exec/pam_exec.c (call_exec): Move all variable
961 declaration to begin of a block (#1976310).
963 * xtests/tst-pam_group1.c (run_test): Move no_grps declaration
964 to begin of function (#1976310).
966 * modules/pam_securetty/pam_securetty.8.xml: Replace
967 PAM_IGNORE with PAM_USER_UNKNOWN (#1994330).
969 * modules/pam_tally/pam_tally.c: Add support for silent and
971 * modules/pam_tally/pam_tally.8.xml: Document silent and
974 2008-07-08 Thorsten Kukuk <kukuk@thkukuk.de>
976 * modules/pam_unix/passverify.c (verify_pwd_hash): Adjust debug
979 2008-06-22 Thorsten Kukuk <kukuk@thkukuk.de>
981 * modules/pam_unix/unix_chkpwd.c (main): Fix compiling without
984 * modules/pam_cracklib/pam_cracklib.8.xml: Fix typo in ucredit
985 description (reported by Wayne Pollock <pollock@acm.org>)
987 2008-06-19 Tomas Mraz <t8m@centrum.cz>
989 * modules/pam_succeed_if/pam_succeed_if.c (pam_sm_authenticate):
990 Detect configuration errors. Fail on incomplete condition.
992 2008-05-20 Tomas Mraz <t8m@centrum.cz>
994 * configure.in: Work correctly with autoconf-2.62.
996 2008-05-19 Tomas Mraz <t8m@centrum.cz>
998 * doc/man/pam_getenv.3.xml: Correct the pam_getenv documentation.
1000 * doc/man/pam_prompt.3.xml: Add missing description.
1002 2008-05-14 Kjartan Maraas <kmaraas@gnome.org>
1004 * po/nb.po: Updated translation.
1006 2008-05-14 Sulyok Péter <peti@sulyok.hu>
1008 * po/hu.po: Updated translation.
1010 2008-05-14 Tomas Mraz <t8m@centrum.cz>
1012 * libpam/pam_modutil_getgrgid.c: Replace hardcoded constant with
1013 define PWD_LENGTH_SHIFT.
1014 * libpam/pam_modutil_getgrnam.c: Likewise.
1015 * libpam/pam_modutil_getpwnam.c: Likewise.
1016 * libpam/pam_modutil_getpwuid.c: Likewise.
1017 * libpam/pam_modutil_getspnam.c: Likewise.
1018 * libpam/pam_modutil_private.h: Adjust values for PWD_ constants.
1020 * modules/pam_unix/pam_unix_passwd.c(pam_sm_chauthtok): Unset authtok
1021 item when password is not approved.
1022 * modules/pam_unix/support.c(_unix_read_password): UNIX_USE_FIRST_PASS
1023 is always set when UNIX_AUTHTOK is set, change order of conditions.
1025 2008-05-02 Tomas Mraz <t8m@centrum.cz>
1027 * modules/pam_selinux/pam_selinux.c(query_response): Add handling
1029 (manual_context): Handle failed query_response() properly. Rename
1030 variable responses to response which is more correct name.
1031 (config_context): Likewise.
1032 (pam_sm_open_session): Do not base decision on whether there is a tty.
1034 2008-04-22 Tomas Mraz <t8m@centrum.cz>
1036 * modules/pam_selinux/pam_selinux.c(pam_sm_close_sesion): Fix
1037 regression from the change from 2008-03-20. setexeccon() must be
1038 called also with NULL prev_context.
1040 2008-04-21 Thorsten Kukuk <kukuk@thkukuk.de>
1042 * modules/pam_access/access.conf.5.xml: Document changed behavior
1044 * modules/pam_access/pam_access.c: Add from_remote_host to
1045 struct login_info to change behavior of LOCAL keyword: if
1046 PAM_RHOST is not set, LOCAL will be true.
1048 2008-04-18 Tomas Mraz <t8m@centrum.cz>
1050 * modules/pam_namespace/pam_namespace.c: New functions
1051 unprotect_dirs(), cleanup_protect_data(), protect_mount(),
1052 protect_dir() to protect directory by bind mount.
1053 (cleanup_data): Renamed to cleanup_polydir_data().
1054 (parse_create_params): Allow missing specification of mode
1056 (check_inst_parent): Call protect_dir() on the instance parent
1057 directory. The directory is created when it doesn't exist.
1058 (create_polydir): Protect and make the polydir by protect_dir(),
1059 remove potential races.
1060 (create_dirs): Renamed to create_instance(), remove call to
1062 (ns_setup): Call protect_dir() on the polydir if it already exists.
1063 Call inst_init() after the polydir is mounted.
1064 (setup_namespace): Set the namespace protect data to be cleaned up
1065 on pam_close_session()/pam_end().
1066 (pam_sm_open_session): Initialize the protect_dirs.
1067 (pam_sm_close_session): Cleanup namespace protect data.
1068 * modules/pam_namespace/pam_namespace.h: Define struct for the
1069 stack of protected dirs.
1070 * modules/pam_namespace/pam_namespace.8.xml: Document when the
1071 instance init script is called.
1072 * modules/pam_namespace/namespace.conf.5.xml: Likewise.
1074 2008-04-17 Tomas Mraz <t8m@centrum.cz>
1076 * modules/pam_access/pam_access.c(myhostname): Removed function.
1077 (user_match): Supply hostname of the machine to the netgroup_match().
1078 Use hostname from the loginfo instead of calling myhostname().
1079 (pam_sm_authenticate): Call gethostname() to fill hostname in the
1082 * modules/pam_sepermit/pam_sepermit.c(sepermit_match): Do not try
1083 to lock if euid != 0.
1085 2008-04-16 Tomas Mraz <t8m@centrum.cz>
1087 * modules/pam_unix/Makefile.am: Link unix_chkpwd with libaudit.
1088 * modules/pam_unix/unix_chkpwd.c(_audit_log): New function for audit.
1089 (main): Call _audit_log() when appropriate.
1091 * modules/pam_cracklib/pam_cracklib.c(_pam_parse): Recognize also
1092 try_first_pass and use_first_pass options.
1093 (pam_sm_chauthtok): Implement the new options.
1095 2008-04-08 Tomas Mraz <t8m@centrum.cz>
1097 * modules/pam_xauth/pam_xauth.c(run_coprocess): Avoid multiple
1098 calls to sysconf() (based on patch by Sami Farin).
1100 * libpam/pam_item.c (TRY_SET): Do not set when destination
1101 is identical to source.
1102 (pam_set_item): Do not overwrite destination when it
1103 is identical to source.
1105 2008-04-07 Miloš Komarčević <kmilos@gmail.com>
1107 * po/sr.po: New file with translation.
1108 * po/sr@latin.po: Likewise.
1109 * po/LINGUAS: Add sr and sr@latin.
1111 2008-04-03 Thorsten Kukuk <kukuk@thkukuk.de>
1113 * release version 1.0.0
1115 * configure.in: Set version number to 1.0.0.
1116 * libpam/Makefile.am: Bump patchlevel of libpam.
1117 * doc/adg/Linux-PAM_ADG.xml: Update version/date.
1118 * doc/mwg/Linux-PAM_MWG.xml: Likewise.
1119 * doc/sag/Linux-PAM_SAG.xml: Likewise.
1121 2008-03-31 Dan Walsh <dwalsh@redhat.com>
1123 * modules/pam_sepermit/pam_sepermit.c(sepermit_lock): Mark lock fd to
1126 2008-03-25 Leah Liu <lliu@redhat.com>
1128 * po/zh_CN.po: Updated translation.
1130 2008-03-20 Tomas Mraz <t8m@centrum.cz>
1132 * modules/pam_namespace/pam_namespace.c(poly_name): Switch to USER
1133 method only when appropriate.
1134 (setup_namespace): Do not umount when not mounted with RUSER.
1136 * modules/pam_selinux/pam_selinux.c(pam_sm_close_session): Call
1137 freecontext() after the context is logged not before.
1139 2008-03-18 Canniot Thomas <thomas.canniot@mrtomlinux.org>
1141 * po/fr.po: Updated translation.
1143 2008-03-13 Ankit Patel <ankit@redhat.com>
1145 * po/gu.po: Updated translation.
1147 2008-03-05 Tomas Mraz <t8m@centrum.cz>
1149 * modules/pam_cracklib/pam_cracklib.c(pam_sm_chauthtok): Avoid
1150 unnecessary x_strdup() of resp.
1151 * modules/pam_ftp/pam_ftp(pam_sm_authenticate): Call _pam_overwrite()
1152 before dropping password resp.
1154 2008-03-03 Tomas Mraz <t8m@centrum.cz>
1156 * modules/pam_selinux/pam_selinux.c: Do not translate syslog messages.
1157 * po/Linux-PAM.pot: Update.
1159 * libpam/pam_item.c(RESET): Rename to TRY_SET, handle strdup failure.
1160 (pam_set_item): Use TRY_SET() also for PAM_AUTHTOK and PAM_OLDAUTHTOK.
1161 Handle allocation failure for PAM_XAUTHDATA.
1162 (pam_get_user): Return error when conversation returns NULL user.
1163 Call pam_set_item() instead of RESET().
1165 2008-02-26 Tomas Mraz <t8m@centrum.cz>
1167 * modules/pam_unix/Makefile.am: Do not link to cracklib.
1168 * modules/pam_unix/pam_unix_passwd.c(_pam_unix_approve_pass):
1169 Do not call FascistCheck() from cracklib.
1171 2008-02-29 Fabian Affolter <fab@fedoraproject.org>
1173 * po/de.po: Updated translation.
1175 2008-02-28 Piotr Drąg <piotrdrag@gmail.com>
1177 * po/pl.po: Updated translation.
1179 2008-02-26 Tomas Mraz <t8m@centrum.cz>
1181 * po/LINUGAS: New languages added.
1182 * po/es.po: Updated translations.
1183 * po/fr.po: Likewise.
1184 * po/it.po: Likewise.
1185 * po/ja.po: Likewise.
1186 * po/nl.po: Likewise.
1187 * po/pl.po: Likewise.
1188 * po/pt_BR.po: Likewise.
1189 * po/ru.po: Likewise.
1190 * po/zh_CN.po: Likewise.
1191 * po/as.po: New file.
1192 * po/gu.po: Likewise.
1193 * po/hi.po: Likewise.
1194 * po/kn.po: Likewise.
1195 * po/ko.po: Likewise.
1196 * po/ml.po: Likewise.
1197 * po/or.po: Likewise.
1198 * po/si.po: Likewise.
1199 * po/ta.po: Likewise.
1201 2008-02-21 Tomas Mraz <t8m@centrum.cz>
1203 * libpam/pam_audit.c (_pam_audit_writelog): Silence syslog
1204 message on non-error return.
1206 * modules/pam_unix/unix_chkpwd.c (main): Proceed as unprivileged
1207 user when checking password of another user.
1208 * modules/pam_unix/unix_update.c: Fix comment.
1210 2008-02-18 Dmitry V. Levin <ldv@altlinux.org>
1212 * libpam/pam_handlers.c (_pam_assemble_line): Fix potential
1214 * xtests/tst-pam_assemble_line1.pamd: New test for
1216 * xtests/tst-pam_assemble_line1.sh: New script for
1217 tst-pam_assemble_line1.
1218 * xtests/Makefile.am (NOSRCTESTS): Add tst-pam_assemble_line1.
1219 (EXTRA_DIST): Add tst-pam_assemble_line1.pamd and
1220 tst-pam_assemble_line1.sh
1222 * modules/pam_exec/pam_exec.c (call_exec): Fix asprintf return
1225 2008-02-13 Thorsten Kukuk <kukuk@thkukuk.de>
1227 * release version 0.99.10.0
1229 * configure.in: set version number.
1231 * modules/pam_rhosts/Makefile.am: Remove pam_rhosts_auth.
1232 * modules/pam_rhosts/pam_rhosts_auth.c: Removed.
1233 * modules/pam_rhosts/tst-pam_rhosts_auth: Removed.
1235 * modules/pam_namespace/Makefile.am (noinst_HEADERS): Add
1238 2008-02-13 Tomas Mraz <t8m@centrum.cz>
1240 * modules/pam_namespace/Makefile.am: Add argv_parse files and namespace.d
1242 * modules/pam_namespace/argv_parse.c: New file.
1243 * modules/pam_namespace/argv_parse.h: New file.
1244 * modules/pam_namespace/namespace.conf.5.xml: Document new features.
1245 * modules/pam_namespace/pam_namespace.8.xml: Likewise.
1246 * modules/pam_namespace/pam_namespace.h: Use SECURECONF_DIR define.
1247 Define NAMESPACE_D_DIR and NAMESPACE_D_GLOB. Define new option flags
1249 (polydir_s): Add rdir, replace exclusive with flags, add init_script,
1250 owner, group, and mode.
1251 (instance_data): Add ruser, gid, and ruid.
1252 * modules/pam_namespace/pam_namespace.c: Remove now unused copy_ent().
1253 (add_polydir_entry): Add the entry directly, no copy.
1254 (del_polydir): New function.
1255 (del_polydir_list): Call del_polydir().
1256 (expand_variables, parse_create_params, parse_iscript_params,
1257 parse_method): New functions.
1258 (process_line): Call expand_variables() on polydir and instance prefix.
1259 Call argv_parse() instead of strtok_r(). Allocate struct polydir_s on heap.
1260 (parse_config_file): Parse .conf files from namespace.d dir after
1262 (form_context): Call getcon() or get_default_context_with_level() when
1263 appropriate flags are set.
1264 (poly_name): Handle shared polydir flag.
1265 (inst_init): Execute non-default init script when specified.
1266 (create_polydir): New function.
1267 (create_dirs): Remove the code which checks the polydir. Do not call
1268 inst_init() when noinit flag is set.
1269 (ns_setup): Check the polydir and eventually create it if the create flag
1271 (setup_namespace): Use ruser uid from idata. Set the namespace polydir
1272 pam data only when namespace was set up correctly. Unmount polydir
1274 (get_user_data): New function.
1275 (pam_sm_open_session): Check for use_current_context and
1276 use_default_context options. Call get_user_data().
1277 (pam_sm_close_session): Call get_user_data().
1279 2008-02-06 Thorsten Kukuk <kukuk@thkukuk.de>
1281 * po/de.po: Translate some more strings.
1283 2008-02-05 Thorsten Kukuk <kukuk@thkukuk.de>
1285 * modules/pam_unix/unix_update.c: Remove unused declarations.
1287 2008-02-04 Thorsten Kukuk <kukuk@thkukuk.de>
1289 * libpam/pam_static_modules.h: Add _pam_sepermit_modstruct.
1290 * modules/pam_sepermit/pam_sepermit.c: Fix typo.
1291 * modules/pam_sepermit/Makefile.am: Install config file only
1292 if we build the module.
1294 * README: Add --disable-pie to configure options for static library.
1296 * doc/man/Makefile.am: Fix building outside of src directory.
1298 * libpam/Makefile.am: Bump version number of libpam.
1300 * modules/Makefile.am: Add pam_sepermit.
1302 * doc/Makefile.am: Fix build out of source directory.
1304 * po/POTFILES.in: Add pam_sepermit.c.
1306 * modules/pam_exec/pam_exec.c: Set PAM environment variables and
1308 * modules/pam_exec/pam_exec.8.xml: Document new behavior.
1309 Patch from Julien Lecomte <julien@lecomte.at>.
1311 2008-02-01 Tomas Mraz <t8m@centrum.cz>
1313 * modules/pam_namespace/namespace.conf.5.xml: Add documentation for
1314 tmpfs and tmpdir polyinst and for ~ user list modifier.
1315 * modules/pam_namespace/namespace.init: Add documentation for the
1316 new init parameter. Add home directory initialization script.
1317 * modules/pam_namespace/pam_namespace.8.xml: Document the new
1318 init parameter of the namespace.init script.
1319 * modules/pam_namespace/pam_namespace.c(copy_ent): Copy exclusive flag.
1320 (cleanup_data): New function.
1321 (process_line): Set exclusive flag. Add tmpfs and tmpdir methods.
1322 (ns_override): Change behavior on the exclusive flag.
1323 (poly_name): Process tmpfs and tmpdir methods.
1324 (inst_init): Add flag for new directory initialization.
1325 (create_dirs): Process the tmpdir method, add the new directory
1327 (ns_setup): Remove unused code. Process the tmpfs method.
1328 (cleanup_tmpdirs): New function.
1329 (setup_namespace): Set data for proper cleanup. Cleanup the tmpdirs
1331 (pam_sm_close_session): Instead of parsing the config file again use
1332 the previously set data for cleanup.
1333 * modules/pam_namespace/pam_namespace.h: Add TMPFS and TMPDIR methods
1336 2008-01-29 Tomas Mraz <t8m@centrum.cz>
1338 * configure.in: Test for setkeycreatecon needs libselinux.
1339 Add new module pam_sepermit.
1340 * modules/Makefile.am: Add new module pam_sepermit.
1341 * modules/pam_sepermit/.cvsignore: New file.
1342 * modules/pam_sepermit/Makefile.am: Likewise.
1343 * modules/pam_sepermit/README.xml: Likewise.
1344 * modules/pam_sepermit/pam_sepermit.8.xml: Likewise.
1345 * modules/pam_sepermit/pam_sepermit.c: Likewise.
1346 * modules/pam_sepermit/sepermit.conf: Likewise.
1347 * modules/pam_sepermit/tst-pam_sepermit: Likewise.
1348 * doc/sag/pam_sepermit.xml: Likewise.
1350 * doc/sag/pam_tty_audit.xml: Add pam_tty_audit to SAG.
1352 2008-01-29 Miloslav Trmac <mitr@redhat.com>
1354 * modules/pam_tty_audit/README.xml: Add notes section.
1355 * modules/pam_tty_audit/pam_tty_audit.8.xml: Describe patterns
1356 support and open_only option. Add notes.
1357 * modules/pam_tty_audit/pam_tty_audit.c(pam_sm_open_session): Add
1358 support for pattern matching and the open_only option.
1360 2008-01-28 Thorsten Kukuk <kukuk@thkukuk.de>
1362 * libpam/pam_audit.c: Include pam_modutil_private.h.
1364 * libpam/pam_item.c (pam_set_item): Fix compiler warning.
1366 * libpam/pam_end.c (pam_end): Cast to correct pointer type.
1367 * libpam/include/security/_pam_macros.h (_pam_overwrite_n): Use
1370 * modules/pam_unix/passverify.c: Fix compiling without SELinux
1373 2008-01-24 Tomas Mraz <t8m@centrum.cz>
1375 * modules/pam_unix/bigcrypt.c (bigcrypt): Use crypt_r() when
1377 * modules/pam_unix/passverify.c (strip_hpux_aging): New function
1378 to strip HP/UX aging info from password hash.
1379 (verify_pwd_hash): Call strip_hpux_aging(), use crypt_r() when
1382 2008-01-23 Tomas Mraz <t8m@centrum.cz>
1384 * configure.in: Add test for crypt_r(). Add setting/disabling random
1387 * modules/pam_unix/Makefile.am: Add unix_update.8 manpage generated from
1388 XML, generate also unix_chkpwd.8 from XML.
1389 * modules/pam_unix/pam_unix_acct.c: Add rounds parameter to _set_ctrl().
1390 * modules/pam_unix/pam_unix_auth.c: Likewise.
1391 * modules/pam_unix/pam_unix_sess.c: Likewise.
1392 * modules/pam_unix/pam_unix_passwd.c: Likewise.
1393 * modules/pam_unix/support.c(_set_ctrl): Likewise.
1394 * modules/pam_unix/support.h: Likewise. Add UNIX_SHA256_PASS,
1395 UNIX_SHA512_PASS, and UNIX_ALGO_ROUNDS ctrls.
1396 (pam_sm_chauthtok): Refactor out new password encryption.
1397 * modules/pam_unix/passverify.c(crypt_make_salt): New function.
1398 (crypt_md5_wrapper): Call crypt_make_salt().
1399 (create_password_hash): New function refactored out of
1400 pam_sm_chauthtok(). Support for new password hashes.
1401 * modules/pam_unix/passverify.h: Drop ascii_to_bin() and bin_to_ascii()
1402 macros. Add prototype for create_password_hash().
1403 * modules/pam_unix/unix_update.8.xml: New file.
1404 * modules/pam_unix/unix_chkpwd.8.xml: Likewise.
1406 * modules/pam_unix/Makefile.am: Add unix_update helper.
1407 * modules/pam_unix/pam_unix_passwd.c: Move functions i64c(),
1408 crypt_md5_wrapper(), save_old_password(), _update_passwd() and
1409 _update_shadow() to passverify.c file. Rename _unix_run_shadow_binary()
1410 to _unix_run_update_binary(), which also verifies old password and
1412 (_do_setpass, pam_sm_chauthtok): lckpwdf()->lock_pwdf(), the same for unlock.
1413 Call _unix_run_update_binary() appropriately.
1414 _update_passwd()->unix_update_passwd(), the same for shadow.
1415 * modules/pam_unix/passverify.c: Add new functions moved from
1416 pam_unix_passwd.c and unix_chkpwd.c.
1417 * modules/pam_unix/passverify.h: Likewise.
1418 * modules/pam_unix/unix_chkpwd.c: Remove SELinux checks. Move
1419 su_sighandler(), setup_signals(), getuidname() to passverify.c.
1420 (main): Remove 'shadow' option. Refactor out read_passwords() and
1421 call it. More strict checking how the binary is called.
1422 * modules/pam_unix/unix_update.c: New helper binary - non-setuid,
1423 called from SELinux confined apps only.
1425 * modules/pam_unix/pam_unix_acct.c (_unix_run_verify_binary): Return
1426 status and daysleft instead of fake shadow entry.
1427 (pam_sm_acct_mgmt): Call _unix_run_verify_binary() appropriately.
1428 * modules/pam_unix/pam_unix_passwd.c (_unix_verify_shadow): Call
1429 get_account_info() and check_shadow_expiry().
1430 * modules/pam_unix/support.h: Adjust _unix_run_verify_binary()
1432 * modules/pam_unix/support.c (_unix_run_helper_binary): Remove check
1433 on selinux enabled/disabled.
1434 * modules/pam_unix/unix_chkpwd.c (_verify_account): Rename to
1435 _check_expiry(), now checks shadow expiry info.
1436 (main): Remove check on selinux enabled/disabled. Check shadow
1437 expiry through _check_expiry().
1439 * modules/pam_unix/pam_unix_acct.c (pam_sm_acct_mgmt): Call
1440 get_account_info() and check_shadow_expiry().
1441 * modules/pam_unix/passverify.c: Add get_account_info() to
1442 obtain shadow and passwd entry. Add check_shadow_expiry() to
1443 for shadow password expiry check.
1444 (get_pwd_hash): Call get_account_info().
1445 * modules/pam_unix/passverify.h: Add prototypes for get_account_info()
1446 and check_shadow_expiry().
1448 2008-01-08 Thorsten Kukuk <kukuk@thkukuk.de>
1450 * doc/man/Makefile.am: Fix manual page dependencies,
1451 add hack for bug in xsl stylestheets.
1453 2008-01-07 Thorsten Kukuk <kukuk@thkukuk.de>
1455 * po/it.po: Fix typos.
1456 * po/de.po: Few new translations.
1457 * po/POTFILES.in: Add pam_tty_audit.c and passverify.c.
1458 * doc/man/pam_xauth_data.3.xml: Added to CVS.
1459 * doc/man/pam_xauth_data.3: Likewise.
1460 * modules/pam_tty_audit/README: Likewise.
1461 * modules/pam_tty_audit/pam_tty_audit.8: Likewise.
1462 * po/sv.po: Update swedish translation [#1857531].
1463 * modules/pam_succeed_if/pam_succeed_if.8.xml: Fix
1464 cut & paste error [#1863490].
1466 2008-01-02 Petteri Räty <betelgeuse@gentoo.org>
1467 * modules/pam_limits/limits.conf: document allowed values for
1469 * modules/pam_limits/limits.conf.5.xml: Likewise.
1471 2007-12-18 Thorsten Kukuk <kukuk@thkukuk.de>
1473 * README: Document how to run make check with static modules
1476 2007-12-18 Peter Breitenlohner <peb@mppmu.mpg.de>
1477 * README: Document that "make check" requires a file
1478 /etc/pam.d/other (SF#1822764).
1480 2007-12-12 Eamon Walsh <ewalsh@tycho.nsa.gov>
1482 * doc/man/pam_item_types_ext.inc.xml: More appropriate wording
1483 for PAM_XDISPLAY doc.
1485 2007-12-07 Tomas Mraz <t8m@centrum.cz>
1487 * po/cs.po: Updated translations.
1489 * libpam/libpam.map: Add LIBPAM_MODUTIL_1.1 version.
1490 * libpam/pam_audit.c: Add _pam_audit_open() and
1491 pam_modutil_audit_write().
1492 (_pam_auditlog): Call _pam_audit_open().
1493 * libpam/include/security/pam_modutil.h: Add pam_modutil_audit_write().
1494 * modules/pam_access/pam_access.8.xml: Add noaudit option.
1496 * modules/pam_access/pam_access.c: Move fs, sep, pam_access_debug, and
1497 only_new_group_syntax variables to struct login_info. Add noaudit
1499 (_parse_args): Adjust for the move of variables and add support for
1501 (group_match): Add debug parameter.
1502 (string_match): Likewise.
1503 (network_netmask_match): Likewise.
1504 (login_access): Adjust for the move of variables. Add nonall_match.
1505 Add call to pam_modutil_audit_write().
1506 (list_match): Adjust for the move of variables.
1507 (user_match): Likewise.
1508 (from_match): Likewise.
1509 (pam_sm_authenticate): Call _parse_args() earlier.
1510 * modules/pam_limits/pam_limits.8.xml: Add noaudit option.
1512 * modules/pam_limits/pam_limits.c (_pam_parse): Add noaudit option.
1513 (setup_limits): Call pam_modutil_audit_write().
1514 * modules/pam_time/pam_time.8.xml: Add debug and noaudit options.
1516 * modules/pam_time/pam_time.c: Add option parsing (_pam_parse()).
1517 (check_account): Call _pam_parse(). Call pam_modutil_audit_write()
1518 and pam_syslog() on login denials.
1520 2007-12-07 Luca Bruno <luca.br@uno.it>
1522 * po/it.po: Updated translations.
1524 2007-12-06 Eamon Walsh <ewalsh@tycho.nsa.gov>
1526 * libpam/include/security/_pam_macros.h: Add _pam_overwrite_n()
1528 * libpam/include/security/_pam_types.h: Add PAM_XDISPLAY,
1529 PAM_XAUTHDATA items, pam_xauth_data struct.
1530 * libpam/pam_item.c (pam_set_item, pam_get_item): Handle
1531 PAM_XDISPLAY and PAM_XAUTHDATA items.
1532 * libpam/pam_end.c (pam_end): Destroy the new items.
1533 * libpam/pam_private.h (pam_handle): Add data members for new
1534 items. Add prototype for _pam_memdup.
1535 * libpam/pam_misc.c: Add _pam_memdup.
1536 * doc/man/Makefile.am: Add pam_xauth_data.3. Replace
1537 pam_item_types.inc.xml with pam_item_types_std.inc.xml and
1538 pam_item_types_ext.inc.xml.
1539 * doc/man/pam_get_item.3.xml: Replace pam_item_types.inc.xml
1540 with pam_item_types_std.inc.xml and pam_item_types_ext.inc.xml.
1541 * doc/man/pam_set_item.3.xml: Likewise.
1542 * doc/man/pam_item_types.inc.xml: Removed file.
1543 * doc/man/pam_item_types_ext.inc.xml: New file.
1544 * doc/man/pam_item_types_std.inc.xml: New file.
1546 2007-12-06 Tomas Mraz <t8m@centrum.cz>
1548 * modules/pam_tty_audit/pam_tty_audit.8.xml: Fix example.
1550 2007-12-05 Miloslav Trmac <mitr@redhat.com>
1552 * configure.in: Add test for audit_tty_status struct. Add
1553 pam_tty_audit module.
1554 * libpam/pam_static_modules.h: Add pam_tty_audit module.
1555 * modules/pam_tty_audit/Makefile.am: New file.
1556 * modules/pam_tty_audit/README.xml: Likewise.
1557 * modules/pam_tty_audit/pam_tty_audit.8.xml: Likewise.
1558 * modules/pam_tty_audit/pam_tty_audit.c: Likewise.
1560 2007-12-05 Tomas Mraz <t8m@centrum.cz>
1562 * modules/pam_unix/Makefile.am: Add passverify.h and passverify.c
1563 as first part of pam_unix refactorization.
1564 * modules/pam_unix/pam_unix/pam_unix_acct.c: Include passverify.h.
1565 * modules/pam_unix/pam_unix_passwd.c: Likewise.
1566 * modules/pam_unix/passverify.c: New file with common functions.
1567 * modules/pam_unix/passverify.h: Prototypes for the common functions.
1568 * modules/pam_unix/support.c: Include passverify.h, move
1569 _unix_shadowed() to passverify.c.
1570 (_unix_verify_password): Refactor out verify_pwd_hash() function.
1571 * modules/pam_unix/support.h: Move _unix_shadowed() prototype to
1573 * modules/pam_unix/unix_chkpwd.c: Use _unix_shadowed() and
1574 verify_pwd_hash() from passverify.c.
1576 2007-11-20 Thorsten Kukuk <kukuk@thkukuk.de>
1578 * modules/pam_unix/Makefile.am (unix_chkpwd_LDADD): Don't link
1579 unix_chkpwd unnecessary against libpam (#1822779).
1581 * modules/pam_tally/pam_tally.c (tally_log): Map
1582 pam_modutil_getpwnam to getpwnam if we don't compile
1584 * modules/pam_tally/Makefile.am: Don't link pam_tally_app
1585 against libpam (#1822779).
1587 2007-11-06 Thorsten Kukuk <kukuk@thkukuk.de>
1589 * xtests/tst-pam_group1.c: Include stdlib.h
1590 * xtests/tst-pam_succeed_if1.c: Likewise.
1591 * xtests/tst-pam_limits1.c: Likewise.
1592 * xtests/tst-pam_access1.c: Likewise.
1593 * xtests/tst-pam_access2.c: Likewise.
1594 * xtests/tst-pam_access3.c: Likewise.
1595 * xtests/tst-pam_access4.c: Likewise.
1596 * xtests/tst-pam_unix1.c: Likewise.
1597 * xtests/tst-pam_unix2.c: Likewise.
1598 * xtests/tst-pam_unix3.c: Likewise.
1599 * xtests/tst-pam_cracklib1.c: Likewise.
1600 * xtests/tst-pam_cracklib2.c: Likewise.
1602 * libpam/pam_static_modules.h: Fix name of pam_namespace variable.
1604 2007-11-01 Peter Breitenlohner <peb@mppmu.mpg.de>
1606 * doc/man/pam_conv.3.xml: Correct typo.
1608 2007-10-30 Peter Breitenlohner <peb@mppmu.mpg.de>
1610 * modules/pam_rhosts/pam_rhosts_auth.c (__icheckhost): Correct
1611 misplaced parenthesis.
1612 * modules/pam_unix/pam_unix_acct.c (pam_sm_acct_mgmt): Prevent use of
1613 dngettext() when NLS is disabled.
1614 * modules/pam_exec/pam_exec.c (call_exec): Avoid gcc warning.
1615 * doc/specs/parse_y.y (set_label, new_counter): Break trigraphs to
1617 * modules/pam_wheel/pam_wheel.c: Remove excessive initializer
1620 * modules/pam_cracklib/pam_cracklib.8.xml: Correct typo.
1621 * modules/pam_limits/limits.conf.5.xml: Likewise.
1622 * modules/pam_listfile/pam_listfile.8.xml: Likewise.
1623 * modules/pam_xauth/pam_xauth.8.xml: Likewise.
1625 * modules/pam_deny/pam_deny.8.xml: Correct spelling.
1626 * modules/pam_group/pam_group.8.xml: Likewise.
1627 * modules/pam_permit/pam_permit.8.xml: Likewise.
1628 * modules/pam_shells/pam_shells.8.xml: Likewise.
1629 * modules/pam_time/pam_time.8.xml: Likewise.
1630 * modules/pam_warn/pam_warn.8.xml: Likewise.
1632 * tests/tst-dlopen.c: Return 77 in case of static modules, such that
1633 all modules/pam_*/tst-pam_* tests yield SKIP instead of FAIL.
1634 * libpam/Makefile.am (libpam_la_LIBADD): Use "$(shell ls ...)" instead
1635 of "`ls ...`", to allow for static modules.
1636 * libpam/pam_static_modules.h: Make pam_keyinit module depend on
1637 HAVE_KEY_MANAGEMENT; correct name of pam_faildelay pam_module struct.
1638 * modules/pam_faildelay/pam_faildelay.c: Correct name of pam_module
1641 2007-10-25 Steve Langasek <vorlon@debian.org>
1643 * modules/pam_tally/pam_tally.c: fix the definition of OPT_AUDIT
1644 to be octal instead of decimal, so that it works properly in a
1645 bit field instead of forcing the "even_deny_root_account" and
1646 "no_reset" options to on.
1647 Patch from Corey Wright <undefined@pobox.com>.
1649 2007-10-19 Tomas Mraz <t8m@centrum.cz>
1651 * xtests/tst-pam_access1.c: Use different name for user and group.
1652 * xtests/tst-pam_access1.sh: Likewise.
1653 * xtests/tst-pam_access2.c: Likewise.
1654 * xtests/tst-pam_access2.sh: Likewise.
1655 * xtests/tst-pam_access4.c: Likewise.
1656 * xtests/tst-pam_access4.sh: Likewise.
1657 * xtests/group.conf: Likewise.
1658 * xtests/tst-pam_group1.c: Likewise.
1659 * xtests/tst-pam_group1.sh: Likewise.
1661 * libpam/pam_dispatch.c (_pam_dispatch_aux): Save states for substacks,
1662 record substack level, skip over virtual substack modules, implement
1663 evaluation of done, die, reset and jumps in substacks. Also fixes
1664 too far jumps in substacks.
1665 * libpam/pam_end.c (pam_end): Drop substack evaluation states.
1666 * libpam/pam_handlers.c (_pam_parse_conf_file): Add substack level
1667 parameter, instead of must_fail use handler_type needed for virtual
1669 (_pam_load_conf_file): Add substack level parameter.
1670 (_pam_init_handlers): Substack level parameter added to
1671 _pam_parse_conf_file() calls.
1672 (_pam_load_module): New function.
1673 (_pam_add_handler): Refactor code into the _pam_load_module(). Add
1674 support for virtual substack modules.
1675 * libpam/pam_private.h: Rename must_fail to handler_type, add stack_level
1676 to struct handler. Define handler type constants. Add struct
1677 for substack evaluation states. Define constant for maximum
1678 substack level. Add substack states pointer to former state struct.
1679 * libpam/pam_start.c (pam_start): Initialize pointer to substack states.
1680 * doc/man/pam.conf-syntax.xml: Document substack control.
1681 * xtests/Makefile.am: Add new tests for substack evaluation.
1682 * xtests/run_xtests.sh: Support multiple .pamd files in a test.
1683 * xtests/tst-pam_authfail.pamd: New tests for substack evaluation.
1684 * xtests/tst-pam_authsucceed.pamd: Likewise.
1685 * xtests/tst-pam_substack1.pamd: Likewise.
1686 * xtests/tst-pam_substack1a.pamd: Likewise.
1687 * xtests/tst-pam_substack1.sh: Likewise.
1688 * xtests/tst-pam_substack2.pamd: Likewise.
1689 * xtests/tst-pam_substack2a.pamd: Likewise.
1690 * xtests/tst-pam_substack2.sh: Likewise.
1691 * xtests/tst-pam_substack3.pamd: Likewise.
1692 * xtests/tst-pam_substack3a.pamd: Likewise.
1693 * xtests/tst-pam_substack3.sh: Likewise.
1694 * xtests/tst-pam_substack4.pamd: Likewise.
1695 * xtests/tst-pam_substack4a.pamd: Likewise.
1696 * xtests/tst-pam_substack4.sh: Likewise.
1697 * xtests/tst-pam_substack5.pamd: Likewise.
1698 * xtests/tst-pam_substack5a.pamd: Likewise.
1699 * xtests/tst-pam_substack5.sh: Likewise.
1701 2007-10-18 Tomas Mraz <t8m@centrum.cz>
1703 * xtests/tst-pam_dispatch4.c: Fix comment about the test.
1704 * xtests/tst-pam_dispatch4.pamd: Improve the testcase.
1705 * xtests/tst-pam_cracklib2.c: Make the testcase more robust.
1707 2007-10-12 Thorsten Kukuk <kukuk@thkukuk.de>
1709 * xtests/Makefile.am: Add tst-pam_dispatch5 sources
1710 * xtests/tst-pam_dispatch5.c: New test for jump too far.
1711 * xtests/tst-pam_dispatch5.pamd: New test configuration.
1713 2007-10-09 Tomas Mraz <t8m@centrum.cz>
1715 * modules/pam_tally/pam_tally.8.xml: Document audit option
1718 2007-10-09 Thorsten Kukuk <kukuk@thkukuk.de>
1720 * release version 0.99.9.0
1722 * configure.in: Increase vesion number.
1724 * libpam/Makefile.am: Increase release number.
1725 * libpam_misc/Makefile.am: Increase release number.
1727 * po/*.po: Regenerate.
1729 2007-10-08 Thorsten Kukuk <kukuk@thkukuk.de>
1731 * modules/pam_time/pam_time.c (is_same): Length of strings without
1732 wildcard needs to be the same.
1733 * modules/pam_group/pam_group.c (is_same): Likewise.
1735 2007-10-01 Thorsten Kukuk <kukuk@thkukuk.de>
1737 * xtests/tst-pam_group1.c: New test case for user compare in pam_group.
1738 * xtests/tst-pam_group1.sh: Script to run test case.
1739 * xtests/tst-pam_group1.pamd: Config for test case.
1740 * xtests/Makefile.am: Add tst-pam_group1 test case.
1741 * xtests/run-xtests.sh: Save/restore group.conf.
1742 * xtests/group.conf: New.
1744 * modules/pam_xauth/pam_xauth.c (pam_sm_open_session): Don't
1745 free arguments used for putenv().
1747 * doc/man/pam_putenv.3.xml: Document that application has to free
1750 2007-09-27 Tomas Mraz <t8m@centrum.cz>
1752 * modules/pam_succeed_if/pam_succeed_if.c (evaluate_inlist): Fix in
1753 operator rhbz #295151.
1754 * modules/pam_namespace/pam_namespace.c (poly_name): Do not try to
1755 get context when SELinux is disabled.
1757 2007-09-27 Thorsten Kukuk <kukuk@thkukuk.de>
1759 * xtests/tst-pam_succeed_if1.c: New test case for
1760 https://bugzilla.redhat.com/show_bug.cgi?id=295151
1761 * xtests/tst-pam_succeed_if1.sh: Script to run test case.
1762 * xtests/tst-pam_succeed_if1.pamd: Config for test case.
1763 * xtests/Makefile.am: Add tst-pam_succeed_if1 test case.
1765 * xtests/run-xtests.sh: Add support to skip tests.
1766 * xtests/tst-pam_limits1.c: Skip test if RLIMIT_NICE is not
1769 2007-09-03 Steve Langasek <vorlon@debian.org>
1771 * modules/pam_limits/pam_limits.c: remove a number of unnecessary
1772 string manipulations, including a strncpy() that was acting on
1775 * libpam_misc/misc_conv.c: don't block SIGINT in misc_conv; it's
1776 perfectly valid to allow the user to interrupt at a prompt. If
1777 an application wants prompts to not be interruptable, the
1778 application should take responsibility for blocking SIGINT.
1780 2007-09-02 Thorsten Kukuk <kukuk@thkukuk.de>
1782 * examples/Makefile.am: Fix usage of LIBADD, LDADD and LDFLAGS.
1783 * libpam/Makefile.am: Likewise.
1784 * modules/pam_access/Makefile.am: Likewise.
1785 * modules/pam_cracklib/Makefile.am: Likewise.
1786 * modules/pam_debug/Makefile.am: Likewise.
1787 * modules/pam_deny/Makefile.am: Likewise.
1788 * modules/pam_echo/Makefile.am: Likewise.
1789 * modules/pam_env/Makefile.am: Likewise.
1790 * modules/pam_exec/Makefile.am: Likewise.
1791 * modules/pam_faildelay/Makefile.am: Likewise.
1792 * modules/pam_filter/Makefile.am: Likewise.
1793 * modules/pam_filter/upperLOWER/Makefile.am: Likewise.
1794 * modules/pam_ftp/Makefile.am: Likewise.
1795 * modules/pam_group/Makefile.am: Likewise.
1796 * modules/pam_issue/Makefile.am: Likewise.
1797 * modules/pam_keyinit/Makefile.am: Likewise.
1798 * modules/pam_lastlog/Makefile.am: Likewise.
1799 * modules/pam_limits/Makefile.am: Likewise.
1800 * modules/pam_listfile/Makefile.am: Likewise.
1801 * modules/pam_localuser/Makefile.am: Likewise.
1802 * modules/pam_loginuid/Makefile.am: Likewise.
1803 * modules/pam_mail/Makefile.am: Likewise.
1804 * modules/pam_mkhomedir/Makefile.am: Likewise.
1805 * modules/pam_motd/Makefile.am: Likewise.
1806 * modules/pam_namespace/Makefile.am: Likewise.
1807 * modules/pam_nologin/Makefile.am: Likewise.
1808 * modules/pam_permit/Makefile.am: Likewise.
1809 * modules/pam_rhosts/Makefile.am: Likewise.
1810 * modules/pam_rootok/Makefile.am: Likewise.
1811 * modules/pam_securetty/Makefile.am: Likewise.
1812 * modules/pam_selinux/Makefile.am: Likewise.
1813 * modules/pam_shells/Makefile.am: Likewise.
1814 * modules/pam_stress/Makefile.am: Likewise.
1815 * modules/pam_succeed_if/Makefile.am: Likewise.
1816 * modules/pam_tally/Makefile.am: Likewise.
1817 * modules/pam_time/Makefile.am: Likewise.
1818 * modules/pam_umask/Makefile.am: Likewise.
1819 * modules/pam_unix/Makefile.am: Likewise.
1820 * tests/Makefile.am: Likewise.
1822 2007-08-31 Steve Langasek <vorlon@debian.org>
1824 * modules/pam_group/group.conf: don't use "games" as an example
1825 group, on some distros this is a pre-existing group that it would
1826 be a security hole to give users access to.
1828 2007-08-30 Thorsten Kukuk <kukuk@thkukuk.de>
1830 * modules/pam_limits/limits.conf.5.xml: Document that maxlogins
1831 is ignored for users with UID 0.
1833 2007-08-30 Steve Langasek <vorlon@debian.org>
1835 * modules/pam_unix/support.c, modules/pam_unix/unix_chkpwd.c:
1836 A wrong username doesn't need to be logged at LOG_ALERT;
1837 LOG_WARNING should be sufficient.
1838 Patch from Sam Hartman <hartmans@debian.org>.
1840 * modules/pam_cracklib/pam_cracklib.c:
1841 s/CRACKLIB_DICT/CRACKLIB_DICTS/, for consistency with existing
1844 2007-08-29 Steve Langasek <vorlon@debian.org>
1846 * libpam/pam_modutil_getgrgid.c, libpam/pam_modutil_getgrnam.c,
1847 libpam/pam_modutil_getpwnam.c, libpam/pam_modutil_getpwuid.c,
1848 libpam/pam_modutil_getspnam.c: don't use pthread mutexes in libpam
1849 unnecessarily; this avoids linking problems on non-Linux
1852 * modules/pam_listfile/pam_listfile.c, modules/pam_listfile/README,
1853 modules/pam_listfile/pam_listfile.8,
1854 modules/pam_listfile/pam_listfile.8.xml: add a 'quiet' option to
1855 avoid logging errors any time a user is refused service by this
1858 2007-08-29 Thorsten Kukuk <kukuk@thkukuk.de>
1860 * modules/pam_rhosts/pam_rhosts_auth.c: buflen needs to be size_t.
1861 (__icheckhost): Cast to int32_t to fix limited range error.
1863 * modules/pam_cracklib/pam_cracklib.c: Mark cracklib_dictpath
1866 2007-08-29 Steve Langasek <vorlon@debian.org>
1868 * modules/pam_rhosts/pam_rhosts_auth.c: getline returns -1 at
1869 EOF, not 0. Check accordingly to fix an infinite loop. Thanks
1870 to Stephan Springl <springl-rhosts@bfw-online.de> for catching
1873 2007-08-28 Steve Langasek <vorlon@debian.org>
1875 * configure.in: call AC_CHECK_HEADERS instead of AC_CHECK_HEADER
1876 for crack.h, so we get a HAVE_CRACK_H define.
1877 * modules/pam_cracklib/pam_cracklib.c: don't copy around the
1878 cracklib dictpath into a fixed-width buffer, when we can just
1879 point at the existing strings; and allow users to override the
1880 default cracklib path with -DCRACKLIB_DICT, required for
1881 compatibility with cracklib 2.7.
1883 2007-08-27 Steve Langasek <vorlon@debian.org>
1885 * modules/pam_limits/pam_limits.c: when building on non-Linux
1886 systems, give a warning only, not an error; no one seems to
1887 remember why this error was here in the first place, but leave
1888 something in that might still grab the attention of non-Linux
1890 Patch from Michal Suchanek <hramrach_l@centrum.cz>.
1891 * configure.in, modules/pam_rhosts/pam_rhosts_auth.c: check for
1892 the presence of net/if.h before using, required for Hurd
1894 Patch from Igor Khavkine <i_khavki@alcor.concordia.ca>.
1895 * modules/pam_limits/pam_limits.c: conditionalize the use of
1896 RLIMIT_AS, which is not present on the Hurd.
1897 Patch from Igor Khavkine <i_khavki@alcor.concordia.ca>.
1898 * modules/pam_rhosts/pam_rhosts_auth.c: use getline() instead of
1899 a static buffer when available; fixes the build on systems
1900 without MAXHOSTNAMELEN (i.e., the Hurd).
1901 * modules/pam_xauth/pam_xauth.c: make sure PATH_MAX is defined
1904 2007-08-26 Andrew Morgan <morgan@kernel.org>
1906 * doc/man/pam.conf-syntax.xml
1907 Minor fixes: '\[' -> '\]'.
1909 2007-08-25 Steve Langasek <vorlon@debian.org>
1911 * doc/man/pam.conf-syntax.xml, doc/man/pam.conf.5:
1912 Document "new" control options conv_again and incomplete, supported
1913 in pam.d's extended syntax.
1914 Patch from Ben Collins <bcollins@debian.org>.
1916 2007-08-15 Tomas Mraz <t8m@centrum.cz>
1918 * modules/pam_access/pam_access.c (list_match): Add explicit
1919 sptr argument for strtok_r, otherwise the code is not portable.
1921 2007-08-13 Olivier Blin <blino@mandriva.com>
1923 * doc/man/pam.3.xml: Fix typo.
1924 * doc/man/pam.3: Likewise.
1925 * doc/man/pam_end.3.xml: Likewise.
1926 * doc/man/pam_end.3: Likewise.
1928 2007-07-18 Thorsten Kukuk <kukuk@thkukuk.de>
1930 * release version 0.99.8.1
1932 * libpam/pam_audit.c: Include unistd.h for getuid().
1933 * libpam/Makefile.am: Bump version number.
1935 2007-07-12 Thorsten Kukuk <kukuk@thkukuk.de>
1937 * libpam/pam_audit.c (_pam_audit_writelog): Don't return
1938 error if application runs as normal user. Fixes regression
1939 introduced with last change.
1941 2007-07-10 Thorsten Kukuk <kukuk@thkukuk.de>
1943 * configure.in: Add --with-db-uniquename option to support
1944 db libraries and functions with unique name extension.
1945 Patch from Diego 'Flameeyes' Pettenò <flameeyes@gmail.com>.
1947 * modules/pam_limits/pam_limits.c: Include locale.h.
1949 2007-07-06 Thorsten Kukuk <kukuk@thkukuk.de>
1951 * release version 0.99.8.0
1953 * configure.in: Check for audit_log_acct_message instead of
1954 audit_log_user_message.
1955 * libpam/pam_audit.c: Use audit_log_acct_message.
1956 Based on patch from Mark J Cox <mjc@redhat.com>.
1957 * libpam/Makefile.am: Bump version number of libpam.
1959 * modules/pam_umask/pam_umask.c (set_umask): mode_t is 32bit,
1962 * xtests/tst-pam_limits1.c: Fix printf arguments.
1964 * po/*.po: Merge po files with latest code changes.
1966 2007-06-26 Thorsten Kukuk <kukuk@thkukuk.de>
1968 * modules/pam_limits/pam_limits.c (process_limit): Check upper and
1969 lower limit of nice value, fix off-by-one in conversation to rlim_t.
1970 * xtests/Makefile.am: Add new pam_limits test case.
1971 * xtests/limits.conf: New, config file for test case.
1972 * xtests/pam_limits1.c: New, test case for RLIMIT_NICE.
1973 * xtests/pam_limits1.sh: Likewise.
1974 * xtests/pam_limits1.pamd: Likewise.
1976 2007-06-25 Thorsten Kukuk <kukuk@thkukuk.de>
1978 * modules/pam_access/pam_access.c (list_match): Use saveptr of strtok_r
1979 result for recursive calls.
1980 * xtests/Makefile.am: Add new pam_access test cases.
1981 * xtests/pam_access1.c: New test case.
1982 * xtests/pam_access2.c: Likewise.
1983 * xtests/pam_access3.c: Likewise.
1984 * xtests/pam_access4.c: Likewise.
1985 * xtests/pam_access1.sh: Wrapper to create user accounts.
1986 * xtests/pam_access2.sh: Likewise.
1987 * xtests/pam_access3.sh: Likewise.
1988 * xtests/pam_access4.sh: Likewise.
1989 * xtests/pam_access1.pamd: PAM config file for pam_access tests.
1990 * xtests/pam_access2.pamd: Likewise.
1991 * xtests/pam_access3.pamd: Likewise.
1992 * xtests/pam_access4.pamd: Likewise.
1993 * xtests/access.conf: Config file for pam_access tests.
1994 * xtests/run-tests.sh: Install access.conf into system.
1996 2007-06-22 Thorsten Kukuk <kukuk@thkukuk.de>
1998 * modules/pam_loginuid/pam_loginuid.c (set_loginuid): Print
1999 better error message if /proc/self/loginuid cannot be opened.
2001 * modules/pam_limits/pam_limits.c (process_limit): Check for
2002 variable overflow after multiplication [bnc#283001].
2004 * modules/pam_access/pam_access.c: Add new syntax for groups
2005 in access.conf to differentiate group names from account names.
2006 Based on patch from Julien Lecomte <julien@famille-lecomte.net>,
2007 solves feature request [#411390].
2008 * modules/pam_access/access.conf: Add example for new group
2010 * modules/pam_access/access.conf.5.xml: Document new syntax.
2012 2007-06-20 Thorsten Kukuk <kukuk@thkukuk.de>
2014 * modules/pam_cracklib/pam_cracklib.8.xml: Document new minclass
2016 * modules/pam_cracklib/pam_cracklib.c: Add support for minimum
2017 character classes [#1688777]. Based on patch from Keith Schincke.
2019 * xtests/tst-pam_cracklib2.c: New, test case for minclass option.
2020 * xtests/tst-pam_cracklib2.pamd: New, PAM config file for test case.
2021 * xtests/Makefile.am: Add new testcase.
2023 * xtests/pam_cracklib.c: Fix comment what this application tests.
2025 * configure.in: Use /lib64 on x86-64, ppc64, s390x, sparc64
2027 2007-06-15 Tomas Mraz <t8m@centrum.cz>
2029 * modules/pam_selinux/pam_selinux.8.xml: Remove multiple option,
2030 add select_context and use_current_range options.
2031 * modules/pam_selinux/pam_selinux.c (send_audit_message): Added
2032 function for auditing role/level changes.
2033 (query_response): Add default response.
2034 (select_context): Removed.
2035 (manual_context): Query only role and level.
2036 (mls_range_allowed): Added function for range check.
2037 (config_context): Added function for role and level override.
2038 (pam_sm_open_session): Remove multiple option, add select_context
2039 and use_current_range_options. Use getseuserbyname to obtain
2040 SELinux user and level. Audit role/level changes. Call setkeycreatecon
2041 to assign key creation context. Don't fail on errors when SELinux
2042 is not in enforcing mode.
2043 * configure.in: Check for setkeycreatecon().
2045 * modules/pam_namespace/README.xml: Avoid duplication of
2047 * modules/pam_namespace/namespace.conf: More real life example
2049 * modules/pam_namespace/namespace.conf.5.xml: Likewise plus
2050 properly describe how instance directory names are formed.
2051 * modules/pam_namespace/namespace.init: Preserve euid when
2052 called from setuid apps (su, newrole).
2053 * modules/pam_namespace/pam_namespace.8.xml: Added option
2054 no_unmount_on_close.
2055 * modules/pam_namespace/pam_namespace.c (process_line): Polyinst
2056 methods are now user, level and context. Fix crash on unknown
2057 override user in config file.
2058 (ns_override): Add explicit uid parameter.
2059 (form_context): Skip for user method. Implement level based
2061 (poly_name): Initialize contexts. Add level based polyinst,
2062 remove 'both' metod. Use raw contexts for instance names,
2063 truncate long instance names and add hash.
2064 (ns_setup): Hashing moved to poly_name().
2065 (setup_namespace): Handle correctly override users for
2066 su (when unmnt_remnt is used).
2067 (pam_sm_close_session): Added no_unmount_on_close option.
2068 * modules/pam_namespace/pam_namespace.h: Added
2069 no_unmount_on_close_option, level method, limit on instance
2070 directory name length.
2072 2007-05-04 Thorsten Kukuk <kukuk@suse.de>
2074 * xtests/run-xtests.sh: Use SRCDIR to find PAM config files.
2075 * xtests/Makefile.am: Call run-xtests.sh with srcdir as first
2077 Based on patch by Bernard Leak <thisisnotapipe@hotmail.com>.
2079 2007-04-30 Thorsten Kukuk <kukuk@thkukuk.de>
2081 * modules/pam_limits/limits.conf: Address space limit is KB.
2082 * modules/pam_limits/limits.conf.5.xml: Likewise.
2083 Reported by Thomas Vander Stichele <thomas@apestaart.org>.
2085 * modules/pam_mail/pam_mail.c (_do_mail): Remove duplicate
2086 check for PAM_SILENT and don't bail out if it is set [#1706247].
2088 2007-03-29 Tomas Mraz <t8m@centrum.cz>
2090 * modules/pam_access/pam_access.c (login_access, list_match):
2091 Replace strtok with strtok_r.
2092 * modules/pam_cracklib/pam_cracklib.c (check_old_password):
2094 * modules/pam_ftp/pam_ftp.c (lookup, pam_authenticate):
2096 * modules/pam_unix/pam_unix_passwd.c (check_old_password,
2097 save_old_password): Likewise.
2099 * modules/pam_limits/Makefile.am: Define limits.d dir and install it.
2100 * modules/pam_limits/pam_limits.8.xml: Describe limits.d parsing.
2101 * modules/pam_limits/pam_limits.c (pam_limit_s): Make conf_file ptr.
2102 (pam_parse): conf_file is now ptr.
2103 (pam_sm_open_session): Add parsing files from limits.d subdir using
2104 glob, change pl to pointer.
2106 2007-03-12 Thorsten Kukuk <kukuk@thkukuk.de>
2108 * po/ar.po: New translation.
2109 * po/ca.po: Likewise.
2110 * po/da.po: Likewise.
2111 * po/ru.po: Likewise.
2112 * po/sv.po: Likewise.
2113 * po/zu.po: Likewise.
2114 * po/LINGUAS: Add ar, ca, da, ru, sv, zu
2116 * po/hu.po: Update translation.
2118 2007-02-21 Tomas Mraz <t8m@centrum.cz>
2120 * modules/pam_unix/unix_chkpwd.c (_unix_verify_password): Test for
2121 allocation failure in bigcrypt().
2123 * modules/pam_unix/pam_unix_passwd.c (pam_sm_chauthtok): Allow
2124 modification of '*' password by root.
2126 2007-02-06 Tomas Mraz <t8m@centrum.cz>
2128 * modules/pam_loginuid/pam_loginuid.c (set_loginuid): Remove
2129 debug syslog message when loginuid doesn't exist.
2131 2007-02-01 Tomas Mraz <t8m@centrum.cz>
2133 * xtests/tst-pam_unix3.c: Fix typos in comments.
2135 * modules/pam_unix/support.c (_unix_verify_password): Explicitly
2136 disallow '!' in the beginning of password hash. Treat only
2137 13 bytes password hash specifically. (Suggested by Solar Designer.)
2138 Fix a warning and test for allocation failure.
2139 * modules/pam_unix/unix_chkpwd.c (_unix_verify_password): Likewise.
2141 2007-01-31 Thorsten Kukuk <kukuk@thkukuk.de>
2143 * xtests/Makefile.am: Add new pam_unix.so tests
2144 * xtests/run-xtests.sh: Prefer shell scripts (wrapper)
2146 * xtests/tst-pam_cracklib1.c: Fix typo.
2147 * xtests/tst-pam_unix1.c: New, for sucurity fix.
2148 * xtests/tst-pam_unix1.pamd: New.
2149 * xtests/tst-pam_unix1.sh: New.
2150 * xtests/tst-pam_unix2.c: New, for crypt checks.
2151 * xtests/tst-pam_unix2.pamd: New.
2152 * xtests/tst-pam_unix2.sh: New.
2153 * xtests/tst-pam_unix3.c: New, for bigcrypt checks.
2154 * xtests/tst-pam_unix3.pamd: New.
2155 * xtests/tst-pam_unix3.sh: New.
2157 2007-01-23 Thorsten Kukuk <kukuk@suse.de>
2161 * configure.in: Set version number to 0.99.7.1
2163 2007-01-23 Thorsten Kukuk <kukuk@thukuk.de>
2164 Tomas Mraz <t8m@centrum.cz>
2166 * modules/pam_unix/support.c (_unix_verify_password): Always
2167 compare full encrypted passwords (CVE-2007-0003).
2169 2007-01-23 Tomas Mraz <t8m@centrum.cz>
2171 * modules/pam_loginuid/Makefile.am (AM_LDFLAGS): Add LIBAUDIT.
2173 * modules/pam_selinux/Makefile.am (pam_selinux_check_LDFLAGS): Add
2175 (pam_selinux_la_LDFLAGS): Likewise.
2177 2007-01-17 Thorsten Kukuk <kukuk@thkukuk.de>
2181 * configure.in: Set version number to 0.99.7.0
2183 * Makefile.am (M4_FILES): Replace GNU make extension by listing
2186 2007-01-17 Tomas Mraz <t8m@centrum.cz>
2188 * po/*.po: Updated strings to translate.
2189 * po/Linux-PAM.pot: Likewise.
2191 2007-01-16 Thorsten Kukuk <kukuk@thkukuk.de>
2193 * doc/man/pam.conf-syntax.xml: Improve documentation about
2194 sufficient keyword (Patch by Petteri Räty <betelgeuse@gentoo.org>)
2196 2006-12-20 Thorsten Kukuk <kukuk@thkukuk.de>
2198 * modules/pam_unix/pam_unix_passwd.c (pam_sm_chauthtok): Forbid
2199 only '+' and '-' as first characters for account names.
2200 * modules/pam_unix/pam_unix_auth.c (pam_sm_authenticate): Likewise.
2202 2006-12-18 Thorsten Kukuk <kukuk@thkukuk.de>
2204 * configure.in: Fix ENOKEY check (specify errno.h as header
2207 * configure.in: Add AM_PROG_CC_C_O.
2208 * libpam/Makefile.am: Add content of AM_LDFLAGS to *_LDFLAGS.
2209 * modules/pam_tally/Makefile.am: Likewise.
2210 * modules/pam_unix/Makefile.am: Likewise.
2212 * modules/pam_stress/pam_stress.c (pam_sm_chauthtok): Fix
2213 localisation of message printed to user.
2214 * po/de.po: Adjust translation.
2216 2006-12-18 Tomas Mraz <t8m@centrum.cz>
2218 * modules/pam_unix/pam_unix_passwd.c (pam_sm_chauthtok): Localize
2219 message printed to user.
2221 * modules/pam_unix/support.c (_unix_verify_password): Use strncmp
2222 only for bigcrypt result.
2224 * modules/pam_keyinit/pam_keyinit.c (kill_keyrings): Switch to new
2225 egid first, euid next. Revert euid/egid to old euid/egid and not
2227 (pam_sm_open_session): Switch to new rgid first, ruid next.
2229 2006-12-13 Thorsten Kukuk <kukuk@thkukuk.de>
2231 * modules/pam_localuser/pam_localuser.c: Add support for session
2232 and chauthtok [SF#1606180].
2233 * modules/pam_localuser/pam_localuser.8.xml: Document last change.
2235 * libpam/pam_audit.c (_pam_audit_writelog): Print error message
2238 2006-12-12 Thorsten Kukuk <kukuk@thkukuk.de>
2240 * libpam/pam_audit.c (_pam_audit_writelog): Print error
2241 message on failure to syslog.
2243 2006-12-09 Thorsten Kukuk <kukuk@thkukuk.de>
2245 * modules/pam_umask/pam_umask.c: Use strtoul instead of strtol,
2246 fix overflow detection.
2248 2006-12-06 Thorsten Kukuk <kukuk@thkukuk.de>
2250 * modules/pam_mkhomedir/pam_mkhomedir.c (rec_mkdir): Fix
2251 handling of left-most path component [SF#1591598].
2252 (create_homedir): Mark user visible messages for translation.
2253 * po/de.po: Adjust german translation for pam_mkhomedir.
2255 * modules/pam_faildelay/pam_faildelay.c: If no argument is
2256 given, try to read FAIL_DELAY from /etc/login.defs.
2257 * modules/pam_faildelay/pam_faildelay.8.xml: Document usage
2260 2006-12-04 Tomas Mraz <t8m@centrun.cz>
2262 * po/jp.po: Fixed mistake in Password: message (from
2263 Peng Huang <phuang@redhat.com>).
2265 2006-11-28 Thorsten Kukuk <kukuk@thkukuk.de>
2267 * po/hu.po: Update hungarian translation (from
2268 Kalman Kemenczy <kkemenczy@novell.com>).
2270 * configure.in: Allow disabling support for cracklib, audit, libdb.
2272 * modules/pam_faildelay/pam_faildelay.8.xml: Correct name of Author.
2274 * configure.in: Remove --enable-docdir (obsolete by --docdir).
2275 * doc/Makefile.am: Don't overwrite htmldir.
2276 * doc/adg/Makefile.am: Use docdir, htmldir and pdfdir.
2277 * doc/mwg/Makefile.am: Likewise.
2278 * doc/sag/Makefile.am: Likewise.
2279 * doc/specs/Makefile.am: Use docdir.
2281 * tests/tst-pam_set_data.c: New test cases for pam_set_data().
2282 * tests/Makefile.am: Add pam_set_data test case.
2284 * libpam/pam_data.c: Add NULL pointer check for module_data_name.
2285 * libpam/Makefile.am: Bump revision of shared library.
2287 2006-11-08 Thorsten Kukuk <kukuk@thkukuk.de>
2289 * configure.in: Add modules/pam_faildelay/Makefile.
2290 * doc/sag/Linux-PAM_SAG.xml: Include pam_faildelay.xml.
2291 * doc/sag/pam_faildelay.xml: New.
2292 * libpam/pam_static_modules.h: Include static pam_faildelay data.
2293 * modules/Makefile.am: Add pam_faildelay directory.
2294 * modules/pam_faildelay/Makefile.am: New.
2295 * modules/pam_faildelay/README: New, generated from XML file.
2296 * modules/pam_faildelay/README.xml: New.
2297 * modules/pam_faildelay/pam_faildelay.8: New, generated from xml.
2298 * modules/pam_faildelay/pam_faildelay.8.xml: New.
2299 * modules/pam_faildelay/pam_faildelay.c: New.
2300 * modules/pam_faildelay/tst-pam_faildelay: New.
2302 * po/POTFILES.in: Add pam_faildelay.c and pam_loginuid.c.
2304 2006-11-07 Thorsten Kukuk <kukuk@thkukuk.de>
2306 * modules/pam_cracklib/pam_cracklib.c: PAM_DEBUG_ARG
2307 is a bit mask and not a boolean value (Reported by
2308 Jochen Voss <voss@seehuhn.de>).
2310 2006-10-26 Thorsten Kukuk <kukuk@thkukuk.de>
2312 * doc/man/pam.3.xml: Add pam_get_user function.
2314 * modules/pam_motd/pam_motd.8.xml: Fix typo.
2316 2006-10-24 Thorsten Kukuk <kukuk@thkukuk.de>
2318 * modules/pam_namespace/pam_namespace.c: Reserve space for
2321 2006-10-24 Thorsten Kukuk <kukuk@thkukuk.de>
2323 * modules/pam_unix/support.c (_unix_verify_password): Try system
2324 crypt() if we don't know the hash alogorithm.
2325 * modules/pam_unix/unix_chkpwd.c (_unix_verify_password): Likewise.
2327 2006-10-13 Tomas Mraz <t8m@centrum.cz>
2329 * doc/mwg/Linux-PAM_MWG.xml: Add id[s] to section[s].
2330 * doc/sag/pam_access.xml: Likewise.
2331 * doc/sag/pam_echo.xml: Likewise.
2332 * doc/sag/pam_env.xml: Likewise.
2333 * doc/sag/pam_exec.xml: Likewise.
2334 * doc/sag/pam_group.xml: Likewise.
2335 * doc/sag/pam_limits.xml: Likewise.
2336 * doc/sag/pam_namespace.xml: Likewise.
2337 * doc/sag/pam_time.xml: Likewise.
2338 * doc/sag/Linux-PAM_SAG.xml: Add id to book.
2339 * doc/adg/Linux-PAM_ADG.xml: Add id to book.
2340 * doc/mwg/Linux-PAM_MWG.xml: Add id to book.
2343 2006-10-07 Thorsten Kukuk <kukuk@thkukuk.de>
2345 * po/hu.po: Updated hungarian translation (from
2346 Kalman Kemenczy <kkemenczy@novell.com>)
2348 2006-09-20 Thorsten Kukuk <kukuk@thkukuk.de>
2350 * doc/adg/Makefile.am: Add manual pages as dependency.
2351 * doc/mwg/Makefile.am: Likewise.
2352 * doc/sag/Makefile.am: Likewise.
2353 * doc/sag/Linux-PAM_SAG.xml: Include pam_unix.xml.
2354 * doc/sag/pam_unix.xml: New.
2355 * modules/pam_unix/Makefile.am: Generate pam_unix.8 manual page.
2356 * modules/pam_unix/README.xml: New.
2357 * modules/pam_unix/pam_unix.8.xml: New.
2358 * modules/pam_unix/README: Regenerate from XML.
2359 * modules/pam_unix/pam_unix.8: Generated from XML.
2361 2006-09-09 Dmitry V. Levin <ldv@altlinux.org>
2363 * modules/pam_wheel/pam_wheel.8.xml: Fix typo.
2364 * modules/pam_wheel/pam_wheel.8: Likewise.
2365 * modules/pam_wheel/README: Likewise.
2367 2006-09-08 Thorsten Kukuk <kukuk@thkukuk.de>
2369 * po/de.po: Fix typo.
2371 2006-09-06 Thorsten Kukuk <kukuk@thkukuk.de>
2373 * release version 0.99.6.3
2375 2006-09-01 Thorsten Kukuk <kukuk@thkukuk.de>
2377 * modules/pam_loginuid/pam_loginuid.8.xml: Fix typo in
2380 2006-08-31 Thorsten Kukuk <kukuk@thkukuk.de>
2382 * modules/pam_env/environment: New, dummy environment example
2385 * modules/pam_namespace/Makefile.am: Don't install
2386 manual page if we don't build module.
2388 * m4/ld-as-needed.m4: Don't set LDFLAGS if check failed.
2389 * m4/ld-O1: Likewise.
2391 2006-08-30 Tomas Mraz <t8m@centrum.cz>
2393 * modules/pam_access/pam_access.8.xml: All services supported.
2394 * modules/pam_access/pam_access.c (pam_sm_open_session): New.
2395 (pam_sm_close_session): New.
2396 (pam_sm_chauthtok): New.
2398 * modules/pam_access/pam_succeed_if.8.xml: All services supported.
2399 * modules/pam_access/pam_succeed_if.c (pam_sm_setcred): Return
2400 PAM_IGNORE rather than success.
2401 (pam_sm_open_session): New.
2402 (pam_sm_close_session): New.
2403 (pam_sm_chauthtok): New.
2405 2006-08-30 Thorsten Kukuk <kukuk@thkukuk.de>
2407 * xtests/Makefile.am: Move shell code to execute tests from here ...
2408 * xtests/run-xtests.sh: ... to here.
2409 * xtests/*.c: Include config.h.
2410 * tests/*.c: Likewise.
2412 * modules/pam_namespace/pam_namespace.c: Use pam_modutil_getpwnam()
2413 instead of getpwnam().
2415 2006-08-29 Thorsten Kukuk <kukuk@thkukuk.de>
2417 * doc/sag/pam_loginuid.xml: New.
2418 * doc/sag/Linux-PAM_SAG.xml: Include pam_loginuid.xml.
2420 * configure.in: Add modules/pam_loginuid/Makefile.
2421 * modules/Makefile.am: Add pam_loginuid sub directory.
2423 * libpam/pam_static_modules.h: Add pam_loginuid.
2425 * modules/pam_loginuid/Makefile.am: New.
2426 * modules/pam_loginuid/tst-pam_loginuid: New.
2427 * modules/pam_loginuid/pam_loginuid.8.xml: New.
2428 * modules/pam_loginuid/pam_loginuid.8: New, generated from XML source.
2429 * modules/pam_loginuid/pam_loginuid.c: New.
2430 * modules/pam_loginuid/README.xml: New.
2431 * modules/pam_loginuid/README: New, generated from XML source.
2433 2006-08-29 Dmitry V. Levin <ldv@altlinux.org>
2435 * modules/pam_exec/pam_exec.c (call_exec): Add required third
2436 argument to open() call with O_CREAT flag set.
2438 2006-08-28 Thorsten Kukuk <kukuk@thkukuk.de>
2440 * modules/pam_cracklib/pam_cracklib.c (pam_sm_chauthtok): Remove
2443 2006-08-24 Thorsten Kukuk <kukuk@thkukuk.de>
2445 * release version 0.99.6.2
2447 * modules/pam_lastlog/pam_lastlog.c (last_login_date): Create
2448 lastlog file if it does not exist.
2450 * modules/pam_cracklib/pam_cracklib.c (pam_sm_chauthtok): Check
2451 for error from getting second token.
2452 * xtests/Makefile.am: Add tst-pam_cracklib1
2453 * xtests/tst-pam_cracklib1.c: New, check for pam_cracklib seg.fault.
2454 * xtests/tst-pam_cracklib1.pamd: New, config for cracklib test.
2456 2006-08-24 Thorsten Kukuk <kukuk@thkukuk.de>
2458 * xtests/tst-pam_dispatch4.c: New test.
2459 * xtests/tst-pam_dispatch4.pamd: PAM config for new test.
2461 2006-08-09 Thorsten Kukuk <kukuk@thkukuk.de>
2463 * release version 0.99.6.1
2465 2006-08-09 David Howells <dhowells@redhat.com>
2467 * modules/pam_keyinit/pam_keyinit.c (kill_keyrings): Set real uid
2468 to user's before revoking.
2469 (pam_sm_open_session): Remember the uid.
2471 2006-08-06 Thorsten Kukuk <kukuk@thkukuk.de>
2473 * modules/pam_umask/pam_umask.c (setup_limits_from_gecos):
2475 * modules/pam_umask/pam_umask.8.xml: Document silent option.
2477 * xtests/Makefile.am: Fix includes for bootstrapping.
2478 Reported by Greg Schafer <gschafer@zip.com.au>.
2480 2006-08-05 Thorsten Kukuk <kukuk@thkukuk.de>
2482 * release version 0.99.6.0
2484 * modules/pam_limits/pam_limits.c (pam_sm_open_session): Use
2485 pam_modutil_getpwnam instead of getpwnam.
2487 * modules/pam_succeed_if/pam_succeed_if.c (evaluate): Cast
2488 svc variable to char pointer for snprintf.
2490 * configure.in: Generate xtests/Makefile.
2491 * Makefile.am (SUBDIRS): Add xtests.
2492 * README: Document make check and make xtests.
2493 * xtests/Makefile.am: New.
2494 * xtests/tst-pam_dispatch1.pamd: New.
2495 * xtests/tst-pam_dispatch2.pamd: New.
2496 * xtests/tst-pam_dispatch3.pamd: New.
2497 * xtests/tst-pam_dispatch1.c: New.
2498 * xtests/tst-pam_dispatch2.c: New.
2499 * xtests/tst-pam_dispatch3.c: New.
2501 2006-08-04 Ray Strode <rstrode@redhat.com>
2503 * modules/pam_succeed_if/pam_succeed_if.c (pam_sm_authenticate):
2504 Return PAM_USER_UNKNOWN instead of PAM_SERVICE_ERR where appropriate.
2506 2006-08-03 David Howells <dhowells@redhat.com>
2508 * modules/pam_keyinit/pam_keyinit.c: Debug should be off by default.
2509 (init_keyrings): Properly handle multiple invocations of the module.
2510 (kill_keyrings, pam_sm_open_session, pam_sm_close_session): Likewise.
2512 2006-08-03 Tomas Mraz <t8m@centrum.cz>
2514 * modules/pam_succeed_if/pam_succeed_if.c (evaluate_inlist):
2515 New function for list matching.
2516 (evaluate_notinlist): Likewise.
2517 (evaluate): Add service value match, list matching.
2518 * modules/pam_succeed_if/pam_succeed_if.8.xml: Document the
2521 * modules/pam_selinux/pam_selinux.c (security_label_tty): Don't log
2522 relabelling error when the tty device doesn't exist (ENOENT).
2524 2006-08-01 Thorsten Kukuk <kukuk@thkukuk.de>
2526 * doc/man/pam_fail_delay.3.xml: Fix some Bugs and enhance
2527 rationale about when this function should be used and when not.
2529 * doc/index.html: Cleanup to look prettier.
2531 2006-08-01 Thorsten Kukuk <kukuk@thkukuk.de>
2533 * libpam/Makefile.am: Bump patchlevel of libpam.
2534 * libpam/pam_dispatch.c (_pam_dispatch_aux): If [return=die]
2535 or [return=bad] is used, don't return PAM_IGNORE. Based on
2536 patch by Tomas Mraz <t8m@centrum.cz>, [BRC#196859].
2538 2006-07-28 Thorsten Kukuk <kukuk@thkukuk.de>
2540 * ABOUT-NLS: Upgrade to gettext-0.15.
2541 * config.rpath: Likewise.
2542 * m4/gettext.m4: Upgrade to gettext-0.15.
2543 * m4/inttypes-h.m4: New file, from gettext-0.15.
2544 * m4/inttypes-pri.m4: Upgrade to gettext-0.15.
2545 * m4/lib-link.m4: Upgrade to gettext-0.15.
2546 * m4/lib-prefix.m4: Upgrade to gettext-0.15.
2547 * m4/lock.m4: New file, from gettext-0.15.
2548 * m4/longdouble.m4: Upgrade to gettext-0.15.
2549 * m4/nls.m4: Upgrade to gettext-0.15.
2550 * m4/po.m4: Upgrade to gettext-0.15.
2551 * m4/size_max.m4: Upgrade to gettext-0.15.
2552 * m4/visibility.m4: New file, from gettext-0.15.
2553 * po/Makefile.in.in: Upgrade to gettext-0.15.
2555 2006-07-24 David Quigley <dpquigl@tycho.nsa.gov>
2557 * modules/pam_namespace/Makefile.am: Add pam_namespace.h.
2558 * modules/pam_namespace/pam_namespace.c: Move includes and
2559 data structure definitions from here ...
2560 * modules/pam_namespace/pam_namespace.h: ... here. New file.
2562 * modules/pam_namespace/pam_namespace.c: Move large sections
2563 of code into new functions.
2565 2006-07-24 Thorsten Kukuk <kukuk@thkukuk.de>
2567 * doc/adg/Makefile.am: Add uninstall and distclean rules.
2568 * doc/mwg/Makefile.am: Likewise.
2569 * doc/sag/Makefile.am: Likewise.
2571 2006-07-08 Daniel Richard G. <skunk@iskunk.org>
2573 * conf/pam_conv1/Makefile.am: Fix rules for lex and yacc files.
2574 * conf/pam_conv1/pam_conv.lex: Rename to ...
2575 * conf/pam_conv1/pam_conv_l.l: ... this.
2576 * conf/pam_conv1/pam_conv.y: Rename to ...
2577 * conf/pam_conv1/pam_conv_y.y: ... this.
2578 * configure.in: Add AC_HELP_STRING()s to various AC_ARG_ENABLE()
2580 * doc/Makefile.am: Fix rule to install index.html.
2581 * doc/adg/Makefile.am: Fix test usage.
2582 * doc/mwg/Makefile.am: Likewise.
2583 * doc/sag/Makefile.am: Likewise.
2584 * doc/specs/Makefile.am: Fix rules for lex and yacc files.
2585 * specs/parse.lex: Rename to ...
2586 * doc/specs/parse_l.l: ... this.
2587 * doc/specs/parse.y: Rename to ...
2588 * doc/specs/parse_y.y: ... this.
2589 * libpam/pam_account.c: Fix #if vs. #ifdef.
2590 * libpam/pam_audit.c: Likewise.
2591 * libpam/pam_auth.c: Likewise.
2592 * libpam/pam_password.c: Likewise.
2593 * libpam/pam_private.h: Likewise.
2594 * libpam/pam_session.c: Likewise.
2595 * libpam/pam_start.c: Likewise.
2596 * libpam/pam_static.c: Fix "empty sourcefile" warning.
2597 * modules/pam_limits/pam_limits.c: Check for __linux, too.
2598 * modules/pam_userdb/Makefile.am: Don't run test if no
2600 * tests/tst-dlopen.c: Include config.h.
2602 2006-07-03 Dan Yefimov
2604 * configure.in: Fixed have_key_syscalls test.
2606 * modules/pam_access/pam_access.c (from_match): Fixed IPv4 network
2607 match, removed AI_ADDRCONFIG flag.
2609 2006-06-30 Tomas Mraz <t8m@centrum.cz>
2611 * modules/pam_namespace/Makefile.am(EXTRA_DIST): Add namespace.init.
2613 2006-06-29 Thorsten Kukuk <kukuk@thkukuk.de>
2615 * doc/Makefile.am (releasedocs): Fix directory layout.
2616 * doc/adg/Makefile.am: Likewise.
2617 * doc/mwg/Makefile.am: Likewise.
2618 * doc/sag/Makefile.am: Likewise.
2620 2006-06-28 Thorsten Kukuk <kukuk@thkukuk.de>
2622 * doc/sag: System Administrator Guide as XML source.
2623 * doc/sag/Makefile.am: New.
2624 * doc/sag/Linux-PAM_SAG.xml: New, main XML document.
2625 * doc/sag/pam_*.xml: New, wrapper to include module documentation.
2627 * doc/adg: Application Developers Guide as XML source.
2628 * doc/adg/Makefile.am: New.
2629 * doc/adg/Linux-PAM_ADG.xml: New, main XML document.
2630 * doc/adg/pam_*.xml: New, wrappers to include manual pages.
2632 * doc/mwg: Application Developers Guide as XML source.
2633 * doc/mwg/Makefile.am: New.
2634 * doc/mwg/Linux-PAM_MWG.xml: New, main XML document.
2635 * doc/mwg/pam_*.xml: New, wrappers to include manual pages.
2637 * doc/CREDITS: Removed.
2638 * doc/NOTES: Removed.
2639 * doc/pam_appl.sgml: Removed.
2640 * doc/pam_modules.sgml: Removed.
2641 * doc/pam_source.sgml: Removed.
2642 * doc/figs/pam_orient.txt: Removed.
2643 * doc/figs: Removed.
2645 * configure.in: Remove checks for sgml2* progrs, add sag, adg
2648 * doc/Makefile.am: Remove references to sgml, add sag, adg and mwg
2650 * doc/modules: Remove directory.
2651 * doc/html: Remove directory.
2652 * doc/ps: Remove directory.
2653 * doc/pdf: Remove directory.
2654 * doc/txts: Remove directory.
2655 * doc/index.html: Moved from html directory to here.
2657 2006-06-28 Thorsten Kukuk <kukuk@thkukuk.de>
2659 * release version 0.99.5.0
2661 * bump version number to 0.99.5.0
2663 * modules/pam_rhosts/pam_rhosts.c: New module, replaces
2665 * modules/pam_rhosts/pam_rhosts.8.xml: New.
2666 * modules/pam_rhosts/pam_rhosts.8: New, generated from XML source.
2667 * modules/pam_rhosts/tst-pam_rhosts: New.
2668 * modules/pam_rhosts/Makefile.am: Add pam_rhosts, generate
2669 manual page and README.
2670 * modules/pam_rhosts/README.xml: New.
2671 * modules/pam_rhosts/reADME: Regenerated from XML source.
2673 * doc/man/pam_sm_acct_mgmt.3.xml: Adjust syntax for module
2675 * doc/man/pam_sm_authenticate.3.xml: Likewise.
2676 * doc/man/pam_sm_chauthtok.3.xml: Likewise.
2677 * doc/man/pam_sm_close_session.3.xml: Likewise.
2678 * doc/man/pam_sm_open_session.3.xml: Likewise.
2679 * doc/man/pam_sm_setcred.3.xml: Likewise.
2681 * po/POTFILES.in: Add new source files.
2683 * libpam/pam_static_modules.h: Add new modules.
2685 * modules/pam_keyinit.c: Add _pam_keyinit_modstruct.
2687 * modules/pam_keyinit/Makefile.am (EXTRA_DIST): Add XML
2688 files and manual page.
2690 2006-06-27 Thorsten Kukuk <kukuk@thkukuk.de>
2692 * configure.in: Allow disabling of SELinux support, check for
2695 2006-06-27 Tomas Mraz <t8m@centrum.cz>
2697 * modules/pam_namespace/pam_namespace.c: New module
2698 originally written by Janak Desai.
2699 * modules/pam_namespace/Makefile.am: New.
2700 * modules/pam_namespace/README: New.
2701 * modules/pam_namespace/md5.c: New.
2702 * modules/pam_namespace/md5.h: New.
2703 * modules/pam_namespace/namespace.conf: New.
2704 * modules/pam_namespace/namespace.conf.5: New.
2705 * modules/pam_namespace/namespace.conf.5.xml: New.
2706 * modules/pam_namespace/namespace.init: New.
2707 * modules/pam_namespace/pam_namespace.8: New.
2708 * modules/pam_namespace/pam_namespace.8.xml: New.
2709 * modules/pam_namespace/tst-pam_namespace: New.
2710 * modules/Makefile.am: Added pam_namespace.
2711 * configure.in: Added pam_namespace, test for unshare
2714 2006-06-27 David Howells <dhowells@redhat.com>
2716 * modules/pam_keyinit/pam_keyinit.c: New module.
2717 * modules/pam_keyinit/pam_keyinit.8: New.
2718 * modules/pam_keyinit/pam_keyinit.8.xml: New.
2719 * modules/pam_keyinit/README: New.
2720 * modules/pam_keyinit/README.xml: New.
2721 * modules/pam_keyinit/Makefile.am: New.
2722 * modules/pam_keyinit/tst-pam_keyinit: New.
2723 * modules/Makefile.am: Added pam_keyinit.
2724 * configure.in: Added test for the key mgmt syscall.
2726 2006-06-27 Thorsten Kukuk <kukuk@thkukuk.de>
2728 * m4/libprelude.m4: Sync with upstream.
2730 2006-06-27 Tomas Mraz <t8m@centrum.cz>
2732 * modules/pam_unix/pam_unix_acct.c (_unix_run_verify_binary):
2733 signal() fails with SIG_ERR return
2734 * modules/pam_unix/pam_unix_passwd.c(_unix_run_shadow_binary):
2736 * modules/pam_unix/support.c(_unix_run_helper_binary):
2739 2006-06-25 Thorsten Kukuk <kukuk@thkukuk.de>
2741 * doc/man/misc_conv.3.xml: New.
2742 * doc/man/misc_conv.3: New.
2743 * doc/man/pam_misc_paste_env.3.xml: New.
2744 * doc/man/pam_misc_paste_env.3: New.
2745 * doc/man/pam_misc_drop_env.3.xml: New.
2746 * doc/man/pam_misc_drop_env.3: New.
2747 * doc/man/pam_misc_setenv.3.xml: New.
2748 * doc/man/pam_misc_setenv.3: New.
2749 * doc/man/Makefile.am: Add new manual pages.
2751 * doc/man/pam_acct_mgmt.3.xml: Fix syntax for inclusion
2752 in Applicatoin Developer Guide.
2753 * doc/man/pam_authenticate.3.xml: Likewise
2754 * doc/man/pam_chauthtok.3.xml: Likewise
2755 * doc/man/pam_close_session.3.xml: Likewise
2756 * doc/man/pam_conv.3.xml: Likewise
2757 * doc/man/pam_end.3.xml: Likewise
2758 * doc/man/pam_fail_delay.3.xml: Likewise
2759 * doc/man/pam_getenv.3.xml: Likewise
2760 * doc/man/pam_getenvlist.3.xml: Likewise
2761 * doc/man/pam_open_session.3.xml: Likewise
2762 * doc/man/pam_putenv.3.xml: Likewise
2763 * doc/man/pam_setcred.3.xml: Likewise
2764 * doc/man/pam_start.3.xml: Likewise
2765 * doc/man/pam_strerror.3.xml: Likewise
2767 * doc/man/pam_acct_mgmt.3: Regenerate from XML source.
2768 * doc/man/pam_authenticate.3: Likewise
2769 * doc/man/pam_chauthtok.3: Likewise
2770 * doc/man/pam_close_session.3: Likewise
2771 * doc/man/pam_conv.3: Likewise
2772 * doc/man/pam_end.3: Likewise
2773 * doc/man/pam_fail_delay.3: Likewise
2774 * doc/man/pam_getenv.3: Likewise
2775 * doc/man/pam_getenvlist.3: Likewise
2776 * doc/man/pam_open_session.3: Likewise
2777 * doc/man/pam_putenv.3: Likewise
2778 * doc/man/pam_setcred.3: Likewise
2779 * doc/man/pam_sm_close_session.3: Likewise
2780 * doc/man/pam_start.3: Likewise
2781 * doc/man/pam_strerror.3: Likewise
2782 * doc/man/pam_syslog.3: Likewise
2783 * doc/man/PAM.8: Likewise
2785 2006-06-24 Thorsten Kukuk <kukuk@thkukuk.de>
2787 * modules/pam_limits/pam_limits.c (setup_limits): Don't
2788 reset priority for root.
2790 2006-06-23 Thorsten Kukuk <kukuk@thkukuk.de>
2792 * modules/pam_access/access.conf.5.xml: Fix syntax for SAG.
2793 * modules/pam_access/pam_access.8.xml: Likewise.
2794 * modules/pam_deny/pam_deny.8.xml: Likewise.
2795 * modules/pam_echo/pam_echo.8.xml: Likewise.
2796 * modules/pam_env/pam_env.8.xml: Likewise.
2797 * modules/pam_env/pam_env.conf.5.xml: Likewise.
2798 * modules/pam_group/group.conf.5.xml: Likewise.
2799 * modules/pam_group/pam_group.8.xml: Likewise.
2800 * modules/pam_limits/limits.conf.5.xml: Likewise.
2801 * modules/pam_listfile/pam_listfile.8.xml: Likewise.
2802 * modules/pam_succeed_if/pam_succeed_if.8.xml: Likewise.
2803 * modules/pam_time/pam_time.8.xml: Likewise.
2804 * modules/pam_time/time.conf.5.xml: Likewise.
2806 * modules/pam_access/access.conf.5: Regenerate.
2807 * modules/pam_access/pam_access.8: Likewise.
2808 * modules/pam_deny/pam_deny.8: Likewise.
2809 * modules/pam_echo/README: Likewise.
2810 * modules/pam_echo/pam_echo.8: Likewise.
2811 * modules/pam_env/pam_env.8: Likewise.
2812 * modules/pam_env/pam_env.conf.5: Likewise.
2813 * modules/pam_group/README: Likewise.
2814 * modules/pam_group/group.conf.5: Likewise.
2815 * modules/pam_group/pam_group.8: Likewise.
2816 * modules/pam_limits/limits.conf.5: Likewise.
2817 * modules/pam_listfile/README: Likewise.
2818 * modules/pam_listfile/pam_listfile.8: Likewise.
2819 * modules/pam_succeed_if/pam_succeed_if.8: Likewise.
2820 * modules/pam_time/pam_time.8: Likewise.
2821 * modules/pam_time/time.conf.5: Likewise.
2823 * doc/man/Makefile.am: Add pam.conf-desc.xml, pam.conf-dir.xml
2824 and pam.conf-syntax.xml.
2825 * doc/man/pam.conf.5.xml: Split into different pieces for SAG.
2826 * doc/man/pam.conf.5: Regenerated.
2827 * doc/man/pam.conf-desc.xml: New.
2828 * doc/man/pam.conf-dir.xml: New.
2829 * doc/man/pam.conf-syntax.xml: New.
2831 2006-06-21 Thorsten Kukuk <kukuk@thkukuk.de>
2833 * modules/pam_selinux/Makefile.am: Fix "make dist" if libselinux
2836 * modules/pam_issue/pam_issue.8.xml: Fix listing of escapes.
2837 * modules/pam_issue/pam_issue.8: Regenerate.
2839 2006-06-20 Thorsten Kukuk <kukuk@thkukuk.de>
2841 * configure.in: Remove unused check for libcap.
2843 * m4/ld-as-needed.m4: New.
2845 * configure.in: Call PAM_LD_AS_NEEDED and PAM_LD_O1,
2846 require docbook version 4.4.
2848 2006-06-19 Thorsten Kukuk <kukuk@thkukuk.de>
2850 * doc/man/pam.8.xml: Syntax cleanup.
2851 * doc/pam/PAM.8: Regenerated from xml source.
2852 * man/pam_sm_chauthtok.3: New.
2853 * man/pam_sm_chauthtok.3.xml: New.
2854 * man/pam_sm_close_session.3: New.
2855 * man/pam_sm_close_session.3.xml: New.
2856 * man/pam_sm_open_session.3: New.
2857 * man/pam_sm_open_session.3.xml: New.
2858 * man/pam_sm_authenticate.3: New.
2859 * man/pam_sm_authenticate.3.xml: New.
2860 * man/pam_sm_setcred.3: New.
2861 * man/pam_sm_setcred.3.xml: New.
2862 * man/Makefile.am: Add new pam_sm_* manual pages.
2864 * specs/Makefile.am: Fix rule to generate draft.
2866 2006-06-18 Thorsten Kukuk <kukuk@thkukuk.de>
2868 * modules/pam_tally/Makefile.am: Include Make.xml.rules.
2869 * modules/pam_tally/pam_tally.8.xml: New.
2870 * modules/pam_tally/pam_tally.8: New, generated from xml file.
2871 * modules/pam_tally/README.xml: New.
2872 * modules/pam_tally/README: Regenerated from xml file.
2874 * modules/pam_selinux/Makefile.am: Include Make.xml.rules.
2875 * modules/pam_selinux/pam_selinux.8.xml: New.
2876 * modules/pam_selinux/pam_selinux.8: Regenerated from xml file.
2877 * modules/pam_selinux/README.xml: New.
2878 * modules/pam_selinux/README: Regenerated from xml file.
2880 2006-06-17 Thorsten Kukuk <kukuk@thkukuk.de>
2882 * modules/pam_debug/Makefile.am: Include Make.xml.rules.
2883 * modules/pam_debug/pam_debug.8.xml: New.
2884 * modules/pam_debug/pam_debug.8: New, generated from xml file.
2885 * modules/pam_debug/README.xml: New.
2886 * modules/pam_debug/README: Regenerated from xml file.
2888 * examples/vpass.c: UID is unsigned on Linux.
2889 * modules/pam_exec/pam_exec.c: Likewise.
2890 * modules/pam_unix/pam_unix_acct.c: Likewise.
2891 * modules/pam_unix/pam_unix_sess.c: Likewise.
2893 * modules/pam_succeed_if/pam_succeed_if.8.xml: Fix syntax error.
2894 * modules/pam_succeed_if/pam_succeed_if.8: Regenerated.
2895 * modules/pam_succeed_if/README: Regenerated.
2897 * modules/pam_limits/Makefile.am: Include Make.xml.rules.
2898 * modules/pam_limits/limits.conf.5: New, generated from xml file.
2899 * modules/pam_limits/limits.conf.5.xml: New.
2900 * modules/pam_limits/pam_limits.8: New, generated from xml file.
2901 * modules/pam_limits/pam_limits.8.xml: New.
2902 * modules/pam_limits/README.xml: New.
2903 * modules/pam_limits/README: Regenerated from README.xml.
2905 2006-06-16 Thorsten Kukuk <kukuk@thkukuk.de>
2907 * modules/pam_unix/pam_unix_passwd.c (save_old_password): UIDs
2908 are unsigned on Linux, don't truncate them.
2909 (_do_setpass): err is of type clnt_stat, not int.
2911 * modules/pam_lastlog/pam_lastlog.c (last_login_read): Don't
2912 truncate UID for syslog output.
2914 * modules/pam_time/pam_time.c: Replace type boolean with int.
2915 * modules/pam_group/pam_group.c: Likewise.
2917 2006-06-15 Thorsten Kukuk <kukuk@thkukuk.de>
2919 * modules/pam_unix/bigcrypt.h: New.
2920 * modules/pam_unix/Makefile.am: Add bigcrypt.h.
2921 * modules/pam_unix/bigcrypt.c: Include bigcrypt.h.
2922 * modules/pam_unix/support.c: Include bigcrypt.h, remove
2924 * modules/pam_unix/bigcrypt_main.c: Include bigcrypt.h, remove
2926 * modules/pam_unix/pam_unix_passwd.c: Include bigcrypt.h, remove
2929 * modules/pam_time/pam_time.c (logic_member): Remove unused
2932 * modules/pam_group/pam_group.c (logic_field): Accept
2933 colon in tty name. [#1428276].
2934 (logic_member): Remove unused variable len.
2935 (check_account): Fix usage of err variable in debug code.
2937 * modules/pam_time/pam_time.c (logic_field): Likewise.
2939 * configure.in: Add special exceptions for icc: different
2940 compiler warnings, no PIE support.
2942 2006-06-14 Thorsten Kukuk <kukuk@thkukuk.de>
2944 * libpam/pam_misc.c (_pam_strdup): Use strlen and strcpy.
2946 * configure.in: Remove --enable-memory-debug, add option
2947 to disable prelude if installed.
2949 * modules/pam_tally/pam_tally.c: Remove MEMORY_DEBUG
2950 * modules/pam_filter/upperLOWER/upperLOWER.c: Likewise.
2951 * modules/pam_unix/unix_chkpwd.c: Likewise.
2952 * libpam/include/security/_pam_types.h: Likewise.
2953 * libpam/libpam.map: Remove LIBPAM_MALLOC_DEBUG export.
2954 * libpam/pam_malloc.c: Remove file.
2955 * libpam/Makefile.am: Remove pam_malloc.c and pam_malloc.h.
2957 * libpam/pam_handlers.c (extract_modulename): Use _pam_strdup
2960 * libpam/pam_private.h: Remove _pam_strCMP.
2961 * libpam/pam_misc.c: Likewise.
2962 * libpam/pam_handlers.c: Replaced _pam_strCMP with strcasecmp.
2964 2006-06-12 Thorsten Kukuk <kukuk@thkukuk.de>
2966 * modules/pam_tally/Makefile.am (AM_LDFLAGS): Remove flags
2967 for modules from main application.
2969 2006-06-09 Thorsten Kukuk <kukuk@thkukuk.de>
2971 * modules/pam_time/Makefile.am: Include Make.xml.rules.
2972 * modules/pam_time/time.conf.5: New, generated from xml file.
2973 * modules/pam_time/time.conf.5.xml: New.
2974 * modules/pam_time/pam_time.8: New, generated from xml file.
2975 * modules/pam_time/pam_time.8.xml: New.
2976 * modules/pam_time/README.xml: New.
2977 * modules/pam_time/README: Regenerated from README.xml.
2979 * modules/pam_wheel/Makefile.am: Include Make.xml.rules.
2980 * modules/pam_wheel/pam_wheel.8.xml: New.
2981 * modules/pam_wheel/pam_wheel.8: New, generated from xml file.
2982 * modules/pam_wheel/README.xml: New.
2983 * modules/pam_wheel/README: Regenerated from xml file.
2985 * modules/pam_xauth/Makefile.am: Include Make.xml.rules.
2986 * modules/pam_xauth/pam_xauth.8.xml: New.
2987 * modules/pam_xauth/pam_xauth.8: Regenerated from xml file.
2988 * modules/pam_xauth/README.xml: New.
2989 * modules/pam_xauth/README: Regenerated from xml file.
2991 * modules/pam_deny/pam_deny.8.xml: Fix syntax errors.
2992 * modules/pam_deny/pam_deny.8: Regenerate from xml file.
2993 * modules/pam_deny/README: Likewise.
2995 * modules/pam_warn/Makefile.am: Include Make.xml.rules.
2996 * modules/pam_warn/pam_warn.8.xml: New.
2997 * modules/pam_warn/pam_warn.8: New, generated from xml file.
2998 * modules/pam_warn/README.xml: New.
2999 * modules/pam_warn/README: Regenerated from xml file.
3001 * modules/pam_userdb/Makefile.am: Include Make.xml.rules.
3002 * modules/pam_userdb/pam_userdb.8.xml: New.
3003 * modules/pam_userdb/pam_userdb.8: New, generated from xml file.
3004 * modules/pam_userdb/README.xml: New.
3005 * modules/pam_userdb/README: Regenerated from xml file.
3007 2006-06-06 Thorsten Kukuk <kukuk@thkukuk.de>
3009 * modules/pam_shells/Makefile.am: Include Make.xml.rules.
3010 * modules/pam_shells/pam_shells.8.xml: New.
3011 * modules/pam_shells/pam_shells.8: New, generated from xml file.
3012 * modules/pam_shells/README.xml: New.
3013 * modules/pam_shells/README: Regenerated from xml file.
3015 * libpam/include/security/pam_malloc.h: Add missing license
3018 * libpam/include/security/pam_ext.h: Add brackets for C++.
3019 * libpam/include/security/pam_modutil.h: Likewise.
3021 * libpam/include/security/pam_modules.h: Document where to
3022 find the copyright/license informations.
3024 * libpam/include/security/pam_appl.h: Move _pam_compat.h
3025 include inside of brackets.
3027 2006-06-04 Thorsten Kukuk <kukuk@thkukuk.de>
3029 * modules/pam_securetty/Makefile.am: Include Make.xml.rules.
3030 * modules/pam_securetty/pam_securetty.8.xml: New.
3031 * modules/pam_securetty/pam_securetty.8: Regenerated from xml file.
3032 * modules/pam_securetty/README.xml: New.
3033 * modules/pam_securetty/README: Regenerated from xml file.
3035 * modules/pam_rootok/Makefile.am: Include Make.xml.rules.
3036 * modules/pam_rootok/pam_rootok.8.xml: New.
3037 * modules/pam_rootok/pam_rootok.8: New, generated from xml file.
3038 * modules/pam_rootok/README.xml: New.
3039 * modules/pam_rootok/README: Regenerated from xml file.
3041 * modules/pam_permit/Makefile.am: Include Make.xml.rules.
3042 * modules/pam_permit/pam_permit.8.xml: New.
3043 * modules/pam_permit/pam_permit.8: New, generated from xml file.
3044 * modules/pam_permit/README.xml: New.
3045 * modules/pam_permit/README: Regenerated from xml file.
3047 * modules/pam_nologin/Makefile.am: Include Make.xml.rules.
3048 * modules/pam_nologin/pam_nologin.8.xml: New.
3049 * modules/pam_nologin/pam_nologin.8: Regenerated from xml file.
3050 * modules/pam_nologin/README.xml: New.
3051 * modules/pam_nologin/README: Regenerated from xml file.
3053 2006-06-03 Thorsten Kukuk <kukuk@thkukuk.de>
3055 * modules/pam_motd/Makefile.am: Include Make.xml.rules.
3056 * modules/pam_motd/pam_motd.8.xml: New.
3057 * modules/pam_motd/pam_motd.8: New, generated from xml file.
3058 * modules/pam_motd/README.xml: New.
3059 * modules/pam_motd/README: New, generated from xml file.
3061 2006-06-02 Thorsten Kukuk <kukuk@thkukuk.de>
3063 * modules/pam_mail/Makefile.am: Include Make.xml.rules.
3064 * modules/pam_mail/pam_mail.8.xml: New.
3065 * modules/pam_mail/pam_mail.8: New, generated from xml file.
3066 * modules/pam_mail/README.xml: New.
3067 * modules/pam_mail/README: Regenerated from xml file.
3069 * modules/pam_localuser/Makefile.am: Include Make.xml.rules.
3070 * modules/pam_localuser/pam_localuser.8.xml: New.
3071 * modules/pam_localuser/pam_localuser.8: New, generated from xml file.
3072 * modules/pam_localuser/README.xml: New.
3073 * modules/pam_localuser/README: Regenerated from xml file.
3075 * doc/man/PAM.8: Regenerate with DocBook XSL Stylesheets v1.70.1.
3076 * doc/man/pam.3: Likewise.
3077 * doc/man/pam.conf.5: Likewise.
3078 * doc/man/pam_acct_mgmt.3: Likewise.
3079 * doc/man/pam_authenticate.3: Likewise.
3080 * doc/man/pam_chauthtok.3: Likewise.
3081 * doc/man/pam_close_session.3: Likewise.
3082 * doc/man/pam_conv.3: Likewise.
3083 * doc/man/pam_end.3: Likewise.
3084 * doc/man/pam_error.3: Likewise.
3085 * doc/man/pam_fail_delay.3: Likewise.
3086 * doc/man/pam_get_data.3: Likewise.
3087 * doc/man/pam_get_item.3: Likewise.
3088 * doc/man/pam_get_user.3: Likewise.
3089 * doc/man/pam_getenv.3: Likewise.
3090 * doc/man/pam_getenvlist.3: Likewise.
3091 * doc/man/pam_info.3: Likewise.
3092 * doc/man/pam_open_session.3: Likewise.
3093 * doc/man/pam_prompt.3: Likewise.
3094 * doc/man/pam_putenv.3: Likewise.
3095 * doc/man/pam_set_data.3: Likewise.
3096 * doc/man/pam_set_item.3: Likewise.
3097 * doc/man/pam_setcred.3: Likewise.
3098 * doc/man/pam_sm_acct_mgmt.3: Likewise.
3099 * doc/man/pam_start.3: Likewise.
3100 * doc/man/pam_strerror.3: Likewise.
3101 * doc/man/pam_syslog.3: Likewise.
3102 * modules/pam_access/access.conf.5: Likewise.
3103 * modules/pam_access/pam_access.8: Likewise.
3104 * modules/pam_cracklib/pam_cracklib.8: Likewise.
3105 * modules/pam_deny/pam_deny.8: Likewise.
3106 * modules/pam_echo/pam_echo.8: Likewise.
3107 * modules/pam_env/pam_env.8: Likewise.
3108 * modules/pam_env/pam_env.conf.5: Likewise.
3109 * modules/pam_exec/pam_exec.8: Likewise.
3110 * modules/pam_filter/pam_filter.8: Likewise.
3111 * modules/pam_ftp/pam_ftp.8: Likewise.
3112 * modules/pam_group/group.conf.5: Likewise.
3113 * modules/pam_group/pam_group.8: Likewise.
3114 * modules/pam_issue/pam_issue.8: Likewise.
3115 * modules/pam_lastlog/pam_lastlog.8: Likewise.
3116 * modules/pam_mkhomedir/pam_mkhomedir.8: Likewise.
3117 * modules/pam_succeed_if/pam_succeed_if.8: Likewise.
3118 * modules/pam_umask/pam_umask.8: Likewise.
3120 * modules/pam_unix/pam_unix_acct.c (pam_sm_acct_mgmt): Use
3121 dngettext if available [#1427738].
3122 * configure.in: Check for dngettext [#1427738].
3123 * po/*.po: Update to dngettext usage.
3125 * modules/pam_listfile/Makefile.am: Include Make.xml.rules.
3126 * modules/pam_listfile/pam_listfile.8.xml: New.
3127 * modules/pam_listfile/pam_listfile.8: New, generated from xml file.
3128 * modules/pam_listfile/README.xml: New.
3129 * modules/pam_listfile/README: Regenerated from xml file.
3131 2006-06-01 Thorsten Kukuk <kukuk@thkukuk.de>
3133 * modules/pam_lastlog/Makefile.am: Include Make.xml.rules.
3134 * modules/pam_lastlog/pam_lastlog.8.xml: New.
3135 * modules/pam_lastlog/pam_lastlog.8: New, generated from xml file.
3136 * modules/pam_lastlog/README.xml: New.
3137 * modules/pam_lastlog/README: Regenerated from xml file.
3139 * modules/pam_group/Makefile.am: Include Make.xml.rules.
3140 * modules/pam_group/group.conf.5.xml: New.
3141 * modules/pam_group/group.conf.5: New, generated from xml file.
3142 * modules/pam_group/pam_group.8.xml: New.
3143 * modules/pam_group/pam_group.8: New, generated from xml file.
3144 * modules/pam_group/README.xml: New.
3145 * modules/pam_group/README: Regenerated from xml file.
3147 * modules/pam_ftp/Makefile.am: Include Make.xml.rules.
3148 * modules/pam_ftp/pam_ftp.8.xml: New.
3149 * modules/pam_ftp/pam_ftp.8: New, generated from xml file.
3150 * modules/pam_ftp/README.xml: New.
3151 * modules/pam_ftp/README: Regenerated from xml file.
3153 * modules/pam_issue/Makefile.am: Include Make.xml.rules.
3154 * modules/pam_issue/pam_issue.8.xml: New.
3155 * modules/pam_issue/pam_issue.8: New, generated from xml file.
3156 * modules/pam_issue/README.xml: New.
3157 * modules/pam_issue/README: Regenerated from xml file.
3159 * modules/pam_filter/Makefile.am: Include Make.xml.rules.
3160 * modules/pam_filter/pam_filter.8.xml: New.
3161 * modules/pam_filter/pam_filter.8: New, generated from xml file.
3162 * modules/pam_filter/README.xml: New.
3163 * modules/pam_filter/README: Regenerated from xml file.
3165 2006-05-30 Thorsten Kukuk <kukuk@thkukuk.de>
3167 * modules/pam_mkhomedir/pam_mkhomedir.8.xml: Fix umask and skel
3168 directory documentation.
3170 * modules/pam_umask/Makefile.am: Include Make.xml.rules.
3171 * modules/pam_umask/pam_umask.8.xml: New.
3172 * modules/pam_umask/pam_umask.8: New, generated from xml file.
3173 * modules/pam_umask/README.xml: New.
3174 * modules/pam_umask/README: Regenerated from xml file.
3176 2006-05-29 Thorsten Kukuk <kukuk@thkukuk.de>
3178 * modules/pam_mkhomedir/Makefile.am: Include Make.xml.rules.
3179 * modules/pam_mkhomedir/pam_mkhomedir.8.xml: New.
3180 * modules/pam_mkhomedir/pam_mkhomedir.8: New, generated from xml file.
3181 * modules/pam_mkhomedir/README.xml: New.
3182 * modules/pam_mkhomedir/README: Regenerated from xml file.
3184 2006-05-23 Thorsten Kukuk <kukuk@thkukuk.de>
3186 * modules/pam_echo/pam_echo.c (pam_echo): Use pam_modutil_read()
3189 2006-05-22 Thorsten Kukuk <kukuk@thkukuk.de>
3191 * modules/pam_listfile/pam_listfile.c (pam_sm_authenticate):
3192 Fix memory leaks, [#1490956] found by Coverity.
3194 * modules/pam_tally/pam_tally.c (pam_get_uid): Check return
3195 value of pam_get_user().
3196 (tally_get_data): Check if oldtime is not NULL.
3197 [#1489818] found by Coverity.
3199 * modules/pam_mkhomedir/pam_mkhomedir.c (create_homedir): Don't
3200 ignore return value of stat(). [#1489808] found by Coverity.
3202 * modules/pam_mail/pam_mail.c (get_folder): Fix a potential
3203 NULL pointer dereference. [#1489792] found by Coverity.
3205 * libpam/Makefile.am: bump release number of libpam.so.
3206 * libpam/pam_misc.c (_pam_mkargv): Fix memory leak,
3207 [#1489804] found by Coverity.
3209 * modules/pam_echo/pam_echo.c (replace_and_print): Initialize
3210 str, [#1489658] found by Coverity.
3212 * modules/pam_cracklib/pam_cracklib.c (_pam_unix_approve_pass): Fix
3213 a potential NULL pointer dereference.
3214 (pam_sm_chauthtok): Remove dead code.
3215 [#1489634] found by Coverity.
3217 2006-05-04 Thorsten Kukuk <kukuk@thkukuk.de>
3219 * configure.in: Check for fseeko.
3220 * modules/pam_tally/pam_tally.c: Use fseeko if available
3221 (Based on patch by IBM).
3223 2006-05-04 Thorsten Kukuk <kukuk@thkukuk.de>
3225 * release version 0.99.4.0
3227 * libpam/pam_strerror.c: Unify error messages.
3229 * po/zh_TW.po: Adjust for last pam_strerror changes.
3230 * po/zh_CN.po: Likewise.
3231 * po/uk.po: Likewise.
3232 * po/tr.po: Likewise.
3233 * po/pt.po: Likewise.
3234 * po/pt_BR.po: Likewise.
3235 * po/pl.po: Likewise.
3236 * po/ja.po: Likewise.
3237 * po/nl.po: Likewise.
3238 * po/nb.po: Likewise.
3239 * po/it.po: Likewise.
3240 * po/hu.po: Likewise.
3241 * po/fr.po: Likewise.
3242 * po/fi.po: Likewise.
3243 * po/es.po: Likewise.
3244 * po/de.po: Likewise.
3245 * po/cs.po: Likewise.
3247 * doc/man/pam.3.xml: New.
3248 * doc/man/pam.3. New, generated from XML file.
3250 * doc/man/pam_sm_acct_mgmt.3.xml: New.
3251 * doc/man/pam_sm_acct_mgmt.3: New, generated from XML file.
3253 * doc/man/*.xml: Fix encoding and use always UTF-8, regenerate
3256 * doc/pam_modules.sgml (PAM_NEW_AUTHTOKEN_REQD): Fix typo.
3258 2006-05-02 Thorsten Kukuk <kukuk@thkukuk.de>
3260 * modules/pam_unix/pam_unix_acct.c (pam_sm_acct_mgmt): Use
3261 different strings for plural or not [#1427738]
3263 * po/*.po: Adjust for pam_unix.so translation fix.
3265 * modules/pam_tally/pam_tally.c: Always close file handle
3266 in error case, don't close it depending on *TALLY value [#1478180]
3268 2006-04-21 Thorsten Kukuk <kukuk@thkukuk.de>
3270 * po/fr.po: Updated.
3272 2006-04-11 Thorsten Kukuk <kukuk@thkukuk.de>
3274 * po/km.po: Updated.
3276 2006-03-27 Thorsten Kukuk <kukuk@thkukuk.de>
3278 * po/LINGUAS: Add uk.
3281 * po/cs.po: Updated.
3282 * po/po/es.po: Updated.
3283 * po/fi.po: Updated.
3284 * po/fr.po: Updated.
3285 * po/hu.po: Updated.
3286 * po/it.po: Updated.
3287 * po/ja.po: Updated.
3288 * po/nb.po: Updated.
3289 * po/pl.po: Updated.
3290 * po/pt.po: Updated.
3291 * po/pt_BR.po: Updated.
3292 * po/zh_CN.po: Updated.
3293 * po/zh_TW.po: Updated.
3295 2006-03-21 Thorsten Kukuk <kukuk@thkukuk.de>
3297 * configure.in: Remove ALL_LINGUAS.
3299 * po/tr.po: New (from Ismail Donmez <ismail@pardus.org.tr>).
3301 2006-03-13 Thorsten Kukuk <kukuk@thkukuk.de>
3303 * doc/man/pam_error.3.xml: New.
3304 * doc/man/pam_error.3: New, generated from XML file.
3305 * doc/man/pam_verror.3: New, generated from XML file.
3306 * doc/man/Makefile.am: Add pam_error.3 and pam_verror.3.
3308 * modules/pam_lastlog/Makefile.am: Fix typo.
3310 * modules/pam_lastlog/pam_lastlog.c: Move comment for
3311 translators in right line.
3312 * po/*.po: Update po files with comment for translator.
3314 2006-03-12 Thorsten Kukuk <kukuk@thkukuk.de>
3316 * doc/man/Makefile.am: Add new manual pages.
3318 * doc/man/pam.conf.5.xml: Replace link with content
3320 * doc/man/pam.conf.5: Regenerated from XML file.
3322 * doc/man/pam_info.3.xml: New.
3323 * doc/man/pam_info.3: New, generated from XML file.
3324 * doc/man/pam_vinfo.3: New, generated from XML file.
3326 * doc/man/pam_conv.3.xml: New.
3327 * doc/man/pam_conv.3: New, generated from XML file.
3329 * doc/man/pam_putenv.3.xml: New.
3330 * doc/man/pam_putenv.3: New, generated from XML file.
3332 * doc/man/pam_getenv.3.xml: New.
3333 * doc/man/pam_getenv.3: New, generated from XML file.
3335 * doc/man/pam_getenvlist.3.xml: New.
3336 * doc/man/pam_getenvlist.3: New, generated from XML file.
3338 * libpam/pam_item.c (pam_get_user): Check for valid pamh before
3341 * configure.in: create tests/Makefile
3342 * Makefile.am (SUBDIRS): Add tests
3343 * tests/Makefile.am: New.
3344 * tests/tst-dlopen.c: New.
3345 * tests/tst-pam_acct_mgmt.c: New.
3346 * tests/tst-pam_authenticate.c: New.
3347 * tests/tst-pam_chauthtok.c: New.
3348 * tests/tst-pam_close_session.c: New.
3349 * tests/tst-pam_end.c: New.
3350 * tests/tst-pam_fail_delay.c: New.
3351 * tests/tst-pam_getenvlist.c: New.
3352 * tests/tst-pam_get_item.c: New.
3353 * tests/tst-pam_open_session.c: New.
3354 * tests/tst-pam_setcred.c: New.
3355 * tests/tst-pam_set_item.c: New.
3356 * tests/tst-pam_start.c: New.
3357 * tests/tst-pam_get_user.c: New.
3359 * modules/pam_access/Makefile.am: Add rules for make check
3360 * modules/pam_access/tst-pam_access: New
3361 * modules/pam_cracklib/Makefile.am: Add rules for make check
3362 * modules/pam_cracklib/tst-pam_cracklib: New
3363 * modules/pam_debug/Makefile.am: Add rules for make check
3364 * modules/pam_debug/tst-pam_debug: New
3365 * modules/pam_deny/Makefile.am: Add rules for make check
3366 * modules/pam_deny/tst-pam_deny: New
3367 * modules/pam_echo/Makefile.am: Add rules for make check
3368 * modules/pam_echo/tst-pam_echo: New
3369 * modules/pam_env/Makefile.am: Add rules for make check
3370 * modules/pam_env/tst-pam_env: New
3371 * modules/pam_exec/Makefile.am: Add rules for make check
3372 * modules/pam_exec/tst-pam_exec: New
3373 * modules/pam_filter/Makefile.am: Add rules for make check
3374 * modules/pam_filter/tst-pam_filter: New
3375 * modules/pam_ftp/Makefile.am: Add rules for make check
3376 * modules/pam_ftp/tst-pam_ftp: New
3377 * modules/pam_group/Makefile.am: Add rules for make check
3378 * modules/pam_group/tst-pam_group: New
3379 * modules/pam_issue/Makefile.am: Add rules for make check
3380 * modules/pam_issue/tst-pam_issue: New
3381 * modules/pam_lastlog/Makefile.am: Add rules for make check
3382 * modules/pam_lastlog/tst-pam_lastlog: New
3383 * modules/pam_limits/Makefile.am: Add rules for make check
3384 * modules/pam_limits/tst-pam_limits: New
3385 * modules/pam_listfile/Makefile.am: Add rules for make check
3386 * modules/pam_listfile/tst-pam_listfile: New
3387 * modules/pam_localuser/Makefile.am: Add rules for make check
3388 * modules/pam_localuser/tst-pam_localuser: New
3389 * modules/pam_mail/Makefile.am: Add rules for make check
3390 * modules/pam_mail/tst-pam_mail: New
3391 * modules/pam_mkhomedir/Makefile.am: Add rules for make check
3392 * modules/pam_mkhomedir/tst-pam_mkhomedir: New
3393 * modules/pam_motd/Makefile.am: Add rules for make check
3394 * modules/pam_motd/tst-pam_motd: New
3395 * modules/pam_nologin/Makefile.am: Add rules for make check
3396 * modules/pam_nologin/tst-pam_nologin: New
3397 * modules/pam_permit/Makefile.am: Add rules for make check
3398 * modules/pam_permit/tst-pam_permit: New
3399 * modules/pam_rhosts/Makefile.am: Add rules for make check
3400 * modules/pam_rhosts/tst-pam_rhosts: New
3401 * modules/pam_rootok/Makefile.am: Add rules for make check
3402 * modules/pam_rootok/tst-pam_rootok: New
3403 * modules/pam_securetty/Makefile.am: Add rules for make check
3404 * modules/pam_securetty/tst-pam_securetty: New
3405 * modules/pam_selinux/Makefile.am: Add rules for make check
3406 * modules/pam_selinux/tst-pam_selinux: New
3407 * modules/pam_shells/Makefile.am: Add rules for make check
3408 * modules/pam_shells/tst-pam_shells: New
3409 * modules/pam_stress/Makefile.am: Add rules for make check
3410 * modules/pam_stress/tst-pam_stress: New
3411 * modules/pam_succeed_if/Makefile.am: Add rules for make check
3412 * modules/pam_succeed_if/tst-pam_succeed_if: New
3413 * modules/pam_tally/Makefile.am: Add rules for make check
3414 * modules/pam_tally/tst-pam_tally: New
3415 * modules/pam_time/Makefile.am: Add rules for make check
3416 * modules/pam_time/tst-pam_time: New
3417 * modules/pam_umask/Makefile.am: Add rules for make check
3418 * modules/pam_umask/tst-pam_umask: New
3419 * modules/pam_unix/Makefile.am: Add rules for make check
3420 * modules/pam_unix/tst-pam_unix: New
3421 * modules/pam_userdb/Makefile.am: Add rules for make check
3422 * modules/pam_userdb/tst-pam_userdb: New
3423 * modules/pam_warn/Makefile.am: Add rules for make check
3424 * modules/pam_warn/tst-pam_warn: New
3425 * modules/pam_wheel/Makefile.am: Add rules for make check
3426 * modules/pam_wheel/tst-pam_wheel: New
3427 * modules/pam_xauth/Makefile.am: Add rules for make check
3428 * modules/pam_xauth/tst-pam_xauth: New
3430 2006-03-11 Thorsten Kukuk <kukuk@thkukuk.de>
3432 * doc/man/pam_fail_delay.3.xml: New.
3433 * doc/man/pam_fail_delay.3: New, generated from xml.
3434 * doc/man/pam_prompt.3.xml: New.
3435 * doc/man/pam_prompt.3: New, generated from xml.
3436 * doc/man/pam_syslog.3.xml: New.
3437 * doc/man/pam_syslog.3: New, generated from xml.
3438 * doc/man/pam_vprompt.3: New, generated from xml.
3439 * doc/man/pam_vsyslog.3: New, generated from xml.
3441 2006-02-24 Thorsten Kukuk <kukuk@thkukuk.de>
3443 * po/km.po: Update Khmer translation.
3445 2006-02-24 Thorsten Kukuk <kukuk@thkukuk.de>
3447 * modules/pam_succeed_if/pam_succeed_if.8.xml: New, based on
3448 version from #1425487.
3449 * modules/pam_succeed_if/pam_succeed_if.8: Regenerated from xml.
3450 * modules/pam_succeed_if/Makefile.am: Include XML rules.
3451 * modules/pam_succeed_if/README.xml: New.
3452 * modules/pam_succeed_if/README: Regenerated from xml.
3453 * modules/pam_succeed_if/pam_succeed_if.c: Fix comment about
3456 2006-02-22 Thorsten Kukuk <kukuk@thkukuk.de>
3458 * configure.in: Fix check for incomplete libaudit installations
3459 (Patch from Ruediger Oertel <ro@suse.de>).
3461 * modules/pam_lastlog/pam_lastlog.c (last_login_write): Initialize
3462 correct last_login field [#1427401].
3464 * modules/pam_lastlog/pam_lastlog.c (last_login_read): Mark strftime
3465 format string for translation to allow reorder [#1428269].
3466 * po/*.po: Update with last pam_lastlog change.
3469 2006-02-17 Thorsten Kukuk <kukuk@thkukuk.de>
3471 * doc/man/Makefile.am: Add new manual pages.
3472 * doc/man/pam_end.3: Regenerated from xml file.
3473 * doc/man/pam_end.3.xml: Document freeing of item data.
3474 * doc/man/pam_get_user.3: New.
3475 * doc/man/pam_get_user.3.xml: New.
3476 * modules/pam_access/access.conf.5.xml: Fix typos.
3477 * modules/pam_env/Makefile.am: Add new manual pages.
3478 * modules/pam_env/README: Regenerate from xml file.
3479 * modules/pam_env/README.xml: New.
3480 * modules/pam_env/pam_env.8: New.
3481 * modules/pam_env/pam_env.8.xml: New.
3482 * modules/pam_env/pam_env.conf.5: New.
3483 * modules/pam_env/pam_env.conf.5.xml New.
3485 2006-02-14 Thorsten Kukuk <kukuk@thkukuk.de>
3487 * po/fi.po: Updated translations.
3488 * po/pl.po: Likewise.
3489 * po/km.po: New translation.
3490 * configure.in: Add km as new language.
3492 2006-02-13 Thorsten Kukuk <kukuk@thkukuk.de>
3494 * modules/pam_echo/pam_echo.8.xml: New.
3495 * modules/pam_echo/pam_echo.8: Regenerated from xml file.
3496 * modules/pam_echo/Makefile.am: Include Make.xml.rules.
3497 * modules/pam_echo/pam_echo.c: Fix return value.
3499 * doc/modules/pam_chroot.sgml: Remove obsolete sgml file.
3501 2006-02-12 Thorsten Kukuk <kukuk@thkukuk.de>
3503 * configure.in: Add doc/man/Makefile.
3504 * Make.xml.rules: Enable xincludes for manual pages.
3505 * doc/Makefile.am (EXRA_DIST): Remove manual pages.
3506 (SUBDIR): Add man subdirectory.
3507 * doc/man/Makefile.am: New.
3508 * doc/man/pam_acct_mgmt.3: New.
3509 * doc/man/pam_acct_mgmt.3.xml: New.
3510 * doc/man/pam_get_data.3: New.
3511 * doc/man/pam_get_data.3.xml: New.
3512 * doc/man/pam_set_data.3: New.
3513 * doc/man/pam_set_data.3.xml: New.
3514 * doc/man/pam.8.xml: New.
3515 * doc/man/pam.8: Regenerated from xml file.
3516 * doc/man/pam_authenticate.3.xml: New.
3517 * doc/man/pam_authenticate.3: Regenerated from xml file.
3518 * doc/man/pam_chauthtok.3.xml: New.
3519 * doc/man/pam_chauthtok.3: Regenerated from xml file.
3520 * doc/man/pam_close_session.3.xml: New.
3521 * doc/man/pam_close_session.3: Regenerated from xml file.
3522 * doc/man/pam_end.3.xml: New.
3523 * doc/man/pam_end.3: Regenerated from xml file.
3524 * doc/man/pam_fail_delay.3.xml: New.
3525 * doc/man/pam_fail_delay.3: Regenerated from xml file.
3526 * doc/man/pam_get_item.3.xml: New.
3527 * doc/man/pam_get_item.3: Regenerated from xml file.
3528 * doc/man/pam_item_types.inc.xml: New.
3529 * doc/man/pam_open_session.3.xml: New.
3530 * doc/man/pam_open_session.3: Regenerated from xml file.
3531 * doc/man/pam_set_item.3.xml: New.
3532 * doc/man/pam_set_item.3: Regenerated from xml file.
3533 * doc/man/pam_setcred.3.xml: New.
3534 * doc/man/pam_setcred.3: Regenerated from xml file.
3535 * doc/man/pam_start.3.xml: New.
3536 * doc/man/pam_start.3: Regenerated from xml file.
3537 * doc/man/pam_strerror.3.xml: New.
3538 * doc/man/pam_strerror.3: Regenerated from xml file.
3539 * doc/man/template-man: Removed.
3541 2006-02-10 Thorsten Kukuk <kukuk@thkukuk.de>
3543 * configure.in: Remove pam_pwdb support.
3544 * modules/Makefile.am: remove pam_pwdb.
3545 * modules/pam_pwdb: Remove complete directory.
3546 * libpam/Makefile.am: Remove LIBPWDB references.
3547 * libpam/pam_static_modules.h: Remove pam_pwdb references.
3548 * doc/modules/pam_pwdb.sgml: Removed.
3549 * po/POTFILES.in: Remove modules/pam_pwdb/*.c entries.
3550 * doc/pam_source.sgml: Remove references to libpwdb.
3551 * doc/modules/pam_limits.sgml: Remove wrong reference to libpwdb.
3552 * doc/modules/pam_group.sgml: Likewise.
3553 * doc/modules/pam_cracklib.sgml: Replace pam_pwdb with pam_unix.
3554 * doc/modules/pam_userdb.sgml: Likewise.
3555 * modules/pam_cracklib/pam_cracklib.8.xml: Replace pam_pwdb
3557 * modules/pam_mkhomedir/pam_mkhomedir.c: Likewise.
3558 * modules/pam_group/pam_group.c: Remove dead code for libpwdb.
3560 * modules/pam_access/Makefile.am: Fix EXTRA_DIST.
3561 * modules/pam_cracklib/Makefile.am: Likewise.
3562 * modules/pam_deny/Makefile.am: Likewise.
3563 * modules/pam_exec/Makefile.am: Likewise.
3565 2006-02-07 Thorsten Kukuk <kukuk@thkukuk.de>
3567 * configure.in: Check for text browser.
3568 * Make.xml.rules: Add rule to generate README from README.xml.
3570 * modules/pam_access/Makefile.am: Include Make.xml.rules.
3571 * modules/pam_access/README: Regenerated from README.xml.
3572 * modules/pam_access/README.xml: New.
3573 * modules/pam_access/access.conf: Extended by new examples.
3574 * modules/pam_access/access.conf.5: New, generated from xml file.
3575 * modules/pam_access/access.conf.5.xml: New.
3576 * modules/pam_access/pam_access.8: New, generated from xml file.
3577 * modules/pam_access/pam_access.8.xml: New.
3578 * modules/pam_access/pam_access.c: Add rules for IPv6 and
3580 Based on patch from Mike Becher <Mike.Becher@lrz-muenchen.de>.
3582 * modules/pam_deny/Makefile.am: Include Make.xml.rules.
3583 * modules/pam_deny/pam_deny.8.xml: New.
3584 * modules/pam_deny/pam_deny.8: New, generated from xml file.
3585 * modules/pam_deny/README.xml: New.
3586 * modules/pam_deny/README: Regenerated from xml file.
3588 * modules/pam_cracklib/Makefile.am: Include Make.xml.rules.
3589 * modules/pam_cracklib/pam_cracklib.8.xml: New.
3590 * modules/pam_cracklib/pam_cracklib.8: New, generated from xml file.
3591 * modules/pam_cracklib/README.xml: New.
3592 * modules/pam_cracklib/README: Regenerated from xml file.
3594 * modules/pam_exec/Makefile.am: Add rule to generate README.
3595 * modules/pam_exec/README: Regenerated from xml file.
3596 * modules/pam_exec/pam_exec.8: Regenerated from xml file.
3597 * modules/pam_exec/pam_exec.8.xml: Syntax files.
3599 2006-02-06 Thorsten Kukuk <kukuk@thkukuk.de>
3602 * po/pt.po: Update translations.
3603 * configure.in: Add nl as new language.
3605 2006-01-30 Thorsten Kukuk <kukuk@thkukuk.de>
3607 * modules/pam_exec/pam_exec.8.xml: Fix syntax of Return Value section.
3608 * modules/pam_exec/Makefile.am: Include Make.xml.rules.
3610 * Make.xml.rules: New.
3612 * Makefile.am (EXTRA_DIST): Add Make.xml.rules.
3614 2006-01-27 Thorsten Kukuk <kukuk@thkukuk.de>
3616 * configure.in: Prefer libdb over libndbm, fix check for
3617 libcrack and remove not needed BACKUP_LIBS.
3619 2006-01-24 Thorsten Kukuk <kukuk@thkukuk.de>
3621 * modules/pam_debug/pam_debug.c: Fix name of pam_module struct.
3623 * po/de.po: Fix one translation.
3625 * configure.in: Add modules/pam_exec.
3626 * modules/Makefile.am: Add pam_exec subdirectory.
3627 * modules/pam_exec/README: New.
3628 * modules/pam_exec/Makefile.am: New.
3629 * modules/pam_exec/pam_exec.8: New.
3630 * modules/pam_exec/pam_exec.c: New.
3631 * modules/pam_exec/pam_exec.8.xml: New.
3632 * po/POTFILES.in: Add modules/pam_exec/pam_exec.c.
3633 * po/*.po: Merge new pam_exec strings.
3635 * libpam/pam_static_modules.h: New.
3636 * Makefile.am: Reorder subdirectories for static modules.
3637 * configure.in: Add --enable-static-modules option.
3638 * libpam/Makefile.am: Define WITH_SELINUX and WITH_PWDB if
3639 necessary, add pam_static_modules.h, link against all PAM
3640 module object files if STATIC_MODULES is defined.
3641 * libpam/pam_static.c: Remove old _static_module* includes,
3642 include pam_static_modules.h.
3644 * configure.in: Add checks for xsltproc, xmllint and docbook
3646 * m4/jh_path_xml_catalog.m4: New.
3648 2006-01-22 Thorsten Kukuk <kukuk@thkukuk.de>
3650 * modules/pam_succeed_if/pam_succeed_if.c: Add support for
3652 * modules/pam_xauth/pam_xauth.c: Likewise.
3654 * libpam/pam_static.c (_pam_open_static_handler): Add pamh
3656 * libpam/pam_private.h: Adjust prototype.
3657 * libpam/pam_handlers.c (_pam_add_handler): Add pamh to
3658 _pam_open_static_handler call.
3660 * configure.in: Don't define PAM_DYNAMIC.
3661 * libpam/pam_handlers.c: Get ride of PAM_DYNAMIC, don't
3662 include pam_dynamic.h
3663 * libpam/pam_dynamic.c: Don't include pam_dynamic.h,
3664 exclude functions if we compile with PAM_STATIC.
3665 * libpam/pam_dynamic.h: Remove.
3666 * libpam/pam_private.h: Add function prototypes from pam_dynamic.h.
3667 * libpam/Makefile.am: Bump version number of libpam, remove
3670 2006-01-21 Thorsten Kukuk <kukuk@thkukuk.de>
3672 * modules/pam_listfile/pam_listfile.c: Add support for session
3673 and password management.
3675 2006-01-19 Thorsten Kukuk <kukuk@thkukuk.de>
3677 * doc/specs/Makefile.am (spec): Add padout to fix parallel
3678 build (Reported by Andreas Haumer <andreas@xss.co.at>).
3680 2006-01-15 Thorsten Kukuk <kukuk@thkukuk.de>
3682 * modules/pam_echo/pam_echo.c: Define HOST_NAME_MAX if not
3685 2006-01-13 Thorsten Kukuk <kukuk@thkukuk.de>
3687 * release version 0.99.3.0
3689 * libpam_misc/misc_conv.c (misc_conv): Fix strict aliasing
3692 * modules/pam_umask/pam_umask.c (search_key): Don't ignore
3693 EOF/error return value from fgets().
3695 * configure.in: Check for getline and getdelim
3697 * po/fi.po: Add new translations.
3698 * po/de.po: Likewise.
3699 * po/es.po: Likewise.
3700 * po/fr.po: Likewise.
3701 * po/it.po: Likewise.
3702 * po/ja.po: Likewise.
3703 * po/pt_BR.po: Likewise.
3704 * po/zh_CH.po: Likewise.
3705 * po/zh_TW.po: Likewise.
3707 2006-01-13 Dmitry V. Levin <ldv@altlinux.org>
3709 * libpam/pam_audit.c (_pam_auditlog): Replace strerror(errno)
3710 call with %m specifier.
3712 2006-01-12 Thorsten Kukuk <kukuk@thkukuk.de>
3714 * configure.in: Add check for -fpie/-pie
3715 * modules/pam_filter/upperLOWER/Makefile.am: Compile/link
3716 upperLOWER with -fpie/-pie if supported.
3717 * modules/pam_unix/Makefile.am: Compile/link unix_chkpwd
3718 with -fpie/-pie if supported.
3720 2006-01-12 Steve Grubb <sgrubb@redhat.com>
3722 * configure.in: Add check for audit library.
3723 * libpam/Makefile.am (libpam_la_LDFLAGS): Add LIBAUDIT.
3724 (libpam_la_SOURCES): Add pam_audit.c.
3725 * libpam/pam_account.c (pam_acct_mgmt): Add _pam_auditlog() call.
3726 * libpam/pam_auth.c (pam_authenticate), (pam_setcred): Likewise.
3727 * libpam/pam_password.c (pam_chauthtok): Likewise.
3728 * libpam/pam_session.c (pam_open_session),
3729 (pam_close_session): Likewise.
3730 * libpam/pam_private.h: Add audit_state member to pam_handle,
3731 declare _pam_auditlog and _pam_audit_end.
3732 * libpam/pam_start.c (pam_start): Initialize audit_state.
3733 * libpam/pam_audit.c: New file with _pam_auditlog and _pam_audit_end
3735 * libpam/pam_end.c (pam_end): Add _pam_audit_end() call.
3736 * NEWS: Note about added auditing.
3738 2006-01-11 Thorsten Kukuk <kukuk@thkukuk.de>
3740 * libpam/Makefile.am (AM_CFLAGS): Define LIBPAM_COMPILE.
3742 * libpam/include/security/_pam_types.h: Don't define PAM_NONNULL
3743 if we compile libpam itself.
3745 * po/hu.po: Update with new translations.
3747 2006-01-08 Thorsten Kukuk <kukuk@thkukuk.de>
3749 * modules/pam_cracklib/pam_cracklib.c: Use PAM_AUTHTOK_RECOVERY_ERR
3750 instead of PAM_AUTHTOK_RECOVER_ERR.
3751 * modules/pam_pwdb/support.-c: Likewise.
3752 * modules/pam_unix/support.c: Likewise.
3753 * modules/pam_userdb/pam_userdb.c (pam_sm_authenticate): Likewise.
3754 * libpam/pam_strerror.c (pam_strerror): Likewise.
3756 * libpam/include/security/_pam_compat.h: Define
3757 PAM_AUTHTOK_RECOVER_ERR for backward compatibility.
3759 * libpam/include/security/_pam_types.h: Rename
3760 PAM_AUTHTOK_RECOVER_ERR to PAM_AUTHTOK_RECOVERY_ERR.
3762 2006-01-05 Thorsten Kukuk <kukuk@thkukuk.de>
3764 * libpam/include/security/_pam_types.h: Remove nonnull attribute
3765 from third paramter (item) of pam_get_item.
3766 * libpam/Makefile.am: Bump version number of shared library.
3768 2005-12-21 Tomas Mraz <t8m@centrum.cz>
3770 * modules/pam_succeed_if/pam_succeed_if.c (evaluate_ingroup),
3771 (evaluate_notingroup): Simplified.
3772 (evaluate_innetgr), (evaluate_notinnetgr): New functions.
3773 (evaluate): Added calls to evaluate_(not)innetgr().
3774 * modules/pam_succeed_if/README: Documented netgroup matching.
3775 * NEWS: Mentioned the added netgroup matching support.
3777 2005-12-20 Thorsten Kukuk <kukuk@thkukuk.de>
3779 * modules/pam_lastlog/pam_lastlog.c (last_login_read): Use
3780 strftime instead of ctime.
3782 * po/de.po: Fix typo.
3784 2005-12-19 Thorsten Kukuk <kukuk@thkukuk.de>
3786 * libpam/pam_syslog.c: Define LOG_AUTHPRIV as LOG_AUTH on Solaris.
3787 Reported by Charles_H_Bedford@nbc.gov.
3789 * modules/pam_time/pam_time.c (check_account): Implement
3790 support for netgroups.
3792 * modules/pam_time/time.conf: Document usage of netgroups.
3794 2005-12-16 Thorsten Kukuk <kukuk@thkukuk.de>
3796 * modules/pam_group/pam_group.c (check_account): Implement
3797 support for netgroups.
3799 * modules/pam_group/group.conf: Add all documentation to this
3800 example config file and don't reference to outdated configs.
3802 * modules/pam_group/README: New.
3804 * modules/pam_group/Makefile.am: Add README to EXTRADIST.
3806 2005-12-15 Thorsten Kukuk <kukuk@suse.de>
3808 * modules/pam_lastlog/pam_lastlog.c (last_login_read): Don't report an
3809 error if user logins the first time.
3811 * modules/pam_lastlog/README: New.
3813 * modules/pam_lastlog/Makefile.am: Add README to EXTRADIST.
3815 2005-12-14 Thorsten Kukuk <kukuk@suse.de>
3817 * modules/pam_deny/pam_deny.c: Fix comment.
3819 * doc/pam_appl.sgml: Fix typo.
3821 Reported by Russell Bateman <russ@windofkeltia.com>
3823 2005-12-12 Thorsten Kukuk <kukuk@thkukuk.de>
3825 * release version 0.99.2.1
3827 * po/de.po: Remove new fuzzy entry
3829 * NEWS: Add 0.99.2.1 changes
3831 * configure.in: bump version number to 0.99.2.1
3833 2005-12-12 Dmitry V. Levin <ldv@altlinux.org>
3835 Cleanup pam_syslog messages.
3837 * modules/pam_env/pam_env.c (_expand_arg): Fix compiler warning.
3838 * modules/pam_filter/pam_filter.c (set_filter): Append %m
3839 specifier to pam_syslog messages where appropriate.
3840 * modules/pam_group/pam_group.c (read_field): Likewise.
3841 * modules/pam_mkhomedir/pam_mkhomedir.c (make_remark): Remove.
3842 (create_homedir): Do not use make_remark() wrapper, call
3843 pam_info() directly. Call pam_syslog() right after failed
3844 operation and append %m specifier to pam_syslog messages where
3846 * modules/pam_rhosts/pam_rhosts_auth.c (pam_iruserok): Replace
3847 sequence of malloc(), strcpy() and strcat() calls with asprintf().
3848 Append %m specifier to pam_syslog messages where appropriate.
3849 * modules/pam_securetty/pam_securetty.c (securetty_perform_check):
3850 Append %m specifier to pam_syslog messages where appropriate.
3851 * modules/pam_shells/pam_shells.c (perform_check): Likewise.
3853 2005-12-12 Tomas Mraz <t8m@centrum.cz>
3855 * modules/pam_mail/pam_mail.c (report_mail): Fixed typo in string.
3856 * po/Linux-PAM.pot: Likewise.
3857 * po/de.po: Likewise.
3858 * po/es.po: Likewise.
3859 * po/fi.po: Likewise.
3860 * po/fr.po: Likewise.
3861 * po/hu.po: Likewise.
3862 * po/it.po: Likewise.
3863 * po/ja.po: Likewise.
3864 * po/nb.po: Likewise.
3865 * po/pa.po: Likewise.
3866 * po/pl.po: Likewise.
3867 * po/pt.po: Likewise.
3868 * po/pt_BR.po: Likewise.
3869 * po/zh_CN.po: Likewise.
3870 * po/zh_TW.po: Likewise.
3871 * po/de.po: Add new translation, fixed typo in string.
3873 2005-12-12 Mike Becher <Mike.Becher@lrz-muenchen.de>
3875 * doc/Makefile.am: Fixed install of PS, PDF, TXT and HTML files.
3877 2005-12-12 Thorsten Kukuk <kukuk@suse.de>
3879 * modules/pam_mail/README: Document "quiet" and "standard"
3882 2005-12-07 Thorsten Kukuk <kukuk@suse.de>
3884 * modules/pam_mail/pam_mail.c: Modify assembling of output
3885 for easier translation.
3887 * po/de.po: Translate new pam_mail messages.
3890 2005-11-24 Thorsten Kukuk <kukuk@thkukuk.de>
3892 * po/de.po: Add new translation, fix wrong format specifier.
3893 * po/cs.po: Fix wrong format specifier.
3894 * po/es.po: Likewise.
3895 * po/fi.po: Likewise.
3896 * po/fr.po: Likewise.
3897 * po/hu.po: Likewise.
3898 * po/it.po: Likewise.
3899 * po/ja.po: Likewise.
3900 * po/nb.po: Likewise.
3901 * po/pa.po: Likewise.
3902 * po/pl.po: Likewise.
3903 * po/pt.po: Likewise.
3904 * po/pt_BR.po: Likewise.
3905 * po/zh_CN.po: Likewise.
3906 * po/zh_TW.po: Likewise.
3908 2005-11-24 Dmitry V. Levin <ldv@altlinux.org>
3910 * config.h.in: Remove generated file.
3911 * .cvsignore: Add config.h.in.
3913 * configure.in: Do not check for strerror.
3914 * libpam_misc/misc_conv.c (read_string): Replace strerror()
3915 call with %m specifier.
3916 * libpamc/pamc_converse.c (pamc_converse): Likewise.
3917 * modules/pam_echo/pam_echo.c (pam_echo): Likewise.
3918 * modules/pam_localuser/pam_localuser.c (pam_sm_authenticate):
3920 * modules/pam_selinux/pam_selinux.c (security_label_tty):
3922 (security_restorelabel_tty, security_label_tty): Append %m
3923 specifier where appropriate.
3924 * modules/pam_selinux/pam_selinux_check.c (main): Replace
3925 strerror() call with %m specifier.
3926 * modules/pam_unix/pam_unix_passwd.c (save_old_password,
3927 _update_passwd, _update_shadow): Likewise.
3928 * modules/pam_unix/support.c (_unix_run_helper_binary): Likewise.
3929 * modules/pam_unix/unix_chkpwd.c (_update_shadow): Likewise.
3930 * po/Linux-PAM.pot: Update strings from pam_selinux.
3931 * po/cs.po: Likewise.
3932 * po/de.po: Likewise.
3933 * po/es.po: Likewise.
3934 * po/fi.po: Likewise.
3935 * po/fr.po: Likewise.
3936 * po/hu.po: Likewise.
3937 * po/it.po: Likewise.
3938 * po/ja.po: Likewise.
3939 * po/nb.po: Likewise.
3940 * po/pa.po: Likewise.
3941 * po/pl.po: Likewise.
3942 * po/pt.po: Likewise.
3943 * po/pt_BR.po: Likewise.
3944 * po/zh_CN.po: Likewise.
3945 * po/zh_TW.po: Likewise.
3947 2005-11-23 Thorsten Kukuk <kukuk@suse.de>
3949 * modules/pam_xauth/pam_xauth.c (pam_sm_open_session): Introduce
3950 new variable to fix compiler warning.
3952 * libpam/pam_modutil_getlogin.c (pam_modutil_getlogin): PAM_TTY
3953 don't need to start with /dev/.
3955 2005-11-21 Thorsten Kukuk <kukuk@thkukuk.de>
3957 * release version 0.99.2.0
3959 * libpam_misc/Makefile.am: Increase release number (for change
3962 * NEWS: Adjust for 0.99.2.0
3964 2005-11-17 Thorsten Kukuk <kukuk@thkukuk.de>
3966 * libpam/include/security/_pam_compat.h: Fix wrong #ifdef nesting.
3967 Redefine PAM_CHANGE_EXPIRED_AUTHTOK [#604380]
3969 2005-11-16 Thorsten Kukuk <kukuk@thkukuk.de>
3971 * libpam/pam_handlers.c: Replace code for all dlopen variants with
3973 * libpam/pam_dynamic.c: Implement generic wrapper for dlopen.
3974 * libpam/pam_dynamic.h: Provide prototypes.
3975 For Mac OS X support [#534205]
3977 2005-11-09 Tomas Mraz <t8m@centrum.cz>
3979 * modules/pam_access/pam_access.c (pam_sm_acct_mgmt): Parse correctly
3981 * modules/pam_time/pam_time.c (pam_sm_acct_mgmt): Parse correctly
3982 full path tty name. Allow unset tty.
3983 (logic_member): Allow matching ':' in tty name.
3984 * modules/pam_group/pam_group.c (pam_sm_acct_mgmt): Parse correctly
3985 full path tty name. Allow unset tty.
3986 (logic_member): Allow matching ':' in tty name.
3988 * libpam_misc/misc_conv.c (read_string): Read only up to EOL if stdin
3991 2005-11-07 Thorsten Kukuk <kukuk@thkukuk.de>
3993 * modules/pam_unix/pam_unix_passwd.c (_unix_verify_shadow): Use
3994 correct variable names.
3996 2005-11-06 Steve Langasek <vorlon@debian.org>
3998 * modules/pam_env/pam_env.c: don't treat a missing
3999 /etc/environment as a fatal error when attempting to read it,
4000 and try to read this file by default; this restores the behavior
4001 from Linux-PAM 0.76.
4003 2005-11-02 Tomas Mraz <t8m@centrum.cz>
4005 * modules/pam_unix/support.c (_unix_getpwnam): Fix typo [#1224807]
4008 * modules/pam_unix/pam_unix_passwd.c (_unix_verify_shadow): Change the
4009 logic when comparing dates to handle corner cases better [#1245888].
4011 2005-10-31 Thorsten Kukuk <kukuk@suse.de>
4013 * modules/pam_filter/pam_filter.c: Use XCASE only if defined
4016 2005-10-27 Thorsten Kukuk <kukuk@suse.de>
4018 * doc/man/pam.8: Fix wording for authentication chapter [#1197444]
4020 2005-10-26 Tomas Mraz <t8m@centrum.cz>
4022 * modules/pam_unix/pam_unix_acct.c (_unix_run_verify_binary),
4023 modules/pam_unix/pam_unix_passwd.c (_unix_run_shadow_binary),
4024 modules/pam_unix/support.c (_unix_run_shadow_binary_): Set real
4025 uid to 0 before executing the helper if SELinux is enabled.
4026 * modules/pam_unix/unix_chkpwd.c (main): Disable user check only
4027 if real uid is 0 (CVE-2005-2977). Log failed password check attempt.
4030 2005-10-20 Tomas Mraz <t8m@centrum.cz>
4032 * configure.in: Added check for xauth binary and --with-xauth option.
4033 * config.h.in: Added configurable PAM_PATH_XAUTH.
4034 * modules/pam_xauth/README,
4035 modules/pam_xauth/pam_xauth.8: Document where xauth is looked for.
4036 * modules/pam_xauth/pam_xauth.c (pam_sm_open_session): Implement
4037 searching xauth binary on multiple places.
4038 (run_coprocess): Don't use execvp as it can be a security risk.
4040 2005-10-04 Steve Langasek <vorlon@debian.org>
4042 * libpam/include/security/pam_malloc.h,
4043 libpam/include/security/pam_modules.h: Declare public header
4044 files extern "C" so that they are C++-safe.
4046 2005-10-02 Dmitry V. Levin <ldv@altlinux.org>
4047 Steve Langasek <vorlon@debian.org>
4049 Cleanup gratuitous use of strdup().
4050 Fix "missing argument" checks.
4052 * modules/pam_env/pam_env.c (_pam_parse): Add const qualifier
4053 to conffile and envfile arguments. Do not use x_strdup() for
4054 conffile and envfile initialization. Fix "missing argument"
4056 (_parse_config_file): Take conffile argument of type "const char *"
4057 instead of "char **". Do not free conffile.
4058 (_parse_env_file): Take env_file argument of type "const char *"
4059 instead of "char **". Do not free env_file.
4060 (pam_sm_setcred): Add const qualifier to conf_file and env_file.
4061 Pass conf_file and env_file to _parse_config_file() and
4062 _parse_env_file() by value.
4063 (pam_sm_open_session): Likewise.
4065 * modules/pam_ftp/pam_ftp.c (_pam_parse): Add const qualifier to
4066 users argument. Do not use x_strdup() for users initialization.
4067 (lookup): Add const qualifier to list argument.
4068 (pam_sm_authenticate): Add const qualifier to users argument.
4070 * modules/pam_mail/pam_mail.c (_pam_parse): Add const qualifier
4071 to maildir argument. Do not use x_strdup() for maildir
4072 initialization. Fix "missing argument" check.
4073 (get_folder): Take path_mail argument of type "const char *"
4074 instead of "char **". Do not free path_mail.
4075 (_do_mail): Add const qualifier to path_mail argument.
4076 Pass path_mail to get_folder() by value.
4078 * modules/pam_motd/pam_motd.c: Include <syslog.h>.
4079 (pam_sm_open_session): Add const qualifier to motd_path.
4080 Do not use x_strdup() for motd_path initialization. Do not
4081 free motd_path. Fix "missing argument" check. Add "unknown
4084 * modules/pam_userdb/pam_userdb.c (_pam_parse): Add const
4085 qualifier to database and cryptmode arguments. Fix "missing
4087 (pam_sm_authenticate): Add const qualifier to database and cryptmode.
4088 (pam_sm_acct_mgmt): Likewise.
4090 2005-10-01 Steve Langasek <vorlon@debian.org>
4092 * modules/pam_userdb/pam_userdb.c: spelling fix in log message.
4094 2005-09-30 Steve Langasek <vorlon@debian.org>
4096 * modules/pam_userdb/pam_userdb.c: Fix memory leak due to
4097 gratuitous use of strdup().
4099 2005-09-27 Thorsten Kukuk <kukuk@thkukuk.de>
4103 * doc/specs/Makefile.am (install-data-local): Install
4105 (all): Copy rfc if we build outside of source directory.
4107 2005-09-27 Thorsten Kukuk <kukuk@suse.de>
4109 * NEWS: Document removal of pam_radius.
4110 * autogen.sh: Make configure script executeable.
4112 * conv/pam_conv1/Makefile (EXTRA_DIST): Removed lex.yy.c
4113 (lex.yy.c): Fixed out of tree build.
4115 * conv/pam_conv1/pam_conv.y: Fix main prototype.
4119 * po/POTFILES.in: Remove files not distributed by tar archive
4120 and not containing strings for translation.
4122 2005-09-26 Tomas Mraz <t8m@centrum.cz>
4124 * NEWS: Add a few missing entries from CHANGELOG.
4126 * AUTHORS: Fixed entries for Toady and me.
4128 * Makefile.am (M4_FILES): Fixed out of tree build.
4129 * doc/specs/Makefile.am (EXTRA_DIST): Removed lex.yy.c
4130 (spec, lex.yy.c): Fixed out of tree build.
4132 * modules/pam_userdb/README: Document try_first_pass and
4133 use_first_pass options, remove use_authtok option.
4136 2005-09-26 Dmitry V. Levin <ldv@altlinux.org>
4138 * NEWS: Mention changes in pam_lastlog.
4140 2005-09-26 Thorsten Kukuk <kukuk@suse.de>
4143 * autogen.sh: Don't generate NEWS file.
4144 * CHANGELOG: Document it as obsolete.
4146 2005-09-26 Tomas Mraz <t8m@centrum.cz>
4148 * modules/pam_unix/pam_unix_acct.c (_unix_run_verify_binary):
4149 _log_err() -> pam_syslog()
4150 (pam_sm_acct_mgmt): _log_err() -> pam_syslog(), fix warning.
4151 * modules/pam_unix/pam_unix_auth.c (pam_sm_authenticate):
4152 _log_err() -> pam_syslog()
4153 * modules/pam_unix/pam_unix_passwd.c: removed obsolete ifdef
4154 (getNISserver, _unix_run_shadow_binary, _update_passwd,
4155 _update_shadow, _do_setpass, _pam_unix_approve_pass,
4156 pam_sm_chauthtok): _log_err() -> pam_syslog()
4157 * modules/pam_unix/pam_unix_sess.c: removed obsolete ifdef
4158 (pam_sm_open_session, pam_sm_close_session):
4159 _log_err() -> pam_syslog()
4160 * modules/pam_unix/support.c (_log_err, converse): removed
4161 (_make_remark): use pam_prompt() instead of converse()
4162 (_set_ctrl, _cleanup_failures, _unix_run_helper_binary,
4163 _unix_verify_password, _unix_read_password):
4164 _log_err() -> pam_syslog()
4165 _cleanup(), _unix_cleanup(): Silence unused param warnings.
4166 (_cleanup_failures, _unix_verify_password, _unix_getpwnam,
4167 _unix_run_helper_binary): Silence incorrect type warnings.
4168 (_unix_read_password): Use multiple pam_prompt() and pam_info() calls
4169 instead of converse().
4170 * modules/pam_unix/support.h (_log_err): removed
4171 * modules/pam_unix/unix_chkpwd.c (_log_err): LOG_AUTH -> LOG_AUTHPRIV
4173 2005-09-26 Thorsten Kukuk <kukuk@suse.de>
4175 * configure.in: Add doc/specs/Makefile.
4176 * Makefile.am: Add releasedocs rule.
4177 * doc/Makefile.am: Add specs subdir, remove files from specs
4178 directory, add rfc86.0.txt to releasedocs.
4179 * doc/specs/Makefile.am: New file.
4180 * doc/specs/formatter/parse.y: move from here ...
4181 * doc/specs/parse.y: ... here.
4182 * doc/specs/formatter/parse.lex: move from here ...
4183 * doc/specs/parse.lex: ... here.
4185 * modules/pam_mail/pam_mail.c: Mark missing strings for translation
4186 * po/Linux-PAM.pot: Add new strings from pam_mail
4187 * po/cs.po: Likewise.
4188 * po/de.po: Likewise.
4189 * po/es.po: Likewise.
4190 * po/fi.po: Likewise.
4191 * po/fr.po: Likewise.
4192 * po/hu.po: Likewise.
4193 * po/it.po: Likewise.
4194 * po/ja.po: Likewise.
4195 * po/nb.po: Likewise.
4196 * po/pa.po: Likewise.
4197 * po/pl.po: Likewise.
4198 * po/pt.po: Likewise.
4199 * po/pt_BR.po: Likewise.
4200 * po/zh_CN.po: Likewise.
4201 * po/zh_TW.po: Likewise.
4203 2005-09-23 Tomas Mraz <t8m@centrum.cz>
4205 * modules/pam_access/pam_access.c (from_match): Support NULL from.
4206 (string_match): Support NULL string, add NONE keyword matching it.
4207 (pam_sm_acct_mgmt): Don't fail when ttyname returns NULL.
4208 * modules/pam_access/access.conf: NONE keyword description
4209 * modules/pam_access/README: NONE keyword description
4211 2005-09-22 Dmitry V. Levin <ldv@altlinux.org>
4213 * modules/pam_xauth/pam_xauth.c: (check_acl, pam_sm_open_session,
4214 pam_sm_close_session): Strip redundant "pam_xauth: " prefix from
4215 text of log messages.
4216 (pam_sm_open_session): Replace sequence of malloc(), strcpy()
4217 and strcat() calls with asprintf(). Replace syslog() calls
4220 * modules/pam_nologin/pam_nologin.c (parse_args): Use strncmp()
4221 instead of memcmp() for string comparison.
4223 2005-09-21 Dmitry V. Levin <ldv@altlinux.org>
4225 * modules/pam_nologin/pam_nologin.c: Include <syslog.h>.
4226 (parse_args): Add pam_handle_t* argument. Log unrecognized
4228 (perform_check): Log pam_get_user() and malloc() failures.
4229 (pam_sm_authenticate, pam_sm_setcred, pam_sm_acct_mgmt):
4230 Pass pam_handle_t* to parse_args().
4232 * modules/pam_mail/pam_mail.c: Include <errno.h>.
4233 Remove YOUR_MAIL_VERBOSE_FORMAT, YOUR_MAIL_STANDARD_FORMAT and
4234 NO_MAIL_STANDARD_FORMAT macros.
4235 (parse_args, get_folder): Cleanup error messages.
4236 (get_folder): Fix leak of the path_mail variable in case of
4237 pam_get_user() failure. Cleanup memory management.
4238 (get_mail_status): Add pam_handle_t* argument. Fix leaks of
4239 namelist variable. Cleanup memory management. Log memory
4240 allocation failures. Remove 250-byte limit on Maildir pathname.
4241 (report_mail): Mark text messages for translation.
4242 (_do_mail): Cleanup memory management. Pass pam_handle_t*
4243 to get_mail_status().
4245 * po/Linux-PAM.pot: Update with new strings from pam_mail for
4247 * po/cs.po: Likewise.
4248 * po/de.po: Likewise.
4249 * po/es.po: Likewise.
4250 * po/fi.po: Likewise.
4251 * po/fr.po: Likewise.
4252 * po/hu.po: Likewise.
4253 * po/it.po: Likewise.
4254 * po/ja.po: Likewise.
4255 * po/nb.po: Likewise.
4256 * po/pa.po: Likewise.
4257 * po/pl.po: Likewise.
4258 * po/pt.po: Likewise.
4259 * po/pt_BR.po: Likewise.
4260 * po/zh_CN.po: Likewise.
4261 * po/zh_TW.po: Likewise.
4263 2005-09-20 Thorsten Kukuk <kukuk@suse.de>
4265 * configure.in: Add finish translation.
4268 * acinclude.m4: remove libprelude macros.
4269 * m4/libprelude.m4: New.
4271 * Makefile.am (EXTRA_DIST): make sure we include all m4 macros.
4273 * libpamc/Makefile.am (EXTRA_DIST): Add License.
4275 See CHANGELOG for earlier changes.