1 2009-08-25 Steve Langasek <vorlon@debian.org>
3 * modules/pam_sepermit/pam_sepermit.8.xml: fix up one reference
4 to pam.d(8) left behind because I've forgotten how CVS works
6 2009-08-24 Steve Langasek <vorlon@debian.org>
8 * doc/pam_get_authtok.3.xml: grammar fix.
9 * doc/adg/Linux-PAM-ADG.xml: Likewise.
10 * doc/mwg/Linux-PAM_MWG.xml: Likewise.
11 * doc/man/pam_setcred.3.xml: fix a typo.
13 2009-07-21 Thorsten Kukuk <kukuk@thkukuk.de>
15 * modules/pam_cracklib/pam_cracklib.c (pam_sm_chauthtok): Delete
16 new token if it does not match strength criteria.
18 2009-06-29 Thorsten Kukuk <kukuk@thkukuk.de>
20 * modules/pam_unix/yppasswd_xdr.c: Remove unnecessary header files.
22 * modules/pam_unix/support.c (_unix_getpwnam): Only compile in NIS
23 support if all necessary functions exist.
25 * modules/pam_unix/pam_unix_passwd.c (getNISserver): Add debug
26 option, handle correct if OS has no NIS support.
28 * modules/pam_access/pam_access.c (netgroup_match): Check if
29 yp_get_default_domain and innetgr are available at compile time.
31 * configure.in: Check for functions: innetgr, getdomainname
32 check for headers: rpcsvc/ypclnt.h, rpcsvc/yp_prot.h.
34 2009-06-29 Thorsten Kukuk <kukuk@thkukuk.de>
36 * modules/pam_unix/pam_unix.8.xml: Fix blowfish description.
37 Reported by Diego E. “Flameeyes” Pettenò.
39 2009-06-26 Thorsten Kukuk <kukuk@thkukuk.de>
41 * modules/pam_namespace/Makefile.am: Fix make maintainer-clean,
42 fix docu dependencies.
44 * modules/pam_xauth/Makefile.am: Fix make maintainer-clean.
45 * modules/pam_access/Makefile.am: Likewise.
46 * modules/pam_debug/Makefile.am: Likewise.
47 * modules/pam_deny/Makefile.am: Likewise.
48 * modules/pam_echo/Makefile.am: Likewise.
49 * modules/pam_env/Makefile.am: Likewise.
50 * modules/pam_faildelay/Makefile.am: Likewise.
51 * modules/pam_ftp/Makefile.am: Likewise.
52 * modules/pam_group/Makefile.am: Likewise.
53 * modules/pam_issue/Makefile.am: Likewise.
54 * modules/pam_keyinit/Makefile.am: Likewise.
55 * modules/pam_lastlog/Makefile.am: Likewise.
56 * modules/pam_limits/Makefile.am: Likewise.
57 * modules/pam_listfile/Makefile.am: Likewise.
58 * modules/pam_localuser/Makefile.am: Likewise.
59 * modules/pam_loginuid/Makefile.am: Likewise.
60 * modules/pam_mail/Makefile.am: Likewise.
61 * modules/pam_mkhomedir/Makefile.am: Likewise.
62 * modules/pam_motd/Makefile.am: Likewise.
63 * modules/pam_nologin/Makefile.am: Likewise.
64 * modules/pam_pwhistory/Makefile.am: Likewise.
65 * modules/pam_rhosts/Makefile.am: Likewise.
66 * modules/pam_rootok/Makefile.am: Likewise.
67 * modules/pam_securetty/Makefile.am: Likewise.
68 * modules/pam_shells/Makefile.am: Likewise.
69 * modules/pam_succeed_if/Makefile.am: Likewise.
70 * modules/pam_tally2/Makefile.am: Likewise.
71 * modules/pam_tally/Makefile.am: Likewise.
72 * modules/pam_time/Makefile.am: Likewise.
73 * modules/pam_timestamp/Makefile.am: Likewise.
74 * modules/pam_tty_audit/Makefile.am: Likewise.
75 * modules/pam_umask/Makefile.am: Likewise.
76 * modules/pam_unix/Makefile.am: Likewise.
77 * modules/pam_warn/Makefile.am: Likewise.
78 * modules/pam_wheel/Makefile.am: Likewise.
79 * modules/pam_filter/Makefile.am: Likewise.
81 * configure.in: Make regeneration of docu configureable,
82 rename enable_man to enable_docu.
84 * modules/pam_env/pam_env.c (_pam_parse): Fix typo in debug
87 * modules/pam_cracklib/Makefile.am: Don't install docu if
88 module is disabled for building.
89 * modules/pam_userdb/Makefile.am: Likewise.
91 * modules/pam_unix/pam_unix_passwd.c: Remove dead SELinux
94 * modules/pam_lastlog/pam_lastlog.c (last_login_failed): Fix
95 usage of wrong variable [bug#2809661].
97 2009-06-25 Thorsten Kukuk <kukuk@thkukuk.de>
99 * configure.in: Rename crypt_gensalt_rn to crypt_gensalt_r
100 * modules/pam_unix/passverify.c: Likewise.
102 2009-06-19 Thorsten Kukuk <kukuk@thkukuk.de>
104 * release version 1.1.0
106 2009-06-16 Thorsten Kukuk <kukuk@thkukuk.de>
108 * doc/sag/Linux-PAM_SAG.xml: Fix typos.
109 * doc/adg/Linux-PAM_ADG.xml: Likewise.
110 * doc/mwg/Linux-PAM_MWG.xml: Likewise.
112 2009-06-08 Rajesh Ranjan <rajesh672@gmail.com>
114 * po/hi.po: Updated translations.
116 2009-06-01 Jaswinder Singh <jsingh@redhat.com>
118 * po/pa.po: Updated translations.
120 2009-06-01 Tomáš Mráz <t8m@centrum.cz>
122 * modules/pam_pwhistory/opasswd.c (save_old_password): Don't
123 call fclose() on NULL descriptor. Found by Steve Grubb.
125 2009-06-01 Ville Skyttä <ville.skytta@iki.fi>
127 * modules/pam_limits/pam_limits.8.xml: Only *.conf
128 files are parsed. Spelling fixes.
129 * modules/pam_access/pam_access.8.xml: Spelling fixes.
130 * modules/pam_cracklib/pam_cracklib.8.xml: Likewise.
131 * modules/pam_echo/pam_echo.8.xml: Likewise.
132 * modules/pam_env/pam_env.8.xml: Likewise.
133 * modules/pam_exec/pam_exec.8.xml: Likewise.
134 * modules/pam_filter/pam_filter.8.xml: Likewise.
135 * modules/pam_ftp/pam_ftp.8.xml: Likewise.
136 * modules/pam_group/pam_group.8.xml: Likewise.
137 * modules/pam_issue/pam_issue.8.xml: Likewise.
138 * modules/pam_lastlog/pam_lastlog.8.xml: Likewise.
139 * modules/pam_listfile/pam_listfile.8.xml: Likewise.
140 * modules/pam_localuser/pam_localuser.8.xml: Likewise.
141 * modules/pam_loginuid/pam_loginuid.8.xml: Likewise.
142 * modules/pam_mkhomedir/pam_mkhomedir.8.xml: Likewise.
143 * modules/pam_motd/pam_motd.8.xml: Likewise.
144 * modules/pam_namespace/pam_namespace.8.xml: Likewise.
145 * modules/pam_pwhistory/pam_pwhistory.8.xml: Likewise.
146 * modules/pam_selinux/pam_selinux.8.xml: Likewise.
147 * modules/pam_succeed_if/pam_succeed_if.8.xml: Likewise.
148 * modules/pam_tally/pam_tally.8.xml: Likewise.
149 * modules/pam_tally2/pam_tally2.8.xml: Likewise.
150 * modules/pam_time/pam_time.8.xml: Likewise.
151 * modules/pam_timestamp/pam_timestamp.8.xml: Likewise.
152 * modules/pam_timestamp/pam_timestamp_check.8.xml: Likewise.
153 * modules/pam_tty_audit/pam_tty_audit.8.xml: Likewise.
154 * modules/pam_umask/pam_umask.8.xml: Likewise.
155 * modules/pam_unix/pam_unix.8.xml: Likewise.
156 * modules/pam_xauth/pam_xauth.8.xml: Likewise.
158 2009-05-28 Jaswinder Singh <jsingh@redhat.com>
160 * po/pa.po: Updated translations.
162 2009-05-21 Albert Carabasa Giribet <albertc@asic.udl.cat>
164 * po/ca.po: Updated translations.
166 2009-05-11 Ani Peter <anipeter@fedoraproject.org>
168 * po/ml.po: Updated translations.
170 2009-05-11 Charles-Antoine Couret <cacouret@wanadoo.fr>
172 * po/fr.po: Updated translations.
174 2009-05-11 Tomáš Mráz <t8m@centrum.cz>
176 * modules/pam_unix/pam_unix_passwd.c (_unix_run_update_binary): Remove
177 unnecessary setuid() call.
179 2009-05-05 Thorsten Kukuk <kukuk@thkukuk.de>
181 * release version 1.0.92
182 * libpamc/Makefile.am (libpamc_la_LDFLAGS): Increase revesion.
183 * configure.in: Increase version to 1.0.92.
185 2009-04-20 Mario Santagiuliana <mario@marionline.it>
187 * po/it.po: Updated translations.
189 2009-04-17 Fabian Affolter <fab@fedoraproject.org>
191 * po/de.po: Updated translations.
193 2009-04-16 Tomáš Mráz <t8m@centrum.cz>
195 * modules/pam_succeed_if/pam_succeed_if.c (evaluate): Add user
196 parameter. Use user instead of pwd->pw_name in comparsions.
197 (pam_sm_authenticate): Pass the original user to evaluate().
199 2009-04-14 Amitakhya Phukan <aphukan@fedoraproject.org>
201 * po/as.po: Updated translations.
203 2009-04-14 Runa Bhattacharjee <runab@fedoraproject.org>
205 * po/bn_IN.po: Updated translations.
207 2009-04-14 Sweta Kothari <swkothar@redhat.com>
209 * po/gu.po: Updated translations.
211 2009-04-14 Sandeep Shedmake <sandeep.shedmake@gmail.com>
213 * po/mr.po: Updated translations.
215 2009-04-14 Rui Gouveia <rui.gouveia@globaltek.pt>
217 * po/pt.po: Updated translations.
219 2009-04-14 I. Felix <ifelix@redhat.com>
221 * po/ta.po: Updated translations.
223 2009-04-14 Krishna Babu K <kkrothap@redhat.com>
225 * po/te.po: Updated translations.
227 2009-04-09 Thorsten Kukuk <kukuk@thkukuk.de>
229 * modules/pam_unix/yppasswd.h: Update license to GPLv2 or later
230 on request of Olaf Kirch (Author).
231 * modules/pam_unix/yppasswd_xdr.c: Likewise.
233 2009-04-06 R.E. van der Luit <nippur@fedoraproject.org>
235 * po/nl.po: Updated translations.
237 2009-04-06 Terry Chuang <tchuang@redhat.com>
239 * po/zh_TW.po: Updated translations.
241 2009-04-03 Shankar Prasad <svenkate@redhat.com>
243 * po/kn.po: Updated translations.
245 2009-04-03 Manoj Kumar Giri <mgiri@redhat.com>
247 * po/or.po: Updated translations.
249 2009-04-03 Miloš Komarčević <kmilos@gmail.com>
251 * po/sr.po: Updated translations.
252 * po/sr@latin.po: Updated translations.
254 2009-04-03 Leah Liu <lliu@redhat.com>
256 * po/zh_CN.po: Updated translations.
258 2009-04-03 Dmitry V. Levin <ldv@altlinux.org>
260 * libpamc/pamc_load.c (__pamc_exec_agent): Replace call to exit(3)
261 in child process with call to _exit(2).
262 * modules/pam_mkhomedir/pam_mkhomedir.c (create_homedir): Likewise.
263 * modules/pam_unix/pam_unix_acct.c (_unix_run_verify_binary):
265 * modules/pam_unix/pam_unix_passwd.c (_unix_run_update_binary):
267 * modules/pam_unix/support.c (_unix_run_helper_binary): Likewise.
268 * modules/pam_xauth/pam_xauth.c (run_coprocess): Likewise.
269 * modules/pam_exec/pam_exec.c (call_exec): Replace all calls to
270 exit(3) in child process with calls to _exit(2).
271 * modules/pam_filter/pam_filter.c (set_filter): Likewise.
272 * modules/pam_namespace/pam_namespace.c (inst_init,
273 cleanup_tmpdirs): Likewise.
275 2009-03-27 Thorsten Kukuk <kukuk@thkukuk.de>
277 * modules/pam_unix/support.c (_unix_run_helper_binary): Don't
278 ignore return value of write().
280 * libpamc/include/security/pam_client.h (PAM_BP_ASSERT): Honour
282 * modules/pam_timestamp/pam_timestamp.c: don't ignore return
283 values of lchown and fchown.
285 2009-03-25 Thorsten Kukuk <kukuk@thkukuk.de>
287 * modules/pam_mkhomedir/pam_mkhomedir.c: Make option handling
289 (_pam_parse): Fix umask option.
291 * modules/pam_unix/passverify.c: Fix typo.
293 * modules/pam_issue/pam_issue.c: Fix compiler warning.
294 * modules/pam_ftp/pam_ftp.c: Likewise.
296 2009-03-25 Pavol Šimo <palo.simo@gmail.com>
298 * po/sk.po: Updated translations.
300 2009-03-24 Sulyok Péter <peti@sulyok.hu>
302 * po/hu.po: Updated translations.
304 2009-03-24 Domingo Becker <domingobecker@gmail.com>
306 * po/es.po: Updated translations.
308 2009-03-24 Diego Búrigo Zacarão <diegobz@projetofedora.org>
310 * po/pt_BR.po: Updated translations.
312 2009-03-24 Piotr Drąg <piotrdrag@gmail.com>
314 * po/pl.po: Updated translations.
316 2009-03-24 Tomas Mraz <t8m@centrum.cz>
318 * modules/pam_unix/passverify.c(save_old_password): Call fflush() and
320 (unix_update_passwd, unix_update_shadow): Likewise.
321 * modules/pam_pwhistory/opasswd.c(save_old_password): Likewise.
323 * po/cs.po: Updated translations.
325 2009-03-09 Thorsten Kukuk <kukuk@thkukuk.de>
327 * release version 1.0.91
329 * libpam/Makefile.am (libpam_la_LDFLAGS): Bump version number.
330 * xtests/Makefile.am: Add tst-pam_unix4.pamd, tst-pam_unix4.sh
333 2009-03-03 Dmitry V. Levin <ldv@altlinux.org>
335 * tests/tst-pam_mkargv.c (main): Fix for non-64bit architectures.
337 2009-03-03 Tomas Mraz <t8m@centrum.cz>
339 * modules/pam_unix/pam_unix_acct.c(_unix_run_verify_binary): Test
340 for abnormal exit of the helper binary.
341 * modules/pam_unix/pam_unix_passwd.c(_unix_run_update_binary): Likewise.
342 * modules/pam_unix/support.c(_unix_run_helper_binary): Likewise.
343 * modules/pam_mkhomedir/pam_mkhomedir.c(create_homedir): Likewise.
345 2009-02-27 Tomas Mraz <t8m@centrum.cz>
347 * modules/pam_mkhomedir/pam_mkhomedir.c(create_homedir): Replace
348 signal() with sigaction().
349 * modules/pam_namespace/pam_namespace.c(inst_init, cleanup_tmpdirs):
351 * modules/pam_unix/pam_unix_acct.c(_unix_run_verify_binary): Likewise.
352 * modules/pam_unix/pam_unix_passwd.c(_unix_run_update_binary):
354 * modules/pam_unix/passverify.c(su_sighandler): Likewise.
355 * modules/pam_unix/support.c(_unix_run_helper_binary): Likewise.
357 * modules/pam_tally2/Makefile.am: Link the pam_tally2 app to libpam
358 for auxiliary functions.
359 * modules/pam_tally2/pam_tally2.8.xml: Drop non-existing no_reset
360 option. Document new serialize option.
361 * modules/pam_tally2/pam_tally2.c: Add support for the new serialize
363 (_cleanup, tally_set_data, tally_get_data): Add tally file handle to
364 tally PAM data. Needed for fcntl() locking.
365 (get_tally): Use low level file access instead of stdio buffered FILE.
366 If serialize option is used lock the tally file access.
367 (set_tally, tally_bump, tally_reset): Use low level file access instead
368 of stdio buffered FILE. Close the file handle only when it is not owned
370 (pam_sm_authenticate, pam_sm_setcred, pam_sm_acct_mgmt): Pass the tally
371 file handle to tally_set_data(). Get it from tally_get_data().
372 (main): Use low level file access instead of stdio buffered FILE.
374 2009-02-26 Tomas Mraz <t8m@centrum.cz>
376 * xtests/Makefile.am: Add tst-pam_unix4.
377 * xtests/tst-pam_unix4.c: New test for password change
378 and shadow min days limit.
379 * xtests/tst-pam_unix4.pamd: Likewise.
380 * xtests/tst-pam_unix4.sh: Likewise.
382 * modules/pam_unix/pam_unix_acct.c (pam_sm_acct_mgmt): Ignore
383 PAM_AUTHTOK_ERR on shadow verification.
384 * modules/pam_unix/passverify.c (check_shadow_expiry): Return
385 PAM_AUTHTOK_ERR if sp_min limit for password change is defied.
387 2009-02-26 Timur Birsh <taem@linukz.org>
389 * po/LINGUAS: New Kazakh translation.
390 * po/kk.po: New Kazakh translation.
392 2009-02-25 Thorsten Kukuk <kukuk@thkukuk.de>
394 * libpam/pam_misc.c (_pam_StrTok): Use unsigned char
395 instead of int. Reported by Marcus Granado.
396 * tests/Makefile.am (TESTS): Add tst-pam_mkargv.
397 * tests/tst-pam_mkargv.c (main): Test case for
400 * po/de.po: Update fuzzy translations.
402 2009-02-25 Tomas Mraz <t8m@centrum.cz>
404 * xtests/access.conf: Add a line for name resolution test case.
405 * xtests/tst-pam_access4.c (main): Set PAM_RHOST for testing the LOCAL
406 keyword. Add a test case for name resolution.
408 * modules/pam_access/pam_access.c (from_match): Move name resolution
409 to network_netmask_match().
410 (network_netmask_match): Do a name resolution of the origin only if
411 matching against a real network/netmask.
413 2009-02-25 Fabian Affolter <fabian@bernewireless.net>
415 * po/de.po: Updated translations.
417 2009-02-25 Taylon Silmer Lacerda Silva <taylonsilva@gmail.com>
419 * po/pt_BR.po: Updated translations.
421 2009-02-25 Domingo Becker <domingobecker@gmail.com>
423 * po/es.po: Updated translations.
425 2009-02-20 Thorsten Kukuk <kukuk@thkukuk.de>
427 * modules/pam_limits/limits.conf.5.xml: Document that the kernel
428 can refuse values out of range for the local system.
429 * modules/pam_limits/pam_limits.c (setup_limits): Log if setrlimit
432 2009-02-18 Thorsten Kukuk <kukuk@thkukuk.de>
434 * libpam/pam_password.c (pam_chauthtok): Make sure applications
435 don't set internal flags.
437 2009-02-17 Thorsten Kukuk <kukuk@thkukuk.de>
439 * doc/man/pam_sm_chauthtok.3.xml: Document that sufficient
440 can break the PRELIM_CHECK chain.
442 * libpam/pam_dispatch.c: Don't freeze chain for chauthtok
443 [bugzilla.novell.com#470337]
445 2009-02-11 Daniel Nylander <po@danielnylander.se>
447 * po/sv.po: Updated translations.
449 2009-01-29 Thorsten Kukuk <kukuk@thkukuk.de>
451 * doc/man/pam_sm_setcred.3.xml: Document PAM_ESTABLISH_CRED.
453 2009-01-19 Tomas Mraz <t8m@centrum.cz>
455 * modules/pam_mkhomedir/Makefile.am: Add mkhomedir_helper.
456 * modules/pam_mkhomedir/mkhomedir_helper.8.xml: New file. Manual page
457 for mkhomedir_helper.
458 * modules/pam_mkhomedir/mkhomedir_helper.c: New file. Source
459 for mkhomedir_helper. Most of the code moved from pam_mkhomedir.c.
460 * modules/pam_mkhomedir/pam_mkhomedir.c (_pam_parse): Do not convert umask
462 (rec_mkdir): Moved to mkhomedir_helper.c.
463 (create_homedir): Just exec the helper.
464 (pam_sm_open_session): Improve logging.
466 2009-01-19 Daniel Cabrera <h.daniel.cabrera@gmail.com>
468 * po/es.po: Updated translations.
470 2009-01-14 Thorsten Kukuk <kukuk@thkukuk.de>
472 * po/de.po: Updated translations.
474 2009-01-07 Piotr Drąg <piotrdrag@gmail.com>
476 * po/pl.po: Updated translations.
478 2008-12-23 Piotr Drąg <piotrdrag@gmail.com>
480 * po/pl.po: Updated translations.
482 2008-12-18 Thorsten Kukuk <kukuk@thkukuk.de>
484 * modules/pam_pwhistory/pam_pwhistory.c (parse_option): Rename
485 type= option to authtok_type= (because of pam_get_authtok).
486 * modules/pam_pwhistory/pam_pwhistory.8.xml: Likewise.
488 2008-12-17 Tomas Mraz <t8m@centrum.cz>
490 * modules/pam_tty_audit/pam_tty_audit.c (pam_sm_open_session): Do
491 not abort on unknown option. Avoid double free of old_status.
492 (pam_sm_close_session): Use LOG_DEBUG for restored status message.
494 * configure.in: Test for getseuser().
495 * modules/pam_selinux/pam_selinux.c (pam_sm_open_session): Call getseuser()
496 instead of getseuserbyname() if the function is available.
498 2008-12-12 Thorsten Kukuk <kukuk@thkukuk.de>
500 * release version 1.0.90
502 * libpam_misc/Makefile.am: Increase version number of shared library.
503 * libpamc/Makefile.am: Likewise.
505 2008-12-12 Tomas Mraz <t8m@centrum.cz>
507 * modules/pam_tally2/pam_tally2.c (get_tally): Test for EACCES
509 * modules/pam_tally2/pam_tally2.8.xml: Fix documentation.
511 2008-12-10 Thorsten Kukuk <kukuk@thkukuk.de>
513 * doc/man/pam_item_types_ext.inc.xml: Document PAM_AUTHTOK_TYPE.
514 * libpam/pam_end.c (pam_end): Free authtok_type.
515 * tests/tst-pam_get_item.c: Add PAM_AUTHTOK_TYPE
517 * tests/tst-pam_set_item.c: Likewise.
518 * libpam/pam_start.c (pam_start): Initialize xdisplay,
519 xauth and authtok_type.
520 * libpam/pam_get_authtok.c (pam_get_authtok): Rename "type"
522 * modules/pam_cracklib/pam_cracklib.8.xml: Replace "type=" with
524 * doc/man/pam_get_authtok.3.xml: Document authtok_type argument.
525 * modules/pam_cracklib/pam_cracklib.c (pam_sm_chauthtok): Set
526 type= argument as PAM_AUTHTOK_TYPE item.
527 * libpam/pam_get_authtok.c (pam_get_authtok): If no type
528 argument given, use PAM_AUTHTOK_TYPE item.
529 * libpam/pam_item.c (pam_get_item): Fetch PAM_AUTHTOK_TYPE item.
530 (pam_set_item): Store PAM_AUTHTOK_TYPE item.
531 * libpam/pam_private.h: Add authtok_type to pam_handle.
532 * libpam/include/security/_pam_types.h (PAM_AUTHTOK_TYPE): New.
534 2008-12-03 Thorsten Kukuk <kukuk@thkukuk.de>
536 * modules/pam_access/access.conf.5.xml: Replace
537 2001:4ca0 with 2001:db8:: [bug#2356400].
539 * doc/man/Makefile.am: Add pam_get_authtok.3.xml.
540 * doc/man/pam_get_authtok.3.xml: New.
541 * libpam/Makefile.am: Add pam_get_authtok.c.
542 * libpam/libpam.map: Export pam_get_authtok.
543 * libpam/pam_get_authtok.c: New.
544 * libpam/pam_private.h: Add mod_argc and mod_argv to pam_handle.
545 * libpam_include/security/pam_ext.h: Add pam_get_authtok
547 * modules/pam_cracklib/pam_cracklib.c: Use pam_get_authtok.
548 * modules/pam_pwhistory/pam_pwhistory.c: Likewise.
549 * po/POTFILES.in: Add libpam/pam_get_authtok.c.
550 * xtests/tst-pam_cracklib1.c: Adjust error codes.
552 * modules/pam_timestamp/Makefile.am: Remove hmactest.c from
555 * po/*.po: Regenerated.
557 2008-12-02 Michael Calmer <mc@suse.de>
559 * modules/pam_limits/limits.conf.5.xml: Document valid values
560 for limits (bnc#448314).
562 2008-12-02 Thorsten Kukuk <kukuk@thkukuk.de>
564 * modules/pam_env/pam_env.c: Add support for user specific
565 environment file. Based on a patch from Ubuntu.
566 * modules/pam_env/pam_env.8.xml: Document new options.
568 2008-12-02 Olivier Fourdan <ofourdan@redhat.com>
570 * modules/pam_filter/pam_filter.c (master): Use /dev/ptmx
571 instead of the old BSD pseudoterminal API.
572 (set_filter): Call grantpt(), unlockpt() and ptsname(). Do not
573 close pseudoterminal handle in filter child.
574 * modules/pam_filter/upperLOWER/upperLOWER.c (main): Use
575 regular read() instead of pam_modutil_read() to allow for
578 2008-12-02 Tomas Mraz <t8m@centrum.cz>
580 * modules/pam_timestamp/Makefile.am: Add hmacfile to tests.
581 * modules/pam_timestamp/hmacfile.c: Do not try the short key
584 2008-12-01 Tomas Mraz <t8m@centrum.cz>
586 * modules/pam_unix/support.h: Fix masks for cipher algorithm
589 2008-12-01 Thorsten Kukuk <kukuk@thkukuk.de>
591 * modules/pam_unix/pam_unix.8.xml: Document blowfish option.
593 * configure.in: Check for crypt_gensalt_rn.
594 * modules/pam_unix/pam_unix_passwd.c: Pass pamh to
595 create_password_hash function.
596 * modules/pam_unix/passverify.c (create_password_hash): Add
598 * modules/pam_unix/passverify.h: Adjust create_password_hash
600 * modules/pam_unix/support.c: Add support for blowfish option.
601 * modules/pam_unix/support.h: Add defines for blowfish option.
602 Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
604 2008-12-01 Tomas Mraz <t8m@centrum.cz>
606 * modules/pam_access/pam_access.8.xml: Fix description of nodefgroup
609 * modules/pam_group/pam_group.c (is_same): Fix check for correct
612 2008-11-29 Thorsten Kukuk <kukuk@thkukuk.de>
614 * configure.in: Check for xcrypt.h, fix typo in libaudit check.
615 * modules/pam_cracklib/pam_cracklib.c: Include xcrypt.h if
617 * modules/pam_unix/bigcrypt.c: Likewise.
618 * modules/pam_unix/passverify.c: Likewise.
619 * modules/pam_userdb/pam_userdb.c: Likewise.
620 Jozsef Kadlecsik <kadlec@blackhole.kfki.hu>
622 * doc/man/pam_getenv.3.xml: Document that application should
623 not free return value.
625 * doc/man/pam.3.xml: Add Note about thread-safeness of libpam
628 2008-11-28 Tomas Mraz <t8m@centrum.cz>
630 * modules/pam_unix/unix_update.c (set_password): Allow root to change
631 passwords without verification of the old ones.
633 * modules/pam_tally2/pam_tally2.c (tally_check): Fix info format
634 to be the same as in pam_tally.
636 * configure.in: Add modules/pam_timestamp/Makefile.
637 * doc/sag/Linux-PAM_SAG.xml: Include pam_timestamp.xml.
638 * doc/sag/pam_timestamp.xml: New.
639 * libpam/pam_static_modules.h: Add pam_timestamp static struct.
640 * modules/Makefile.am: Add pam_timestamp directory.
641 * modules/pam_timestamp/Makefile.am: New.
642 * modules/pam_timestamp/README.xml: New.
643 * modules/pam_timestamp/hmacsha1.h: New.
644 * modules/pam_timestamp/sha1.h: New.
645 * modules/pam_timestamp/pam_timestamp.8.xml: New.
646 * modules/pam_timestamp/pam_timestamp_check.8.xml: New.
647 * modules/pam_timestamp/pam_timestamp.c: New.
648 * modules/pam_timestamp/pam_timestamp_check.c: New.
649 * modules/pam_timestamp/hmacfile.c: New.
650 * modules/pam_timestamp/hmacsha1.c: New.
651 * modules/pam_timestamp/sha1.c: New.
652 * modules/pam_timestamp/tst-pam_timestamp: New.
653 * po/POTFILES.in: Add pam_timestamp sources.
654 * po/*.po: Regenerate.
655 * po/cs.po: Updated translations.
657 2008-11-25 Thorsten Kukuk <kukuk@thkukuk.de>
659 * modules/pam_pwhistory/opasswd.c (save_old_password): Fix typo.
661 * modules/pam_time/pam_time.c (is_same): Fix check
662 of correct string length (debian bug #326407).
664 2008-11-24 Thorsten Kukuk <kukuk@thkukuk.de>
666 * xtests/Makefile.am: Add pam_time1 tests.
667 * xtests/tst-pam_time1.c: New test case.
668 * xtests/tst-pam_time1.pamd: New.
669 * xtests/time.conf: New.
670 * xtests/run-xtests.sh: Copy time.conf.
672 2008-11-24 Tomas Mraz <t8m@centrum.cz>
674 * libpam/pam_handlers.c (_pam_parse_conf_file): '-' at
675 beginning of type token marks silent module.
676 (_pam_load_module): Add handler_type parameter. Do not log
677 module load error if module is silent.
678 (_pam_add_handler): Pass handler_type to _pam_load_module().
679 * libpam/pam_private.h: Add PAM_HT_SILENT_MODULE.
680 * doc/man/pam.conf-syntax.xml: Document the '-' at beginning
683 * modules/pam_cracklib/pam_cracklib.c (pam_sm_chauthtok): Fix leaks
685 * modules/pam_env/pam_env.c (_parse_env_file): Remove superfluous
687 * modules/pam_group/pam_group.c (check_account): Fix leak
689 * modules/pam_listfile/pam_listfile.c (pam_sm_authenticate): Fix leak
691 * modules/pam_securetty/pam_securetty.c (securetty_perform_check): Remove
692 superfluous condition.
693 * modules/pam_stress/pam_stress.c (stress_get_password,pam_sm_authenticate):
694 Remove superfluous conditions.
695 (pam_sm_chauthtok): Fix mistaken && for &.
696 * modules/pam_unix/pam_unix_auth.c (pam_sm_authenticate): Remove
697 superfluous condition.
698 All the problems fixed in this commit were found by Steve Grubb.
700 2008-11-20 Tomas Mraz <t8m@centrum.cz>
702 * modules/pam_sepermit/pam_sepermit.c (sepermit_match): Do not
703 call sepermit_lock() if sense is deny. Do not crash on NULL seuser
705 (pam_sm_authenticate): Try to call getseuserbyname() even if
708 2008-11-19 Thorsten Kukuk <kukuk@thkukuk.de>
710 * modules/pam_xauth/pam_xauth.c (pam_sm_open_session):
711 Preserve XAUTHLOCALHOSTNAME environment variable.
713 * modules/pam_pwhistory/pam_pwhistory.c (pam_sm_chauthtok): Finish
714 implementation of type=STRING option.
716 * modules/pam_pwhistory/pam_pwhistory.8.xml: Document
717 "type=STRING" option.
719 2008-10-27 Thorsten Kukuk <kukuk@thkukuk.de>
721 * doc/man/pam_setcred.3.xml: Document when credentials
723 * po/ja.po: Fix syntax error.
724 * po/de.po: Update translations.
725 * po/*.po: Regenerate with pam_tally2 added.
727 2008-10-23 Taylon Silmer Lacerda Silva <taylonsilva@gmail.com>
729 * po/pt_BR.po: Updated translations.
731 2008-10-23 Krishna Babu K <kkrothap@redhat.com>
733 * po/LINGUAS: New language.
734 * po/te.po: New translation to Telugu.
736 2008-10-23 Manoj Kumar Giri <mgiri@redhat.com>
738 * po/or.po: Updated translations.
740 2008-10-21 Amitakhya Phukan <aphukan@redhat.com>
742 * po/as.po: Updated translations.
744 2008-10-21 Ondrej Sulek <feonsu@gmail.com>
746 * po/sk.po: Updated translations.
748 2008-10-21 Terry Chuang <tchuang@redhat.com>
750 * po/zh_TW.po: Updated translations.
752 2008-10-21 Kiyoto Hashida <khashida@redhat.com>
754 * po/ja.po: Updated translations.
756 2008-10-21 Francesco Valente <fvalen@redhat.com>
758 * po/it.po: Updated translations.
760 2008-10-21 Peter van Egdom <p.van.egdom@gmail.com>
762 * po/nl.po: Updated translations.
764 2008-10-20 Ani Peter <apeter@redhat.com>
766 * po/ml.po: Updated translations.
768 2008-10-20 Pablo Martin-Gomez <pablo.martin-gomez@laposte.net>
770 * po/fr.po: Updated translations.
772 2008-10-20 Runa Bhattacharjee <runab@redhat.com>
774 * po/bn_IN.po: Updated translations.
776 2008-10-20 Shankar Prasad <svenkate@redhat.com>
778 * po/kn.po: Updated translations.
780 2008-10-20 Leah Liu <lliu@redhat.com>
782 * po/zh_CN.po: Updated translations.
784 2008-10-20 Ondrej Sulek <feonsu@gmail.com>
786 * po/LINGUAS: New language.
787 * po/sk.po: New translation to Slovak.
789 2008-10-17 Tomas Mraz <t8m@centrum.cz>
791 * configure.in: Add modules/pam_tally2/Makefile.
792 * doc/sag/Linux-PAM_SAG.xml: Include pam_tally2.xml.
793 * doc/sag/pam_tally2.xml: New.
794 * libpam/pam_static_modules.h: Add pam_tally2 static struct.
795 * modules/Makefile.am: Add pam_tally2 directory.
796 * modules/pam_tally2/Makefile.am: New.
797 * modules/pam_tally2/README.xml: New.
798 * modules/pam_tally2/tallylog.h: New.
799 * modules/pam_tally2/pam_tally2.8.xml: New.
800 * modules/pam_tally2/pam_tally2.c: New.
801 * modules/pam_tally2/pam_tally2_app.c: New.
802 * modules/pam_tally2/tst-pam_tally2: New.
803 * po/POTFILES.in: Add pam_tally2 sources.
805 2008-10-17 Xavier Queralt Mateu <xqueralt@gmail.com>
807 * po/ca.po: Updated translations.
809 2008-10-15 Tomas Mraz <t8m@centrum.cz>
811 * modules/pam_keyinit/pam_keyinit.c (kill_keyrings): Save the old
812 euid to suid to be able to restore it.
814 2008-10-15 Piotr Drąg <piotrdrag@gmail.com>
816 * po/pl.po: Updated translations.
818 2008-10-13 Tomas Mraz <t8m@centrum.cz>
820 * po/LINGUAS: New languages.
821 * po/cs.po: Updated translations.
823 2008-10-13 Amitakhya Phukan <aphukan@redhat.com>
825 * po/as.po: Updated translations.
827 2008-10-13 Shankar Prasad <svenkate@redhat.com>
829 * po/kn.po: Updated translations.
831 2008-10-13 Sandeep Sheshrao Shedmake <sshedmak@redhat.com>
833 * po/mr.po: New translation to Marathi.
835 2008-10-13 Runa Bhattacharjee <runab@redhat.com>
837 * po/bn_IN.po: Updated translations.
839 2008-10-13 Sharuzzaman Ahmat Raslan <sharuzzaman@gmail.com>
841 * po/ms.po: New translation to Malay.
843 2008-10-10 Thorsten Kukuk <kukuk@thkukuk.de>
845 * modules/pam_cracklib/pam_cracklib.c (_pam_unix_approve_pass):
846 Remove check for re-used passwords.
847 * modules/pam_cracklib/pam_cracklib.8.xml: Remove documentation
848 of re-used password check.
850 * configure.in: add modules/pam_pwhistory/Makefile.
851 * doc/sag/Linux-PAM_SAG.xml: Include pam_pwhistory.xml.
852 * doc/sag/pam_pwhistory.xml: New.
853 * libpam/pam_static_modules.h: Add pam_pwhistory data.
854 * modules/Makefile.am: Add pam_pwhistory directory.
855 * modules/pam_pwhistory/Makefile.am: New.
856 * modules/pam_pwhistory/README.xml: New.
857 * modules/pam_pwhistory/opasswd.c: New.
858 * modules/pam_pwhistory/opasswd.h: New.
859 * modules/pam_pwhistory/pam_pwhistory.8.xml: New.
860 * modules/pam_pwhistory/pam_pwhistory.c: New.
861 * modules/pam_pwhistory/tst-pam_pwhistory: New.
862 * xtests/Makefile.am: New.
863 * xtests/run-xtests.sh: New.
864 * xtests/tst-pam_pwhistory1.c: New.
865 * xtests/tst-pam_pwhistory1.pamd: New.
866 * xtests/tst-pam_pwhistory1.sh: New.
867 * po/POTFILES.in: Add modules/pam_pwhistory/.
868 * po/de.po: Update translations.
870 2008-10-02 Thorsten Kukuk <kukuk@thkukuk.de>
872 * po/de.po: Update translations.
874 2008-09-30 Manoj Kumar Giri <mgiri@redhat.com>
876 * po/or.po: Updated translations.
878 2008-09-30 Taylon Silmer Lacerda Silva <taylonsilva@gmail.com>
880 * po/pt_BR.po: Updated translations.
882 2008-09-30 Tomas Mraz <t8m@centrum.cz>
884 * modules/pam_lastlog/pam_lastlog.8.xml: Document new options
885 noupdate and showfailed.
886 * modules/pam_lastlog/pam_lastlog.c(pam_parse): Recognize the new
888 (last_login_read): New output parameter lltime. Do not display
889 the last login message if it would be empty.
890 (last_login_date): New output parameter lltime. Do not write the
891 last login info when LASTLOG_UPDATE is not set.
892 (last_login_failed): New function to display the last bad login
894 (pam_sm_open_session): Obtain lltime from last_login_date() and
895 call last_login_failed() when appropriate.
897 * po/Linux-pam.pot: Updated strings to translate.
900 2008-09-29 Thorsten Kukuk <kukuk@thkukuk.de>
902 * modules/pam_echo/pam_echo.8.xml: Fix format error.
904 2008-09-25 Tomas Mraz <t8m@centrum.cz>
906 * modules/pam_tally/pam_tally.c(get_tally): Fix syslog message.
907 (tally_check): Open faillog read only. Close file descriptor.
908 Fix typos in messages.
910 2008-09-25 Thorsten Kukuk <kukuk@thkukuk.de>
912 * modules/pam_mail/pam_mail.c (report_mail): Fix logic of
913 "quiet" option (Patch from Andreas Henriksson <andreas@fatal.se>)
915 * modules/pam_mail/pam_mail.8.xml: Fix typo.
917 2008-09-23 Tomas Mraz <t8m@centrum.cz>
919 * modules/pam_limits/limits.conf.5.xml: Comment that rss limit is
922 2008-09-19 Tomas Mraz <t8m@centrum.cz>
924 * modules/pam_cracklib/pam_cracklib.8.xml: Fix description
925 of the palindrome test. Document new options maxrepeat and
927 * modules/pam_cracklib/pam_cracklib.c(_pam_parse): Parse
928 the maxrepeat and reject_username options.
929 (password_check): Call the new tests usercheck() and
931 (_pam_unix_approve_pass): Pass user name to the password_check().
933 2008-09-16 Thorsten Kukuk <kukuk@thkukuk.de>
935 * modules/pam_cracklib/pam_cracklib.8.xml: Fix typo.
937 * modules/pam_unix/pam_unix.8.xml: Fix typo.
939 2008-09-03 Thorsten Kukuk <kukuk@thkukuk.de>
941 * modules/pam_exec/pam_exec.c: Expose authtok if requested,
942 provide environment variable containing service type.
943 * modules/pam_exec/pam_exec.8.xml: Document new option.
945 2008-08-29 Tomas Mraz <t8m@centrum.cz>
947 * modules/pam_loginuid/pam_loginuid.c(set_loginuid): Uids
950 2008-08-18 Thorsten Kukuk <kukuk@thkukuk.de>
952 * Makefile.am (M4_FILES): Adjust list.
954 * modules/pam_access/pam_access.8.xml: Fix module service
956 * modules/pam_cracklib/pam_cracklib.8.xml: Likewise.
957 * modules/pam_debug/pam_debug.8.xml: Likewise.
958 * modules/pam_deny/pam_deny.8.xml: Likewise.
959 * modules/pam_echo/pam_echo.8.xml: Likewise.
960 * modules/pam_env/pam_env.8.xml: Likewise.
961 * modules/pam_exec/pam_exec.8.xml: Likewise.
962 * modules/pam_faildelay/pam_faildelay.8.xml: Likewise.
963 * modules/pam_filter/pam_filter.8.xml: Likewise.
964 * modules/pam_ftp/pam_ftp.8.xml: Likewise.
965 * modules/pam_group/pam_group.8.xml: Likewise.
966 * modules/pam_issue/pam_issue.8.xml: Likewise.
967 * modules/pam_keyinit/pam_keyinit.8.xml: Likewise.
968 * modules/pam_lastlog/pam_lastlog.8.xml: Likewise.
969 * modules/pam_limits/pam_limits.8.xml: Likewise.
970 * modules/pam_listfile/pam_listfile.8.xml: Likewise.
971 * modules/pam_localuser/pam_localuser.8.xml: Likewise.
972 * modules/pam_loginuid/pam_loginuid.8.xml: Likewise.
973 * modules/pam_mail/pam_mail.8.xml: Likewise.
974 * modules/pam_mkhomedir/pam_mkhomedir.8.xml: Likewise.
975 * modules/pam_motd/pam_motd.8.xml: Likewise.
976 * modules/pam_namespace/pam_namespace.8.xml: Likewise.
977 * modules/pam_nologin/pam_nologin.8.xml: Likewise.
978 * modules/pam_permit/pam_permit.8.xml: Likewise.
979 * modules/pam_rhosts/pam_rhosts.8.xml: Likewise.
980 * modules/pam_rootok/pam_rootok.8.xml: Likewise.
981 * modules/pam_securetty/pam_securetty.8.xml: Likewise.
982 * modules/pam_selinux/pam_selinux.8.xml: Likewise.
983 * modules/pam_sepermit/pam_sepermit.8.xml: Likewise.
984 * modules/pam_shells/pam_shells.8.xml: Likewise.
985 * modules/pam_succeed_if/pam_succeed_if.8.xml: Likewise.
986 * modules/pam_tally/pam_tally.8.xml: Likewise.
987 * modules/pam_time/pam_time.8.xml: Likewise.
988 * modules/pam_tty_audit/pam_tty_audit.8.xml: Likewise.
989 * modules/pam_umask/pam_umask.8.xml: Likewise.
990 * modules/pam_unix/pam_unix.8.xml: Likewise.
991 * modules/pam_userdb/pam_userdb.8.xml: Likewise.
992 * modules/pam_warn/pam_warn.8.xml: Likewise.
993 * modules/pam_wheel/pam_wheel.8.xml: Likewise.
994 * modules/pam_xauth/pam_xauth.8.xml: Likewise.
996 2008-08-01 Thorsten Kukuk <kukuk@thkukuk.de>
998 * configure.in: Add version for gettext, add search path
999 for m4 directory, fix handling of --disable-* options.
1000 Patches from Diego Pettenò <flameeyes@gmail.com>.
1002 * configure.in: Run autoupdate on it.
1004 * acincludde.m4: Rename to ...
1005 * m4/jh_path_xml_catalog.m4: ... this.
1007 * m4/*.m4: Remove all autoconf m4 files.
1009 2008-07-29 Steve Langasek <vorlon@debian.org>
1011 * modules/pam_cracklib/pam_cracklib.8.xml: correct a typo,
1012 "Only he" -> "Only the"
1014 2008-07-28 Steve Langasek <vorlon@debian.org>
1016 * libpamc/test/regress/test.libpamc.c: use standard u_int8_t
1017 type instead of __u8, as elsewhere.
1018 Patch from Roger Leigh <rleigh@debian.org>.
1019 * modules/pam_unix/passverify.c: make save_old_password()
1020 thread-safe by using pam_modutil_getpwnam() instead of getpwnam()
1021 * modules/pam_unix/passverify.c, modules/pam_unix/passverify.h,
1022 modules/pam_unix/pam_unix_passwd.c: add pamh argument to
1025 2008-07-27 Steve Langasek <vorlon@debian.org>
1027 * modules/pam_*/pam_*.8.xml: fix up the references to pam.d,
1028 which is in manpage section 5, not 8.
1029 * modules/pam_env/environment, modules/pam_env/pam_env.8.xml:
1030 spelling fix, seperate -> separate
1032 2008-07-26 Steve Langasek <vorlon@debian.org>
1034 * modules/pam_env/pam_env.c: Fix module to skip over
1035 non-alphanumeric variable names, and to handle the case when
1036 asked to delete a non-existent variable.
1038 2008-07-13 Tomas Mraz <t8m@centrum.cz>
1040 * modules/pam_mail/pam_mail.8.xml: Module supports session and
1041 not account service (#1980773).
1043 2008-07-11 Tomas Mraz <t8m@centrum.cz>
1045 * modules/pam_unix/pam_unix_acct.c (_unix_run_verify_binary): Do
1046 not close the pipe descriptor in borderline case (#2009766).
1047 * modules/pam_unix/pam_unix_passwd.c (_unix_run_update_binary):
1049 * modules/pam_unix/support.c (_unix_run_helper_binary): Likewise.
1050 * modules/pam_unix/support.h: Define upper limit of fds we will
1053 * modules/pam_selinux/pam_selinux.c (config_context): Do not
1054 ask for the level if use_current_range is set.
1055 (context_from_env): New function to obtain the context from
1056 PAM environment variables.
1057 (pam_sm_open_session): Call context_from_env() if env_params option
1058 is present. use_current_range now modifies behavior of the
1059 context_from_env and config_context options.
1060 * modules/pam_selinux/pam_selinux.8.xml: Describe the env_params
1061 option. Adjust description of use_current_range option.
1063 2008-07-09 Thorsten Kukuk <kukuk@thkukuk.de>
1065 * modules/pam_exec/pam_exec.c (call_exec): Move all variable
1066 declaration to begin of a block (#1976310).
1068 * xtests/tst-pam_group1.c (run_test): Move no_grps declaration
1069 to begin of function (#1976310).
1071 * modules/pam_securetty/pam_securetty.8.xml: Replace
1072 PAM_IGNORE with PAM_USER_UNKNOWN (#1994330).
1074 * modules/pam_tally/pam_tally.c: Add support for silent and
1075 no_log_info options.
1076 * modules/pam_tally/pam_tally.8.xml: Document silent and
1077 no_log_info options.
1079 2008-07-08 Thorsten Kukuk <kukuk@thkukuk.de>
1081 * modules/pam_unix/passverify.c (verify_pwd_hash): Adjust debug
1084 2008-06-22 Thorsten Kukuk <kukuk@thkukuk.de>
1086 * modules/pam_unix/unix_chkpwd.c (main): Fix compiling without
1089 * modules/pam_cracklib/pam_cracklib.8.xml: Fix typo in ucredit
1090 description (reported by Wayne Pollock <pollock@acm.org>)
1092 2008-06-19 Tomas Mraz <t8m@centrum.cz>
1094 * modules/pam_succeed_if/pam_succeed_if.c (pam_sm_authenticate):
1095 Detect configuration errors. Fail on incomplete condition.
1097 2008-05-20 Tomas Mraz <t8m@centrum.cz>
1099 * configure.in: Work correctly with autoconf-2.62.
1101 2008-05-19 Tomas Mraz <t8m@centrum.cz>
1103 * doc/man/pam_getenv.3.xml: Correct the pam_getenv documentation.
1105 * doc/man/pam_prompt.3.xml: Add missing description.
1107 2008-05-14 Kjartan Maraas <kmaraas@gnome.org>
1109 * po/nb.po: Updated translation.
1111 2008-05-14 Sulyok Péter <peti@sulyok.hu>
1113 * po/hu.po: Updated translation.
1115 2008-05-14 Tomas Mraz <t8m@centrum.cz>
1117 * libpam/pam_modutil_getgrgid.c: Replace hardcoded constant with
1118 define PWD_LENGTH_SHIFT.
1119 * libpam/pam_modutil_getgrnam.c: Likewise.
1120 * libpam/pam_modutil_getpwnam.c: Likewise.
1121 * libpam/pam_modutil_getpwuid.c: Likewise.
1122 * libpam/pam_modutil_getspnam.c: Likewise.
1123 * libpam/pam_modutil_private.h: Adjust values for PWD_ constants.
1125 * modules/pam_unix/pam_unix_passwd.c(pam_sm_chauthtok): Unset authtok
1126 item when password is not approved.
1127 * modules/pam_unix/support.c(_unix_read_password): UNIX_USE_FIRST_PASS
1128 is always set when UNIX_AUTHTOK is set, change order of conditions.
1130 2008-05-02 Tomas Mraz <t8m@centrum.cz>
1132 * modules/pam_selinux/pam_selinux.c(query_response): Add handling
1134 (manual_context): Handle failed query_response() properly. Rename
1135 variable responses to response which is more correct name.
1136 (config_context): Likewise.
1137 (pam_sm_open_session): Do not base decision on whether there is a tty.
1139 2008-04-22 Tomas Mraz <t8m@centrum.cz>
1141 * modules/pam_selinux/pam_selinux.c(pam_sm_close_sesion): Fix
1142 regression from the change from 2008-03-20. setexeccon() must be
1143 called also with NULL prev_context.
1145 2008-04-21 Thorsten Kukuk <kukuk@thkukuk.de>
1147 * modules/pam_access/access.conf.5.xml: Document changed behavior
1149 * modules/pam_access/pam_access.c: Add from_remote_host to
1150 struct login_info to change behavior of LOCAL keyword: if
1151 PAM_RHOST is not set, LOCAL will be true.
1153 2008-04-18 Tomas Mraz <t8m@centrum.cz>
1155 * modules/pam_namespace/pam_namespace.c: New functions
1156 unprotect_dirs(), cleanup_protect_data(), protect_mount(),
1157 protect_dir() to protect directory by bind mount.
1158 (cleanup_data): Renamed to cleanup_polydir_data().
1159 (parse_create_params): Allow missing specification of mode
1161 (check_inst_parent): Call protect_dir() on the instance parent
1162 directory. The directory is created when it doesn't exist.
1163 (create_polydir): Protect and make the polydir by protect_dir(),
1164 remove potential races.
1165 (create_dirs): Renamed to create_instance(), remove call to
1167 (ns_setup): Call protect_dir() on the polydir if it already exists.
1168 Call inst_init() after the polydir is mounted.
1169 (setup_namespace): Set the namespace protect data to be cleaned up
1170 on pam_close_session()/pam_end().
1171 (pam_sm_open_session): Initialize the protect_dirs.
1172 (pam_sm_close_session): Cleanup namespace protect data.
1173 * modules/pam_namespace/pam_namespace.h: Define struct for the
1174 stack of protected dirs.
1175 * modules/pam_namespace/pam_namespace.8.xml: Document when the
1176 instance init script is called.
1177 * modules/pam_namespace/namespace.conf.5.xml: Likewise.
1179 2008-04-17 Tomas Mraz <t8m@centrum.cz>
1181 * modules/pam_access/pam_access.c(myhostname): Removed function.
1182 (user_match): Supply hostname of the machine to the netgroup_match().
1183 Use hostname from the loginfo instead of calling myhostname().
1184 (pam_sm_authenticate): Call gethostname() to fill hostname in the
1187 * modules/pam_sepermit/pam_sepermit.c(sepermit_match): Do not try
1188 to lock if euid != 0.
1190 2008-04-16 Tomas Mraz <t8m@centrum.cz>
1192 * modules/pam_unix/Makefile.am: Link unix_chkpwd with libaudit.
1193 * modules/pam_unix/unix_chkpwd.c(_audit_log): New function for audit.
1194 (main): Call _audit_log() when appropriate.
1196 * modules/pam_cracklib/pam_cracklib.c(_pam_parse): Recognize also
1197 try_first_pass and use_first_pass options.
1198 (pam_sm_chauthtok): Implement the new options.
1200 2008-04-08 Tomas Mraz <t8m@centrum.cz>
1202 * modules/pam_xauth/pam_xauth.c(run_coprocess): Avoid multiple
1203 calls to sysconf() (based on patch by Sami Farin).
1205 * libpam/pam_item.c (TRY_SET): Do not set when destination
1206 is identical to source.
1207 (pam_set_item): Do not overwrite destination when it
1208 is identical to source.
1210 2008-04-07 Miloš Komarčević <kmilos@gmail.com>
1212 * po/sr.po: New file with translation.
1213 * po/sr@latin.po: Likewise.
1214 * po/LINGUAS: Add sr and sr@latin.
1216 2008-04-03 Thorsten Kukuk <kukuk@thkukuk.de>
1218 * release version 1.0.0
1220 * configure.in: Set version number to 1.0.0.
1221 * libpam/Makefile.am: Bump patchlevel of libpam.
1222 * doc/adg/Linux-PAM_ADG.xml: Update version/date.
1223 * doc/mwg/Linux-PAM_MWG.xml: Likewise.
1224 * doc/sag/Linux-PAM_SAG.xml: Likewise.
1226 2008-03-31 Dan Walsh <dwalsh@redhat.com>
1228 * modules/pam_sepermit/pam_sepermit.c(sepermit_lock): Mark lock fd to
1231 2008-03-25 Leah Liu <lliu@redhat.com>
1233 * po/zh_CN.po: Updated translation.
1235 2008-03-20 Tomas Mraz <t8m@centrum.cz>
1237 * modules/pam_namespace/pam_namespace.c(poly_name): Switch to USER
1238 method only when appropriate.
1239 (setup_namespace): Do not umount when not mounted with RUSER.
1241 * modules/pam_selinux/pam_selinux.c(pam_sm_close_session): Call
1242 freecontext() after the context is logged not before.
1244 2008-03-18 Canniot Thomas <thomas.canniot@mrtomlinux.org>
1246 * po/fr.po: Updated translation.
1248 2008-03-13 Ankit Patel <ankit@redhat.com>
1250 * po/gu.po: Updated translation.
1252 2008-03-05 Tomas Mraz <t8m@centrum.cz>
1254 * modules/pam_cracklib/pam_cracklib.c(pam_sm_chauthtok): Avoid
1255 unnecessary x_strdup() of resp.
1256 * modules/pam_ftp/pam_ftp(pam_sm_authenticate): Call _pam_overwrite()
1257 before dropping password resp.
1259 2008-03-03 Tomas Mraz <t8m@centrum.cz>
1261 * modules/pam_selinux/pam_selinux.c: Do not translate syslog messages.
1262 * po/Linux-PAM.pot: Update.
1264 * libpam/pam_item.c(RESET): Rename to TRY_SET, handle strdup failure.
1265 (pam_set_item): Use TRY_SET() also for PAM_AUTHTOK and PAM_OLDAUTHTOK.
1266 Handle allocation failure for PAM_XAUTHDATA.
1267 (pam_get_user): Return error when conversation returns NULL user.
1268 Call pam_set_item() instead of RESET().
1270 2008-02-26 Tomas Mraz <t8m@centrum.cz>
1272 * modules/pam_unix/Makefile.am: Do not link to cracklib.
1273 * modules/pam_unix/pam_unix_passwd.c(_pam_unix_approve_pass):
1274 Do not call FascistCheck() from cracklib.
1276 2008-02-29 Fabian Affolter <fab@fedoraproject.org>
1278 * po/de.po: Updated translation.
1280 2008-02-28 Piotr Drąg <piotrdrag@gmail.com>
1282 * po/pl.po: Updated translation.
1284 2008-02-26 Tomas Mraz <t8m@centrum.cz>
1286 * po/LINUGAS: New languages added.
1287 * po/es.po: Updated translations.
1288 * po/fr.po: Likewise.
1289 * po/it.po: Likewise.
1290 * po/ja.po: Likewise.
1291 * po/nl.po: Likewise.
1292 * po/pl.po: Likewise.
1293 * po/pt_BR.po: Likewise.
1294 * po/ru.po: Likewise.
1295 * po/zh_CN.po: Likewise.
1296 * po/as.po: New file.
1297 * po/gu.po: Likewise.
1298 * po/hi.po: Likewise.
1299 * po/kn.po: Likewise.
1300 * po/ko.po: Likewise.
1301 * po/ml.po: Likewise.
1302 * po/or.po: Likewise.
1303 * po/si.po: Likewise.
1304 * po/ta.po: Likewise.
1306 2008-02-21 Tomas Mraz <t8m@centrum.cz>
1308 * libpam/pam_audit.c (_pam_audit_writelog): Silence syslog
1309 message on non-error return.
1311 * modules/pam_unix/unix_chkpwd.c (main): Proceed as unprivileged
1312 user when checking password of another user.
1313 * modules/pam_unix/unix_update.c: Fix comment.
1315 2008-02-18 Dmitry V. Levin <ldv@altlinux.org>
1317 * libpam/pam_handlers.c (_pam_assemble_line): Fix potential
1319 * xtests/tst-pam_assemble_line1.pamd: New test for
1321 * xtests/tst-pam_assemble_line1.sh: New script for
1322 tst-pam_assemble_line1.
1323 * xtests/Makefile.am (NOSRCTESTS): Add tst-pam_assemble_line1.
1324 (EXTRA_DIST): Add tst-pam_assemble_line1.pamd and
1325 tst-pam_assemble_line1.sh
1327 * modules/pam_exec/pam_exec.c (call_exec): Fix asprintf return
1330 2008-02-13 Thorsten Kukuk <kukuk@thkukuk.de>
1332 * release version 0.99.10.0
1334 * configure.in: set version number.
1336 * modules/pam_rhosts/Makefile.am: Remove pam_rhosts_auth.
1337 * modules/pam_rhosts/pam_rhosts_auth.c: Removed.
1338 * modules/pam_rhosts/tst-pam_rhosts_auth: Removed.
1340 * modules/pam_namespace/Makefile.am (noinst_HEADERS): Add
1343 2008-02-13 Tomas Mraz <t8m@centrum.cz>
1345 * modules/pam_namespace/Makefile.am: Add argv_parse files and namespace.d
1347 * modules/pam_namespace/argv_parse.c: New file.
1348 * modules/pam_namespace/argv_parse.h: New file.
1349 * modules/pam_namespace/namespace.conf.5.xml: Document new features.
1350 * modules/pam_namespace/pam_namespace.8.xml: Likewise.
1351 * modules/pam_namespace/pam_namespace.h: Use SECURECONF_DIR define.
1352 Define NAMESPACE_D_DIR and NAMESPACE_D_GLOB. Define new option flags
1354 (polydir_s): Add rdir, replace exclusive with flags, add init_script,
1355 owner, group, and mode.
1356 (instance_data): Add ruser, gid, and ruid.
1357 * modules/pam_namespace/pam_namespace.c: Remove now unused copy_ent().
1358 (add_polydir_entry): Add the entry directly, no copy.
1359 (del_polydir): New function.
1360 (del_polydir_list): Call del_polydir().
1361 (expand_variables, parse_create_params, parse_iscript_params,
1362 parse_method): New functions.
1363 (process_line): Call expand_variables() on polydir and instance prefix.
1364 Call argv_parse() instead of strtok_r(). Allocate struct polydir_s on heap.
1365 (parse_config_file): Parse .conf files from namespace.d dir after
1367 (form_context): Call getcon() or get_default_context_with_level() when
1368 appropriate flags are set.
1369 (poly_name): Handle shared polydir flag.
1370 (inst_init): Execute non-default init script when specified.
1371 (create_polydir): New function.
1372 (create_dirs): Remove the code which checks the polydir. Do not call
1373 inst_init() when noinit flag is set.
1374 (ns_setup): Check the polydir and eventually create it if the create flag
1376 (setup_namespace): Use ruser uid from idata. Set the namespace polydir
1377 pam data only when namespace was set up correctly. Unmount polydir
1379 (get_user_data): New function.
1380 (pam_sm_open_session): Check for use_current_context and
1381 use_default_context options. Call get_user_data().
1382 (pam_sm_close_session): Call get_user_data().
1384 2008-02-06 Thorsten Kukuk <kukuk@thkukuk.de>
1386 * po/de.po: Translate some more strings.
1388 2008-02-05 Thorsten Kukuk <kukuk@thkukuk.de>
1390 * modules/pam_unix/unix_update.c: Remove unused declarations.
1392 2008-02-04 Thorsten Kukuk <kukuk@thkukuk.de>
1394 * libpam/pam_static_modules.h: Add _pam_sepermit_modstruct.
1395 * modules/pam_sepermit/pam_sepermit.c: Fix typo.
1396 * modules/pam_sepermit/Makefile.am: Install config file only
1397 if we build the module.
1399 * README: Add --disable-pie to configure options for static library.
1401 * doc/man/Makefile.am: Fix building outside of src directory.
1403 * libpam/Makefile.am: Bump version number of libpam.
1405 * modules/Makefile.am: Add pam_sepermit.
1407 * doc/Makefile.am: Fix build out of source directory.
1409 * po/POTFILES.in: Add pam_sepermit.c.
1411 * modules/pam_exec/pam_exec.c: Set PAM environment variables and
1413 * modules/pam_exec/pam_exec.8.xml: Document new behavior.
1414 Patch from Julien Lecomte <julien@lecomte.at>.
1416 2008-02-01 Tomas Mraz <t8m@centrum.cz>
1418 * modules/pam_namespace/namespace.conf.5.xml: Add documentation for
1419 tmpfs and tmpdir polyinst and for ~ user list modifier.
1420 * modules/pam_namespace/namespace.init: Add documentation for the
1421 new init parameter. Add home directory initialization script.
1422 * modules/pam_namespace/pam_namespace.8.xml: Document the new
1423 init parameter of the namespace.init script.
1424 * modules/pam_namespace/pam_namespace.c(copy_ent): Copy exclusive flag.
1425 (cleanup_data): New function.
1426 (process_line): Set exclusive flag. Add tmpfs and tmpdir methods.
1427 (ns_override): Change behavior on the exclusive flag.
1428 (poly_name): Process tmpfs and tmpdir methods.
1429 (inst_init): Add flag for new directory initialization.
1430 (create_dirs): Process the tmpdir method, add the new directory
1432 (ns_setup): Remove unused code. Process the tmpfs method.
1433 (cleanup_tmpdirs): New function.
1434 (setup_namespace): Set data for proper cleanup. Cleanup the tmpdirs
1436 (pam_sm_close_session): Instead of parsing the config file again use
1437 the previously set data for cleanup.
1438 * modules/pam_namespace/pam_namespace.h: Add TMPFS and TMPDIR methods
1441 2008-01-29 Tomas Mraz <t8m@centrum.cz>
1443 * configure.in: Test for setkeycreatecon needs libselinux.
1444 Add new module pam_sepermit.
1445 * modules/Makefile.am: Add new module pam_sepermit.
1446 * modules/pam_sepermit/.cvsignore: New file.
1447 * modules/pam_sepermit/Makefile.am: Likewise.
1448 * modules/pam_sepermit/README.xml: Likewise.
1449 * modules/pam_sepermit/pam_sepermit.8.xml: Likewise.
1450 * modules/pam_sepermit/pam_sepermit.c: Likewise.
1451 * modules/pam_sepermit/sepermit.conf: Likewise.
1452 * modules/pam_sepermit/tst-pam_sepermit: Likewise.
1453 * doc/sag/pam_sepermit.xml: Likewise.
1455 * doc/sag/pam_tty_audit.xml: Add pam_tty_audit to SAG.
1457 2008-01-29 Miloslav Trmac <mitr@redhat.com>
1459 * modules/pam_tty_audit/README.xml: Add notes section.
1460 * modules/pam_tty_audit/pam_tty_audit.8.xml: Describe patterns
1461 support and open_only option. Add notes.
1462 * modules/pam_tty_audit/pam_tty_audit.c(pam_sm_open_session): Add
1463 support for pattern matching and the open_only option.
1465 2008-01-28 Thorsten Kukuk <kukuk@thkukuk.de>
1467 * libpam/pam_audit.c: Include pam_modutil_private.h.
1469 * libpam/pam_item.c (pam_set_item): Fix compiler warning.
1471 * libpam/pam_end.c (pam_end): Cast to correct pointer type.
1472 * libpam/include/security/_pam_macros.h (_pam_overwrite_n): Use
1475 * modules/pam_unix/passverify.c: Fix compiling without SELinux
1478 2008-01-24 Tomas Mraz <t8m@centrum.cz>
1480 * modules/pam_unix/bigcrypt.c (bigcrypt): Use crypt_r() when
1482 * modules/pam_unix/passverify.c (strip_hpux_aging): New function
1483 to strip HP/UX aging info from password hash.
1484 (verify_pwd_hash): Call strip_hpux_aging(), use crypt_r() when
1487 2008-01-23 Tomas Mraz <t8m@centrum.cz>
1489 * configure.in: Add test for crypt_r(). Add setting/disabling random
1492 * modules/pam_unix/Makefile.am: Add unix_update.8 manpage generated from
1493 XML, generate also unix_chkpwd.8 from XML.
1494 * modules/pam_unix/pam_unix_acct.c: Add rounds parameter to _set_ctrl().
1495 * modules/pam_unix/pam_unix_auth.c: Likewise.
1496 * modules/pam_unix/pam_unix_sess.c: Likewise.
1497 * modules/pam_unix/pam_unix_passwd.c: Likewise.
1498 * modules/pam_unix/support.c(_set_ctrl): Likewise.
1499 * modules/pam_unix/support.h: Likewise. Add UNIX_SHA256_PASS,
1500 UNIX_SHA512_PASS, and UNIX_ALGO_ROUNDS ctrls.
1501 (pam_sm_chauthtok): Refactor out new password encryption.
1502 * modules/pam_unix/passverify.c(crypt_make_salt): New function.
1503 (crypt_md5_wrapper): Call crypt_make_salt().
1504 (create_password_hash): New function refactored out of
1505 pam_sm_chauthtok(). Support for new password hashes.
1506 * modules/pam_unix/passverify.h: Drop ascii_to_bin() and bin_to_ascii()
1507 macros. Add prototype for create_password_hash().
1508 * modules/pam_unix/unix_update.8.xml: New file.
1509 * modules/pam_unix/unix_chkpwd.8.xml: Likewise.
1511 * modules/pam_unix/Makefile.am: Add unix_update helper.
1512 * modules/pam_unix/pam_unix_passwd.c: Move functions i64c(),
1513 crypt_md5_wrapper(), save_old_password(), _update_passwd() and
1514 _update_shadow() to passverify.c file. Rename _unix_run_shadow_binary()
1515 to _unix_run_update_binary(), which also verifies old password and
1517 (_do_setpass, pam_sm_chauthtok): lckpwdf()->lock_pwdf(), the same for unlock.
1518 Call _unix_run_update_binary() appropriately.
1519 _update_passwd()->unix_update_passwd(), the same for shadow.
1520 * modules/pam_unix/passverify.c: Add new functions moved from
1521 pam_unix_passwd.c and unix_chkpwd.c.
1522 * modules/pam_unix/passverify.h: Likewise.
1523 * modules/pam_unix/unix_chkpwd.c: Remove SELinux checks. Move
1524 su_sighandler(), setup_signals(), getuidname() to passverify.c.
1525 (main): Remove 'shadow' option. Refactor out read_passwords() and
1526 call it. More strict checking how the binary is called.
1527 * modules/pam_unix/unix_update.c: New helper binary - non-setuid,
1528 called from SELinux confined apps only.
1530 * modules/pam_unix/pam_unix_acct.c (_unix_run_verify_binary): Return
1531 status and daysleft instead of fake shadow entry.
1532 (pam_sm_acct_mgmt): Call _unix_run_verify_binary() appropriately.
1533 * modules/pam_unix/pam_unix_passwd.c (_unix_verify_shadow): Call
1534 get_account_info() and check_shadow_expiry().
1535 * modules/pam_unix/support.h: Adjust _unix_run_verify_binary()
1537 * modules/pam_unix/support.c (_unix_run_helper_binary): Remove check
1538 on selinux enabled/disabled.
1539 * modules/pam_unix/unix_chkpwd.c (_verify_account): Rename to
1540 _check_expiry(), now checks shadow expiry info.
1541 (main): Remove check on selinux enabled/disabled. Check shadow
1542 expiry through _check_expiry().
1544 * modules/pam_unix/pam_unix_acct.c (pam_sm_acct_mgmt): Call
1545 get_account_info() and check_shadow_expiry().
1546 * modules/pam_unix/passverify.c: Add get_account_info() to
1547 obtain shadow and passwd entry. Add check_shadow_expiry() to
1548 for shadow password expiry check.
1549 (get_pwd_hash): Call get_account_info().
1550 * modules/pam_unix/passverify.h: Add prototypes for get_account_info()
1551 and check_shadow_expiry().
1553 2008-01-08 Thorsten Kukuk <kukuk@thkukuk.de>
1555 * doc/man/Makefile.am: Fix manual page dependencies,
1556 add hack for bug in xsl stylestheets.
1558 2008-01-07 Thorsten Kukuk <kukuk@thkukuk.de>
1560 * po/it.po: Fix typos.
1561 * po/de.po: Few new translations.
1562 * po/POTFILES.in: Add pam_tty_audit.c and passverify.c.
1563 * doc/man/pam_xauth_data.3.xml: Added to CVS.
1564 * doc/man/pam_xauth_data.3: Likewise.
1565 * modules/pam_tty_audit/README: Likewise.
1566 * modules/pam_tty_audit/pam_tty_audit.8: Likewise.
1567 * po/sv.po: Update swedish translation [#1857531].
1568 * modules/pam_succeed_if/pam_succeed_if.8.xml: Fix
1569 cut & paste error [#1863490].
1571 2008-01-02 Petteri Räty <betelgeuse@gentoo.org>
1572 * modules/pam_limits/limits.conf: document allowed values for
1574 * modules/pam_limits/limits.conf.5.xml: Likewise.
1576 2007-12-18 Thorsten Kukuk <kukuk@thkukuk.de>
1578 * README: Document how to run make check with static modules
1581 2007-12-18 Peter Breitenlohner <peb@mppmu.mpg.de>
1582 * README: Document that "make check" requires a file
1583 /etc/pam.d/other (SF#1822764).
1585 2007-12-12 Eamon Walsh <ewalsh@tycho.nsa.gov>
1587 * doc/man/pam_item_types_ext.inc.xml: More appropriate wording
1588 for PAM_XDISPLAY doc.
1590 2007-12-07 Tomas Mraz <t8m@centrum.cz>
1592 * po/cs.po: Updated translations.
1594 * libpam/libpam.map: Add LIBPAM_MODUTIL_1.1 version.
1595 * libpam/pam_audit.c: Add _pam_audit_open() and
1596 pam_modutil_audit_write().
1597 (_pam_auditlog): Call _pam_audit_open().
1598 * libpam/include/security/pam_modutil.h: Add pam_modutil_audit_write().
1599 * modules/pam_access/pam_access.8.xml: Add noaudit option.
1601 * modules/pam_access/pam_access.c: Move fs, sep, pam_access_debug, and
1602 only_new_group_syntax variables to struct login_info. Add noaudit
1604 (_parse_args): Adjust for the move of variables and add support for
1606 (group_match): Add debug parameter.
1607 (string_match): Likewise.
1608 (network_netmask_match): Likewise.
1609 (login_access): Adjust for the move of variables. Add nonall_match.
1610 Add call to pam_modutil_audit_write().
1611 (list_match): Adjust for the move of variables.
1612 (user_match): Likewise.
1613 (from_match): Likewise.
1614 (pam_sm_authenticate): Call _parse_args() earlier.
1615 * modules/pam_limits/pam_limits.8.xml: Add noaudit option.
1617 * modules/pam_limits/pam_limits.c (_pam_parse): Add noaudit option.
1618 (setup_limits): Call pam_modutil_audit_write().
1619 * modules/pam_time/pam_time.8.xml: Add debug and noaudit options.
1621 * modules/pam_time/pam_time.c: Add option parsing (_pam_parse()).
1622 (check_account): Call _pam_parse(). Call pam_modutil_audit_write()
1623 and pam_syslog() on login denials.
1625 2007-12-07 Luca Bruno <luca.br@uno.it>
1627 * po/it.po: Updated translations.
1629 2007-12-06 Eamon Walsh <ewalsh@tycho.nsa.gov>
1631 * libpam/include/security/_pam_macros.h: Add _pam_overwrite_n()
1633 * libpam/include/security/_pam_types.h: Add PAM_XDISPLAY,
1634 PAM_XAUTHDATA items, pam_xauth_data struct.
1635 * libpam/pam_item.c (pam_set_item, pam_get_item): Handle
1636 PAM_XDISPLAY and PAM_XAUTHDATA items.
1637 * libpam/pam_end.c (pam_end): Destroy the new items.
1638 * libpam/pam_private.h (pam_handle): Add data members for new
1639 items. Add prototype for _pam_memdup.
1640 * libpam/pam_misc.c: Add _pam_memdup.
1641 * doc/man/Makefile.am: Add pam_xauth_data.3. Replace
1642 pam_item_types.inc.xml with pam_item_types_std.inc.xml and
1643 pam_item_types_ext.inc.xml.
1644 * doc/man/pam_get_item.3.xml: Replace pam_item_types.inc.xml
1645 with pam_item_types_std.inc.xml and pam_item_types_ext.inc.xml.
1646 * doc/man/pam_set_item.3.xml: Likewise.
1647 * doc/man/pam_item_types.inc.xml: Removed file.
1648 * doc/man/pam_item_types_ext.inc.xml: New file.
1649 * doc/man/pam_item_types_std.inc.xml: New file.
1651 2007-12-06 Tomas Mraz <t8m@centrum.cz>
1653 * modules/pam_tty_audit/pam_tty_audit.8.xml: Fix example.
1655 2007-12-05 Miloslav Trmac <mitr@redhat.com>
1657 * configure.in: Add test for audit_tty_status struct. Add
1658 pam_tty_audit module.
1659 * libpam/pam_static_modules.h: Add pam_tty_audit module.
1660 * modules/pam_tty_audit/Makefile.am: New file.
1661 * modules/pam_tty_audit/README.xml: Likewise.
1662 * modules/pam_tty_audit/pam_tty_audit.8.xml: Likewise.
1663 * modules/pam_tty_audit/pam_tty_audit.c: Likewise.
1665 2007-12-05 Tomas Mraz <t8m@centrum.cz>
1667 * modules/pam_unix/Makefile.am: Add passverify.h and passverify.c
1668 as first part of pam_unix refactorization.
1669 * modules/pam_unix/pam_unix/pam_unix_acct.c: Include passverify.h.
1670 * modules/pam_unix/pam_unix_passwd.c: Likewise.
1671 * modules/pam_unix/passverify.c: New file with common functions.
1672 * modules/pam_unix/passverify.h: Prototypes for the common functions.
1673 * modules/pam_unix/support.c: Include passverify.h, move
1674 _unix_shadowed() to passverify.c.
1675 (_unix_verify_password): Refactor out verify_pwd_hash() function.
1676 * modules/pam_unix/support.h: Move _unix_shadowed() prototype to
1678 * modules/pam_unix/unix_chkpwd.c: Use _unix_shadowed() and
1679 verify_pwd_hash() from passverify.c.
1681 2007-11-20 Thorsten Kukuk <kukuk@thkukuk.de>
1683 * modules/pam_unix/Makefile.am (unix_chkpwd_LDADD): Don't link
1684 unix_chkpwd unnecessary against libpam (#1822779).
1686 * modules/pam_tally/pam_tally.c (tally_log): Map
1687 pam_modutil_getpwnam to getpwnam if we don't compile
1689 * modules/pam_tally/Makefile.am: Don't link pam_tally_app
1690 against libpam (#1822779).
1692 2007-11-06 Thorsten Kukuk <kukuk@thkukuk.de>
1694 * xtests/tst-pam_group1.c: Include stdlib.h
1695 * xtests/tst-pam_succeed_if1.c: Likewise.
1696 * xtests/tst-pam_limits1.c: Likewise.
1697 * xtests/tst-pam_access1.c: Likewise.
1698 * xtests/tst-pam_access2.c: Likewise.
1699 * xtests/tst-pam_access3.c: Likewise.
1700 * xtests/tst-pam_access4.c: Likewise.
1701 * xtests/tst-pam_unix1.c: Likewise.
1702 * xtests/tst-pam_unix2.c: Likewise.
1703 * xtests/tst-pam_unix3.c: Likewise.
1704 * xtests/tst-pam_cracklib1.c: Likewise.
1705 * xtests/tst-pam_cracklib2.c: Likewise.
1707 * libpam/pam_static_modules.h: Fix name of pam_namespace variable.
1709 2007-11-01 Peter Breitenlohner <peb@mppmu.mpg.de>
1711 * doc/man/pam_conv.3.xml: Correct typo.
1713 2007-10-30 Peter Breitenlohner <peb@mppmu.mpg.de>
1715 * modules/pam_rhosts/pam_rhosts_auth.c (__icheckhost): Correct
1716 misplaced parenthesis.
1717 * modules/pam_unix/pam_unix_acct.c (pam_sm_acct_mgmt): Prevent use of
1718 dngettext() when NLS is disabled.
1719 * modules/pam_exec/pam_exec.c (call_exec): Avoid gcc warning.
1720 * doc/specs/parse_y.y (set_label, new_counter): Break trigraphs to
1722 * modules/pam_wheel/pam_wheel.c: Remove excessive initializer
1725 * modules/pam_cracklib/pam_cracklib.8.xml: Correct typo.
1726 * modules/pam_limits/limits.conf.5.xml: Likewise.
1727 * modules/pam_listfile/pam_listfile.8.xml: Likewise.
1728 * modules/pam_xauth/pam_xauth.8.xml: Likewise.
1730 * modules/pam_deny/pam_deny.8.xml: Correct spelling.
1731 * modules/pam_group/pam_group.8.xml: Likewise.
1732 * modules/pam_permit/pam_permit.8.xml: Likewise.
1733 * modules/pam_shells/pam_shells.8.xml: Likewise.
1734 * modules/pam_time/pam_time.8.xml: Likewise.
1735 * modules/pam_warn/pam_warn.8.xml: Likewise.
1737 * tests/tst-dlopen.c: Return 77 in case of static modules, such that
1738 all modules/pam_*/tst-pam_* tests yield SKIP instead of FAIL.
1739 * libpam/Makefile.am (libpam_la_LIBADD): Use "$(shell ls ...)" instead
1740 of "`ls ...`", to allow for static modules.
1741 * libpam/pam_static_modules.h: Make pam_keyinit module depend on
1742 HAVE_KEY_MANAGEMENT; correct name of pam_faildelay pam_module struct.
1743 * modules/pam_faildelay/pam_faildelay.c: Correct name of pam_module
1746 2007-10-25 Steve Langasek <vorlon@debian.org>
1748 * modules/pam_tally/pam_tally.c: fix the definition of OPT_AUDIT
1749 to be octal instead of decimal, so that it works properly in a
1750 bit field instead of forcing the "even_deny_root_account" and
1751 "no_reset" options to on.
1752 Patch from Corey Wright <undefined@pobox.com>.
1754 2007-10-19 Tomas Mraz <t8m@centrum.cz>
1756 * xtests/tst-pam_access1.c: Use different name for user and group.
1757 * xtests/tst-pam_access1.sh: Likewise.
1758 * xtests/tst-pam_access2.c: Likewise.
1759 * xtests/tst-pam_access2.sh: Likewise.
1760 * xtests/tst-pam_access4.c: Likewise.
1761 * xtests/tst-pam_access4.sh: Likewise.
1762 * xtests/group.conf: Likewise.
1763 * xtests/tst-pam_group1.c: Likewise.
1764 * xtests/tst-pam_group1.sh: Likewise.
1766 * libpam/pam_dispatch.c (_pam_dispatch_aux): Save states for substacks,
1767 record substack level, skip over virtual substack modules, implement
1768 evaluation of done, die, reset and jumps in substacks. Also fixes
1769 too far jumps in substacks.
1770 * libpam/pam_end.c (pam_end): Drop substack evaluation states.
1771 * libpam/pam_handlers.c (_pam_parse_conf_file): Add substack level
1772 parameter, instead of must_fail use handler_type needed for virtual
1774 (_pam_load_conf_file): Add substack level parameter.
1775 (_pam_init_handlers): Substack level parameter added to
1776 _pam_parse_conf_file() calls.
1777 (_pam_load_module): New function.
1778 (_pam_add_handler): Refactor code into the _pam_load_module(). Add
1779 support for virtual substack modules.
1780 * libpam/pam_private.h: Rename must_fail to handler_type, add stack_level
1781 to struct handler. Define handler type constants. Add struct
1782 for substack evaluation states. Define constant for maximum
1783 substack level. Add substack states pointer to former state struct.
1784 * libpam/pam_start.c (pam_start): Initialize pointer to substack states.
1785 * doc/man/pam.conf-syntax.xml: Document substack control.
1786 * xtests/Makefile.am: Add new tests for substack evaluation.
1787 * xtests/run_xtests.sh: Support multiple .pamd files in a test.
1788 * xtests/tst-pam_authfail.pamd: New tests for substack evaluation.
1789 * xtests/tst-pam_authsucceed.pamd: Likewise.
1790 * xtests/tst-pam_substack1.pamd: Likewise.
1791 * xtests/tst-pam_substack1a.pamd: Likewise.
1792 * xtests/tst-pam_substack1.sh: Likewise.
1793 * xtests/tst-pam_substack2.pamd: Likewise.
1794 * xtests/tst-pam_substack2a.pamd: Likewise.
1795 * xtests/tst-pam_substack2.sh: Likewise.
1796 * xtests/tst-pam_substack3.pamd: Likewise.
1797 * xtests/tst-pam_substack3a.pamd: Likewise.
1798 * xtests/tst-pam_substack3.sh: Likewise.
1799 * xtests/tst-pam_substack4.pamd: Likewise.
1800 * xtests/tst-pam_substack4a.pamd: Likewise.
1801 * xtests/tst-pam_substack4.sh: Likewise.
1802 * xtests/tst-pam_substack5.pamd: Likewise.
1803 * xtests/tst-pam_substack5a.pamd: Likewise.
1804 * xtests/tst-pam_substack5.sh: Likewise.
1806 2007-10-18 Tomas Mraz <t8m@centrum.cz>
1808 * xtests/tst-pam_dispatch4.c: Fix comment about the test.
1809 * xtests/tst-pam_dispatch4.pamd: Improve the testcase.
1810 * xtests/tst-pam_cracklib2.c: Make the testcase more robust.
1812 2007-10-12 Thorsten Kukuk <kukuk@thkukuk.de>
1814 * xtests/Makefile.am: Add tst-pam_dispatch5 sources
1815 * xtests/tst-pam_dispatch5.c: New test for jump too far.
1816 * xtests/tst-pam_dispatch5.pamd: New test configuration.
1818 2007-10-09 Tomas Mraz <t8m@centrum.cz>
1820 * modules/pam_tally/pam_tally.8.xml: Document audit option
1823 2007-10-09 Thorsten Kukuk <kukuk@thkukuk.de>
1825 * release version 0.99.9.0
1827 * configure.in: Increase vesion number.
1829 * libpam/Makefile.am: Increase release number.
1830 * libpam_misc/Makefile.am: Increase release number.
1832 * po/*.po: Regenerate.
1834 2007-10-08 Thorsten Kukuk <kukuk@thkukuk.de>
1836 * modules/pam_time/pam_time.c (is_same): Length of strings without
1837 wildcard needs to be the same.
1838 * modules/pam_group/pam_group.c (is_same): Likewise.
1840 2007-10-01 Thorsten Kukuk <kukuk@thkukuk.de>
1842 * xtests/tst-pam_group1.c: New test case for user compare in pam_group.
1843 * xtests/tst-pam_group1.sh: Script to run test case.
1844 * xtests/tst-pam_group1.pamd: Config for test case.
1845 * xtests/Makefile.am: Add tst-pam_group1 test case.
1846 * xtests/run-xtests.sh: Save/restore group.conf.
1847 * xtests/group.conf: New.
1849 * modules/pam_xauth/pam_xauth.c (pam_sm_open_session): Don't
1850 free arguments used for putenv().
1852 * doc/man/pam_putenv.3.xml: Document that application has to free
1855 2007-09-27 Tomas Mraz <t8m@centrum.cz>
1857 * modules/pam_succeed_if/pam_succeed_if.c (evaluate_inlist): Fix in
1858 operator rhbz #295151.
1859 * modules/pam_namespace/pam_namespace.c (poly_name): Do not try to
1860 get context when SELinux is disabled.
1862 2007-09-27 Thorsten Kukuk <kukuk@thkukuk.de>
1864 * xtests/tst-pam_succeed_if1.c: New test case for
1865 https://bugzilla.redhat.com/show_bug.cgi?id=295151
1866 * xtests/tst-pam_succeed_if1.sh: Script to run test case.
1867 * xtests/tst-pam_succeed_if1.pamd: Config for test case.
1868 * xtests/Makefile.am: Add tst-pam_succeed_if1 test case.
1870 * xtests/run-xtests.sh: Add support to skip tests.
1871 * xtests/tst-pam_limits1.c: Skip test if RLIMIT_NICE is not
1874 2007-09-03 Steve Langasek <vorlon@debian.org>
1876 * modules/pam_limits/pam_limits.c: remove a number of unnecessary
1877 string manipulations, including a strncpy() that was acting on
1880 * libpam_misc/misc_conv.c: don't block SIGINT in misc_conv; it's
1881 perfectly valid to allow the user to interrupt at a prompt. If
1882 an application wants prompts to not be interruptable, the
1883 application should take responsibility for blocking SIGINT.
1885 2007-09-02 Thorsten Kukuk <kukuk@thkukuk.de>
1887 * examples/Makefile.am: Fix usage of LIBADD, LDADD and LDFLAGS.
1888 * libpam/Makefile.am: Likewise.
1889 * modules/pam_access/Makefile.am: Likewise.
1890 * modules/pam_cracklib/Makefile.am: Likewise.
1891 * modules/pam_debug/Makefile.am: Likewise.
1892 * modules/pam_deny/Makefile.am: Likewise.
1893 * modules/pam_echo/Makefile.am: Likewise.
1894 * modules/pam_env/Makefile.am: Likewise.
1895 * modules/pam_exec/Makefile.am: Likewise.
1896 * modules/pam_faildelay/Makefile.am: Likewise.
1897 * modules/pam_filter/Makefile.am: Likewise.
1898 * modules/pam_filter/upperLOWER/Makefile.am: Likewise.
1899 * modules/pam_ftp/Makefile.am: Likewise.
1900 * modules/pam_group/Makefile.am: Likewise.
1901 * modules/pam_issue/Makefile.am: Likewise.
1902 * modules/pam_keyinit/Makefile.am: Likewise.
1903 * modules/pam_lastlog/Makefile.am: Likewise.
1904 * modules/pam_limits/Makefile.am: Likewise.
1905 * modules/pam_listfile/Makefile.am: Likewise.
1906 * modules/pam_localuser/Makefile.am: Likewise.
1907 * modules/pam_loginuid/Makefile.am: Likewise.
1908 * modules/pam_mail/Makefile.am: Likewise.
1909 * modules/pam_mkhomedir/Makefile.am: Likewise.
1910 * modules/pam_motd/Makefile.am: Likewise.
1911 * modules/pam_namespace/Makefile.am: Likewise.
1912 * modules/pam_nologin/Makefile.am: Likewise.
1913 * modules/pam_permit/Makefile.am: Likewise.
1914 * modules/pam_rhosts/Makefile.am: Likewise.
1915 * modules/pam_rootok/Makefile.am: Likewise.
1916 * modules/pam_securetty/Makefile.am: Likewise.
1917 * modules/pam_selinux/Makefile.am: Likewise.
1918 * modules/pam_shells/Makefile.am: Likewise.
1919 * modules/pam_stress/Makefile.am: Likewise.
1920 * modules/pam_succeed_if/Makefile.am: Likewise.
1921 * modules/pam_tally/Makefile.am: Likewise.
1922 * modules/pam_time/Makefile.am: Likewise.
1923 * modules/pam_umask/Makefile.am: Likewise.
1924 * modules/pam_unix/Makefile.am: Likewise.
1925 * tests/Makefile.am: Likewise.
1927 2007-08-31 Steve Langasek <vorlon@debian.org>
1929 * modules/pam_group/group.conf: don't use "games" as an example
1930 group, on some distros this is a pre-existing group that it would
1931 be a security hole to give users access to.
1933 2007-08-30 Thorsten Kukuk <kukuk@thkukuk.de>
1935 * modules/pam_limits/limits.conf.5.xml: Document that maxlogins
1936 is ignored for users with UID 0.
1938 2007-08-30 Steve Langasek <vorlon@debian.org>
1940 * modules/pam_unix/support.c, modules/pam_unix/unix_chkpwd.c:
1941 A wrong username doesn't need to be logged at LOG_ALERT;
1942 LOG_WARNING should be sufficient.
1943 Patch from Sam Hartman <hartmans@debian.org>.
1945 * modules/pam_cracklib/pam_cracklib.c:
1946 s/CRACKLIB_DICT/CRACKLIB_DICTS/, for consistency with existing
1949 2007-08-29 Steve Langasek <vorlon@debian.org>
1951 * libpam/pam_modutil_getgrgid.c, libpam/pam_modutil_getgrnam.c,
1952 libpam/pam_modutil_getpwnam.c, libpam/pam_modutil_getpwuid.c,
1953 libpam/pam_modutil_getspnam.c: don't use pthread mutexes in libpam
1954 unnecessarily; this avoids linking problems on non-Linux
1957 * modules/pam_listfile/pam_listfile.c, modules/pam_listfile/README,
1958 modules/pam_listfile/pam_listfile.8,
1959 modules/pam_listfile/pam_listfile.8.xml: add a 'quiet' option to
1960 avoid logging errors any time a user is refused service by this
1963 2007-08-29 Thorsten Kukuk <kukuk@thkukuk.de>
1965 * modules/pam_rhosts/pam_rhosts_auth.c: buflen needs to be size_t.
1966 (__icheckhost): Cast to int32_t to fix limited range error.
1968 * modules/pam_cracklib/pam_cracklib.c: Mark cracklib_dictpath
1971 2007-08-29 Steve Langasek <vorlon@debian.org>
1973 * modules/pam_rhosts/pam_rhosts_auth.c: getline returns -1 at
1974 EOF, not 0. Check accordingly to fix an infinite loop. Thanks
1975 to Stephan Springl <springl-rhosts@bfw-online.de> for catching
1978 2007-08-28 Steve Langasek <vorlon@debian.org>
1980 * configure.in: call AC_CHECK_HEADERS instead of AC_CHECK_HEADER
1981 for crack.h, so we get a HAVE_CRACK_H define.
1982 * modules/pam_cracklib/pam_cracklib.c: don't copy around the
1983 cracklib dictpath into a fixed-width buffer, when we can just
1984 point at the existing strings; and allow users to override the
1985 default cracklib path with -DCRACKLIB_DICT, required for
1986 compatibility with cracklib 2.7.
1988 2007-08-27 Steve Langasek <vorlon@debian.org>
1990 * modules/pam_limits/pam_limits.c: when building on non-Linux
1991 systems, give a warning only, not an error; no one seems to
1992 remember why this error was here in the first place, but leave
1993 something in that might still grab the attention of non-Linux
1995 Patch from Michal Suchanek <hramrach_l@centrum.cz>.
1996 * configure.in, modules/pam_rhosts/pam_rhosts_auth.c: check for
1997 the presence of net/if.h before using, required for Hurd
1999 Patch from Igor Khavkine <i_khavki@alcor.concordia.ca>.
2000 * modules/pam_limits/pam_limits.c: conditionalize the use of
2001 RLIMIT_AS, which is not present on the Hurd.
2002 Patch from Igor Khavkine <i_khavki@alcor.concordia.ca>.
2003 * modules/pam_rhosts/pam_rhosts_auth.c: use getline() instead of
2004 a static buffer when available; fixes the build on systems
2005 without MAXHOSTNAMELEN (i.e., the Hurd).
2006 * modules/pam_xauth/pam_xauth.c: make sure PATH_MAX is defined
2009 2007-08-26 Andrew Morgan <morgan@kernel.org>
2011 * doc/man/pam.conf-syntax.xml
2012 Minor fixes: '\[' -> '\]'.
2014 2007-08-25 Steve Langasek <vorlon@debian.org>
2016 * doc/man/pam.conf-syntax.xml, doc/man/pam.conf.5:
2017 Document "new" control options conv_again and incomplete, supported
2018 in pam.d's extended syntax.
2019 Patch from Ben Collins <bcollins@debian.org>.
2021 2007-08-15 Tomas Mraz <t8m@centrum.cz>
2023 * modules/pam_access/pam_access.c (list_match): Add explicit
2024 sptr argument for strtok_r, otherwise the code is not portable.
2026 2007-08-13 Olivier Blin <blino@mandriva.com>
2028 * doc/man/pam.3.xml: Fix typo.
2029 * doc/man/pam.3: Likewise.
2030 * doc/man/pam_end.3.xml: Likewise.
2031 * doc/man/pam_end.3: Likewise.
2033 2007-07-18 Thorsten Kukuk <kukuk@thkukuk.de>
2035 * release version 0.99.8.1
2037 * libpam/pam_audit.c: Include unistd.h for getuid().
2038 * libpam/Makefile.am: Bump version number.
2040 2007-07-12 Thorsten Kukuk <kukuk@thkukuk.de>
2042 * libpam/pam_audit.c (_pam_audit_writelog): Don't return
2043 error if application runs as normal user. Fixes regression
2044 introduced with last change.
2046 2007-07-10 Thorsten Kukuk <kukuk@thkukuk.de>
2048 * configure.in: Add --with-db-uniquename option to support
2049 db libraries and functions with unique name extension.
2050 Patch from Diego 'Flameeyes' Pettenò <flameeyes@gmail.com>.
2052 * modules/pam_limits/pam_limits.c: Include locale.h.
2054 2007-07-06 Thorsten Kukuk <kukuk@thkukuk.de>
2056 * release version 0.99.8.0
2058 * configure.in: Check for audit_log_acct_message instead of
2059 audit_log_user_message.
2060 * libpam/pam_audit.c: Use audit_log_acct_message.
2061 Based on patch from Mark J Cox <mjc@redhat.com>.
2062 * libpam/Makefile.am: Bump version number of libpam.
2064 * modules/pam_umask/pam_umask.c (set_umask): mode_t is 32bit,
2067 * xtests/tst-pam_limits1.c: Fix printf arguments.
2069 * po/*.po: Merge po files with latest code changes.
2071 2007-06-26 Thorsten Kukuk <kukuk@thkukuk.de>
2073 * modules/pam_limits/pam_limits.c (process_limit): Check upper and
2074 lower limit of nice value, fix off-by-one in conversation to rlim_t.
2075 * xtests/Makefile.am: Add new pam_limits test case.
2076 * xtests/limits.conf: New, config file for test case.
2077 * xtests/pam_limits1.c: New, test case for RLIMIT_NICE.
2078 * xtests/pam_limits1.sh: Likewise.
2079 * xtests/pam_limits1.pamd: Likewise.
2081 2007-06-25 Thorsten Kukuk <kukuk@thkukuk.de>
2083 * modules/pam_access/pam_access.c (list_match): Use saveptr of strtok_r
2084 result for recursive calls.
2085 * xtests/Makefile.am: Add new pam_access test cases.
2086 * xtests/pam_access1.c: New test case.
2087 * xtests/pam_access2.c: Likewise.
2088 * xtests/pam_access3.c: Likewise.
2089 * xtests/pam_access4.c: Likewise.
2090 * xtests/pam_access1.sh: Wrapper to create user accounts.
2091 * xtests/pam_access2.sh: Likewise.
2092 * xtests/pam_access3.sh: Likewise.
2093 * xtests/pam_access4.sh: Likewise.
2094 * xtests/pam_access1.pamd: PAM config file for pam_access tests.
2095 * xtests/pam_access2.pamd: Likewise.
2096 * xtests/pam_access3.pamd: Likewise.
2097 * xtests/pam_access4.pamd: Likewise.
2098 * xtests/access.conf: Config file for pam_access tests.
2099 * xtests/run-tests.sh: Install access.conf into system.
2101 2007-06-22 Thorsten Kukuk <kukuk@thkukuk.de>
2103 * modules/pam_loginuid/pam_loginuid.c (set_loginuid): Print
2104 better error message if /proc/self/loginuid cannot be opened.
2106 * modules/pam_limits/pam_limits.c (process_limit): Check for
2107 variable overflow after multiplication [bnc#283001].
2109 * modules/pam_access/pam_access.c: Add new syntax for groups
2110 in access.conf to differentiate group names from account names.
2111 Based on patch from Julien Lecomte <julien@famille-lecomte.net>,
2112 solves feature request [#411390].
2113 * modules/pam_access/access.conf: Add example for new group
2115 * modules/pam_access/access.conf.5.xml: Document new syntax.
2117 2007-06-20 Thorsten Kukuk <kukuk@thkukuk.de>
2119 * modules/pam_cracklib/pam_cracklib.8.xml: Document new minclass
2121 * modules/pam_cracklib/pam_cracklib.c: Add support for minimum
2122 character classes [#1688777]. Based on patch from Keith Schincke.
2124 * xtests/tst-pam_cracklib2.c: New, test case for minclass option.
2125 * xtests/tst-pam_cracklib2.pamd: New, PAM config file for test case.
2126 * xtests/Makefile.am: Add new testcase.
2128 * xtests/pam_cracklib.c: Fix comment what this application tests.
2130 * configure.in: Use /lib64 on x86-64, ppc64, s390x, sparc64
2132 2007-06-15 Tomas Mraz <t8m@centrum.cz>
2134 * modules/pam_selinux/pam_selinux.8.xml: Remove multiple option,
2135 add select_context and use_current_range options.
2136 * modules/pam_selinux/pam_selinux.c (send_audit_message): Added
2137 function for auditing role/level changes.
2138 (query_response): Add default response.
2139 (select_context): Removed.
2140 (manual_context): Query only role and level.
2141 (mls_range_allowed): Added function for range check.
2142 (config_context): Added function for role and level override.
2143 (pam_sm_open_session): Remove multiple option, add select_context
2144 and use_current_range_options. Use getseuserbyname to obtain
2145 SELinux user and level. Audit role/level changes. Call setkeycreatecon
2146 to assign key creation context. Don't fail on errors when SELinux
2147 is not in enforcing mode.
2148 * configure.in: Check for setkeycreatecon().
2150 * modules/pam_namespace/README.xml: Avoid duplication of
2152 * modules/pam_namespace/namespace.conf: More real life example
2154 * modules/pam_namespace/namespace.conf.5.xml: Likewise plus
2155 properly describe how instance directory names are formed.
2156 * modules/pam_namespace/namespace.init: Preserve euid when
2157 called from setuid apps (su, newrole).
2158 * modules/pam_namespace/pam_namespace.8.xml: Added option
2159 no_unmount_on_close.
2160 * modules/pam_namespace/pam_namespace.c (process_line): Polyinst
2161 methods are now user, level and context. Fix crash on unknown
2162 override user in config file.
2163 (ns_override): Add explicit uid parameter.
2164 (form_context): Skip for user method. Implement level based
2166 (poly_name): Initialize contexts. Add level based polyinst,
2167 remove 'both' metod. Use raw contexts for instance names,
2168 truncate long instance names and add hash.
2169 (ns_setup): Hashing moved to poly_name().
2170 (setup_namespace): Handle correctly override users for
2171 su (when unmnt_remnt is used).
2172 (pam_sm_close_session): Added no_unmount_on_close option.
2173 * modules/pam_namespace/pam_namespace.h: Added
2174 no_unmount_on_close_option, level method, limit on instance
2175 directory name length.
2177 2007-05-04 Thorsten Kukuk <kukuk@suse.de>
2179 * xtests/run-xtests.sh: Use SRCDIR to find PAM config files.
2180 * xtests/Makefile.am: Call run-xtests.sh with srcdir as first
2182 Based on patch by Bernard Leak <thisisnotapipe@hotmail.com>.
2184 2007-04-30 Thorsten Kukuk <kukuk@thkukuk.de>
2186 * modules/pam_limits/limits.conf: Address space limit is KB.
2187 * modules/pam_limits/limits.conf.5.xml: Likewise.
2188 Reported by Thomas Vander Stichele <thomas@apestaart.org>.
2190 * modules/pam_mail/pam_mail.c (_do_mail): Remove duplicate
2191 check for PAM_SILENT and don't bail out if it is set [#1706247].
2193 2007-03-29 Tomas Mraz <t8m@centrum.cz>
2195 * modules/pam_access/pam_access.c (login_access, list_match):
2196 Replace strtok with strtok_r.
2197 * modules/pam_cracklib/pam_cracklib.c (check_old_password):
2199 * modules/pam_ftp/pam_ftp.c (lookup, pam_authenticate):
2201 * modules/pam_unix/pam_unix_passwd.c (check_old_password,
2202 save_old_password): Likewise.
2204 * modules/pam_limits/Makefile.am: Define limits.d dir and install it.
2205 * modules/pam_limits/pam_limits.8.xml: Describe limits.d parsing.
2206 * modules/pam_limits/pam_limits.c (pam_limit_s): Make conf_file ptr.
2207 (pam_parse): conf_file is now ptr.
2208 (pam_sm_open_session): Add parsing files from limits.d subdir using
2209 glob, change pl to pointer.
2211 2007-03-12 Thorsten Kukuk <kukuk@thkukuk.de>
2213 * po/ar.po: New translation.
2214 * po/ca.po: Likewise.
2215 * po/da.po: Likewise.
2216 * po/ru.po: Likewise.
2217 * po/sv.po: Likewise.
2218 * po/zu.po: Likewise.
2219 * po/LINGUAS: Add ar, ca, da, ru, sv, zu
2221 * po/hu.po: Update translation.
2223 2007-02-21 Tomas Mraz <t8m@centrum.cz>
2225 * modules/pam_unix/unix_chkpwd.c (_unix_verify_password): Test for
2226 allocation failure in bigcrypt().
2228 * modules/pam_unix/pam_unix_passwd.c (pam_sm_chauthtok): Allow
2229 modification of '*' password by root.
2231 2007-02-06 Tomas Mraz <t8m@centrum.cz>
2233 * modules/pam_loginuid/pam_loginuid.c (set_loginuid): Remove
2234 debug syslog message when loginuid doesn't exist.
2236 2007-02-01 Tomas Mraz <t8m@centrum.cz>
2238 * xtests/tst-pam_unix3.c: Fix typos in comments.
2240 * modules/pam_unix/support.c (_unix_verify_password): Explicitly
2241 disallow '!' in the beginning of password hash. Treat only
2242 13 bytes password hash specifically. (Suggested by Solar Designer.)
2243 Fix a warning and test for allocation failure.
2244 * modules/pam_unix/unix_chkpwd.c (_unix_verify_password): Likewise.
2246 2007-01-31 Thorsten Kukuk <kukuk@thkukuk.de>
2248 * xtests/Makefile.am: Add new pam_unix.so tests
2249 * xtests/run-xtests.sh: Prefer shell scripts (wrapper)
2251 * xtests/tst-pam_cracklib1.c: Fix typo.
2252 * xtests/tst-pam_unix1.c: New, for sucurity fix.
2253 * xtests/tst-pam_unix1.pamd: New.
2254 * xtests/tst-pam_unix1.sh: New.
2255 * xtests/tst-pam_unix2.c: New, for crypt checks.
2256 * xtests/tst-pam_unix2.pamd: New.
2257 * xtests/tst-pam_unix2.sh: New.
2258 * xtests/tst-pam_unix3.c: New, for bigcrypt checks.
2259 * xtests/tst-pam_unix3.pamd: New.
2260 * xtests/tst-pam_unix3.sh: New.
2262 2007-01-23 Thorsten Kukuk <kukuk@suse.de>
2266 * configure.in: Set version number to 0.99.7.1
2268 2007-01-23 Thorsten Kukuk <kukuk@thukuk.de>
2269 Tomas Mraz <t8m@centrum.cz>
2271 * modules/pam_unix/support.c (_unix_verify_password): Always
2272 compare full encrypted passwords (CVE-2007-0003).
2274 2007-01-23 Tomas Mraz <t8m@centrum.cz>
2276 * modules/pam_loginuid/Makefile.am (AM_LDFLAGS): Add LIBAUDIT.
2278 * modules/pam_selinux/Makefile.am (pam_selinux_check_LDFLAGS): Add
2280 (pam_selinux_la_LDFLAGS): Likewise.
2282 2007-01-17 Thorsten Kukuk <kukuk@thkukuk.de>
2286 * configure.in: Set version number to 0.99.7.0
2288 * Makefile.am (M4_FILES): Replace GNU make extension by listing
2291 2007-01-17 Tomas Mraz <t8m@centrum.cz>
2293 * po/*.po: Updated strings to translate.
2294 * po/Linux-PAM.pot: Likewise.
2296 2007-01-16 Thorsten Kukuk <kukuk@thkukuk.de>
2298 * doc/man/pam.conf-syntax.xml: Improve documentation about
2299 sufficient keyword (Patch by Petteri Räty <betelgeuse@gentoo.org>)
2301 2006-12-20 Thorsten Kukuk <kukuk@thkukuk.de>
2303 * modules/pam_unix/pam_unix_passwd.c (pam_sm_chauthtok): Forbid
2304 only '+' and '-' as first characters for account names.
2305 * modules/pam_unix/pam_unix_auth.c (pam_sm_authenticate): Likewise.
2307 2006-12-18 Thorsten Kukuk <kukuk@thkukuk.de>
2309 * configure.in: Fix ENOKEY check (specify errno.h as header
2312 * configure.in: Add AM_PROG_CC_C_O.
2313 * libpam/Makefile.am: Add content of AM_LDFLAGS to *_LDFLAGS.
2314 * modules/pam_tally/Makefile.am: Likewise.
2315 * modules/pam_unix/Makefile.am: Likewise.
2317 * modules/pam_stress/pam_stress.c (pam_sm_chauthtok): Fix
2318 localisation of message printed to user.
2319 * po/de.po: Adjust translation.
2321 2006-12-18 Tomas Mraz <t8m@centrum.cz>
2323 * modules/pam_unix/pam_unix_passwd.c (pam_sm_chauthtok): Localize
2324 message printed to user.
2326 * modules/pam_unix/support.c (_unix_verify_password): Use strncmp
2327 only for bigcrypt result.
2329 * modules/pam_keyinit/pam_keyinit.c (kill_keyrings): Switch to new
2330 egid first, euid next. Revert euid/egid to old euid/egid and not
2332 (pam_sm_open_session): Switch to new rgid first, ruid next.
2334 2006-12-13 Thorsten Kukuk <kukuk@thkukuk.de>
2336 * modules/pam_localuser/pam_localuser.c: Add support for session
2337 and chauthtok [SF#1606180].
2338 * modules/pam_localuser/pam_localuser.8.xml: Document last change.
2340 * libpam/pam_audit.c (_pam_audit_writelog): Print error message
2343 2006-12-12 Thorsten Kukuk <kukuk@thkukuk.de>
2345 * libpam/pam_audit.c (_pam_audit_writelog): Print error
2346 message on failure to syslog.
2348 2006-12-09 Thorsten Kukuk <kukuk@thkukuk.de>
2350 * modules/pam_umask/pam_umask.c: Use strtoul instead of strtol,
2351 fix overflow detection.
2353 2006-12-06 Thorsten Kukuk <kukuk@thkukuk.de>
2355 * modules/pam_mkhomedir/pam_mkhomedir.c (rec_mkdir): Fix
2356 handling of left-most path component [SF#1591598].
2357 (create_homedir): Mark user visible messages for translation.
2358 * po/de.po: Adjust german translation for pam_mkhomedir.
2360 * modules/pam_faildelay/pam_faildelay.c: If no argument is
2361 given, try to read FAIL_DELAY from /etc/login.defs.
2362 * modules/pam_faildelay/pam_faildelay.8.xml: Document usage
2365 2006-12-04 Tomas Mraz <t8m@centrun.cz>
2367 * po/jp.po: Fixed mistake in Password: message (from
2368 Peng Huang <phuang@redhat.com>).
2370 2006-11-28 Thorsten Kukuk <kukuk@thkukuk.de>
2372 * po/hu.po: Update hungarian translation (from
2373 Kalman Kemenczy <kkemenczy@novell.com>).
2375 * configure.in: Allow disabling support for cracklib, audit, libdb.
2377 * modules/pam_faildelay/pam_faildelay.8.xml: Correct name of Author.
2379 * configure.in: Remove --enable-docdir (obsolete by --docdir).
2380 * doc/Makefile.am: Don't overwrite htmldir.
2381 * doc/adg/Makefile.am: Use docdir, htmldir and pdfdir.
2382 * doc/mwg/Makefile.am: Likewise.
2383 * doc/sag/Makefile.am: Likewise.
2384 * doc/specs/Makefile.am: Use docdir.
2386 * tests/tst-pam_set_data.c: New test cases for pam_set_data().
2387 * tests/Makefile.am: Add pam_set_data test case.
2389 * libpam/pam_data.c: Add NULL pointer check for module_data_name.
2390 * libpam/Makefile.am: Bump revision of shared library.
2392 2006-11-08 Thorsten Kukuk <kukuk@thkukuk.de>
2394 * configure.in: Add modules/pam_faildelay/Makefile.
2395 * doc/sag/Linux-PAM_SAG.xml: Include pam_faildelay.xml.
2396 * doc/sag/pam_faildelay.xml: New.
2397 * libpam/pam_static_modules.h: Include static pam_faildelay data.
2398 * modules/Makefile.am: Add pam_faildelay directory.
2399 * modules/pam_faildelay/Makefile.am: New.
2400 * modules/pam_faildelay/README: New, generated from XML file.
2401 * modules/pam_faildelay/README.xml: New.
2402 * modules/pam_faildelay/pam_faildelay.8: New, generated from xml.
2403 * modules/pam_faildelay/pam_faildelay.8.xml: New.
2404 * modules/pam_faildelay/pam_faildelay.c: New.
2405 * modules/pam_faildelay/tst-pam_faildelay: New.
2407 * po/POTFILES.in: Add pam_faildelay.c and pam_loginuid.c.
2409 2006-11-07 Thorsten Kukuk <kukuk@thkukuk.de>
2411 * modules/pam_cracklib/pam_cracklib.c: PAM_DEBUG_ARG
2412 is a bit mask and not a boolean value (Reported by
2413 Jochen Voss <voss@seehuhn.de>).
2415 2006-10-26 Thorsten Kukuk <kukuk@thkukuk.de>
2417 * doc/man/pam.3.xml: Add pam_get_user function.
2419 * modules/pam_motd/pam_motd.8.xml: Fix typo.
2421 2006-10-24 Thorsten Kukuk <kukuk@thkukuk.de>
2423 * modules/pam_namespace/pam_namespace.c: Reserve space for
2426 2006-10-24 Thorsten Kukuk <kukuk@thkukuk.de>
2428 * modules/pam_unix/support.c (_unix_verify_password): Try system
2429 crypt() if we don't know the hash alogorithm.
2430 * modules/pam_unix/unix_chkpwd.c (_unix_verify_password): Likewise.
2432 2006-10-13 Tomas Mraz <t8m@centrum.cz>
2434 * doc/mwg/Linux-PAM_MWG.xml: Add id[s] to section[s].
2435 * doc/sag/pam_access.xml: Likewise.
2436 * doc/sag/pam_echo.xml: Likewise.
2437 * doc/sag/pam_env.xml: Likewise.
2438 * doc/sag/pam_exec.xml: Likewise.
2439 * doc/sag/pam_group.xml: Likewise.
2440 * doc/sag/pam_limits.xml: Likewise.
2441 * doc/sag/pam_namespace.xml: Likewise.
2442 * doc/sag/pam_time.xml: Likewise.
2443 * doc/sag/Linux-PAM_SAG.xml: Add id to book.
2444 * doc/adg/Linux-PAM_ADG.xml: Add id to book.
2445 * doc/mwg/Linux-PAM_MWG.xml: Add id to book.
2448 2006-10-07 Thorsten Kukuk <kukuk@thkukuk.de>
2450 * po/hu.po: Updated hungarian translation (from
2451 Kalman Kemenczy <kkemenczy@novell.com>)
2453 2006-09-20 Thorsten Kukuk <kukuk@thkukuk.de>
2455 * doc/adg/Makefile.am: Add manual pages as dependency.
2456 * doc/mwg/Makefile.am: Likewise.
2457 * doc/sag/Makefile.am: Likewise.
2458 * doc/sag/Linux-PAM_SAG.xml: Include pam_unix.xml.
2459 * doc/sag/pam_unix.xml: New.
2460 * modules/pam_unix/Makefile.am: Generate pam_unix.8 manual page.
2461 * modules/pam_unix/README.xml: New.
2462 * modules/pam_unix/pam_unix.8.xml: New.
2463 * modules/pam_unix/README: Regenerate from XML.
2464 * modules/pam_unix/pam_unix.8: Generated from XML.
2466 2006-09-09 Dmitry V. Levin <ldv@altlinux.org>
2468 * modules/pam_wheel/pam_wheel.8.xml: Fix typo.
2469 * modules/pam_wheel/pam_wheel.8: Likewise.
2470 * modules/pam_wheel/README: Likewise.
2472 2006-09-08 Thorsten Kukuk <kukuk@thkukuk.de>
2474 * po/de.po: Fix typo.
2476 2006-09-06 Thorsten Kukuk <kukuk@thkukuk.de>
2478 * release version 0.99.6.3
2480 2006-09-01 Thorsten Kukuk <kukuk@thkukuk.de>
2482 * modules/pam_loginuid/pam_loginuid.8.xml: Fix typo in
2485 2006-08-31 Thorsten Kukuk <kukuk@thkukuk.de>
2487 * modules/pam_env/environment: New, dummy environment example
2490 * modules/pam_namespace/Makefile.am: Don't install
2491 manual page if we don't build module.
2493 * m4/ld-as-needed.m4: Don't set LDFLAGS if check failed.
2494 * m4/ld-O1: Likewise.
2496 2006-08-30 Tomas Mraz <t8m@centrum.cz>
2498 * modules/pam_access/pam_access.8.xml: All services supported.
2499 * modules/pam_access/pam_access.c (pam_sm_open_session): New.
2500 (pam_sm_close_session): New.
2501 (pam_sm_chauthtok): New.
2503 * modules/pam_access/pam_succeed_if.8.xml: All services supported.
2504 * modules/pam_access/pam_succeed_if.c (pam_sm_setcred): Return
2505 PAM_IGNORE rather than success.
2506 (pam_sm_open_session): New.
2507 (pam_sm_close_session): New.
2508 (pam_sm_chauthtok): New.
2510 2006-08-30 Thorsten Kukuk <kukuk@thkukuk.de>
2512 * xtests/Makefile.am: Move shell code to execute tests from here ...
2513 * xtests/run-xtests.sh: ... to here.
2514 * xtests/*.c: Include config.h.
2515 * tests/*.c: Likewise.
2517 * modules/pam_namespace/pam_namespace.c: Use pam_modutil_getpwnam()
2518 instead of getpwnam().
2520 2006-08-29 Thorsten Kukuk <kukuk@thkukuk.de>
2522 * doc/sag/pam_loginuid.xml: New.
2523 * doc/sag/Linux-PAM_SAG.xml: Include pam_loginuid.xml.
2525 * configure.in: Add modules/pam_loginuid/Makefile.
2526 * modules/Makefile.am: Add pam_loginuid sub directory.
2528 * libpam/pam_static_modules.h: Add pam_loginuid.
2530 * modules/pam_loginuid/Makefile.am: New.
2531 * modules/pam_loginuid/tst-pam_loginuid: New.
2532 * modules/pam_loginuid/pam_loginuid.8.xml: New.
2533 * modules/pam_loginuid/pam_loginuid.8: New, generated from XML source.
2534 * modules/pam_loginuid/pam_loginuid.c: New.
2535 * modules/pam_loginuid/README.xml: New.
2536 * modules/pam_loginuid/README: New, generated from XML source.
2538 2006-08-29 Dmitry V. Levin <ldv@altlinux.org>
2540 * modules/pam_exec/pam_exec.c (call_exec): Add required third
2541 argument to open() call with O_CREAT flag set.
2543 2006-08-28 Thorsten Kukuk <kukuk@thkukuk.de>
2545 * modules/pam_cracklib/pam_cracklib.c (pam_sm_chauthtok): Remove
2548 2006-08-24 Thorsten Kukuk <kukuk@thkukuk.de>
2550 * release version 0.99.6.2
2552 * modules/pam_lastlog/pam_lastlog.c (last_login_date): Create
2553 lastlog file if it does not exist.
2555 * modules/pam_cracklib/pam_cracklib.c (pam_sm_chauthtok): Check
2556 for error from getting second token.
2557 * xtests/Makefile.am: Add tst-pam_cracklib1
2558 * xtests/tst-pam_cracklib1.c: New, check for pam_cracklib seg.fault.
2559 * xtests/tst-pam_cracklib1.pamd: New, config for cracklib test.
2561 2006-08-24 Thorsten Kukuk <kukuk@thkukuk.de>
2563 * xtests/tst-pam_dispatch4.c: New test.
2564 * xtests/tst-pam_dispatch4.pamd: PAM config for new test.
2566 2006-08-09 Thorsten Kukuk <kukuk@thkukuk.de>
2568 * release version 0.99.6.1
2570 2006-08-09 David Howells <dhowells@redhat.com>
2572 * modules/pam_keyinit/pam_keyinit.c (kill_keyrings): Set real uid
2573 to user's before revoking.
2574 (pam_sm_open_session): Remember the uid.
2576 2006-08-06 Thorsten Kukuk <kukuk@thkukuk.de>
2578 * modules/pam_umask/pam_umask.c (setup_limits_from_gecos):
2580 * modules/pam_umask/pam_umask.8.xml: Document silent option.
2582 * xtests/Makefile.am: Fix includes for bootstrapping.
2583 Reported by Greg Schafer <gschafer@zip.com.au>.
2585 2006-08-05 Thorsten Kukuk <kukuk@thkukuk.de>
2587 * release version 0.99.6.0
2589 * modules/pam_limits/pam_limits.c (pam_sm_open_session): Use
2590 pam_modutil_getpwnam instead of getpwnam.
2592 * modules/pam_succeed_if/pam_succeed_if.c (evaluate): Cast
2593 svc variable to char pointer for snprintf.
2595 * configure.in: Generate xtests/Makefile.
2596 * Makefile.am (SUBDIRS): Add xtests.
2597 * README: Document make check and make xtests.
2598 * xtests/Makefile.am: New.
2599 * xtests/tst-pam_dispatch1.pamd: New.
2600 * xtests/tst-pam_dispatch2.pamd: New.
2601 * xtests/tst-pam_dispatch3.pamd: New.
2602 * xtests/tst-pam_dispatch1.c: New.
2603 * xtests/tst-pam_dispatch2.c: New.
2604 * xtests/tst-pam_dispatch3.c: New.
2606 2006-08-04 Ray Strode <rstrode@redhat.com>
2608 * modules/pam_succeed_if/pam_succeed_if.c (pam_sm_authenticate):
2609 Return PAM_USER_UNKNOWN instead of PAM_SERVICE_ERR where appropriate.
2611 2006-08-03 David Howells <dhowells@redhat.com>
2613 * modules/pam_keyinit/pam_keyinit.c: Debug should be off by default.
2614 (init_keyrings): Properly handle multiple invocations of the module.
2615 (kill_keyrings, pam_sm_open_session, pam_sm_close_session): Likewise.
2617 2006-08-03 Tomas Mraz <t8m@centrum.cz>
2619 * modules/pam_succeed_if/pam_succeed_if.c (evaluate_inlist):
2620 New function for list matching.
2621 (evaluate_notinlist): Likewise.
2622 (evaluate): Add service value match, list matching.
2623 * modules/pam_succeed_if/pam_succeed_if.8.xml: Document the
2626 * modules/pam_selinux/pam_selinux.c (security_label_tty): Don't log
2627 relabelling error when the tty device doesn't exist (ENOENT).
2629 2006-08-01 Thorsten Kukuk <kukuk@thkukuk.de>
2631 * doc/man/pam_fail_delay.3.xml: Fix some Bugs and enhance
2632 rationale about when this function should be used and when not.
2634 * doc/index.html: Cleanup to look prettier.
2636 2006-08-01 Thorsten Kukuk <kukuk@thkukuk.de>
2638 * libpam/Makefile.am: Bump patchlevel of libpam.
2639 * libpam/pam_dispatch.c (_pam_dispatch_aux): If [return=die]
2640 or [return=bad] is used, don't return PAM_IGNORE. Based on
2641 patch by Tomas Mraz <t8m@centrum.cz>, [BRC#196859].
2643 2006-07-28 Thorsten Kukuk <kukuk@thkukuk.de>
2645 * ABOUT-NLS: Upgrade to gettext-0.15.
2646 * config.rpath: Likewise.
2647 * m4/gettext.m4: Upgrade to gettext-0.15.
2648 * m4/inttypes-h.m4: New file, from gettext-0.15.
2649 * m4/inttypes-pri.m4: Upgrade to gettext-0.15.
2650 * m4/lib-link.m4: Upgrade to gettext-0.15.
2651 * m4/lib-prefix.m4: Upgrade to gettext-0.15.
2652 * m4/lock.m4: New file, from gettext-0.15.
2653 * m4/longdouble.m4: Upgrade to gettext-0.15.
2654 * m4/nls.m4: Upgrade to gettext-0.15.
2655 * m4/po.m4: Upgrade to gettext-0.15.
2656 * m4/size_max.m4: Upgrade to gettext-0.15.
2657 * m4/visibility.m4: New file, from gettext-0.15.
2658 * po/Makefile.in.in: Upgrade to gettext-0.15.
2660 2006-07-24 David Quigley <dpquigl@tycho.nsa.gov>
2662 * modules/pam_namespace/Makefile.am: Add pam_namespace.h.
2663 * modules/pam_namespace/pam_namespace.c: Move includes and
2664 data structure definitions from here ...
2665 * modules/pam_namespace/pam_namespace.h: ... here. New file.
2667 * modules/pam_namespace/pam_namespace.c: Move large sections
2668 of code into new functions.
2670 2006-07-24 Thorsten Kukuk <kukuk@thkukuk.de>
2672 * doc/adg/Makefile.am: Add uninstall and distclean rules.
2673 * doc/mwg/Makefile.am: Likewise.
2674 * doc/sag/Makefile.am: Likewise.
2676 2006-07-08 Daniel Richard G. <skunk@iskunk.org>
2678 * conf/pam_conv1/Makefile.am: Fix rules for lex and yacc files.
2679 * conf/pam_conv1/pam_conv.lex: Rename to ...
2680 * conf/pam_conv1/pam_conv_l.l: ... this.
2681 * conf/pam_conv1/pam_conv.y: Rename to ...
2682 * conf/pam_conv1/pam_conv_y.y: ... this.
2683 * configure.in: Add AC_HELP_STRING()s to various AC_ARG_ENABLE()
2685 * doc/Makefile.am: Fix rule to install index.html.
2686 * doc/adg/Makefile.am: Fix test usage.
2687 * doc/mwg/Makefile.am: Likewise.
2688 * doc/sag/Makefile.am: Likewise.
2689 * doc/specs/Makefile.am: Fix rules for lex and yacc files.
2690 * specs/parse.lex: Rename to ...
2691 * doc/specs/parse_l.l: ... this.
2692 * doc/specs/parse.y: Rename to ...
2693 * doc/specs/parse_y.y: ... this.
2694 * libpam/pam_account.c: Fix #if vs. #ifdef.
2695 * libpam/pam_audit.c: Likewise.
2696 * libpam/pam_auth.c: Likewise.
2697 * libpam/pam_password.c: Likewise.
2698 * libpam/pam_private.h: Likewise.
2699 * libpam/pam_session.c: Likewise.
2700 * libpam/pam_start.c: Likewise.
2701 * libpam/pam_static.c: Fix "empty sourcefile" warning.
2702 * modules/pam_limits/pam_limits.c: Check for __linux, too.
2703 * modules/pam_userdb/Makefile.am: Don't run test if no
2705 * tests/tst-dlopen.c: Include config.h.
2707 2006-07-03 Dan Yefimov
2709 * configure.in: Fixed have_key_syscalls test.
2711 * modules/pam_access/pam_access.c (from_match): Fixed IPv4 network
2712 match, removed AI_ADDRCONFIG flag.
2714 2006-06-30 Tomas Mraz <t8m@centrum.cz>
2716 * modules/pam_namespace/Makefile.am(EXTRA_DIST): Add namespace.init.
2718 2006-06-29 Thorsten Kukuk <kukuk@thkukuk.de>
2720 * doc/Makefile.am (releasedocs): Fix directory layout.
2721 * doc/adg/Makefile.am: Likewise.
2722 * doc/mwg/Makefile.am: Likewise.
2723 * doc/sag/Makefile.am: Likewise.
2725 2006-06-28 Thorsten Kukuk <kukuk@thkukuk.de>
2727 * doc/sag: System Administrator Guide as XML source.
2728 * doc/sag/Makefile.am: New.
2729 * doc/sag/Linux-PAM_SAG.xml: New, main XML document.
2730 * doc/sag/pam_*.xml: New, wrapper to include module documentation.
2732 * doc/adg: Application Developers Guide as XML source.
2733 * doc/adg/Makefile.am: New.
2734 * doc/adg/Linux-PAM_ADG.xml: New, main XML document.
2735 * doc/adg/pam_*.xml: New, wrappers to include manual pages.
2737 * doc/mwg: Application Developers Guide as XML source.
2738 * doc/mwg/Makefile.am: New.
2739 * doc/mwg/Linux-PAM_MWG.xml: New, main XML document.
2740 * doc/mwg/pam_*.xml: New, wrappers to include manual pages.
2742 * doc/CREDITS: Removed.
2743 * doc/NOTES: Removed.
2744 * doc/pam_appl.sgml: Removed.
2745 * doc/pam_modules.sgml: Removed.
2746 * doc/pam_source.sgml: Removed.
2747 * doc/figs/pam_orient.txt: Removed.
2748 * doc/figs: Removed.
2750 * configure.in: Remove checks for sgml2* progrs, add sag, adg
2753 * doc/Makefile.am: Remove references to sgml, add sag, adg and mwg
2755 * doc/modules: Remove directory.
2756 * doc/html: Remove directory.
2757 * doc/ps: Remove directory.
2758 * doc/pdf: Remove directory.
2759 * doc/txts: Remove directory.
2760 * doc/index.html: Moved from html directory to here.
2762 2006-06-28 Thorsten Kukuk <kukuk@thkukuk.de>
2764 * release version 0.99.5.0
2766 * bump version number to 0.99.5.0
2768 * modules/pam_rhosts/pam_rhosts.c: New module, replaces
2770 * modules/pam_rhosts/pam_rhosts.8.xml: New.
2771 * modules/pam_rhosts/pam_rhosts.8: New, generated from XML source.
2772 * modules/pam_rhosts/tst-pam_rhosts: New.
2773 * modules/pam_rhosts/Makefile.am: Add pam_rhosts, generate
2774 manual page and README.
2775 * modules/pam_rhosts/README.xml: New.
2776 * modules/pam_rhosts/reADME: Regenerated from XML source.
2778 * doc/man/pam_sm_acct_mgmt.3.xml: Adjust syntax for module
2780 * doc/man/pam_sm_authenticate.3.xml: Likewise.
2781 * doc/man/pam_sm_chauthtok.3.xml: Likewise.
2782 * doc/man/pam_sm_close_session.3.xml: Likewise.
2783 * doc/man/pam_sm_open_session.3.xml: Likewise.
2784 * doc/man/pam_sm_setcred.3.xml: Likewise.
2786 * po/POTFILES.in: Add new source files.
2788 * libpam/pam_static_modules.h: Add new modules.
2790 * modules/pam_keyinit.c: Add _pam_keyinit_modstruct.
2792 * modules/pam_keyinit/Makefile.am (EXTRA_DIST): Add XML
2793 files and manual page.
2795 2006-06-27 Thorsten Kukuk <kukuk@thkukuk.de>
2797 * configure.in: Allow disabling of SELinux support, check for
2800 2006-06-27 Tomas Mraz <t8m@centrum.cz>
2802 * modules/pam_namespace/pam_namespace.c: New module
2803 originally written by Janak Desai.
2804 * modules/pam_namespace/Makefile.am: New.
2805 * modules/pam_namespace/README: New.
2806 * modules/pam_namespace/md5.c: New.
2807 * modules/pam_namespace/md5.h: New.
2808 * modules/pam_namespace/namespace.conf: New.
2809 * modules/pam_namespace/namespace.conf.5: New.
2810 * modules/pam_namespace/namespace.conf.5.xml: New.
2811 * modules/pam_namespace/namespace.init: New.
2812 * modules/pam_namespace/pam_namespace.8: New.
2813 * modules/pam_namespace/pam_namespace.8.xml: New.
2814 * modules/pam_namespace/tst-pam_namespace: New.
2815 * modules/Makefile.am: Added pam_namespace.
2816 * configure.in: Added pam_namespace, test for unshare
2819 2006-06-27 David Howells <dhowells@redhat.com>
2821 * modules/pam_keyinit/pam_keyinit.c: New module.
2822 * modules/pam_keyinit/pam_keyinit.8: New.
2823 * modules/pam_keyinit/pam_keyinit.8.xml: New.
2824 * modules/pam_keyinit/README: New.
2825 * modules/pam_keyinit/README.xml: New.
2826 * modules/pam_keyinit/Makefile.am: New.
2827 * modules/pam_keyinit/tst-pam_keyinit: New.
2828 * modules/Makefile.am: Added pam_keyinit.
2829 * configure.in: Added test for the key mgmt syscall.
2831 2006-06-27 Thorsten Kukuk <kukuk@thkukuk.de>
2833 * m4/libprelude.m4: Sync with upstream.
2835 2006-06-27 Tomas Mraz <t8m@centrum.cz>
2837 * modules/pam_unix/pam_unix_acct.c (_unix_run_verify_binary):
2838 signal() fails with SIG_ERR return
2839 * modules/pam_unix/pam_unix_passwd.c(_unix_run_shadow_binary):
2841 * modules/pam_unix/support.c(_unix_run_helper_binary):
2844 2006-06-25 Thorsten Kukuk <kukuk@thkukuk.de>
2846 * doc/man/misc_conv.3.xml: New.
2847 * doc/man/misc_conv.3: New.
2848 * doc/man/pam_misc_paste_env.3.xml: New.
2849 * doc/man/pam_misc_paste_env.3: New.
2850 * doc/man/pam_misc_drop_env.3.xml: New.
2851 * doc/man/pam_misc_drop_env.3: New.
2852 * doc/man/pam_misc_setenv.3.xml: New.
2853 * doc/man/pam_misc_setenv.3: New.
2854 * doc/man/Makefile.am: Add new manual pages.
2856 * doc/man/pam_acct_mgmt.3.xml: Fix syntax for inclusion
2857 in Applicatoin Developer Guide.
2858 * doc/man/pam_authenticate.3.xml: Likewise
2859 * doc/man/pam_chauthtok.3.xml: Likewise
2860 * doc/man/pam_close_session.3.xml: Likewise
2861 * doc/man/pam_conv.3.xml: Likewise
2862 * doc/man/pam_end.3.xml: Likewise
2863 * doc/man/pam_fail_delay.3.xml: Likewise
2864 * doc/man/pam_getenv.3.xml: Likewise
2865 * doc/man/pam_getenvlist.3.xml: Likewise
2866 * doc/man/pam_open_session.3.xml: Likewise
2867 * doc/man/pam_putenv.3.xml: Likewise
2868 * doc/man/pam_setcred.3.xml: Likewise
2869 * doc/man/pam_start.3.xml: Likewise
2870 * doc/man/pam_strerror.3.xml: Likewise
2872 * doc/man/pam_acct_mgmt.3: Regenerate from XML source.
2873 * doc/man/pam_authenticate.3: Likewise
2874 * doc/man/pam_chauthtok.3: Likewise
2875 * doc/man/pam_close_session.3: Likewise
2876 * doc/man/pam_conv.3: Likewise
2877 * doc/man/pam_end.3: Likewise
2878 * doc/man/pam_fail_delay.3: Likewise
2879 * doc/man/pam_getenv.3: Likewise
2880 * doc/man/pam_getenvlist.3: Likewise
2881 * doc/man/pam_open_session.3: Likewise
2882 * doc/man/pam_putenv.3: Likewise
2883 * doc/man/pam_setcred.3: Likewise
2884 * doc/man/pam_sm_close_session.3: Likewise
2885 * doc/man/pam_start.3: Likewise
2886 * doc/man/pam_strerror.3: Likewise
2887 * doc/man/pam_syslog.3: Likewise
2888 * doc/man/PAM.8: Likewise
2890 2006-06-24 Thorsten Kukuk <kukuk@thkukuk.de>
2892 * modules/pam_limits/pam_limits.c (setup_limits): Don't
2893 reset priority for root.
2895 2006-06-23 Thorsten Kukuk <kukuk@thkukuk.de>
2897 * modules/pam_access/access.conf.5.xml: Fix syntax for SAG.
2898 * modules/pam_access/pam_access.8.xml: Likewise.
2899 * modules/pam_deny/pam_deny.8.xml: Likewise.
2900 * modules/pam_echo/pam_echo.8.xml: Likewise.
2901 * modules/pam_env/pam_env.8.xml: Likewise.
2902 * modules/pam_env/pam_env.conf.5.xml: Likewise.
2903 * modules/pam_group/group.conf.5.xml: Likewise.
2904 * modules/pam_group/pam_group.8.xml: Likewise.
2905 * modules/pam_limits/limits.conf.5.xml: Likewise.
2906 * modules/pam_listfile/pam_listfile.8.xml: Likewise.
2907 * modules/pam_succeed_if/pam_succeed_if.8.xml: Likewise.
2908 * modules/pam_time/pam_time.8.xml: Likewise.
2909 * modules/pam_time/time.conf.5.xml: Likewise.
2911 * modules/pam_access/access.conf.5: Regenerate.
2912 * modules/pam_access/pam_access.8: Likewise.
2913 * modules/pam_deny/pam_deny.8: Likewise.
2914 * modules/pam_echo/README: Likewise.
2915 * modules/pam_echo/pam_echo.8: Likewise.
2916 * modules/pam_env/pam_env.8: Likewise.
2917 * modules/pam_env/pam_env.conf.5: Likewise.
2918 * modules/pam_group/README: Likewise.
2919 * modules/pam_group/group.conf.5: Likewise.
2920 * modules/pam_group/pam_group.8: Likewise.
2921 * modules/pam_limits/limits.conf.5: Likewise.
2922 * modules/pam_listfile/README: Likewise.
2923 * modules/pam_listfile/pam_listfile.8: Likewise.
2924 * modules/pam_succeed_if/pam_succeed_if.8: Likewise.
2925 * modules/pam_time/pam_time.8: Likewise.
2926 * modules/pam_time/time.conf.5: Likewise.
2928 * doc/man/Makefile.am: Add pam.conf-desc.xml, pam.conf-dir.xml
2929 and pam.conf-syntax.xml.
2930 * doc/man/pam.conf.5.xml: Split into different pieces for SAG.
2931 * doc/man/pam.conf.5: Regenerated.
2932 * doc/man/pam.conf-desc.xml: New.
2933 * doc/man/pam.conf-dir.xml: New.
2934 * doc/man/pam.conf-syntax.xml: New.
2936 2006-06-21 Thorsten Kukuk <kukuk@thkukuk.de>
2938 * modules/pam_selinux/Makefile.am: Fix "make dist" if libselinux
2941 * modules/pam_issue/pam_issue.8.xml: Fix listing of escapes.
2942 * modules/pam_issue/pam_issue.8: Regenerate.
2944 2006-06-20 Thorsten Kukuk <kukuk@thkukuk.de>
2946 * configure.in: Remove unused check for libcap.
2948 * m4/ld-as-needed.m4: New.
2950 * configure.in: Call PAM_LD_AS_NEEDED and PAM_LD_O1,
2951 require docbook version 4.4.
2953 2006-06-19 Thorsten Kukuk <kukuk@thkukuk.de>
2955 * doc/man/pam.8.xml: Syntax cleanup.
2956 * doc/pam/PAM.8: Regenerated from xml source.
2957 * man/pam_sm_chauthtok.3: New.
2958 * man/pam_sm_chauthtok.3.xml: New.
2959 * man/pam_sm_close_session.3: New.
2960 * man/pam_sm_close_session.3.xml: New.
2961 * man/pam_sm_open_session.3: New.
2962 * man/pam_sm_open_session.3.xml: New.
2963 * man/pam_sm_authenticate.3: New.
2964 * man/pam_sm_authenticate.3.xml: New.
2965 * man/pam_sm_setcred.3: New.
2966 * man/pam_sm_setcred.3.xml: New.
2967 * man/Makefile.am: Add new pam_sm_* manual pages.
2969 * specs/Makefile.am: Fix rule to generate draft.
2971 2006-06-18 Thorsten Kukuk <kukuk@thkukuk.de>
2973 * modules/pam_tally/Makefile.am: Include Make.xml.rules.
2974 * modules/pam_tally/pam_tally.8.xml: New.
2975 * modules/pam_tally/pam_tally.8: New, generated from xml file.
2976 * modules/pam_tally/README.xml: New.
2977 * modules/pam_tally/README: Regenerated from xml file.
2979 * modules/pam_selinux/Makefile.am: Include Make.xml.rules.
2980 * modules/pam_selinux/pam_selinux.8.xml: New.
2981 * modules/pam_selinux/pam_selinux.8: Regenerated from xml file.
2982 * modules/pam_selinux/README.xml: New.
2983 * modules/pam_selinux/README: Regenerated from xml file.
2985 2006-06-17 Thorsten Kukuk <kukuk@thkukuk.de>
2987 * modules/pam_debug/Makefile.am: Include Make.xml.rules.
2988 * modules/pam_debug/pam_debug.8.xml: New.
2989 * modules/pam_debug/pam_debug.8: New, generated from xml file.
2990 * modules/pam_debug/README.xml: New.
2991 * modules/pam_debug/README: Regenerated from xml file.
2993 * examples/vpass.c: UID is unsigned on Linux.
2994 * modules/pam_exec/pam_exec.c: Likewise.
2995 * modules/pam_unix/pam_unix_acct.c: Likewise.
2996 * modules/pam_unix/pam_unix_sess.c: Likewise.
2998 * modules/pam_succeed_if/pam_succeed_if.8.xml: Fix syntax error.
2999 * modules/pam_succeed_if/pam_succeed_if.8: Regenerated.
3000 * modules/pam_succeed_if/README: Regenerated.
3002 * modules/pam_limits/Makefile.am: Include Make.xml.rules.
3003 * modules/pam_limits/limits.conf.5: New, generated from xml file.
3004 * modules/pam_limits/limits.conf.5.xml: New.
3005 * modules/pam_limits/pam_limits.8: New, generated from xml file.
3006 * modules/pam_limits/pam_limits.8.xml: New.
3007 * modules/pam_limits/README.xml: New.
3008 * modules/pam_limits/README: Regenerated from README.xml.
3010 2006-06-16 Thorsten Kukuk <kukuk@thkukuk.de>
3012 * modules/pam_unix/pam_unix_passwd.c (save_old_password): UIDs
3013 are unsigned on Linux, don't truncate them.
3014 (_do_setpass): err is of type clnt_stat, not int.
3016 * modules/pam_lastlog/pam_lastlog.c (last_login_read): Don't
3017 truncate UID for syslog output.
3019 * modules/pam_time/pam_time.c: Replace type boolean with int.
3020 * modules/pam_group/pam_group.c: Likewise.
3022 2006-06-15 Thorsten Kukuk <kukuk@thkukuk.de>
3024 * modules/pam_unix/bigcrypt.h: New.
3025 * modules/pam_unix/Makefile.am: Add bigcrypt.h.
3026 * modules/pam_unix/bigcrypt.c: Include bigcrypt.h.
3027 * modules/pam_unix/support.c: Include bigcrypt.h, remove
3029 * modules/pam_unix/bigcrypt_main.c: Include bigcrypt.h, remove
3031 * modules/pam_unix/pam_unix_passwd.c: Include bigcrypt.h, remove
3034 * modules/pam_time/pam_time.c (logic_member): Remove unused
3037 * modules/pam_group/pam_group.c (logic_field): Accept
3038 colon in tty name. [#1428276].
3039 (logic_member): Remove unused variable len.
3040 (check_account): Fix usage of err variable in debug code.
3042 * modules/pam_time/pam_time.c (logic_field): Likewise.
3044 * configure.in: Add special exceptions for icc: different
3045 compiler warnings, no PIE support.
3047 2006-06-14 Thorsten Kukuk <kukuk@thkukuk.de>
3049 * libpam/pam_misc.c (_pam_strdup): Use strlen and strcpy.
3051 * configure.in: Remove --enable-memory-debug, add option
3052 to disable prelude if installed.
3054 * modules/pam_tally/pam_tally.c: Remove MEMORY_DEBUG
3055 * modules/pam_filter/upperLOWER/upperLOWER.c: Likewise.
3056 * modules/pam_unix/unix_chkpwd.c: Likewise.
3057 * libpam/include/security/_pam_types.h: Likewise.
3058 * libpam/libpam.map: Remove LIBPAM_MALLOC_DEBUG export.
3059 * libpam/pam_malloc.c: Remove file.
3060 * libpam/Makefile.am: Remove pam_malloc.c and pam_malloc.h.
3062 * libpam/pam_handlers.c (extract_modulename): Use _pam_strdup
3065 * libpam/pam_private.h: Remove _pam_strCMP.
3066 * libpam/pam_misc.c: Likewise.
3067 * libpam/pam_handlers.c: Replaced _pam_strCMP with strcasecmp.
3069 2006-06-12 Thorsten Kukuk <kukuk@thkukuk.de>
3071 * modules/pam_tally/Makefile.am (AM_LDFLAGS): Remove flags
3072 for modules from main application.
3074 2006-06-09 Thorsten Kukuk <kukuk@thkukuk.de>
3076 * modules/pam_time/Makefile.am: Include Make.xml.rules.
3077 * modules/pam_time/time.conf.5: New, generated from xml file.
3078 * modules/pam_time/time.conf.5.xml: New.
3079 * modules/pam_time/pam_time.8: New, generated from xml file.
3080 * modules/pam_time/pam_time.8.xml: New.
3081 * modules/pam_time/README.xml: New.
3082 * modules/pam_time/README: Regenerated from README.xml.
3084 * modules/pam_wheel/Makefile.am: Include Make.xml.rules.
3085 * modules/pam_wheel/pam_wheel.8.xml: New.
3086 * modules/pam_wheel/pam_wheel.8: New, generated from xml file.
3087 * modules/pam_wheel/README.xml: New.
3088 * modules/pam_wheel/README: Regenerated from xml file.
3090 * modules/pam_xauth/Makefile.am: Include Make.xml.rules.
3091 * modules/pam_xauth/pam_xauth.8.xml: New.
3092 * modules/pam_xauth/pam_xauth.8: Regenerated from xml file.
3093 * modules/pam_xauth/README.xml: New.
3094 * modules/pam_xauth/README: Regenerated from xml file.
3096 * modules/pam_deny/pam_deny.8.xml: Fix syntax errors.
3097 * modules/pam_deny/pam_deny.8: Regenerate from xml file.
3098 * modules/pam_deny/README: Likewise.
3100 * modules/pam_warn/Makefile.am: Include Make.xml.rules.
3101 * modules/pam_warn/pam_warn.8.xml: New.
3102 * modules/pam_warn/pam_warn.8: New, generated from xml file.
3103 * modules/pam_warn/README.xml: New.
3104 * modules/pam_warn/README: Regenerated from xml file.
3106 * modules/pam_userdb/Makefile.am: Include Make.xml.rules.
3107 * modules/pam_userdb/pam_userdb.8.xml: New.
3108 * modules/pam_userdb/pam_userdb.8: New, generated from xml file.
3109 * modules/pam_userdb/README.xml: New.
3110 * modules/pam_userdb/README: Regenerated from xml file.
3112 2006-06-06 Thorsten Kukuk <kukuk@thkukuk.de>
3114 * modules/pam_shells/Makefile.am: Include Make.xml.rules.
3115 * modules/pam_shells/pam_shells.8.xml: New.
3116 * modules/pam_shells/pam_shells.8: New, generated from xml file.
3117 * modules/pam_shells/README.xml: New.
3118 * modules/pam_shells/README: Regenerated from xml file.
3120 * libpam/include/security/pam_malloc.h: Add missing license
3123 * libpam/include/security/pam_ext.h: Add brackets for C++.
3124 * libpam/include/security/pam_modutil.h: Likewise.
3126 * libpam/include/security/pam_modules.h: Document where to
3127 find the copyright/license informations.
3129 * libpam/include/security/pam_appl.h: Move _pam_compat.h
3130 include inside of brackets.
3132 2006-06-04 Thorsten Kukuk <kukuk@thkukuk.de>
3134 * modules/pam_securetty/Makefile.am: Include Make.xml.rules.
3135 * modules/pam_securetty/pam_securetty.8.xml: New.
3136 * modules/pam_securetty/pam_securetty.8: Regenerated from xml file.
3137 * modules/pam_securetty/README.xml: New.
3138 * modules/pam_securetty/README: Regenerated from xml file.
3140 * modules/pam_rootok/Makefile.am: Include Make.xml.rules.
3141 * modules/pam_rootok/pam_rootok.8.xml: New.
3142 * modules/pam_rootok/pam_rootok.8: New, generated from xml file.
3143 * modules/pam_rootok/README.xml: New.
3144 * modules/pam_rootok/README: Regenerated from xml file.
3146 * modules/pam_permit/Makefile.am: Include Make.xml.rules.
3147 * modules/pam_permit/pam_permit.8.xml: New.
3148 * modules/pam_permit/pam_permit.8: New, generated from xml file.
3149 * modules/pam_permit/README.xml: New.
3150 * modules/pam_permit/README: Regenerated from xml file.
3152 * modules/pam_nologin/Makefile.am: Include Make.xml.rules.
3153 * modules/pam_nologin/pam_nologin.8.xml: New.
3154 * modules/pam_nologin/pam_nologin.8: Regenerated from xml file.
3155 * modules/pam_nologin/README.xml: New.
3156 * modules/pam_nologin/README: Regenerated from xml file.
3158 2006-06-03 Thorsten Kukuk <kukuk@thkukuk.de>
3160 * modules/pam_motd/Makefile.am: Include Make.xml.rules.
3161 * modules/pam_motd/pam_motd.8.xml: New.
3162 * modules/pam_motd/pam_motd.8: New, generated from xml file.
3163 * modules/pam_motd/README.xml: New.
3164 * modules/pam_motd/README: New, generated from xml file.
3166 2006-06-02 Thorsten Kukuk <kukuk@thkukuk.de>
3168 * modules/pam_mail/Makefile.am: Include Make.xml.rules.
3169 * modules/pam_mail/pam_mail.8.xml: New.
3170 * modules/pam_mail/pam_mail.8: New, generated from xml file.
3171 * modules/pam_mail/README.xml: New.
3172 * modules/pam_mail/README: Regenerated from xml file.
3174 * modules/pam_localuser/Makefile.am: Include Make.xml.rules.
3175 * modules/pam_localuser/pam_localuser.8.xml: New.
3176 * modules/pam_localuser/pam_localuser.8: New, generated from xml file.
3177 * modules/pam_localuser/README.xml: New.
3178 * modules/pam_localuser/README: Regenerated from xml file.
3180 * doc/man/PAM.8: Regenerate with DocBook XSL Stylesheets v1.70.1.
3181 * doc/man/pam.3: Likewise.
3182 * doc/man/pam.conf.5: Likewise.
3183 * doc/man/pam_acct_mgmt.3: Likewise.
3184 * doc/man/pam_authenticate.3: Likewise.
3185 * doc/man/pam_chauthtok.3: Likewise.
3186 * doc/man/pam_close_session.3: Likewise.
3187 * doc/man/pam_conv.3: Likewise.
3188 * doc/man/pam_end.3: Likewise.
3189 * doc/man/pam_error.3: Likewise.
3190 * doc/man/pam_fail_delay.3: Likewise.
3191 * doc/man/pam_get_data.3: Likewise.
3192 * doc/man/pam_get_item.3: Likewise.
3193 * doc/man/pam_get_user.3: Likewise.
3194 * doc/man/pam_getenv.3: Likewise.
3195 * doc/man/pam_getenvlist.3: Likewise.
3196 * doc/man/pam_info.3: Likewise.
3197 * doc/man/pam_open_session.3: Likewise.
3198 * doc/man/pam_prompt.3: Likewise.
3199 * doc/man/pam_putenv.3: Likewise.
3200 * doc/man/pam_set_data.3: Likewise.
3201 * doc/man/pam_set_item.3: Likewise.
3202 * doc/man/pam_setcred.3: Likewise.
3203 * doc/man/pam_sm_acct_mgmt.3: Likewise.
3204 * doc/man/pam_start.3: Likewise.
3205 * doc/man/pam_strerror.3: Likewise.
3206 * doc/man/pam_syslog.3: Likewise.
3207 * modules/pam_access/access.conf.5: Likewise.
3208 * modules/pam_access/pam_access.8: Likewise.
3209 * modules/pam_cracklib/pam_cracklib.8: Likewise.
3210 * modules/pam_deny/pam_deny.8: Likewise.
3211 * modules/pam_echo/pam_echo.8: Likewise.
3212 * modules/pam_env/pam_env.8: Likewise.
3213 * modules/pam_env/pam_env.conf.5: Likewise.
3214 * modules/pam_exec/pam_exec.8: Likewise.
3215 * modules/pam_filter/pam_filter.8: Likewise.
3216 * modules/pam_ftp/pam_ftp.8: Likewise.
3217 * modules/pam_group/group.conf.5: Likewise.
3218 * modules/pam_group/pam_group.8: Likewise.
3219 * modules/pam_issue/pam_issue.8: Likewise.
3220 * modules/pam_lastlog/pam_lastlog.8: Likewise.
3221 * modules/pam_mkhomedir/pam_mkhomedir.8: Likewise.
3222 * modules/pam_succeed_if/pam_succeed_if.8: Likewise.
3223 * modules/pam_umask/pam_umask.8: Likewise.
3225 * modules/pam_unix/pam_unix_acct.c (pam_sm_acct_mgmt): Use
3226 dngettext if available [#1427738].
3227 * configure.in: Check for dngettext [#1427738].
3228 * po/*.po: Update to dngettext usage.
3230 * modules/pam_listfile/Makefile.am: Include Make.xml.rules.
3231 * modules/pam_listfile/pam_listfile.8.xml: New.
3232 * modules/pam_listfile/pam_listfile.8: New, generated from xml file.
3233 * modules/pam_listfile/README.xml: New.
3234 * modules/pam_listfile/README: Regenerated from xml file.
3236 2006-06-01 Thorsten Kukuk <kukuk@thkukuk.de>
3238 * modules/pam_lastlog/Makefile.am: Include Make.xml.rules.
3239 * modules/pam_lastlog/pam_lastlog.8.xml: New.
3240 * modules/pam_lastlog/pam_lastlog.8: New, generated from xml file.
3241 * modules/pam_lastlog/README.xml: New.
3242 * modules/pam_lastlog/README: Regenerated from xml file.
3244 * modules/pam_group/Makefile.am: Include Make.xml.rules.
3245 * modules/pam_group/group.conf.5.xml: New.
3246 * modules/pam_group/group.conf.5: New, generated from xml file.
3247 * modules/pam_group/pam_group.8.xml: New.
3248 * modules/pam_group/pam_group.8: New, generated from xml file.
3249 * modules/pam_group/README.xml: New.
3250 * modules/pam_group/README: Regenerated from xml file.
3252 * modules/pam_ftp/Makefile.am: Include Make.xml.rules.
3253 * modules/pam_ftp/pam_ftp.8.xml: New.
3254 * modules/pam_ftp/pam_ftp.8: New, generated from xml file.
3255 * modules/pam_ftp/README.xml: New.
3256 * modules/pam_ftp/README: Regenerated from xml file.
3258 * modules/pam_issue/Makefile.am: Include Make.xml.rules.
3259 * modules/pam_issue/pam_issue.8.xml: New.
3260 * modules/pam_issue/pam_issue.8: New, generated from xml file.
3261 * modules/pam_issue/README.xml: New.
3262 * modules/pam_issue/README: Regenerated from xml file.
3264 * modules/pam_filter/Makefile.am: Include Make.xml.rules.
3265 * modules/pam_filter/pam_filter.8.xml: New.
3266 * modules/pam_filter/pam_filter.8: New, generated from xml file.
3267 * modules/pam_filter/README.xml: New.
3268 * modules/pam_filter/README: Regenerated from xml file.
3270 2006-05-30 Thorsten Kukuk <kukuk@thkukuk.de>
3272 * modules/pam_mkhomedir/pam_mkhomedir.8.xml: Fix umask and skel
3273 directory documentation.
3275 * modules/pam_umask/Makefile.am: Include Make.xml.rules.
3276 * modules/pam_umask/pam_umask.8.xml: New.
3277 * modules/pam_umask/pam_umask.8: New, generated from xml file.
3278 * modules/pam_umask/README.xml: New.
3279 * modules/pam_umask/README: Regenerated from xml file.
3281 2006-05-29 Thorsten Kukuk <kukuk@thkukuk.de>
3283 * modules/pam_mkhomedir/Makefile.am: Include Make.xml.rules.
3284 * modules/pam_mkhomedir/pam_mkhomedir.8.xml: New.
3285 * modules/pam_mkhomedir/pam_mkhomedir.8: New, generated from xml file.
3286 * modules/pam_mkhomedir/README.xml: New.
3287 * modules/pam_mkhomedir/README: Regenerated from xml file.
3289 2006-05-23 Thorsten Kukuk <kukuk@thkukuk.de>
3291 * modules/pam_echo/pam_echo.c (pam_echo): Use pam_modutil_read()
3294 2006-05-22 Thorsten Kukuk <kukuk@thkukuk.de>
3296 * modules/pam_listfile/pam_listfile.c (pam_sm_authenticate):
3297 Fix memory leaks, [#1490956] found by Coverity.
3299 * modules/pam_tally/pam_tally.c (pam_get_uid): Check return
3300 value of pam_get_user().
3301 (tally_get_data): Check if oldtime is not NULL.
3302 [#1489818] found by Coverity.
3304 * modules/pam_mkhomedir/pam_mkhomedir.c (create_homedir): Don't
3305 ignore return value of stat(). [#1489808] found by Coverity.
3307 * modules/pam_mail/pam_mail.c (get_folder): Fix a potential
3308 NULL pointer dereference. [#1489792] found by Coverity.
3310 * libpam/Makefile.am: bump release number of libpam.so.
3311 * libpam/pam_misc.c (_pam_mkargv): Fix memory leak,
3312 [#1489804] found by Coverity.
3314 * modules/pam_echo/pam_echo.c (replace_and_print): Initialize
3315 str, [#1489658] found by Coverity.
3317 * modules/pam_cracklib/pam_cracklib.c (_pam_unix_approve_pass): Fix
3318 a potential NULL pointer dereference.
3319 (pam_sm_chauthtok): Remove dead code.
3320 [#1489634] found by Coverity.
3322 2006-05-04 Thorsten Kukuk <kukuk@thkukuk.de>
3324 * configure.in: Check for fseeko.
3325 * modules/pam_tally/pam_tally.c: Use fseeko if available
3326 (Based on patch by IBM).
3328 2006-05-04 Thorsten Kukuk <kukuk@thkukuk.de>
3330 * release version 0.99.4.0
3332 * libpam/pam_strerror.c: Unify error messages.
3334 * po/zh_TW.po: Adjust for last pam_strerror changes.
3335 * po/zh_CN.po: Likewise.
3336 * po/uk.po: Likewise.
3337 * po/tr.po: Likewise.
3338 * po/pt.po: Likewise.
3339 * po/pt_BR.po: Likewise.
3340 * po/pl.po: Likewise.
3341 * po/ja.po: Likewise.
3342 * po/nl.po: Likewise.
3343 * po/nb.po: Likewise.
3344 * po/it.po: Likewise.
3345 * po/hu.po: Likewise.
3346 * po/fr.po: Likewise.
3347 * po/fi.po: Likewise.
3348 * po/es.po: Likewise.
3349 * po/de.po: Likewise.
3350 * po/cs.po: Likewise.
3352 * doc/man/pam.3.xml: New.
3353 * doc/man/pam.3. New, generated from XML file.
3355 * doc/man/pam_sm_acct_mgmt.3.xml: New.
3356 * doc/man/pam_sm_acct_mgmt.3: New, generated from XML file.
3358 * doc/man/*.xml: Fix encoding and use always UTF-8, regenerate
3361 * doc/pam_modules.sgml (PAM_NEW_AUTHTOKEN_REQD): Fix typo.
3363 2006-05-02 Thorsten Kukuk <kukuk@thkukuk.de>
3365 * modules/pam_unix/pam_unix_acct.c (pam_sm_acct_mgmt): Use
3366 different strings for plural or not [#1427738]
3368 * po/*.po: Adjust for pam_unix.so translation fix.
3370 * modules/pam_tally/pam_tally.c: Always close file handle
3371 in error case, don't close it depending on *TALLY value [#1478180]
3373 2006-04-21 Thorsten Kukuk <kukuk@thkukuk.de>
3375 * po/fr.po: Updated.
3377 2006-04-11 Thorsten Kukuk <kukuk@thkukuk.de>
3379 * po/km.po: Updated.
3381 2006-03-27 Thorsten Kukuk <kukuk@thkukuk.de>
3383 * po/LINGUAS: Add uk.
3386 * po/cs.po: Updated.
3387 * po/po/es.po: Updated.
3388 * po/fi.po: Updated.
3389 * po/fr.po: Updated.
3390 * po/hu.po: Updated.
3391 * po/it.po: Updated.
3392 * po/ja.po: Updated.
3393 * po/nb.po: Updated.
3394 * po/pl.po: Updated.
3395 * po/pt.po: Updated.
3396 * po/pt_BR.po: Updated.
3397 * po/zh_CN.po: Updated.
3398 * po/zh_TW.po: Updated.
3400 2006-03-21 Thorsten Kukuk <kukuk@thkukuk.de>
3402 * configure.in: Remove ALL_LINGUAS.
3404 * po/tr.po: New (from Ismail Donmez <ismail@pardus.org.tr>).
3406 2006-03-13 Thorsten Kukuk <kukuk@thkukuk.de>
3408 * doc/man/pam_error.3.xml: New.
3409 * doc/man/pam_error.3: New, generated from XML file.
3410 * doc/man/pam_verror.3: New, generated from XML file.
3411 * doc/man/Makefile.am: Add pam_error.3 and pam_verror.3.
3413 * modules/pam_lastlog/Makefile.am: Fix typo.
3415 * modules/pam_lastlog/pam_lastlog.c: Move comment for
3416 translators in right line.
3417 * po/*.po: Update po files with comment for translator.
3419 2006-03-12 Thorsten Kukuk <kukuk@thkukuk.de>
3421 * doc/man/Makefile.am: Add new manual pages.
3423 * doc/man/pam.conf.5.xml: Replace link with content
3425 * doc/man/pam.conf.5: Regenerated from XML file.
3427 * doc/man/pam_info.3.xml: New.
3428 * doc/man/pam_info.3: New, generated from XML file.
3429 * doc/man/pam_vinfo.3: New, generated from XML file.
3431 * doc/man/pam_conv.3.xml: New.
3432 * doc/man/pam_conv.3: New, generated from XML file.
3434 * doc/man/pam_putenv.3.xml: New.
3435 * doc/man/pam_putenv.3: New, generated from XML file.
3437 * doc/man/pam_getenv.3.xml: New.
3438 * doc/man/pam_getenv.3: New, generated from XML file.
3440 * doc/man/pam_getenvlist.3.xml: New.
3441 * doc/man/pam_getenvlist.3: New, generated from XML file.
3443 * libpam/pam_item.c (pam_get_user): Check for valid pamh before
3446 * configure.in: create tests/Makefile
3447 * Makefile.am (SUBDIRS): Add tests
3448 * tests/Makefile.am: New.
3449 * tests/tst-dlopen.c: New.
3450 * tests/tst-pam_acct_mgmt.c: New.
3451 * tests/tst-pam_authenticate.c: New.
3452 * tests/tst-pam_chauthtok.c: New.
3453 * tests/tst-pam_close_session.c: New.
3454 * tests/tst-pam_end.c: New.
3455 * tests/tst-pam_fail_delay.c: New.
3456 * tests/tst-pam_getenvlist.c: New.
3457 * tests/tst-pam_get_item.c: New.
3458 * tests/tst-pam_open_session.c: New.
3459 * tests/tst-pam_setcred.c: New.
3460 * tests/tst-pam_set_item.c: New.
3461 * tests/tst-pam_start.c: New.
3462 * tests/tst-pam_get_user.c: New.
3464 * modules/pam_access/Makefile.am: Add rules for make check
3465 * modules/pam_access/tst-pam_access: New
3466 * modules/pam_cracklib/Makefile.am: Add rules for make check
3467 * modules/pam_cracklib/tst-pam_cracklib: New
3468 * modules/pam_debug/Makefile.am: Add rules for make check
3469 * modules/pam_debug/tst-pam_debug: New
3470 * modules/pam_deny/Makefile.am: Add rules for make check
3471 * modules/pam_deny/tst-pam_deny: New
3472 * modules/pam_echo/Makefile.am: Add rules for make check
3473 * modules/pam_echo/tst-pam_echo: New
3474 * modules/pam_env/Makefile.am: Add rules for make check
3475 * modules/pam_env/tst-pam_env: New
3476 * modules/pam_exec/Makefile.am: Add rules for make check
3477 * modules/pam_exec/tst-pam_exec: New
3478 * modules/pam_filter/Makefile.am: Add rules for make check
3479 * modules/pam_filter/tst-pam_filter: New
3480 * modules/pam_ftp/Makefile.am: Add rules for make check
3481 * modules/pam_ftp/tst-pam_ftp: New
3482 * modules/pam_group/Makefile.am: Add rules for make check
3483 * modules/pam_group/tst-pam_group: New
3484 * modules/pam_issue/Makefile.am: Add rules for make check
3485 * modules/pam_issue/tst-pam_issue: New
3486 * modules/pam_lastlog/Makefile.am: Add rules for make check
3487 * modules/pam_lastlog/tst-pam_lastlog: New
3488 * modules/pam_limits/Makefile.am: Add rules for make check
3489 * modules/pam_limits/tst-pam_limits: New
3490 * modules/pam_listfile/Makefile.am: Add rules for make check
3491 * modules/pam_listfile/tst-pam_listfile: New
3492 * modules/pam_localuser/Makefile.am: Add rules for make check
3493 * modules/pam_localuser/tst-pam_localuser: New
3494 * modules/pam_mail/Makefile.am: Add rules for make check
3495 * modules/pam_mail/tst-pam_mail: New
3496 * modules/pam_mkhomedir/Makefile.am: Add rules for make check
3497 * modules/pam_mkhomedir/tst-pam_mkhomedir: New
3498 * modules/pam_motd/Makefile.am: Add rules for make check
3499 * modules/pam_motd/tst-pam_motd: New
3500 * modules/pam_nologin/Makefile.am: Add rules for make check
3501 * modules/pam_nologin/tst-pam_nologin: New
3502 * modules/pam_permit/Makefile.am: Add rules for make check
3503 * modules/pam_permit/tst-pam_permit: New
3504 * modules/pam_rhosts/Makefile.am: Add rules for make check
3505 * modules/pam_rhosts/tst-pam_rhosts: New
3506 * modules/pam_rootok/Makefile.am: Add rules for make check
3507 * modules/pam_rootok/tst-pam_rootok: New
3508 * modules/pam_securetty/Makefile.am: Add rules for make check
3509 * modules/pam_securetty/tst-pam_securetty: New
3510 * modules/pam_selinux/Makefile.am: Add rules for make check
3511 * modules/pam_selinux/tst-pam_selinux: New
3512 * modules/pam_shells/Makefile.am: Add rules for make check
3513 * modules/pam_shells/tst-pam_shells: New
3514 * modules/pam_stress/Makefile.am: Add rules for make check
3515 * modules/pam_stress/tst-pam_stress: New
3516 * modules/pam_succeed_if/Makefile.am: Add rules for make check
3517 * modules/pam_succeed_if/tst-pam_succeed_if: New
3518 * modules/pam_tally/Makefile.am: Add rules for make check
3519 * modules/pam_tally/tst-pam_tally: New
3520 * modules/pam_time/Makefile.am: Add rules for make check
3521 * modules/pam_time/tst-pam_time: New
3522 * modules/pam_umask/Makefile.am: Add rules for make check
3523 * modules/pam_umask/tst-pam_umask: New
3524 * modules/pam_unix/Makefile.am: Add rules for make check
3525 * modules/pam_unix/tst-pam_unix: New
3526 * modules/pam_userdb/Makefile.am: Add rules for make check
3527 * modules/pam_userdb/tst-pam_userdb: New
3528 * modules/pam_warn/Makefile.am: Add rules for make check
3529 * modules/pam_warn/tst-pam_warn: New
3530 * modules/pam_wheel/Makefile.am: Add rules for make check
3531 * modules/pam_wheel/tst-pam_wheel: New
3532 * modules/pam_xauth/Makefile.am: Add rules for make check
3533 * modules/pam_xauth/tst-pam_xauth: New
3535 2006-03-11 Thorsten Kukuk <kukuk@thkukuk.de>
3537 * doc/man/pam_fail_delay.3.xml: New.
3538 * doc/man/pam_fail_delay.3: New, generated from xml.
3539 * doc/man/pam_prompt.3.xml: New.
3540 * doc/man/pam_prompt.3: New, generated from xml.
3541 * doc/man/pam_syslog.3.xml: New.
3542 * doc/man/pam_syslog.3: New, generated from xml.
3543 * doc/man/pam_vprompt.3: New, generated from xml.
3544 * doc/man/pam_vsyslog.3: New, generated from xml.
3546 2006-02-24 Thorsten Kukuk <kukuk@thkukuk.de>
3548 * po/km.po: Update Khmer translation.
3550 2006-02-24 Thorsten Kukuk <kukuk@thkukuk.de>
3552 * modules/pam_succeed_if/pam_succeed_if.8.xml: New, based on
3553 version from #1425487.
3554 * modules/pam_succeed_if/pam_succeed_if.8: Regenerated from xml.
3555 * modules/pam_succeed_if/Makefile.am: Include XML rules.
3556 * modules/pam_succeed_if/README.xml: New.
3557 * modules/pam_succeed_if/README: Regenerated from xml.
3558 * modules/pam_succeed_if/pam_succeed_if.c: Fix comment about
3561 2006-02-22 Thorsten Kukuk <kukuk@thkukuk.de>
3563 * configure.in: Fix check for incomplete libaudit installations
3564 (Patch from Ruediger Oertel <ro@suse.de>).
3566 * modules/pam_lastlog/pam_lastlog.c (last_login_write): Initialize
3567 correct last_login field [#1427401].
3569 * modules/pam_lastlog/pam_lastlog.c (last_login_read): Mark strftime
3570 format string for translation to allow reorder [#1428269].
3571 * po/*.po: Update with last pam_lastlog change.
3574 2006-02-17 Thorsten Kukuk <kukuk@thkukuk.de>
3576 * doc/man/Makefile.am: Add new manual pages.
3577 * doc/man/pam_end.3: Regenerated from xml file.
3578 * doc/man/pam_end.3.xml: Document freeing of item data.
3579 * doc/man/pam_get_user.3: New.
3580 * doc/man/pam_get_user.3.xml: New.
3581 * modules/pam_access/access.conf.5.xml: Fix typos.
3582 * modules/pam_env/Makefile.am: Add new manual pages.
3583 * modules/pam_env/README: Regenerate from xml file.
3584 * modules/pam_env/README.xml: New.
3585 * modules/pam_env/pam_env.8: New.
3586 * modules/pam_env/pam_env.8.xml: New.
3587 * modules/pam_env/pam_env.conf.5: New.
3588 * modules/pam_env/pam_env.conf.5.xml New.
3590 2006-02-14 Thorsten Kukuk <kukuk@thkukuk.de>
3592 * po/fi.po: Updated translations.
3593 * po/pl.po: Likewise.
3594 * po/km.po: New translation.
3595 * configure.in: Add km as new language.
3597 2006-02-13 Thorsten Kukuk <kukuk@thkukuk.de>
3599 * modules/pam_echo/pam_echo.8.xml: New.
3600 * modules/pam_echo/pam_echo.8: Regenerated from xml file.
3601 * modules/pam_echo/Makefile.am: Include Make.xml.rules.
3602 * modules/pam_echo/pam_echo.c: Fix return value.
3604 * doc/modules/pam_chroot.sgml: Remove obsolete sgml file.
3606 2006-02-12 Thorsten Kukuk <kukuk@thkukuk.de>
3608 * configure.in: Add doc/man/Makefile.
3609 * Make.xml.rules: Enable xincludes for manual pages.
3610 * doc/Makefile.am (EXRA_DIST): Remove manual pages.
3611 (SUBDIR): Add man subdirectory.
3612 * doc/man/Makefile.am: New.
3613 * doc/man/pam_acct_mgmt.3: New.
3614 * doc/man/pam_acct_mgmt.3.xml: New.
3615 * doc/man/pam_get_data.3: New.
3616 * doc/man/pam_get_data.3.xml: New.
3617 * doc/man/pam_set_data.3: New.
3618 * doc/man/pam_set_data.3.xml: New.
3619 * doc/man/pam.8.xml: New.
3620 * doc/man/pam.8: Regenerated from xml file.
3621 * doc/man/pam_authenticate.3.xml: New.
3622 * doc/man/pam_authenticate.3: Regenerated from xml file.
3623 * doc/man/pam_chauthtok.3.xml: New.
3624 * doc/man/pam_chauthtok.3: Regenerated from xml file.
3625 * doc/man/pam_close_session.3.xml: New.
3626 * doc/man/pam_close_session.3: Regenerated from xml file.
3627 * doc/man/pam_end.3.xml: New.
3628 * doc/man/pam_end.3: Regenerated from xml file.
3629 * doc/man/pam_fail_delay.3.xml: New.
3630 * doc/man/pam_fail_delay.3: Regenerated from xml file.
3631 * doc/man/pam_get_item.3.xml: New.
3632 * doc/man/pam_get_item.3: Regenerated from xml file.
3633 * doc/man/pam_item_types.inc.xml: New.
3634 * doc/man/pam_open_session.3.xml: New.
3635 * doc/man/pam_open_session.3: Regenerated from xml file.
3636 * doc/man/pam_set_item.3.xml: New.
3637 * doc/man/pam_set_item.3: Regenerated from xml file.
3638 * doc/man/pam_setcred.3.xml: New.
3639 * doc/man/pam_setcred.3: Regenerated from xml file.
3640 * doc/man/pam_start.3.xml: New.
3641 * doc/man/pam_start.3: Regenerated from xml file.
3642 * doc/man/pam_strerror.3.xml: New.
3643 * doc/man/pam_strerror.3: Regenerated from xml file.
3644 * doc/man/template-man: Removed.
3646 2006-02-10 Thorsten Kukuk <kukuk@thkukuk.de>
3648 * configure.in: Remove pam_pwdb support.
3649 * modules/Makefile.am: remove pam_pwdb.
3650 * modules/pam_pwdb: Remove complete directory.
3651 * libpam/Makefile.am: Remove LIBPWDB references.
3652 * libpam/pam_static_modules.h: Remove pam_pwdb references.
3653 * doc/modules/pam_pwdb.sgml: Removed.
3654 * po/POTFILES.in: Remove modules/pam_pwdb/*.c entries.
3655 * doc/pam_source.sgml: Remove references to libpwdb.
3656 * doc/modules/pam_limits.sgml: Remove wrong reference to libpwdb.
3657 * doc/modules/pam_group.sgml: Likewise.
3658 * doc/modules/pam_cracklib.sgml: Replace pam_pwdb with pam_unix.
3659 * doc/modules/pam_userdb.sgml: Likewise.
3660 * modules/pam_cracklib/pam_cracklib.8.xml: Replace pam_pwdb
3662 * modules/pam_mkhomedir/pam_mkhomedir.c: Likewise.
3663 * modules/pam_group/pam_group.c: Remove dead code for libpwdb.
3665 * modules/pam_access/Makefile.am: Fix EXTRA_DIST.
3666 * modules/pam_cracklib/Makefile.am: Likewise.
3667 * modules/pam_deny/Makefile.am: Likewise.
3668 * modules/pam_exec/Makefile.am: Likewise.
3670 2006-02-07 Thorsten Kukuk <kukuk@thkukuk.de>
3672 * configure.in: Check for text browser.
3673 * Make.xml.rules: Add rule to generate README from README.xml.
3675 * modules/pam_access/Makefile.am: Include Make.xml.rules.
3676 * modules/pam_access/README: Regenerated from README.xml.
3677 * modules/pam_access/README.xml: New.
3678 * modules/pam_access/access.conf: Extended by new examples.
3679 * modules/pam_access/access.conf.5: New, generated from xml file.
3680 * modules/pam_access/access.conf.5.xml: New.
3681 * modules/pam_access/pam_access.8: New, generated from xml file.
3682 * modules/pam_access/pam_access.8.xml: New.
3683 * modules/pam_access/pam_access.c: Add rules for IPv6 and
3685 Based on patch from Mike Becher <Mike.Becher@lrz-muenchen.de>.
3687 * modules/pam_deny/Makefile.am: Include Make.xml.rules.
3688 * modules/pam_deny/pam_deny.8.xml: New.
3689 * modules/pam_deny/pam_deny.8: New, generated from xml file.
3690 * modules/pam_deny/README.xml: New.
3691 * modules/pam_deny/README: Regenerated from xml file.
3693 * modules/pam_cracklib/Makefile.am: Include Make.xml.rules.
3694 * modules/pam_cracklib/pam_cracklib.8.xml: New.
3695 * modules/pam_cracklib/pam_cracklib.8: New, generated from xml file.
3696 * modules/pam_cracklib/README.xml: New.
3697 * modules/pam_cracklib/README: Regenerated from xml file.
3699 * modules/pam_exec/Makefile.am: Add rule to generate README.
3700 * modules/pam_exec/README: Regenerated from xml file.
3701 * modules/pam_exec/pam_exec.8: Regenerated from xml file.
3702 * modules/pam_exec/pam_exec.8.xml: Syntax files.
3704 2006-02-06 Thorsten Kukuk <kukuk@thkukuk.de>
3707 * po/pt.po: Update translations.
3708 * configure.in: Add nl as new language.
3710 2006-01-30 Thorsten Kukuk <kukuk@thkukuk.de>
3712 * modules/pam_exec/pam_exec.8.xml: Fix syntax of Return Value section.
3713 * modules/pam_exec/Makefile.am: Include Make.xml.rules.
3715 * Make.xml.rules: New.
3717 * Makefile.am (EXTRA_DIST): Add Make.xml.rules.
3719 2006-01-27 Thorsten Kukuk <kukuk@thkukuk.de>
3721 * configure.in: Prefer libdb over libndbm, fix check for
3722 libcrack and remove not needed BACKUP_LIBS.
3724 2006-01-24 Thorsten Kukuk <kukuk@thkukuk.de>
3726 * modules/pam_debug/pam_debug.c: Fix name of pam_module struct.
3728 * po/de.po: Fix one translation.
3730 * configure.in: Add modules/pam_exec.
3731 * modules/Makefile.am: Add pam_exec subdirectory.
3732 * modules/pam_exec/README: New.
3733 * modules/pam_exec/Makefile.am: New.
3734 * modules/pam_exec/pam_exec.8: New.
3735 * modules/pam_exec/pam_exec.c: New.
3736 * modules/pam_exec/pam_exec.8.xml: New.
3737 * po/POTFILES.in: Add modules/pam_exec/pam_exec.c.
3738 * po/*.po: Merge new pam_exec strings.
3740 * libpam/pam_static_modules.h: New.
3741 * Makefile.am: Reorder subdirectories for static modules.
3742 * configure.in: Add --enable-static-modules option.
3743 * libpam/Makefile.am: Define WITH_SELINUX and WITH_PWDB if
3744 necessary, add pam_static_modules.h, link against all PAM
3745 module object files if STATIC_MODULES is defined.
3746 * libpam/pam_static.c: Remove old _static_module* includes,
3747 include pam_static_modules.h.
3749 * configure.in: Add checks for xsltproc, xmllint and docbook
3751 * m4/jh_path_xml_catalog.m4: New.
3753 2006-01-22 Thorsten Kukuk <kukuk@thkukuk.de>
3755 * modules/pam_succeed_if/pam_succeed_if.c: Add support for
3757 * modules/pam_xauth/pam_xauth.c: Likewise.
3759 * libpam/pam_static.c (_pam_open_static_handler): Add pamh
3761 * libpam/pam_private.h: Adjust prototype.
3762 * libpam/pam_handlers.c (_pam_add_handler): Add pamh to
3763 _pam_open_static_handler call.
3765 * configure.in: Don't define PAM_DYNAMIC.
3766 * libpam/pam_handlers.c: Get ride of PAM_DYNAMIC, don't
3767 include pam_dynamic.h
3768 * libpam/pam_dynamic.c: Don't include pam_dynamic.h,
3769 exclude functions if we compile with PAM_STATIC.
3770 * libpam/pam_dynamic.h: Remove.
3771 * libpam/pam_private.h: Add function prototypes from pam_dynamic.h.
3772 * libpam/Makefile.am: Bump version number of libpam, remove
3775 2006-01-21 Thorsten Kukuk <kukuk@thkukuk.de>
3777 * modules/pam_listfile/pam_listfile.c: Add support for session
3778 and password management.
3780 2006-01-19 Thorsten Kukuk <kukuk@thkukuk.de>
3782 * doc/specs/Makefile.am (spec): Add padout to fix parallel
3783 build (Reported by Andreas Haumer <andreas@xss.co.at>).
3785 2006-01-15 Thorsten Kukuk <kukuk@thkukuk.de>
3787 * modules/pam_echo/pam_echo.c: Define HOST_NAME_MAX if not
3790 2006-01-13 Thorsten Kukuk <kukuk@thkukuk.de>
3792 * release version 0.99.3.0
3794 * libpam_misc/misc_conv.c (misc_conv): Fix strict aliasing
3797 * modules/pam_umask/pam_umask.c (search_key): Don't ignore
3798 EOF/error return value from fgets().
3800 * configure.in: Check for getline and getdelim
3802 * po/fi.po: Add new translations.
3803 * po/de.po: Likewise.
3804 * po/es.po: Likewise.
3805 * po/fr.po: Likewise.
3806 * po/it.po: Likewise.
3807 * po/ja.po: Likewise.
3808 * po/pt_BR.po: Likewise.
3809 * po/zh_CH.po: Likewise.
3810 * po/zh_TW.po: Likewise.
3812 2006-01-13 Dmitry V. Levin <ldv@altlinux.org>
3814 * libpam/pam_audit.c (_pam_auditlog): Replace strerror(errno)
3815 call with %m specifier.
3817 2006-01-12 Thorsten Kukuk <kukuk@thkukuk.de>
3819 * configure.in: Add check for -fpie/-pie
3820 * modules/pam_filter/upperLOWER/Makefile.am: Compile/link
3821 upperLOWER with -fpie/-pie if supported.
3822 * modules/pam_unix/Makefile.am: Compile/link unix_chkpwd
3823 with -fpie/-pie if supported.
3825 2006-01-12 Steve Grubb <sgrubb@redhat.com>
3827 * configure.in: Add check for audit library.
3828 * libpam/Makefile.am (libpam_la_LDFLAGS): Add LIBAUDIT.
3829 (libpam_la_SOURCES): Add pam_audit.c.
3830 * libpam/pam_account.c (pam_acct_mgmt): Add _pam_auditlog() call.
3831 * libpam/pam_auth.c (pam_authenticate), (pam_setcred): Likewise.
3832 * libpam/pam_password.c (pam_chauthtok): Likewise.
3833 * libpam/pam_session.c (pam_open_session),
3834 (pam_close_session): Likewise.
3835 * libpam/pam_private.h: Add audit_state member to pam_handle,
3836 declare _pam_auditlog and _pam_audit_end.
3837 * libpam/pam_start.c (pam_start): Initialize audit_state.
3838 * libpam/pam_audit.c: New file with _pam_auditlog and _pam_audit_end
3840 * libpam/pam_end.c (pam_end): Add _pam_audit_end() call.
3841 * NEWS: Note about added auditing.
3843 2006-01-11 Thorsten Kukuk <kukuk@thkukuk.de>
3845 * libpam/Makefile.am (AM_CFLAGS): Define LIBPAM_COMPILE.
3847 * libpam/include/security/_pam_types.h: Don't define PAM_NONNULL
3848 if we compile libpam itself.
3850 * po/hu.po: Update with new translations.
3852 2006-01-08 Thorsten Kukuk <kukuk@thkukuk.de>
3854 * modules/pam_cracklib/pam_cracklib.c: Use PAM_AUTHTOK_RECOVERY_ERR
3855 instead of PAM_AUTHTOK_RECOVER_ERR.
3856 * modules/pam_pwdb/support.-c: Likewise.
3857 * modules/pam_unix/support.c: Likewise.
3858 * modules/pam_userdb/pam_userdb.c (pam_sm_authenticate): Likewise.
3859 * libpam/pam_strerror.c (pam_strerror): Likewise.
3861 * libpam/include/security/_pam_compat.h: Define
3862 PAM_AUTHTOK_RECOVER_ERR for backward compatibility.
3864 * libpam/include/security/_pam_types.h: Rename
3865 PAM_AUTHTOK_RECOVER_ERR to PAM_AUTHTOK_RECOVERY_ERR.
3867 2006-01-05 Thorsten Kukuk <kukuk@thkukuk.de>
3869 * libpam/include/security/_pam_types.h: Remove nonnull attribute
3870 from third paramter (item) of pam_get_item.
3871 * libpam/Makefile.am: Bump version number of shared library.
3873 2005-12-21 Tomas Mraz <t8m@centrum.cz>
3875 * modules/pam_succeed_if/pam_succeed_if.c (evaluate_ingroup),
3876 (evaluate_notingroup): Simplified.
3877 (evaluate_innetgr), (evaluate_notinnetgr): New functions.
3878 (evaluate): Added calls to evaluate_(not)innetgr().
3879 * modules/pam_succeed_if/README: Documented netgroup matching.
3880 * NEWS: Mentioned the added netgroup matching support.
3882 2005-12-20 Thorsten Kukuk <kukuk@thkukuk.de>
3884 * modules/pam_lastlog/pam_lastlog.c (last_login_read): Use
3885 strftime instead of ctime.
3887 * po/de.po: Fix typo.
3889 2005-12-19 Thorsten Kukuk <kukuk@thkukuk.de>
3891 * libpam/pam_syslog.c: Define LOG_AUTHPRIV as LOG_AUTH on Solaris.
3892 Reported by Charles_H_Bedford@nbc.gov.
3894 * modules/pam_time/pam_time.c (check_account): Implement
3895 support for netgroups.
3897 * modules/pam_time/time.conf: Document usage of netgroups.
3899 2005-12-16 Thorsten Kukuk <kukuk@thkukuk.de>
3901 * modules/pam_group/pam_group.c (check_account): Implement
3902 support for netgroups.
3904 * modules/pam_group/group.conf: Add all documentation to this
3905 example config file and don't reference to outdated configs.
3907 * modules/pam_group/README: New.
3909 * modules/pam_group/Makefile.am: Add README to EXTRADIST.
3911 2005-12-15 Thorsten Kukuk <kukuk@suse.de>
3913 * modules/pam_lastlog/pam_lastlog.c (last_login_read): Don't report an
3914 error if user logins the first time.
3916 * modules/pam_lastlog/README: New.
3918 * modules/pam_lastlog/Makefile.am: Add README to EXTRADIST.
3920 2005-12-14 Thorsten Kukuk <kukuk@suse.de>
3922 * modules/pam_deny/pam_deny.c: Fix comment.
3924 * doc/pam_appl.sgml: Fix typo.
3926 Reported by Russell Bateman <russ@windofkeltia.com>
3928 2005-12-12 Thorsten Kukuk <kukuk@thkukuk.de>
3930 * release version 0.99.2.1
3932 * po/de.po: Remove new fuzzy entry
3934 * NEWS: Add 0.99.2.1 changes
3936 * configure.in: bump version number to 0.99.2.1
3938 2005-12-12 Dmitry V. Levin <ldv@altlinux.org>
3940 Cleanup pam_syslog messages.
3942 * modules/pam_env/pam_env.c (_expand_arg): Fix compiler warning.
3943 * modules/pam_filter/pam_filter.c (set_filter): Append %m
3944 specifier to pam_syslog messages where appropriate.
3945 * modules/pam_group/pam_group.c (read_field): Likewise.
3946 * modules/pam_mkhomedir/pam_mkhomedir.c (make_remark): Remove.
3947 (create_homedir): Do not use make_remark() wrapper, call
3948 pam_info() directly. Call pam_syslog() right after failed
3949 operation and append %m specifier to pam_syslog messages where
3951 * modules/pam_rhosts/pam_rhosts_auth.c (pam_iruserok): Replace
3952 sequence of malloc(), strcpy() and strcat() calls with asprintf().
3953 Append %m specifier to pam_syslog messages where appropriate.
3954 * modules/pam_securetty/pam_securetty.c (securetty_perform_check):
3955 Append %m specifier to pam_syslog messages where appropriate.
3956 * modules/pam_shells/pam_shells.c (perform_check): Likewise.
3958 2005-12-12 Tomas Mraz <t8m@centrum.cz>
3960 * modules/pam_mail/pam_mail.c (report_mail): Fixed typo in string.
3961 * po/Linux-PAM.pot: Likewise.
3962 * po/de.po: Likewise.
3963 * po/es.po: Likewise.
3964 * po/fi.po: Likewise.
3965 * po/fr.po: Likewise.
3966 * po/hu.po: Likewise.
3967 * po/it.po: Likewise.
3968 * po/ja.po: Likewise.
3969 * po/nb.po: Likewise.
3970 * po/pa.po: Likewise.
3971 * po/pl.po: Likewise.
3972 * po/pt.po: Likewise.
3973 * po/pt_BR.po: Likewise.
3974 * po/zh_CN.po: Likewise.
3975 * po/zh_TW.po: Likewise.
3976 * po/de.po: Add new translation, fixed typo in string.
3978 2005-12-12 Mike Becher <Mike.Becher@lrz-muenchen.de>
3980 * doc/Makefile.am: Fixed install of PS, PDF, TXT and HTML files.
3982 2005-12-12 Thorsten Kukuk <kukuk@suse.de>
3984 * modules/pam_mail/README: Document "quiet" and "standard"
3987 2005-12-07 Thorsten Kukuk <kukuk@suse.de>
3989 * modules/pam_mail/pam_mail.c: Modify assembling of output
3990 for easier translation.
3992 * po/de.po: Translate new pam_mail messages.
3995 2005-11-24 Thorsten Kukuk <kukuk@thkukuk.de>
3997 * po/de.po: Add new translation, fix wrong format specifier.
3998 * po/cs.po: Fix wrong format specifier.
3999 * po/es.po: Likewise.
4000 * po/fi.po: Likewise.
4001 * po/fr.po: Likewise.
4002 * po/hu.po: Likewise.
4003 * po/it.po: Likewise.
4004 * po/ja.po: Likewise.
4005 * po/nb.po: Likewise.
4006 * po/pa.po: Likewise.
4007 * po/pl.po: Likewise.
4008 * po/pt.po: Likewise.
4009 * po/pt_BR.po: Likewise.
4010 * po/zh_CN.po: Likewise.
4011 * po/zh_TW.po: Likewise.
4013 2005-11-24 Dmitry V. Levin <ldv@altlinux.org>
4015 * config.h.in: Remove generated file.
4016 * .cvsignore: Add config.h.in.
4018 * configure.in: Do not check for strerror.
4019 * libpam_misc/misc_conv.c (read_string): Replace strerror()
4020 call with %m specifier.
4021 * libpamc/pamc_converse.c (pamc_converse): Likewise.
4022 * modules/pam_echo/pam_echo.c (pam_echo): Likewise.
4023 * modules/pam_localuser/pam_localuser.c (pam_sm_authenticate):
4025 * modules/pam_selinux/pam_selinux.c (security_label_tty):
4027 (security_restorelabel_tty, security_label_tty): Append %m
4028 specifier where appropriate.
4029 * modules/pam_selinux/pam_selinux_check.c (main): Replace
4030 strerror() call with %m specifier.
4031 * modules/pam_unix/pam_unix_passwd.c (save_old_password,
4032 _update_passwd, _update_shadow): Likewise.
4033 * modules/pam_unix/support.c (_unix_run_helper_binary): Likewise.
4034 * modules/pam_unix/unix_chkpwd.c (_update_shadow): Likewise.
4035 * po/Linux-PAM.pot: Update strings from pam_selinux.
4036 * po/cs.po: Likewise.
4037 * po/de.po: Likewise.
4038 * po/es.po: Likewise.
4039 * po/fi.po: Likewise.
4040 * po/fr.po: Likewise.
4041 * po/hu.po: Likewise.
4042 * po/it.po: Likewise.
4043 * po/ja.po: Likewise.
4044 * po/nb.po: Likewise.
4045 * po/pa.po: Likewise.
4046 * po/pl.po: Likewise.
4047 * po/pt.po: Likewise.
4048 * po/pt_BR.po: Likewise.
4049 * po/zh_CN.po: Likewise.
4050 * po/zh_TW.po: Likewise.
4052 2005-11-23 Thorsten Kukuk <kukuk@suse.de>
4054 * modules/pam_xauth/pam_xauth.c (pam_sm_open_session): Introduce
4055 new variable to fix compiler warning.
4057 * libpam/pam_modutil_getlogin.c (pam_modutil_getlogin): PAM_TTY
4058 don't need to start with /dev/.
4060 2005-11-21 Thorsten Kukuk <kukuk@thkukuk.de>
4062 * release version 0.99.2.0
4064 * libpam_misc/Makefile.am: Increase release number (for change
4067 * NEWS: Adjust for 0.99.2.0
4069 2005-11-17 Thorsten Kukuk <kukuk@thkukuk.de>
4071 * libpam/include/security/_pam_compat.h: Fix wrong #ifdef nesting.
4072 Redefine PAM_CHANGE_EXPIRED_AUTHTOK [#604380]
4074 2005-11-16 Thorsten Kukuk <kukuk@thkukuk.de>
4076 * libpam/pam_handlers.c: Replace code for all dlopen variants with
4078 * libpam/pam_dynamic.c: Implement generic wrapper for dlopen.
4079 * libpam/pam_dynamic.h: Provide prototypes.
4080 For Mac OS X support [#534205]
4082 2005-11-09 Tomas Mraz <t8m@centrum.cz>
4084 * modules/pam_access/pam_access.c (pam_sm_acct_mgmt): Parse correctly
4086 * modules/pam_time/pam_time.c (pam_sm_acct_mgmt): Parse correctly
4087 full path tty name. Allow unset tty.
4088 (logic_member): Allow matching ':' in tty name.
4089 * modules/pam_group/pam_group.c (pam_sm_acct_mgmt): Parse correctly
4090 full path tty name. Allow unset tty.
4091 (logic_member): Allow matching ':' in tty name.
4093 * libpam_misc/misc_conv.c (read_string): Read only up to EOL if stdin
4096 2005-11-07 Thorsten Kukuk <kukuk@thkukuk.de>
4098 * modules/pam_unix/pam_unix_passwd.c (_unix_verify_shadow): Use
4099 correct variable names.
4101 2005-11-06 Steve Langasek <vorlon@debian.org>
4103 * modules/pam_env/pam_env.c: don't treat a missing
4104 /etc/environment as a fatal error when attempting to read it,
4105 and try to read this file by default; this restores the behavior
4106 from Linux-PAM 0.76.
4108 2005-11-02 Tomas Mraz <t8m@centrum.cz>
4110 * modules/pam_unix/support.c (_unix_getpwnam): Fix typo [#1224807]
4113 * modules/pam_unix/pam_unix_passwd.c (_unix_verify_shadow): Change the
4114 logic when comparing dates to handle corner cases better [#1245888].
4116 2005-10-31 Thorsten Kukuk <kukuk@suse.de>
4118 * modules/pam_filter/pam_filter.c: Use XCASE only if defined
4121 2005-10-27 Thorsten Kukuk <kukuk@suse.de>
4123 * doc/man/pam.8: Fix wording for authentication chapter [#1197444]
4125 2005-10-26 Tomas Mraz <t8m@centrum.cz>
4127 * modules/pam_unix/pam_unix_acct.c (_unix_run_verify_binary),
4128 modules/pam_unix/pam_unix_passwd.c (_unix_run_shadow_binary),
4129 modules/pam_unix/support.c (_unix_run_shadow_binary_): Set real
4130 uid to 0 before executing the helper if SELinux is enabled.
4131 * modules/pam_unix/unix_chkpwd.c (main): Disable user check only
4132 if real uid is 0 (CVE-2005-2977). Log failed password check attempt.
4135 2005-10-20 Tomas Mraz <t8m@centrum.cz>
4137 * configure.in: Added check for xauth binary and --with-xauth option.
4138 * config.h.in: Added configurable PAM_PATH_XAUTH.
4139 * modules/pam_xauth/README,
4140 modules/pam_xauth/pam_xauth.8: Document where xauth is looked for.
4141 * modules/pam_xauth/pam_xauth.c (pam_sm_open_session): Implement
4142 searching xauth binary on multiple places.
4143 (run_coprocess): Don't use execvp as it can be a security risk.
4145 2005-10-04 Steve Langasek <vorlon@debian.org>
4147 * libpam/include/security/pam_malloc.h,
4148 libpam/include/security/pam_modules.h: Declare public header
4149 files extern "C" so that they are C++-safe.
4151 2005-10-02 Dmitry V. Levin <ldv@altlinux.org>
4152 Steve Langasek <vorlon@debian.org>
4154 Cleanup gratuitous use of strdup().
4155 Fix "missing argument" checks.
4157 * modules/pam_env/pam_env.c (_pam_parse): Add const qualifier
4158 to conffile and envfile arguments. Do not use x_strdup() for
4159 conffile and envfile initialization. Fix "missing argument"
4161 (_parse_config_file): Take conffile argument of type "const char *"
4162 instead of "char **". Do not free conffile.
4163 (_parse_env_file): Take env_file argument of type "const char *"
4164 instead of "char **". Do not free env_file.
4165 (pam_sm_setcred): Add const qualifier to conf_file and env_file.
4166 Pass conf_file and env_file to _parse_config_file() and
4167 _parse_env_file() by value.
4168 (pam_sm_open_session): Likewise.
4170 * modules/pam_ftp/pam_ftp.c (_pam_parse): Add const qualifier to
4171 users argument. Do not use x_strdup() for users initialization.
4172 (lookup): Add const qualifier to list argument.
4173 (pam_sm_authenticate): Add const qualifier to users argument.
4175 * modules/pam_mail/pam_mail.c (_pam_parse): Add const qualifier
4176 to maildir argument. Do not use x_strdup() for maildir
4177 initialization. Fix "missing argument" check.
4178 (get_folder): Take path_mail argument of type "const char *"
4179 instead of "char **". Do not free path_mail.
4180 (_do_mail): Add const qualifier to path_mail argument.
4181 Pass path_mail to get_folder() by value.
4183 * modules/pam_motd/pam_motd.c: Include <syslog.h>.
4184 (pam_sm_open_session): Add const qualifier to motd_path.
4185 Do not use x_strdup() for motd_path initialization. Do not
4186 free motd_path. Fix "missing argument" check. Add "unknown
4189 * modules/pam_userdb/pam_userdb.c (_pam_parse): Add const
4190 qualifier to database and cryptmode arguments. Fix "missing
4192 (pam_sm_authenticate): Add const qualifier to database and cryptmode.
4193 (pam_sm_acct_mgmt): Likewise.
4195 2005-10-01 Steve Langasek <vorlon@debian.org>
4197 * modules/pam_userdb/pam_userdb.c: spelling fix in log message.
4199 2005-09-30 Steve Langasek <vorlon@debian.org>
4201 * modules/pam_userdb/pam_userdb.c: Fix memory leak due to
4202 gratuitous use of strdup().
4204 2005-09-27 Thorsten Kukuk <kukuk@thkukuk.de>
4208 * doc/specs/Makefile.am (install-data-local): Install
4210 (all): Copy rfc if we build outside of source directory.
4212 2005-09-27 Thorsten Kukuk <kukuk@suse.de>
4214 * NEWS: Document removal of pam_radius.
4215 * autogen.sh: Make configure script executeable.
4217 * conv/pam_conv1/Makefile (EXTRA_DIST): Removed lex.yy.c
4218 (lex.yy.c): Fixed out of tree build.
4220 * conv/pam_conv1/pam_conv.y: Fix main prototype.
4224 * po/POTFILES.in: Remove files not distributed by tar archive
4225 and not containing strings for translation.
4227 2005-09-26 Tomas Mraz <t8m@centrum.cz>
4229 * NEWS: Add a few missing entries from CHANGELOG.
4231 * AUTHORS: Fixed entries for Toady and me.
4233 * Makefile.am (M4_FILES): Fixed out of tree build.
4234 * doc/specs/Makefile.am (EXTRA_DIST): Removed lex.yy.c
4235 (spec, lex.yy.c): Fixed out of tree build.
4237 * modules/pam_userdb/README: Document try_first_pass and
4238 use_first_pass options, remove use_authtok option.
4241 2005-09-26 Dmitry V. Levin <ldv@altlinux.org>
4243 * NEWS: Mention changes in pam_lastlog.
4245 2005-09-26 Thorsten Kukuk <kukuk@suse.de>
4248 * autogen.sh: Don't generate NEWS file.
4249 * CHANGELOG: Document it as obsolete.
4251 2005-09-26 Tomas Mraz <t8m@centrum.cz>
4253 * modules/pam_unix/pam_unix_acct.c (_unix_run_verify_binary):
4254 _log_err() -> pam_syslog()
4255 (pam_sm_acct_mgmt): _log_err() -> pam_syslog(), fix warning.
4256 * modules/pam_unix/pam_unix_auth.c (pam_sm_authenticate):
4257 _log_err() -> pam_syslog()
4258 * modules/pam_unix/pam_unix_passwd.c: removed obsolete ifdef
4259 (getNISserver, _unix_run_shadow_binary, _update_passwd,
4260 _update_shadow, _do_setpass, _pam_unix_approve_pass,
4261 pam_sm_chauthtok): _log_err() -> pam_syslog()
4262 * modules/pam_unix/pam_unix_sess.c: removed obsolete ifdef
4263 (pam_sm_open_session, pam_sm_close_session):
4264 _log_err() -> pam_syslog()
4265 * modules/pam_unix/support.c (_log_err, converse): removed
4266 (_make_remark): use pam_prompt() instead of converse()
4267 (_set_ctrl, _cleanup_failures, _unix_run_helper_binary,
4268 _unix_verify_password, _unix_read_password):
4269 _log_err() -> pam_syslog()
4270 _cleanup(), _unix_cleanup(): Silence unused param warnings.
4271 (_cleanup_failures, _unix_verify_password, _unix_getpwnam,
4272 _unix_run_helper_binary): Silence incorrect type warnings.
4273 (_unix_read_password): Use multiple pam_prompt() and pam_info() calls
4274 instead of converse().
4275 * modules/pam_unix/support.h (_log_err): removed
4276 * modules/pam_unix/unix_chkpwd.c (_log_err): LOG_AUTH -> LOG_AUTHPRIV
4278 2005-09-26 Thorsten Kukuk <kukuk@suse.de>
4280 * configure.in: Add doc/specs/Makefile.
4281 * Makefile.am: Add releasedocs rule.
4282 * doc/Makefile.am: Add specs subdir, remove files from specs
4283 directory, add rfc86.0.txt to releasedocs.
4284 * doc/specs/Makefile.am: New file.
4285 * doc/specs/formatter/parse.y: move from here ...
4286 * doc/specs/parse.y: ... here.
4287 * doc/specs/formatter/parse.lex: move from here ...
4288 * doc/specs/parse.lex: ... here.
4290 * modules/pam_mail/pam_mail.c: Mark missing strings for translation
4291 * po/Linux-PAM.pot: Add new strings from pam_mail
4292 * po/cs.po: Likewise.
4293 * po/de.po: Likewise.
4294 * po/es.po: Likewise.
4295 * po/fi.po: Likewise.
4296 * po/fr.po: Likewise.
4297 * po/hu.po: Likewise.
4298 * po/it.po: Likewise.
4299 * po/ja.po: Likewise.
4300 * po/nb.po: Likewise.
4301 * po/pa.po: Likewise.
4302 * po/pl.po: Likewise.
4303 * po/pt.po: Likewise.
4304 * po/pt_BR.po: Likewise.
4305 * po/zh_CN.po: Likewise.
4306 * po/zh_TW.po: Likewise.
4308 2005-09-23 Tomas Mraz <t8m@centrum.cz>
4310 * modules/pam_access/pam_access.c (from_match): Support NULL from.
4311 (string_match): Support NULL string, add NONE keyword matching it.
4312 (pam_sm_acct_mgmt): Don't fail when ttyname returns NULL.
4313 * modules/pam_access/access.conf: NONE keyword description
4314 * modules/pam_access/README: NONE keyword description
4316 2005-09-22 Dmitry V. Levin <ldv@altlinux.org>
4318 * modules/pam_xauth/pam_xauth.c: (check_acl, pam_sm_open_session,
4319 pam_sm_close_session): Strip redundant "pam_xauth: " prefix from
4320 text of log messages.
4321 (pam_sm_open_session): Replace sequence of malloc(), strcpy()
4322 and strcat() calls with asprintf(). Replace syslog() calls
4325 * modules/pam_nologin/pam_nologin.c (parse_args): Use strncmp()
4326 instead of memcmp() for string comparison.
4328 2005-09-21 Dmitry V. Levin <ldv@altlinux.org>
4330 * modules/pam_nologin/pam_nologin.c: Include <syslog.h>.
4331 (parse_args): Add pam_handle_t* argument. Log unrecognized
4333 (perform_check): Log pam_get_user() and malloc() failures.
4334 (pam_sm_authenticate, pam_sm_setcred, pam_sm_acct_mgmt):
4335 Pass pam_handle_t* to parse_args().
4337 * modules/pam_mail/pam_mail.c: Include <errno.h>.
4338 Remove YOUR_MAIL_VERBOSE_FORMAT, YOUR_MAIL_STANDARD_FORMAT and
4339 NO_MAIL_STANDARD_FORMAT macros.
4340 (parse_args, get_folder): Cleanup error messages.
4341 (get_folder): Fix leak of the path_mail variable in case of
4342 pam_get_user() failure. Cleanup memory management.
4343 (get_mail_status): Add pam_handle_t* argument. Fix leaks of
4344 namelist variable. Cleanup memory management. Log memory
4345 allocation failures. Remove 250-byte limit on Maildir pathname.
4346 (report_mail): Mark text messages for translation.
4347 (_do_mail): Cleanup memory management. Pass pam_handle_t*
4348 to get_mail_status().
4350 * po/Linux-PAM.pot: Update with new strings from pam_mail for
4352 * po/cs.po: Likewise.
4353 * po/de.po: Likewise.
4354 * po/es.po: Likewise.
4355 * po/fi.po: Likewise.
4356 * po/fr.po: Likewise.
4357 * po/hu.po: Likewise.
4358 * po/it.po: Likewise.
4359 * po/ja.po: Likewise.
4360 * po/nb.po: Likewise.
4361 * po/pa.po: Likewise.
4362 * po/pl.po: Likewise.
4363 * po/pt.po: Likewise.
4364 * po/pt_BR.po: Likewise.
4365 * po/zh_CN.po: Likewise.
4366 * po/zh_TW.po: Likewise.
4368 2005-09-20 Thorsten Kukuk <kukuk@suse.de>
4370 * configure.in: Add finish translation.
4373 * acinclude.m4: remove libprelude macros.
4374 * m4/libprelude.m4: New.
4376 * Makefile.am (EXTRA_DIST): make sure we include all m4 macros.
4378 * libpamc/Makefile.am (EXTRA_DIST): Add License.
4380 See CHANGELOG for earlier changes.