1 2006-06-12 Thorsten Kukuk <kukuk@thkukuk.de>
3 * modules/pam_tally/Makefile.am (AM_LDFLAGS): Remove flags
4 for modules from main application.
6 2006-06-09 Thorsten Kukuk <kukuk@thkukuk.de>
8 * modules/pam_time/Makefile.am: Include Make.xml.rules.
9 * modules/pam_time/time.conf.5: New, generated from xml file.
10 * modules/pam_time/time.conf.5.xml: New.
11 * modules/pam_time/pam_time.8: New, generated from xml file.
12 * modules/pam_time/pam_time.8.xml: New.
13 * modules/pam_time/README.xml: New.
14 * modules/pam_time/README: Regenerated from README.xml.
16 * modules/pam_wheel/Makefile.am: Include Make.xml.rules.
17 * modules/pam_wheel/pam_wheel.8.xml: New.
18 * modules/pam_wheel/pam_wheel.8: New, generated from xml file.
19 * modules/pam_wheel/README.xml: New.
20 * modules/pam_wheel/README: Regenerated from xml file.
22 * modules/pam_xauth/Makefile.am: Include Make.xml.rules.
23 * modules/pam_xauth/pam_xauth.8.xml: New.
24 * modules/pam_xauth/pam_xauth.8: Regenerated from xml file.
25 * modules/pam_xauth/README.xml: New.
26 * modules/pam_xauth/README: Regenerated from xml file.
28 * modules/pam_deny/pam_deny.8.xml: Fix syntax errors.
29 * modules/pam_deny/pam_deny.8: Regenerate from xml file.
30 * modules/pam_deny/README: Likewise.
32 * modules/pam_warn/Makefile.am: Include Make.xml.rules.
33 * modules/pam_warn/pam_warn.8.xml: New.
34 * modules/pam_warn/pam_warn.8: New, generated from xml file.
35 * modules/pam_warn/README.xml: New.
36 * modules/pam_warn/README: Regenerated from xml file.
38 * modules/pam_userdb/Makefile.am: Include Make.xml.rules.
39 * modules/pam_userdb/pam_userdb.8.xml: New.
40 * modules/pam_userdb/pam_userdb.8: New, generated from xml file.
41 * modules/pam_userdb/README.xml: New.
42 * modules/pam_userdb/README: Regenerated from xml file.
44 2006-06-06 Thorsten Kukuk <kukuk@thkukuk.de>
46 * modules/pam_shells/Makefile.am: Include Make.xml.rules.
47 * modules/pam_shells/pam_shells.8.xml: New.
48 * modules/pam_shells/pam_shells.8: New, generated from xml file.
49 * modules/pam_shells/README.xml: New.
50 * modules/pam_shells/README: Regenerated from xml file.
52 * libpam/include/security/pam_malloc.h: Add missing license
55 * libpam/include/security/pam_ext.h: Add brackets for C++.
56 * libpam/include/security/pam_modutil.h: Likewise.
58 * libpam/include/security/pam_modules.h: Document where to
59 find the copyright/license informations.
61 * libpam/include/security/pam_appl.h: Move _pam_compat.h
62 include inside of brackets.
64 2006-06-04 Thorsten Kukuk <kukuk@thkukuk.de>
66 * modules/pam_securetty/Makefile.am: Include Make.xml.rules.
67 * modules/pam_securetty/pam_securetty.8.xml: New.
68 * modules/pam_securetty/pam_securetty.8: Regenerated from xml file.
69 * modules/pam_securetty/README.xml: New.
70 * modules/pam_securetty/README: Regenerated from xml file.
72 * modules/pam_rootok/Makefile.am: Include Make.xml.rules.
73 * modules/pam_rootok/pam_rootok.8.xml: New.
74 * modules/pam_rootok/pam_rootok.8: New, generated from xml file.
75 * modules/pam_rootok/README.xml: New.
76 * modules/pam_rootok/README: Regenerated from xml file.
78 * modules/pam_permit/Makefile.am: Include Make.xml.rules.
79 * modules/pam_permit/pam_permit.8.xml: New.
80 * modules/pam_permit/pam_permit.8: New, generated from xml file.
81 * modules/pam_permit/README.xml: New.
82 * modules/pam_permit/README: Regenerated from xml file.
84 * modules/pam_nologin/Makefile.am: Include Make.xml.rules.
85 * modules/pam_nologin/pam_nologin.8.xml: New.
86 * modules/pam_nologin/pam_nologin.8: Regenerated from xml file.
87 * modules/pam_nologin/README.xml: New.
88 * modules/pam_nologin/README: Regenerated from xml file.
90 2006-06-03 Thorsten Kukuk <kukuk@thkukuk.de>
92 * modules/pam_motd/Makefile.am: Include Make.xml.rules.
93 * modules/pam_motd/pam_motd.8.xml: New.
94 * modules/pam_motd/pam_motd.8: New, generated from xml file.
95 * modules/pam_motd/README.xml: New.
96 * modules/pam_motd/README: New, generated from xml file.
98 2006-06-02 Thorsten Kukuk <kukuk@thkukuk.de>
100 * modules/pam_mail/Makefile.am: Include Make.xml.rules.
101 * modules/pam_mail/pam_mail.8.xml: New.
102 * modules/pam_mail/pam_mail.8: New, generated from xml file.
103 * modules/pam_mail/README.xml: New.
104 * modules/pam_mail/README: Regenerated from xml file.
106 * modules/pam_localuser/Makefile.am: Include Make.xml.rules.
107 * modules/pam_localuser/pam_localuser.8.xml: New.
108 * modules/pam_localuser/pam_localuser.8: New, generated from xml file.
109 * modules/pam_localuser/README.xml: New.
110 * modules/pam_localuser/README: Regenerated from xml file.
112 * doc/man/PAM.8: Regenerate with DocBook XSL Stylesheets v1.70.1.
113 * doc/man/pam.3: Likewise.
114 * doc/man/pam.conf.5: Likewise.
115 * doc/man/pam_acct_mgmt.3: Likewise.
116 * doc/man/pam_authenticate.3: Likewise.
117 * doc/man/pam_chauthtok.3: Likewise.
118 * doc/man/pam_close_session.3: Likewise.
119 * doc/man/pam_conv.3: Likewise.
120 * doc/man/pam_end.3: Likewise.
121 * doc/man/pam_error.3: Likewise.
122 * doc/man/pam_fail_delay.3: Likewise.
123 * doc/man/pam_get_data.3: Likewise.
124 * doc/man/pam_get_item.3: Likewise.
125 * doc/man/pam_get_user.3: Likewise.
126 * doc/man/pam_getenv.3: Likewise.
127 * doc/man/pam_getenvlist.3: Likewise.
128 * doc/man/pam_info.3: Likewise.
129 * doc/man/pam_open_session.3: Likewise.
130 * doc/man/pam_prompt.3: Likewise.
131 * doc/man/pam_putenv.3: Likewise.
132 * doc/man/pam_set_data.3: Likewise.
133 * doc/man/pam_set_item.3: Likewise.
134 * doc/man/pam_setcred.3: Likewise.
135 * doc/man/pam_sm_acct_mgmt.3: Likewise.
136 * doc/man/pam_start.3: Likewise.
137 * doc/man/pam_strerror.3: Likewise.
138 * doc/man/pam_syslog.3: Likewise.
139 * modules/pam_access/access.conf.5: Likewise.
140 * modules/pam_access/pam_access.8: Likewise.
141 * modules/pam_cracklib/pam_cracklib.8: Likewise.
142 * modules/pam_deny/pam_deny.8: Likewise.
143 * modules/pam_echo/pam_echo.8: Likewise.
144 * modules/pam_env/pam_env.8: Likewise.
145 * modules/pam_env/pam_env.conf.5: Likewise.
146 * modules/pam_exec/pam_exec.8: Likewise.
147 * modules/pam_filter/pam_filter.8: Likewise.
148 * modules/pam_ftp/pam_ftp.8: Likewise.
149 * modules/pam_group/group.conf.5: Likewise.
150 * modules/pam_group/pam_group.8: Likewise.
151 * modules/pam_issue/pam_issue.8: Likewise.
152 * modules/pam_lastlog/pam_lastlog.8: Likewise.
153 * modules/pam_mkhomedir/pam_mkhomedir.8: Likewise.
154 * modules/pam_succeed_if/pam_succeed_if.8: Likewise.
155 * modules/pam_umask/pam_umask.8: Likewise.
157 * modules/pam_unix/pam_unix_acct.c (pam_sm_acct_mgmt): Use
158 dngettext if available [#1427738].
159 * configure.in: Check for dngettext [#1427738].
160 * po/*.po: Update to dngettext usage.
162 * modules/pam_listfile/Makefile.am: Include Make.xml.rules.
163 * modules/pam_listfile/pam_listfile.8.xml: New.
164 * modules/pam_listfile/pam_listfile.8: New, generated from xml file.
165 * modules/pam_listfile/README.xml: New.
166 * modules/pam_listfile/README: Regenerated from xml file.
168 2006-06-01 Thorsten Kukuk <kukuk@thkukuk.de>
170 * modules/pam_lastlog/Makefile.am: Include Make.xml.rules.
171 * modules/pam_lastlog/pam_lastlog.8.xml: New.
172 * modules/pam_lastlog/pam_lastlog.8: New, generated from xml file.
173 * modules/pam_lastlog/README.xml: New.
174 * modules/pam_lastlog/README: Regenerated from xml file.
176 * modules/pam_group/Makefile.am: Include Make.xml.rules.
177 * modules/pam_group/group.conf.5.xml: New.
178 * modules/pam_group/group.conf.5: New, generated from xml file.
179 * modules/pam_group/pam_group.8.xml: New.
180 * modules/pam_group/pam_group.8: New, generated from xml file.
181 * modules/pam_group/README.xml: New.
182 * modules/pam_group/README: Regenerated from xml file.
184 * modules/pam_ftp/Makefile.am: Include Make.xml.rules.
185 * modules/pam_ftp/pam_ftp.8.xml: New.
186 * modules/pam_ftp/pam_ftp.8: New, generated from xml file.
187 * modules/pam_ftp/README.xml: New.
188 * modules/pam_ftp/README: Regenerated from xml file.
190 * modules/pam_issue/Makefile.am: Include Make.xml.rules.
191 * modules/pam_issue/pam_issue.8.xml: New.
192 * modules/pam_issue/pam_issue.8: New, generated from xml file.
193 * modules/pam_issue/README.xml: New.
194 * modules/pam_issue/README: Regenerated from xml file.
196 * modules/pam_filter/Makefile.am: Include Make.xml.rules.
197 * modules/pam_filter/pam_filter.8.xml: New.
198 * modules/pam_filter/pam_filter.8: New, generated from xml file.
199 * modules/pam_filter/README.xml: New.
200 * modules/pam_filter/README: Regenerated from xml file.
202 2006-05-30 Thorsten Kukuk <kukuk@thkukuk.de>
204 * modules/pam_mkhomedir/pam_mkhomedir.8.xml: Fix umask and skel
205 directory documentation.
207 * modules/pam_umask/Makefile.am: Include Make.xml.rules.
208 * modules/pam_umask/pam_umask.8.xml: New.
209 * modules/pam_umask/pam_umask.8: New, generated from xml file.
210 * modules/pam_umask/README.xml: New.
211 * modules/pam_umask/README: Regenerated from xml file.
213 2006-05-29 Thorsten Kukuk <kukuk@thkukuk.de>
215 * modules/pam_mkhomedir/Makefile.am: Include Make.xml.rules.
216 * modules/pam_mkhomedir/pam_mkhomedir.8.xml: New.
217 * modules/pam_mkhomedir/pam_mkhomedir.8: New, generated from xml file.
218 * modules/pam_mkhomedir/README.xml: New.
219 * modules/pam_mkhomedir/README: Regenerated from xml file.
221 2006-05-23 Thorsten Kukuk <kukuk@thkukuk.de>
223 * modules/pam_echo/pam_echo.c (pam_echo): Use pam_modutil_read()
226 2006-05-22 Thorsten Kukuk <kukuk@thkukuk.de>
228 * modules/pam_listfile/pam_listfile.c (pam_sm_authenticate):
229 Fix memory leaks, [#1490956] found by Coverity.
231 * modules/pam_tally/pam_tally.c (pam_get_uid): Check return
232 value of pam_get_user().
233 (tally_get_data): Check if oldtime is not NULL.
234 [#1489818] found by Coverity.
236 * modules/pam_mkhomedir/pam_mkhomedir.c (create_homedir): Don't
237 ignore return value of stat(). [#1489808] found by Coverity.
239 * modules/pam_mail/pam_mail.c (get_folder): Fix a potential
240 NULL pointer dereference. [#1489792] found by Coverity.
242 * libpam/Makefile.am: bump release number of libpam.so.
243 * libpam/pam_misc.c (_pam_mkargv): Fix memory leak,
244 [#1489804] found by Coverity.
246 * modules/pam_echo/pam_echo.c (replace_and_print): Initialize
247 str, [#1489658] found by Coverity.
249 * modules/pam_cracklib/pam_cracklib.c (_pam_unix_approve_pass): Fix
250 a potential NULL pointer dereference.
251 (pam_sm_chauthtok): Remove dead code.
252 [#1489634] found by Coverity.
254 2006-05-04 Thorsten Kukuk <kukuk@suse.de>
256 * configure.in: Check for fseeko.
257 * modules/pam_tally/pam_tally.c: Use fseeko if available
258 (Based on patch by IBM).
260 2006-05-04 Thorsten Kukuk <kukuk@thkukuk.de>
262 * release version 0.99.4.0
264 * libpam/pam_strerror.c: Unify error messages.
266 * po/zh_TW.po: Adjust for last pam_strerror changes.
267 * po/zh_CN.po: Likewise.
268 * po/uk.po: Likewise.
269 * po/tr.po: Likewise.
270 * po/pt.po: Likewise.
271 * po/pt_BR.po: Likewise.
272 * po/pl.po: Likewise.
273 * po/ja.po: Likewise.
274 * po/nl.po: Likewise.
275 * po/nb.po: Likewise.
276 * po/it.po: Likewise.
277 * po/hu.po: Likewise.
278 * po/fr.po: Likewise.
279 * po/fi.po: Likewise.
280 * po/es.po: Likewise.
281 * po/de.po: Likewise.
282 * po/cs.po: Likewise.
284 * doc/man/pam.3.xml: New.
285 * doc/man/pam.3. New, generated from XML file.
287 * doc/man/pam_sm_acct_mgmt.3.xml: New.
288 * doc/man/pam_sm_acct_mgmt.3: New, generated from XML file.
290 * doc/man/*.xml: Fix encoding and use always UTF-8, regenerate
293 * doc/pam_modules.sgml (PAM_NEW_AUTHTOKEN_REQD): Fix typo.
295 2006-05-02 Thorsten Kukuk <kukuk@thkukuk.de>
297 * modules/pam_unix/pam_unix_acct.c (pam_sm_acct_mgmt): Use
298 different strings for plural or not [#1427738]
300 * po/*.po: Adjust for pam_unix.so translation fix.
302 * modules/pam_tally/pam_tally.c: Always close file handle
303 in error case, don't close it depending on *TALLY value [#1478180]
305 2006-04-21 Thorsten Kukuk <kukuk@thkukuk.de>
309 2006-04-11 Thorsten Kukuk <kukuk@thkukuk.de>
313 2006-03-27 Thorsten Kukuk <kukuk@thkukuk.de>
315 * po/LINGUAS: Add uk.
319 * po/po/es.po: Updated.
328 * po/pt_BR.po: Updated.
329 * po/zh_CN.po: Updated.
330 * po/zh_TW.po: Updated.
332 2006-03-21 Thorsten Kukuk <kukuk@thkukuk.de>
334 * configure.in: Remove ALL_LINGUAS.
336 * po/tr.po: New (from Ismail Donmez <ismail@pardus.org.tr>).
338 2006-03-13 Thorsten Kukuk <kukuk@thkukuk.de>
340 * doc/man/pam_error.3.xml: New.
341 * doc/man/pam_error.3: New, generated from XML file.
342 * doc/man/pam_verror.3: New, generated from XML file.
343 * doc/man/Makefile.am: Add pam_error.3 and pam_verror.3.
345 * modules/pam_lastlog/Makefile.am: Fix typo.
347 * modules/pam_lastlog/pam_lastlog.c: Move comment for
348 translators in right line.
349 * po/*.po: Update po files with comment for translator.
351 2006-03-12 Thorsten Kukuk <kukuk@thkukuk.de>
353 * doc/man/Makefile.am: Add new manual pages.
355 * doc/man/pam.conf.5.xml: Replace link with content
357 * doc/man/pam.conf.5: Regenerated from XML file.
359 * doc/man/pam_info.3.xml: New.
360 * doc/man/pam_info.3: New, generated from XML file.
361 * doc/man/pam_vinfo.3: New, generated from XML file.
363 * doc/man/pam_conv.3.xml: New.
364 * doc/man/pam_conv.3: New, generated from XML file.
366 * doc/man/pam_putenv.3.xml: New.
367 * doc/man/pam_putenv.3: New, generated from XML file.
369 * doc/man/pam_getenv.3.xml: New.
370 * doc/man/pam_getenv.3: New, generated from XML file.
372 * doc/man/pam_getenvlist.3.xml: New.
373 * doc/man/pam_getenvlist.3: New, generated from XML file.
375 * libpam/pam_item.c (pam_get_user): Check for valid pamh before
378 * configure.in: create tests/Makefile
379 * Makefile.am (SUBDIRS): Add tests
380 * tests/Makefile.am: New.
381 * tests/tst-dlopen.c: New.
382 * tests/tst-pam_acct_mgmt.c: New.
383 * tests/tst-pam_authenticate.c: New.
384 * tests/tst-pam_chauthtok.c: New.
385 * tests/tst-pam_close_session.c: New.
386 * tests/tst-pam_end.c: New.
387 * tests/tst-pam_fail_delay.c: New.
388 * tests/tst-pam_getenvlist.c: New.
389 * tests/tst-pam_get_item.c: New.
390 * tests/tst-pam_open_session.c: New.
391 * tests/tst-pam_setcred.c: New.
392 * tests/tst-pam_set_item.c: New.
393 * tests/tst-pam_start.c: New.
394 * tests/tst-pam_get_user.c: New.
396 * modules/pam_access/Makefile.am: Add rules for make check
397 * modules/pam_access/tst-pam_access: New
398 * modules/pam_cracklib/Makefile.am: Add rules for make check
399 * modules/pam_cracklib/tst-pam_cracklib: New
400 * modules/pam_debug/Makefile.am: Add rules for make check
401 * modules/pam_debug/tst-pam_debug: New
402 * modules/pam_deny/Makefile.am: Add rules for make check
403 * modules/pam_deny/tst-pam_deny: New
404 * modules/pam_echo/Makefile.am: Add rules for make check
405 * modules/pam_echo/tst-pam_echo: New
406 * modules/pam_env/Makefile.am: Add rules for make check
407 * modules/pam_env/tst-pam_env: New
408 * modules/pam_exec/Makefile.am: Add rules for make check
409 * modules/pam_exec/tst-pam_exec: New
410 * modules/pam_filter/Makefile.am: Add rules for make check
411 * modules/pam_filter/tst-pam_filter: New
412 * modules/pam_ftp/Makefile.am: Add rules for make check
413 * modules/pam_ftp/tst-pam_ftp: New
414 * modules/pam_group/Makefile.am: Add rules for make check
415 * modules/pam_group/tst-pam_group: New
416 * modules/pam_issue/Makefile.am: Add rules for make check
417 * modules/pam_issue/tst-pam_issue: New
418 * modules/pam_lastlog/Makefile.am: Add rules for make check
419 * modules/pam_lastlog/tst-pam_lastlog: New
420 * modules/pam_limits/Makefile.am: Add rules for make check
421 * modules/pam_limits/tst-pam_limits: New
422 * modules/pam_listfile/Makefile.am: Add rules for make check
423 * modules/pam_listfile/tst-pam_listfile: New
424 * modules/pam_localuser/Makefile.am: Add rules for make check
425 * modules/pam_localuser/tst-pam_localuser: New
426 * modules/pam_mail/Makefile.am: Add rules for make check
427 * modules/pam_mail/tst-pam_mail: New
428 * modules/pam_mkhomedir/Makefile.am: Add rules for make check
429 * modules/pam_mkhomedir/tst-pam_mkhomedir: New
430 * modules/pam_motd/Makefile.am: Add rules for make check
431 * modules/pam_motd/tst-pam_motd: New
432 * modules/pam_nologin/Makefile.am: Add rules for make check
433 * modules/pam_nologin/tst-pam_nologin: New
434 * modules/pam_permit/Makefile.am: Add rules for make check
435 * modules/pam_permit/tst-pam_permit: New
436 * modules/pam_rhosts/Makefile.am: Add rules for make check
437 * modules/pam_rhosts/tst-pam_rhosts: New
438 * modules/pam_rootok/Makefile.am: Add rules for make check
439 * modules/pam_rootok/tst-pam_rootok: New
440 * modules/pam_securetty/Makefile.am: Add rules for make check
441 * modules/pam_securetty/tst-pam_securetty: New
442 * modules/pam_selinux/Makefile.am: Add rules for make check
443 * modules/pam_selinux/tst-pam_selinux: New
444 * modules/pam_shells/Makefile.am: Add rules for make check
445 * modules/pam_shells/tst-pam_shells: New
446 * modules/pam_stress/Makefile.am: Add rules for make check
447 * modules/pam_stress/tst-pam_stress: New
448 * modules/pam_succeed_if/Makefile.am: Add rules for make check
449 * modules/pam_succeed_if/tst-pam_succeed_if: New
450 * modules/pam_tally/Makefile.am: Add rules for make check
451 * modules/pam_tally/tst-pam_tally: New
452 * modules/pam_time/Makefile.am: Add rules for make check
453 * modules/pam_time/tst-pam_time: New
454 * modules/pam_umask/Makefile.am: Add rules for make check
455 * modules/pam_umask/tst-pam_umask: New
456 * modules/pam_unix/Makefile.am: Add rules for make check
457 * modules/pam_unix/tst-pam_unix: New
458 * modules/pam_userdb/Makefile.am: Add rules for make check
459 * modules/pam_userdb/tst-pam_userdb: New
460 * modules/pam_warn/Makefile.am: Add rules for make check
461 * modules/pam_warn/tst-pam_warn: New
462 * modules/pam_wheel/Makefile.am: Add rules for make check
463 * modules/pam_wheel/tst-pam_wheel: New
464 * modules/pam_xauth/Makefile.am: Add rules for make check
465 * modules/pam_xauth/tst-pam_xauth: New
467 2006-03-11 Thorsten Kukuk <kukuk@thkukuk.de>
469 * doc/man/pam_fail_delay.3.xml: New.
470 * doc/man/pam_fail_delay.3: New, generated from xml.
471 * doc/man/pam_prompt.3.xml: New.
472 * doc/man/pam_prompt.3: New, generated from xml.
473 * doc/man/pam_syslog.3.xml: New.
474 * doc/man/pam_syslog.3: New, generated from xml.
475 * doc/man/pam_vprompt.3: New, generated from xml.
476 * doc/man/pam_vsyslog.3: New, generated from xml.
478 2006-02-24 Thorsten Kukuk <kukuk@thkukuk.de>
480 * po/km.po: Update Khmer translation.
482 2006-02-24 Thorsten Kukuk <kukuk@thkukuk.de>
484 * modules/pam_succeed_if/pam_succeed_if.8.xml: New, based on
485 version from #1425487.
486 * modules/pam_succeed_if/pam_succeed_if.8: Regenerated from xml.
487 * modules/pam_succeed_if/Makefile.am: Include XML rules.
488 * modules/pam_succeed_if/README.xml: New.
489 * modules/pam_succeed_if/README: Regenerated from xml.
490 * modules/pam_succeed_if/pam_succeed_if.c: Fix comment about
493 2006-02-22 Thorsten Kukuk <kukuk@thkukuk.de>
495 * configure.in: Fix check for incomplete libaudit installations
496 (Patch from Ruediger Oertel <ro@suse.de>).
498 * modules/pam_lastlog/pam_lastlog.c (last_login_write): Initialize
499 correct last_login field [#1427401].
501 * modules/pam_lastlog/pam_lastlog.c (last_login_read): Mark strftime
502 format string for translation to allow reorder [#1428269].
503 * po/*.po: Update with last pam_lastlog change.
506 2006-02-17 Thorsten Kukuk <kukuk@thkukuk.de>
508 * doc/man/Makefile.am: Add new manual pages.
509 * doc/man/pam_end.3: Regenerated from xml file.
510 * doc/man/pam_end.3.xml: Document freeing of item data.
511 * doc/man/pam_get_user.3: New.
512 * doc/man/pam_get_user.3.xml: New.
513 * modules/pam_access/access.conf.5.xml: Fix typos.
514 * modules/pam_env/Makefile.am: Add new manual pages.
515 * modules/pam_env/README: Regenerate from xml file.
516 * modules/pam_env/README.xml: New.
517 * modules/pam_env/pam_env.8: New.
518 * modules/pam_env/pam_env.8.xml: New.
519 * modules/pam_env/pam_env.conf.5: New.
520 * modules/pam_env/pam_env.conf.5.xml New.
522 2006-02-14 Thorsten Kukuk <kukuk@thkukuk.de>
524 * po/fi.po: Updated translations.
525 * po/pl.po: Likewise.
526 * po/km.po: New translation.
527 * configure.in: Add km as new language.
529 2006-02-13 Thorsten Kukuk <kukuk@thkukuk.de>
531 * modules/pam_echo/pam_echo.8.xml: New.
532 * modules/pam_echo/pam_echo.8: Regenerated from xml file.
533 * modules/pam_echo/Makefile.am: Include Make.xml.rules.
534 * modules/pam_echo/pam_echo.c: Fix return value.
536 * doc/modules/pam_chroot.sgml: Remove obsolete sgml file.
538 2006-02-12 Thorsten Kukuk <kukuk@thkukuk.de>
540 * configure.in: Add doc/man/Makefile.
541 * Make.xml.rules: Enable xincludes for manual pages.
542 * doc/Makefile.am (EXRA_DIST): Remove manual pages.
543 (SUBDIR): Add man subdirectory.
544 * doc/man/Makefile.am: New.
545 * doc/man/pam_acct_mgmt.3: New.
546 * doc/man/pam_acct_mgmt.3.xml: New.
547 * doc/man/pam_get_data.3: New.
548 * doc/man/pam_get_data.3.xml: New.
549 * doc/man/pam_set_data.3: New.
550 * doc/man/pam_set_data.3.xml: New.
551 * doc/man/pam.8.xml: New.
552 * doc/man/pam.8: Regenerated from xml file.
553 * doc/man/pam_authenticate.3.xml: New.
554 * doc/man/pam_authenticate.3: Regenerated from xml file.
555 * doc/man/pam_chauthtok.3.xml: New.
556 * doc/man/pam_chauthtok.3: Regenerated from xml file.
557 * doc/man/pam_close_session.3.xml: New.
558 * doc/man/pam_close_session.3: Regenerated from xml file.
559 * doc/man/pam_end.3.xml: New.
560 * doc/man/pam_end.3: Regenerated from xml file.
561 * doc/man/pam_fail_delay.3.xml: New.
562 * doc/man/pam_fail_delay.3: Regenerated from xml file.
563 * doc/man/pam_get_item.3.xml: New.
564 * doc/man/pam_get_item.3: Regenerated from xml file.
565 * doc/man/pam_item_types.inc.xml: New.
566 * doc/man/pam_open_session.3.xml: New.
567 * doc/man/pam_open_session.3: Regenerated from xml file.
568 * doc/man/pam_set_item.3.xml: New.
569 * doc/man/pam_set_item.3: Regenerated from xml file.
570 * doc/man/pam_setcred.3.xml: New.
571 * doc/man/pam_setcred.3: Regenerated from xml file.
572 * doc/man/pam_start.3.xml: New.
573 * doc/man/pam_start.3: Regenerated from xml file.
574 * doc/man/pam_strerror.3.xml: New.
575 * doc/man/pam_strerror.3: Regenerated from xml file.
576 * doc/man/template-man: Removed.
578 2006-02-10 Thorsten Kukuk <kukuk@thkukuk.de>
580 * configure.in: Remove pam_pwdb support.
581 * modules/Makefile.am: remove pam_pwdb.
582 * modules/pam_pwdb: Remove complete directory.
583 * libpam/Makefile.am: Remove LIBPWDB references.
584 * libpam/pam_static_modules.h: Remove pam_pwdb references.
585 * doc/modules/pam_pwdb.sgml: Removed.
586 * po/POTFILES.in: Remove modules/pam_pwdb/*.c entries.
587 * doc/pam_source.sgml: Remove references to libpwdb.
588 * doc/modules/pam_limits.sgml: Remove wrong reference to libpwdb.
589 * doc/modules/pam_group.sgml: Likewise.
590 * doc/modules/pam_cracklib.sgml: Replace pam_pwdb with pam_unix.
591 * doc/modules/pam_userdb.sgml: Likewise.
592 * modules/pam_cracklib/pam_cracklib.8.xml: Replace pam_pwdb
594 * modules/pam_mkhomedir/pam_mkhomedir.c: Likewise.
595 * modules/pam_group/pam_group.c: Remove dead code for libpwdb.
597 * modules/pam_access/Makefile.am: Fix EXTRA_DIST.
598 * modules/pam_cracklib/Makefile.am: Likewise.
599 * modules/pam_deny/Makefile.am: Likewise.
600 * modules/pam_exec/Makefile.am: Likewise.
602 2006-02-07 Thorsten Kukuk <kukuk@thkukuk.de>
604 * configure.in: Check for text browser.
605 * Make.xml.rules: Add rule to generate README from README.xml.
607 * modules/pam_access/Makefile.am: Include Make.xml.rules.
608 * modules/pam_access/README: Regenerated from README.xml.
609 * modules/pam_access/README.xml: New.
610 * modules/pam_access/access.conf: Extended by new examples.
611 * modules/pam_access/access.conf.5: New, generated from xml file.
612 * modules/pam_access/access.conf.5.xml: New.
613 * modules/pam_access/pam_access.8: New, generated from xml file.
614 * modules/pam_access/pam_access.8.xml: New.
615 * modules/pam_access/pam_access.c: Add rules for IPv6 and
617 Based on patch from Mike Becher <Mike.Becher@lrz-muenchen.de>.
619 * modules/pam_deny/Makefile.am: Include Make.xml.rules.
620 * modules/pam_deny/pam_deny.8.xml: New.
621 * modules/pam_deny/pam_deny.8: New, generated from xml file.
622 * modules/pam_deny/README.xml: New.
623 * modules/pam_deny/README: Regenerated from xml file.
625 * modules/pam_cracklib/Makefile.am: Include Make.xml.rules.
626 * modules/pam_cracklib/pam_cracklib.8.xml: New.
627 * modules/pam_cracklib/pam_cracklib.8: New, generated from xml file.
628 * modules/pam_cracklib/README.xml: New.
629 * modules/pam_cracklib/README: Regenerated from xml file.
631 * modules/pam_exec/Makefile.am: Add rule to generate README.
632 * modules/pam_exec/README: Regenerated from xml file.
633 * modules/pam_exec/pam_exec.8: Regenerated from xml file.
634 * modules/pam_exec/pam_exec.8.xml: Syntax files.
636 2006-02-06 Thorsten Kukuk <kukuk@thkukuk.de>
639 * po/pt.po: Update translations.
640 * configure.in: Add nl as new language.
642 2006-01-30 Thorsten Kukuk <kukuk@thkukuk.de>
644 * modules/pam_exec/pam_exec.8.xml: Fix syntax of Return Value section.
645 * modules/pam_exec/Makefile.am: Include Make.xml.rules.
647 * Make.xml.rules: New.
649 * Makefile.am (EXTRA_DIST): Add Make.xml.rules.
651 2006-01-27 Thorsten Kukuk <kukuk@thkukuk.de>
653 * configure.in: Prefer libdb over libndbm, fix check for
654 libcrack and remove not needed BACKUP_LIBS.
656 2006-01-24 Thorsten Kukuk <kukuk@thkukuk.de>
658 * modules/pam_debug/pam_debug.c: Fix name of pam_module struct.
660 * po/de.po: Fix one translation.
662 * configure.in: Add modules/pam_exec.
663 * modules/Makefile.am: Add pam_exec subdirectory.
664 * modules/pam_exec/README: New.
665 * modules/pam_exec/Makefile.am: New.
666 * modules/pam_exec/pam_exec.8: New.
667 * modules/pam_exec/pam_exec.c: New.
668 * modules/pam_exec/pam_exec.8.xml: New.
669 * po/POTFILES.in: Add modules/pam_exec/pam_exec.c.
670 * po/*.po: Merge new pam_exec strings.
672 * libpam/pam_static_modules.h: New.
673 * Makefile.am: Reorder subdirectories for static modules.
674 * configure.in: Add --enable-static-modules option.
675 * libpam/Makefile.am: Define WITH_SELINUX and WITH_PWDB if
676 necessary, add pam_static_modules.h, link against all PAM
677 module object files if STATIC_MODULES is defined.
678 * libpam/pam_static.c: Remove old _static_module* includes,
679 include pam_static_modules.h.
681 * configure.in: Add checks for xsltproc, xmllint and docbook
683 * m4/jh_path_xml_catalog.m4: New.
685 2006-01-22 Thorsten Kukuk <kukuk@thkukuk.de>
687 * modules/pam_succeed_if/pam_succeed_if.c: Add support for
689 * modules/pam_xauth/pam_xauth.c: Likewise.
691 * libpam/pam_static.c (_pam_open_static_handler): Add pamh
693 * libpam/pam_private.h: Adjust prototype.
694 * libpam/pam_handlers.c (_pam_add_handler): Add pamh to
695 _pam_open_static_handler call.
697 * configure.in: Don't define PAM_DYNAMIC.
698 * libpam/pam_handlers.c: Get ride of PAM_DYNAMIC, don't
699 include pam_dynamic.h
700 * libpam/pam_dynamic.c: Don't include pam_dynamic.h,
701 exclude functions if we compile with PAM_STATIC.
702 * libpam/pam_dynamic.h: Remove.
703 * libpam/pam_private.h: Add function prototypes from pam_dynamic.h.
704 * libpam/Makefile.am: Bump version number of libpam, remove
707 2006-01-21 Thorsten Kukuk <kukuk@thkukuk.de>
709 * modules/pam_listfile/pam_listfile.c: Add support for session
710 and password management.
712 2006-01-19 Thorsten Kukuk <kukuk@suse.de>
714 * doc/specs/Makefile.am (spec): Add padout to fix parallel
715 build (Reported by Andreas Haumer <andreas@xss.co.at>).
717 2006-01-15 Thorsten Kukuk <kukuk@thkukuk.de>
719 * modules/pam_echo/pam_echo.c: Define HOST_NAME_MAX if not
722 2006-01-13 Thorsten Kukuk <kukuk@thkukuk.de>
724 * release version 0.99.3.0
726 * libpam_misc/misc_conv.c (misc_conv): Fix strict aliasing
729 * modules/pam_umask/pam_umask.c (search_key): Don't ignore
730 EOF/error return value from fgets().
732 * configure.in: Check for getline and getdelim
734 * po/fi.po: Add new translations.
735 * po/de.po: Likewise.
736 * po/es.po: Likewise.
737 * po/fr.po: Likewise.
738 * po/it.po: Likewise.
739 * po/ja.po: Likewise.
740 * po/pt_BR.po: Likewise.
741 * po/zh_CH.po: Likewise.
742 * po/zh_TW.po: Likewise.
744 2006-01-13 Dmitry V. Levin <ldv@altlinux.org>
746 * libpam/pam_audit.c (_pam_auditlog): Replace strerror(errno)
747 call with %m specifier.
749 2006-01-12 Thorsten Kukuk <kukuk@thkukuk.de>
751 * configure.in: Add check for -fpie/-pie
752 * modules/pam_filter/upperLOWER/Makefile.am: Compile/link
753 upperLOWER with -fpie/-pie if supported.
754 * modules/pam_unix/Makefile.am: Compile/link unix_chkpwd
755 with -fpie/-pie if supported.
757 2006-01-12 Steve Grubb <sgrubb@redhat.com>
759 * configure.in: Add check for audit library.
760 * libpam/Makefile.am (libpam_la_LDFLAGS): Add LIBAUDIT.
761 (libpam_la_SOURCES): Add pam_audit.c.
762 * libpam/pam_account.c (pam_acct_mgmt): Add _pam_auditlog() call.
763 * libpam/pam_auth.c (pam_authenticate), (pam_setcred): Likewise.
764 * libpam/pam_password.c (pam_chauthtok): Likewise.
765 * libpam/pam_session.c (pam_open_session),
766 (pam_close_session): Likewise.
767 * libpam/pam_private.h: Add audit_state member to pam_handle,
768 declare _pam_auditlog and _pam_audit_end.
769 * libpam/pam_start.c (pam_start): Initialize audit_state.
770 * libpam/pam_audit.c: New file with _pam_auditlog and _pam_audit_end
772 * libpam/pam_end.c (pam_end): Add _pam_audit_end() call.
773 * NEWS: Note about added auditing.
775 2006-01-11 Thorsten Kukuk <kukuk@thkukuk.de>
777 * libpam/Makefile.am (AM_CFLAGS): Define LIBPAM_COMPILE.
779 * libpam/include/security/_pam_types.h: Don't define PAM_NONNULL
780 if we compile libpam itself.
782 * po/hu.po: Update with new translations.
784 2006-01-08 Thorsten Kukuk <kukuk@thkukuk.de>
786 * modules/pam_cracklib/pam_cracklib.c: Use PAM_AUTHTOK_RECOVERY_ERR
787 instead of PAM_AUTHTOK_RECOVER_ERR.
788 * modules/pam_pwdb/support.-c: Likewise.
789 * modules/pam_unix/support.c: Likewise.
790 * modules/pam_userdb/pam_userdb.c (pam_sm_authenticate): Likewise.
791 * libpam/pam_strerror.c (pam_strerror): Likewise.
793 * libpam/include/security/_pam_compat.h: Define
794 PAM_AUTHTOK_RECOVER_ERR for backward compatibility.
796 * libpam/include/security/_pam_types.h: Rename
797 PAM_AUTHTOK_RECOVER_ERR to PAM_AUTHTOK_RECOVERY_ERR.
799 2006-01-05 Thorsten Kukuk <kukuk@thkukuk.de>
801 * libpam/include/security/_pam_types.h: Remove nonnull attribute
802 from third paramter (item) of pam_get_item.
803 * libpam/Makefile.am: Bump version number of shared library.
805 2005-12-21 Tomas Mraz <t8m@centrum.cz>
807 * modules/pam_succeed_if/pam_succeed_if.c (evaluate_ingroup),
808 (evaluate_notingroup): Simplified.
809 (evaluate_innetgr), (evaluate_notinnetgr): New functions.
810 (evaluate): Added calls to evaluate_(not)innetgr().
811 * modules/pam_succeed_if/README: Documented netgroup matching.
812 * NEWS: Mentioned the added netgroup matching support.
814 2005-12-20 Thorsten Kukuk <kukuk@thkukuk.de>
816 * modules/pam_lastlog/pam_lastlog.c (last_login_read): Use
817 strftime instead of ctime.
819 * po/de.po: Fix typo.
821 2005-12-19 Thorsten Kukuk <kukuk@thkukuk.de>
823 * libpam/pam_syslog.c: Define LOG_AUTHPRIV as LOG_AUTH on Solaris.
824 Reported by Charles_H_Bedford@nbc.gov.
826 * modules/pam_time/pam_time.c (check_account): Implement
827 support for netgroups.
829 * modules/pam_time/time.conf: Document usage of netgroups.
831 2005-12-16 Thorsten Kukuk <kukuk@thkukuk.de>
833 * modules/pam_group/pam_group.c (check_account): Implement
834 support for netgroups.
836 * modules/pam_group/group.conf: Add all documentation to this
837 example config file and don't reference to outdated configs.
839 * modules/pam_group/README: New.
841 * modules/pam_group/Makefile.am: Add README to EXTRADIST.
843 2005-12-15 Thorsten Kukuk <kukuk@suse.de>
845 * modules/pam_lastlog/pam_lastlog.c (last_login_read): Don't report an
846 error if user logins the first time.
848 * modules/pam_lastlog/README: New.
850 * modules/pam_lastlog/Makefile.am: Add README to EXTRADIST.
852 2005-12-14 Thorsten Kukuk <kukuk@suse.de>
854 * modules/pam_deny/pam_deny.c: Fix comment.
856 * doc/pam_appl.sgml: Fix typo.
858 Reported by Russell Bateman <russ@windofkeltia.com>
860 2005-12-12 Thorsten Kukuk <kukuk@thkukuk.de>
862 * release version 0.99.2.1
864 * po/de.po: Remove new fuzzy entry
866 * NEWS: Add 0.99.2.1 changes
868 * configure.in: bump version number to 0.99.2.1
870 2005-12-12 Dmitry V. Levin <ldv@altlinux.org>
872 Cleanup pam_syslog messages.
874 * modules/pam_env/pam_env.c (_expand_arg): Fix compiler warning.
875 * modules/pam_filter/pam_filter.c (set_filter): Append %m
876 specifier to pam_syslog messages where appropriate.
877 * modules/pam_group/pam_group.c (read_field): Likewise.
878 * modules/pam_mkhomedir/pam_mkhomedir.c (make_remark): Remove.
879 (create_homedir): Do not use make_remark() wrapper, call
880 pam_info() directly. Call pam_syslog() right after failed
881 operation and append %m specifier to pam_syslog messages where
883 * modules/pam_rhosts/pam_rhosts_auth.c (pam_iruserok): Replace
884 sequence of malloc(), strcpy() and strcat() calls with asprintf().
885 Append %m specifier to pam_syslog messages where appropriate.
886 * modules/pam_securetty/pam_securetty.c (securetty_perform_check):
887 Append %m specifier to pam_syslog messages where appropriate.
888 * modules/pam_shells/pam_shells.c (perform_check): Likewise.
890 2005-12-12 Tomas Mraz <t8m@centrum.cz>
892 * modules/pam_mail/pam_mail.c (report_mail): Fixed typo in string.
893 * po/Linux-PAM.pot: Likewise.
894 * po/de.po: Likewise.
895 * po/es.po: Likewise.
896 * po/fi.po: Likewise.
897 * po/fr.po: Likewise.
898 * po/hu.po: Likewise.
899 * po/it.po: Likewise.
900 * po/ja.po: Likewise.
901 * po/nb.po: Likewise.
902 * po/pa.po: Likewise.
903 * po/pl.po: Likewise.
904 * po/pt.po: Likewise.
905 * po/pt_BR.po: Likewise.
906 * po/zh_CN.po: Likewise.
907 * po/zh_TW.po: Likewise.
908 * po/de.po: Add new translation, fixed typo in string.
910 2005-12-12 Mike Becher <Mike.Becher@lrz-muenchen.de>
912 * doc/Makefile.am: Fixed install of PS, PDF, TXT and HTML files.
914 2005-12-12 Thorsten Kukuk <kukuk@suse.de>
916 * modules/pam_mail/README: Document "quiet" and "standard"
919 2005-12-07 Thorsten Kukuk <kukuk@suse.de>
921 * modules/pam_mail/pam_mail.c: Modify assembling of output
922 for easier translation.
924 * po/de.po: Translate new pam_mail messages.
927 2005-11-24 Thorsten Kukuk <kukuk@thkukuk.de>
929 * po/de.po: Add new translation, fix wrong format specifier.
930 * po/cs.po: Fix wrong format specifier.
931 * po/es.po: Likewise.
932 * po/fi.po: Likewise.
933 * po/fr.po: Likewise.
934 * po/hu.po: Likewise.
935 * po/it.po: Likewise.
936 * po/ja.po: Likewise.
937 * po/nb.po: Likewise.
938 * po/pa.po: Likewise.
939 * po/pl.po: Likewise.
940 * po/pt.po: Likewise.
941 * po/pt_BR.po: Likewise.
942 * po/zh_CN.po: Likewise.
943 * po/zh_TW.po: Likewise.
945 2005-11-24 Dmitry V. Levin <ldv@altlinux.org>
947 * config.h.in: Remove generated file.
948 * .cvsignore: Add config.h.in.
950 * configure.in: Do not check for strerror.
951 * libpam_misc/misc_conv.c (read_string): Replace strerror()
952 call with %m specifier.
953 * libpamc/pamc_converse.c (pamc_converse): Likewise.
954 * modules/pam_echo/pam_echo.c (pam_echo): Likewise.
955 * modules/pam_localuser/pam_localuser.c (pam_sm_authenticate):
957 * modules/pam_selinux/pam_selinux.c (security_label_tty):
959 (security_restorelabel_tty, security_label_tty): Append %m
960 specifier where appropriate.
961 * modules/pam_selinux/pam_selinux_check.c (main): Replace
962 strerror() call with %m specifier.
963 * modules/pam_unix/pam_unix_passwd.c (save_old_password,
964 _update_passwd, _update_shadow): Likewise.
965 * modules/pam_unix/support.c (_unix_run_helper_binary): Likewise.
966 * modules/pam_unix/unix_chkpwd.c (_update_shadow): Likewise.
967 * po/Linux-PAM.pot: Update strings from pam_selinux.
968 * po/cs.po: Likewise.
969 * po/de.po: Likewise.
970 * po/es.po: Likewise.
971 * po/fi.po: Likewise.
972 * po/fr.po: Likewise.
973 * po/hu.po: Likewise.
974 * po/it.po: Likewise.
975 * po/ja.po: Likewise.
976 * po/nb.po: Likewise.
977 * po/pa.po: Likewise.
978 * po/pl.po: Likewise.
979 * po/pt.po: Likewise.
980 * po/pt_BR.po: Likewise.
981 * po/zh_CN.po: Likewise.
982 * po/zh_TW.po: Likewise.
984 2005-11-23 Thorsten Kukuk <kukuk@suse.de>
986 * modules/pam_xauth/pam_xauth.c (pam_sm_open_session): Introduce
987 new variable to fix compiler warning.
989 * libpam/pam_modutil_getlogin.c (pam_modutil_getlogin): PAM_TTY
990 don't need to start with /dev/.
992 2005-11-21 Thorsten Kukuk <kukuk@thkukuk.de>
994 * release version 0.99.2.0
996 * libpam_misc/Makefile.am: Increase release number (for change
999 * NEWS: Adjust for 0.99.2.0
1001 2005-11-17 Thorsten Kukuk <kukuk@thkukuk.de>
1003 * libpam/include/security/_pam_compat.h: Fix wrong #ifdef nesting.
1004 Redefine PAM_CHANGE_EXPIRED_AUTHTOK [#604380]
1006 2005-11-16 Thorsten Kukuk <kukuk@thkukuk.de>
1008 * libpam/pam_handlers.c: Replace code for all dlopen variants with
1010 * libpam/pam_dynamic.c: Implement generic wrapper for dlopen.
1011 * libpam/pam_dynamic.h: Provide prototypes.
1012 For Mac OS X support [#534205]
1014 2005-11-09 Tomas Mraz <t8m@centrum.cz>
1016 * modules/pam_access/pam_access.c (pam_sm_acct_mgmt): Parse correctly
1018 * modules/pam_time/pam_time.c (pam_sm_acct_mgmt): Parse correctly
1019 full path tty name. Allow unset tty.
1020 (logic_member): Allow matching ':' in tty name.
1021 * modules/pam_group/pam_group.c (pam_sm_acct_mgmt): Parse correctly
1022 full path tty name. Allow unset tty.
1023 (logic_member): Allow matching ':' in tty name.
1025 * libpam_misc/misc_conv.c (read_string): Read only up to EOL if stdin
1028 2005-11-07 Thorsten Kukuk <kukuk@thkukuk.de>
1030 * modules/pam_unix/pam_unix_passwd.c (_unix_verify_shadow): Use
1031 correct variable names.
1033 2005-11-06 Steve Langasek <vorlon@debian.org>
1035 * modules/pam_env/pam_env.c: don't treat a missing
1036 /etc/environment as a fatal error when attempting to read it,
1037 and try to read this file by default; this restores the behavior
1038 from Linux-PAM 0.76.
1040 2005-11-02 Tomas Mraz <t8m@centrum.cz>
1042 * modules/pam_unix/support.c (_unix_getpwnam): Fix typo [#1224807]
1045 * modules/pam_unix/pam_unix_passwd.c (_unix_verify_shadow): Change the
1046 logic when comparing dates to handle corner cases better [#1245888].
1048 2005-10-31 Thorsten Kukuk <kukuk@suse.de>
1050 * modules/pam_filter/pam_filter.c: Use XCASE only if defined
1053 2005-10-27 Thorsten Kukuk <kukuk@suse.de>
1055 * doc/man/pam.8: Fix wording for authentication chapter [#1197444]
1057 2005-10-26 Tomas Mraz <t8m@centrum.cz>
1059 * modules/pam_unix/pam_unix_acct.c (_unix_run_verify_binary),
1060 modules/pam_unix/pam_unix_passwd.c (_unix_run_shadow_binary),
1061 modules/pam_unix/support.c (_unix_run_shadow_binary_): Set real
1062 uid to 0 before executing the helper if SELinux is enabled.
1063 * modules/pam_unix/unix_chkpwd.c (main): Disable user check only
1064 if real uid is 0 (CVE-2005-2977). Log failed password check attempt.
1067 2005-10-20 Tomas Mraz <t8m@centrum.cz>
1069 * configure.in: Added check for xauth binary and --with-xauth option.
1070 * config.h.in: Added configurable PAM_PATH_XAUTH.
1071 * modules/pam_xauth/README,
1072 modules/pam_xauth/pam_xauth.8: Document where xauth is looked for.
1073 * modules/pam_xauth/pam_xauth.c (pam_sm_open_session): Implement
1074 searching xauth binary on multiple places.
1075 (run_coprocess): Don't use execvp as it can be a security risk.
1077 2005-10-04 Steve Langasek <vorlon@debian.org>
1079 * libpam/include/security/pam_malloc.h,
1080 libpam/include/security/pam_modules.h: Declare public header
1081 files extern "C" so that they are C++-safe.
1083 2005-10-02 Dmitry V. Levin <ldv@altlinux.org>
1084 Steve Langasek <vorlon@debian.org>
1086 Cleanup gratuitous use of strdup().
1087 Fix "missing argument" checks.
1089 * modules/pam_env/pam_env.c (_pam_parse): Add const qualifier
1090 to conffile and envfile arguments. Do not use x_strdup() for
1091 conffile and envfile initialization. Fix "missing argument"
1093 (_parse_config_file): Take conffile argument of type "const char *"
1094 instead of "char **". Do not free conffile.
1095 (_parse_env_file): Take env_file argument of type "const char *"
1096 instead of "char **". Do not free env_file.
1097 (pam_sm_setcred): Add const qualifier to conf_file and env_file.
1098 Pass conf_file and env_file to _parse_config_file() and
1099 _parse_env_file() by value.
1100 (pam_sm_open_session): Likewise.
1102 * modules/pam_ftp/pam_ftp.c (_pam_parse): Add const qualifier to
1103 users argument. Do not use x_strdup() for users initialization.
1104 (lookup): Add const qualifier to list argument.
1105 (pam_sm_authenticate): Add const qualifier to users argument.
1107 * modules/pam_mail/pam_mail.c (_pam_parse): Add const qualifier
1108 to maildir argument. Do not use x_strdup() for maildir
1109 initialization. Fix "missing argument" check.
1110 (get_folder): Take path_mail argument of type "const char *"
1111 instead of "char **". Do not free path_mail.
1112 (_do_mail): Add const qualifier to path_mail argument.
1113 Pass path_mail to get_folder() by value.
1115 * modules/pam_motd/pam_motd.c: Include <syslog.h>.
1116 (pam_sm_open_session): Add const qualifier to motd_path.
1117 Do not use x_strdup() for motd_path initialization. Do not
1118 free motd_path. Fix "missing argument" check. Add "unknown
1121 * modules/pam_userdb/pam_userdb.c (_pam_parse): Add const
1122 qualifier to database and cryptmode arguments. Fix "missing
1124 (pam_sm_authenticate): Add const qualifier to database and cryptmode.
1125 (pam_sm_acct_mgmt): Likewise.
1127 2005-10-01 Steve Langasek <vorlon@debian.org>
1129 * modules/pam_userdb/pam_userdb.c: spelling fix in log message.
1131 2005-09-30 Steve Langasek <vorlon@debian.org>
1133 * modules/pam_userdb/pam_userdb.c: Fix memory leak due to
1134 gratuitous use of strdup().
1136 2005-09-27 Thorsten Kukuk <kukuk@thkukuk.de>
1140 * doc/specs/Makefile.am (install-data-local): Install
1142 (all): Copy rfc if we build outside of source directory.
1144 2005-09-27 Thorsten Kukuk <kukuk@suse.de>
1146 * NEWS: Document removal of pam_radius.
1147 * autogen.sh: Make configure script executeable.
1149 * conv/pam_conv1/Makefile (EXTRA_DIST): Removed lex.yy.c
1150 (lex.yy.c): Fixed out of tree build.
1152 * conv/pam_conv1/pam_conv.y: Fix main prototype.
1156 * po/POTFILES.in: Remove files not distributed by tar archive
1157 and not containing strings for translation.
1159 2005-09-26 Tomas Mraz <t8m@centrum.cz>
1161 * NEWS: Add a few missing entries from CHANGELOG.
1163 * AUTHORS: Fixed entries for Toady and me.
1165 * Makefile.am (M4_FILES): Fixed out of tree build.
1166 * doc/specs/Makefile.am (EXTRA_DIST): Removed lex.yy.c
1167 (spec, lex.yy.c): Fixed out of tree build.
1169 * modules/pam_userdb/README: Document try_first_pass and
1170 use_first_pass options, remove use_authtok option.
1173 2005-09-26 Dmitry V. Levin <ldv@altlinux.org>
1175 * NEWS: Mention changes in pam_lastlog.
1177 2005-09-26 Thorsten Kukuk <kukuk@suse.de>
1180 * autogen.sh: Don't generate NEWS file.
1181 * CHANGELOG: Document it as obsolete.
1183 2005-09-26 Tomas Mraz <t8m@centrum.cz>
1185 * modules/pam_unix/pam_unix_acct.c (_unix_run_verify_binary):
1186 _log_err() -> pam_syslog()
1187 (pam_sm_acct_mgmt): _log_err() -> pam_syslog(), fix warning.
1188 * modules/pam_unix/pam_unix_auth.c (pam_sm_authenticate):
1189 _log_err() -> pam_syslog()
1190 * modules/pam_unix/pam_unix_passwd.c: removed obsolete ifdef
1191 (getNISserver, _unix_run_shadow_binary, _update_passwd,
1192 _update_shadow, _do_setpass, _pam_unix_approve_pass,
1193 pam_sm_chauthtok): _log_err() -> pam_syslog()
1194 * modules/pam_unix/pam_unix_sess.c: removed obsolete ifdef
1195 (pam_sm_open_session, pam_sm_close_session):
1196 _log_err() -> pam_syslog()
1197 * modules/pam_unix/support.c (_log_err, converse): removed
1198 (_make_remark): use pam_prompt() instead of converse()
1199 (_set_ctrl, _cleanup_failures, _unix_run_helper_binary,
1200 _unix_verify_password, _unix_read_password):
1201 _log_err() -> pam_syslog()
1202 _cleanup(), _unix_cleanup(): Silence unused param warnings.
1203 (_cleanup_failures, _unix_verify_password, _unix_getpwnam,
1204 _unix_run_helper_binary): Silence incorrect type warnings.
1205 (_unix_read_password): Use multiple pam_prompt() and pam_info() calls
1206 instead of converse().
1207 * modules/pam_unix/support.h (_log_err): removed
1208 * modules/pam_unix/unix_chkpwd.c (_log_err): LOG_AUTH -> LOG_AUTHPRIV
1210 2005-09-26 Thorsten Kukuk <kukuk@suse.de>
1212 * configure.in: Add doc/specs/Makefile.
1213 * Makefile.am: Add releasedocs rule.
1214 * doc/Makefile.am: Add specs subdir, remove files from specs
1215 directory, add rfc86.0.txt to releasedocs.
1216 * doc/specs/Makefile.am: New file.
1217 * doc/specs/formatter/parse.y: move from here ...
1218 * doc/specs/parse.y: ... here.
1219 * doc/specs/formatter/parse.lex: move from here ...
1220 * doc/specs/parse.lex: ... here.
1222 * modules/pam_mail/pam_mail.c: Mark missing strings for translation
1223 * po/Linux-PAM.pot: Add new strings from pam_mail
1224 * po/cs.po: Likewise.
1225 * po/de.po: Likewise.
1226 * po/es.po: Likewise.
1227 * po/fi.po: Likewise.
1228 * po/fr.po: Likewise.
1229 * po/hu.po: Likewise.
1230 * po/it.po: Likewise.
1231 * po/ja.po: Likewise.
1232 * po/nb.po: Likewise.
1233 * po/pa.po: Likewise.
1234 * po/pl.po: Likewise.
1235 * po/pt.po: Likewise.
1236 * po/pt_BR.po: Likewise.
1237 * po/zh_CN.po: Likewise.
1238 * po/zh_TW.po: Likewise.
1240 2005-09-23 Tomas Mraz <t8m@centrum.cz>
1242 * modules/pam_access/pam_access.c (from_match): Support NULL from.
1243 (string_match): Support NULL string, add NONE keyword matching it.
1244 (pam_sm_acct_mgmt): Don't fail when ttyname returns NULL.
1245 * modules/pam_access/access.conf: NONE keyword description
1246 * modules/pam_access/README: NONE keyword description
1248 2005-09-22 Dmitry V. Levin <ldv@altlinux.org>
1250 * modules/pam_xauth/pam_xauth.c: (check_acl, pam_sm_open_session,
1251 pam_sm_close_session): Strip redundant "pam_xauth: " prefix from
1252 text of log messages.
1253 (pam_sm_open_session): Replace sequence of malloc(), strcpy()
1254 and strcat() calls with asprintf(). Replace syslog() calls
1257 * modules/pam_nologin/pam_nologin.c (parse_args): Use strncmp()
1258 instead of memcmp() for string comparison.
1260 2005-09-21 Dmitry V. Levin <ldv@altlinux.org>
1262 * modules/pam_nologin/pam_nologin.c: Include <syslog.h>.
1263 (parse_args): Add pam_handle_t* argument. Log unrecognized
1265 (perform_check): Log pam_get_user() and malloc() failures.
1266 (pam_sm_authenticate, pam_sm_setcred, pam_sm_acct_mgmt):
1267 Pass pam_handle_t* to parse_args().
1269 * modules/pam_mail/pam_mail.c: Include <errno.h>.
1270 Remove YOUR_MAIL_VERBOSE_FORMAT, YOUR_MAIL_STANDARD_FORMAT and
1271 NO_MAIL_STANDARD_FORMAT macros.
1272 (parse_args, get_folder): Cleanup error messages.
1273 (get_folder): Fix leak of the path_mail variable in case of
1274 pam_get_user() failure. Cleanup memory management.
1275 (get_mail_status): Add pam_handle_t* argument. Fix leaks of
1276 namelist variable. Cleanup memory management. Log memory
1277 allocation failures. Remove 250-byte limit on Maildir pathname.
1278 (report_mail): Mark text messages for translation.
1279 (_do_mail): Cleanup memory management. Pass pam_handle_t*
1280 to get_mail_status().
1282 * po/Linux-PAM.pot: Update with new strings from pam_mail for
1284 * po/cs.po: Likewise.
1285 * po/de.po: Likewise.
1286 * po/es.po: Likewise.
1287 * po/fi.po: Likewise.
1288 * po/fr.po: Likewise.
1289 * po/hu.po: Likewise.
1290 * po/it.po: Likewise.
1291 * po/ja.po: Likewise.
1292 * po/nb.po: Likewise.
1293 * po/pa.po: Likewise.
1294 * po/pl.po: Likewise.
1295 * po/pt.po: Likewise.
1296 * po/pt_BR.po: Likewise.
1297 * po/zh_CN.po: Likewise.
1298 * po/zh_TW.po: Likewise.
1300 2005-09-20 Thorsten Kukuk <kukuk@suse.de>
1302 * configure.in: Add finish translation.
1305 * acinclude.m4: remove libprelude macros.
1306 * m4/libprelude.m4: New.
1308 * Makefile.am (EXTRA_DIST): make sure we include all m4 macros.
1310 * libpamc/Makefile.am (EXTRA_DIST): Add License.
1312 See CHANGELOG for earlier changes.