1 2006-03-13 Thorsten Kukuk <kukuk@thkukuk.de>
3 * doc/man/pam_error.3.xml: New.
4 * doc/man/pam_error.3: New, generated from XML file.
5 * doc/man/pam_verror.3: New, generated from XML file.
6 * doc/man/Makefile.am: Add pam_error.3 and pam_verror.3.
8 * modules/pam_lastlog/Makefile.am: Fix typo.
10 * modules/pam_lastlog/pam_lastlog.c: Move comment for
11 translators in right line.
12 * po/*.po: Update po files with comment for translator.
14 2006-03-12 Thorsten Kukuk <kukuk@thkukuk.de>
16 * doc/man/Makefile.am: Add new manual pages.
18 * doc/man/pam.conf.5.xml: Replace link with content
20 * doc/man/pam.conf.5: Regenerated from XML file.
22 * doc/man/pam_info.3.xml: New.
23 * doc/man/pam_info.3: New, generated from XML file.
24 * doc/man/pam_vinfo.3: New, generated from XML file.
26 * doc/man/pam_conv.3.xml: New.
27 * doc/man/pam_conv.3: New, generated from XML file.
29 * doc/man/pam_putenv.3.xml: New.
30 * doc/man/pam_putenv.3: New, generated from XML file.
32 * doc/man/pam_getenv.3.xml: New.
33 * doc/man/pam_getenv.3: New, generated from XML file.
35 * doc/man/pam_getenvlist.3.xml: New.
36 * doc/man/pam_getenvlist.3: New, generated from XML file.
38 * libpam/pam_item.c (pam_get_user): Check for valid pamh before
41 * configure.in: create tests/Makefile
42 * Makefile.am (SUBDIRS): Add tests
43 * tests/Makefile.am: New.
44 * tests/tst-dlopen.c: New.
45 * tests/tst-pam_acct_mgmt.c: New.
46 * tests/tst-pam_authenticate.c: New.
47 * tests/tst-pam_chauthtok.c: New.
48 * tests/tst-pam_close_session.c: New.
49 * tests/tst-pam_end.c: New.
50 * tests/tst-pam_fail_delay.c: New.
51 * tests/tst-pam_getenvlist.c: New.
52 * tests/tst-pam_get_item.c: New.
53 * tests/tst-pam_open_session.c: New.
54 * tests/tst-pam_setcred.c: New.
55 * tests/tst-pam_set_item.c: New.
56 * tests/tst-pam_start.c: New.
57 * tests/tst-pam_get_user.c: New.
59 * modules/pam_access/Makefile.am: Add rules for make check
60 * modules/pam_access/tst-pam_access: New
61 * modules/pam_cracklib/Makefile.am: Add rules for make check
62 * modules/pam_cracklib/tst-pam_cracklib: New
63 * modules/pam_debug/Makefile.am: Add rules for make check
64 * modules/pam_debug/tst-pam_debug: New
65 * modules/pam_deny/Makefile.am: Add rules for make check
66 * modules/pam_deny/tst-pam_deny: New
67 * modules/pam_echo/Makefile.am: Add rules for make check
68 * modules/pam_echo/tst-pam_echo: New
69 * modules/pam_env/Makefile.am: Add rules for make check
70 * modules/pam_env/tst-pam_env: New
71 * modules/pam_exec/Makefile.am: Add rules for make check
72 * modules/pam_exec/tst-pam_exec: New
73 * modules/pam_filter/Makefile.am: Add rules for make check
74 * modules/pam_filter/tst-pam_filter: New
75 * modules/pam_ftp/Makefile.am: Add rules for make check
76 * modules/pam_ftp/tst-pam_ftp: New
77 * modules/pam_group/Makefile.am: Add rules for make check
78 * modules/pam_group/tst-pam_group: New
79 * modules/pam_issue/Makefile.am: Add rules for make check
80 * modules/pam_issue/tst-pam_issue: New
81 * modules/pam_lastlog/Makefile.am: Add rules for make check
82 * modules/pam_lastlog/tst-pam_lastlog: New
83 * modules/pam_limits/Makefile.am: Add rules for make check
84 * modules/pam_limits/tst-pam_limits: New
85 * modules/pam_listfile/Makefile.am: Add rules for make check
86 * modules/pam_listfile/tst-pam_listfile: New
87 * modules/pam_localuser/Makefile.am: Add rules for make check
88 * modules/pam_localuser/tst-pam_localuser: New
89 * modules/pam_mail/Makefile.am: Add rules for make check
90 * modules/pam_mail/tst-pam_mail: New
91 * modules/pam_mkhomedir/Makefile.am: Add rules for make check
92 * modules/pam_mkhomedir/tst-pam_mkhomedir: New
93 * modules/pam_motd/Makefile.am: Add rules for make check
94 * modules/pam_motd/tst-pam_motd: New
95 * modules/pam_nologin/Makefile.am: Add rules for make check
96 * modules/pam_nologin/tst-pam_nologin: New
97 * modules/pam_permit/Makefile.am: Add rules for make check
98 * modules/pam_permit/tst-pam_permit: New
99 * modules/pam_rhosts/Makefile.am: Add rules for make check
100 * modules/pam_rhosts/tst-pam_rhosts: New
101 * modules/pam_rootok/Makefile.am: Add rules for make check
102 * modules/pam_rootok/tst-pam_rootok: New
103 * modules/pam_securetty/Makefile.am: Add rules for make check
104 * modules/pam_securetty/tst-pam_securetty: New
105 * modules/pam_selinux/Makefile.am: Add rules for make check
106 * modules/pam_selinux/tst-pam_selinux: New
107 * modules/pam_shells/Makefile.am: Add rules for make check
108 * modules/pam_shells/tst-pam_shells: New
109 * modules/pam_stress/Makefile.am: Add rules for make check
110 * modules/pam_stress/tst-pam_stress: New
111 * modules/pam_succeed_if/Makefile.am: Add rules for make check
112 * modules/pam_succeed_if/tst-pam_succeed_if: New
113 * modules/pam_tally/Makefile.am: Add rules for make check
114 * modules/pam_tally/tst-pam_tally: New
115 * modules/pam_time/Makefile.am: Add rules for make check
116 * modules/pam_time/tst-pam_time: New
117 * modules/pam_umask/Makefile.am: Add rules for make check
118 * modules/pam_umask/tst-pam_umask: New
119 * modules/pam_unix/Makefile.am: Add rules for make check
120 * modules/pam_unix/tst-pam_unix: New
121 * modules/pam_userdb/Makefile.am: Add rules for make check
122 * modules/pam_userdb/tst-pam_userdb: New
123 * modules/pam_warn/Makefile.am: Add rules for make check
124 * modules/pam_warn/tst-pam_warn: New
125 * modules/pam_wheel/Makefile.am: Add rules for make check
126 * modules/pam_wheel/tst-pam_wheel: New
127 * modules/pam_xauth/Makefile.am: Add rules for make check
128 * modules/pam_xauth/tst-pam_xauth: New
130 2006-03-11 Thorsten Kukuk <kukuk@thkukuk.de>
132 * doc/man/pam_fail_delay.3.xml: New.
133 * doc/man/pam_fail_delay.3: New, generated from xml.
134 * doc/man/pam_prompt.3.xml: New.
135 * doc/man/pam_prompt.3: New, generated from xml.
136 * doc/man/pam_syslog.3.xml: New.
137 * doc/man/pam_syslog.3: New, generated from xml.
138 * doc/man/pam_vprompt.3: New, generated from xml.
139 * doc/man/pam_vsyslog.3: New, generated from xml.
141 2006-02-24 Thorsten Kukuk <kukuk@thkukuk.de>
143 * po/km.po: Update Khmer translation.
145 2006-02-24 Thorsten Kukuk <kukuk@thkukuk.de>
147 * modules/pam_succeed_if/pam_succeed_if.8.xml: New, based on
148 version from #1425487.
149 * modules/pam_succeed_if/pam_succeed_if.8: Regenerated from xml.
150 * modules/pam_succeed_if/Makefile.am: Include XML rules.
151 * modules/pam_succeed_if/README.xml: New.
152 * modules/pam_succeed_if/README: Regenerated from xml.
153 * modules/pam_succeed_if/pam_succeed_if.c: Fix comment about
156 2006-02-22 Thorsten Kukuk <kukuk@thkukuk.de>
158 * configure.in: Fix check for incomplete libaudit installations
159 (Patch from Ruediger Oertel <ro@suse.de>).
161 * modules/pam_lastlog/pam_lastlog.c (last_login_write): Initialize
162 correct last_login field [#1427401].
164 * modules/pam_lastlog/pam_lastlog.c (last_login_read): Mark strftime
165 format string for translation to allow reorder [#1428269].
166 * po/*.po: Update with last pam_lastlog change.
169 2006-02-17 Thorsten Kukuk <kukuk@thkukuk.de>
171 * doc/man/Makefile.am: Add new manual pages.
172 * doc/man/pam_end.3: Regenerated from xml file.
173 * doc/man/pam_end.3.xml: Document freeing of item data.
174 * doc/man/pam_get_user.3: New.
175 * doc/man/pam_get_user.3.xml: New.
176 * modules/pam_access/access.conf.5.xml: Fix typos.
177 * modules/pam_env/Makefile.am: Add new manual pages.
178 * modules/pam_env/README: Regenerate from xml file.
179 * modules/pam_env/README.xml: New.
180 * modules/pam_env/pam_env.8: New.
181 * modules/pam_env/pam_env.8.xml: New.
182 * modules/pam_env/pam_env.conf.5: New.
183 * modules/pam_env/pam_env.conf.5.xml New.
185 2006-02-14 Thorsten Kukuk <kukuk@thkukuk.de>
187 * po/fi.po: Updated translations.
188 * po/pl.po: Likewise.
189 * po/km.po: New translation.
190 * configure.in: Add km as new language.
192 2006-02-13 Thorsten Kukuk <kukuk@thkukuk.de>
194 * modules/pam_echo/pam_echo.8.xml: New.
195 * modules/pam_echo/pam_echo.8: Regenerated from xml file.
196 * modules/pam_echo/Makefile.am: Include Make.xml.rules.
197 * modules/pam_echo/pam_echo.c: Fix return value.
199 * doc/modules/pam_chroot.sgml: Remove obsolete sgml file.
201 2006-02-12 Thorsten Kukuk <kukuk@thkukuk.de>
203 * configure.in: Add doc/man/Makefile.
204 * Make.xml.rules: Enable xincludes for manual pages.
205 * doc/Makefile.am (EXRA_DIST): Remove manual pages.
206 (SUBDIR): Add man subdirectory.
207 * doc/man/Makefile.am: New.
208 * doc/man/pam_acct_mgmt.3: New.
209 * doc/man/pam_acct_mgmt.3.xml: New.
210 * doc/man/pam_get_data.3: New.
211 * doc/man/pam_get_data.3.xml: New.
212 * doc/man/pam_set_data.3: New.
213 * doc/man/pam_set_data.3.xml: New.
214 * doc/man/pam.8.xml: New.
215 * doc/man/pam.8: Regenerated from xml file.
216 * doc/man/pam_authenticate.3.xml: New.
217 * doc/man/pam_authenticate.3: Regenerated from xml file.
218 * doc/man/pam_chauthtok.3.xml: New.
219 * doc/man/pam_chauthtok.3: Regenerated from xml file.
220 * doc/man/pam_close_session.3.xml: New.
221 * doc/man/pam_close_session.3: Regenerated from xml file.
222 * doc/man/pam_end.3.xml: New.
223 * doc/man/pam_end.3: Regenerated from xml file.
224 * doc/man/pam_fail_delay.3.xml: New.
225 * doc/man/pam_fail_delay.3: Regenerated from xml file.
226 * doc/man/pam_get_item.3.xml: New.
227 * doc/man/pam_get_item.3: Regenerated from xml file.
228 * doc/man/pam_item_types.inc.xml: New.
229 * doc/man/pam_open_session.3.xml: New.
230 * doc/man/pam_open_session.3: Regenerated from xml file.
231 * doc/man/pam_set_item.3.xml: New.
232 * doc/man/pam_set_item.3: Regenerated from xml file.
233 * doc/man/pam_setcred.3.xml: New.
234 * doc/man/pam_setcred.3: Regenerated from xml file.
235 * doc/man/pam_start.3.xml: New.
236 * doc/man/pam_start.3: Regenerated from xml file.
237 * doc/man/pam_strerror.3.xml: New.
238 * doc/man/pam_strerror.3: Regenerated from xml file.
239 * doc/man/template-man: Removed.
241 2006-02-10 Thorsten Kukuk <kukuk@thkukuk.de>
243 * configure.in: Remove pam_pwdb support.
244 * modules/Makefile.am: remove pam_pwdb.
245 * modules/pam_pwdb: Remove complete directory.
246 * libpam/Makefile.am: Remove LIBPWDB references.
247 * libpam/pam_static_modules.h: Remove pam_pwdb references.
248 * doc/modules/pam_pwdb.sgml: Removed.
249 * po/POTFILES.in: Remove modules/pam_pwdb/*.c entries.
250 * doc/pam_source.sgml: Remove references to libpwdb.
251 * doc/modules/pam_limits.sgml: Remove wrong reference to libpwdb.
252 * doc/modules/pam_group.sgml: Likewise.
253 * doc/modules/pam_cracklib.sgml: Replace pam_pwdb with pam_unix.
254 * doc/modules/pam_userdb.sgml: Likewise.
255 * modules/pam_cracklib/pam_cracklib.8.xml: Replace pam_pwdb
257 * modules/pam_mkhomedir/pam_mkhomedir.c: Likewise.
258 * modules/pam_group/pam_group.c: Remove dead code for libpwdb.
260 * modules/pam_access/Makefile.am: Fix EXTRA_DIST.
261 * modules/pam_cracklib/Makefile.am: Likewise.
262 * modules/pam_deny/Makefile.am: Likewise.
263 * modules/pam_exec/Makefile.am: Likewise.
265 2006-02-07 Thorsten Kukuk <kukuk@thkukuk.de>
267 * configure.in: Check for text browser.
268 * Make.xml.rules: Add rule to generate README from README.xml.
270 * modules/pam_access/Makefile.am: Include Make.xml.rules.
271 * modules/pam_access/README: Regenerated from README.xml.
272 * modules/pam_access/README.xml: New.
273 * modules/pam_access/access.conf: Extended by new examples.
274 * modules/pam_access/access.conf.5: New, generated from xml file.
275 * modules/pam_access/access.conf.5.xml: New.
276 * modules/pam_access/pam_access.8: New, generated from xml file.
277 * modules/pam_access/pam_access.8.xml: New.
278 * modules/pam_access/pam_access.c: Add rules for IPv6 and
280 Based on patch from Mike Becher <Mike.Becher@lrz-muenchen.de>.
282 * modules/pam_deny/Makefile.am: Include Make.xml.rules.
283 * modules/pam_deny/pam_deny.8.xml: New.
284 * modules/pam_deny/pam_deny.8: New, generated from xml file.
285 * modules/pam_deny/README.xml: New.
286 * modules/pam_deny/README: Regenerated from xml file.
288 * modules/pam_cracklib/Makefile.am: Include Make.xml.rules.
289 * modules/pam_cracklib/pam_cracklib.8.xml: New.
290 * modules/pam_cracklib/pam_cracklib.8: New, generated from xml file.
291 * modules/pam_cracklib/README.xml: New.
292 * modules/pam_cracklib/README: Regenerated from xml file.
294 * modules/pam_exec/Makefile.am: Add rule to generate README.
295 * modules/pam_exec/README: Regenerated from xml file.
296 * modules/pam_exec/pam_exec.8: Regenerated from xml file.
297 * modules/pam_exec/pam_exec.8.xml: Syntax files.
299 2006-02-06 Thorsten Kukuk <kukuk@thkukuk.de>
302 * po/pt.po: Update translations.
303 * configure.in: Add nl as new language.
305 2006-01-30 Thorsten Kukuk <kukuk@thkukuk.de>
307 * modules/pam_exec/pam_exec.8.xml: Fix syntax of Return Value section.
308 * modules/pam_exec/Makefile.am: Include Make.xml.rules.
310 * Make.xml.rules: New.
312 * Makefile.am (EXTRA_DIST): Add Make.xml.rules.
314 2006-01-27 Thorsten Kukuk <kukuk@thkukuk.de>
316 * configure.in: Prefer libdb over libndbm, fix check for
317 libcrack and remove not needed BACKUP_LIBS.
319 2006-01-24 Thorsten Kukuk <kukuk@thkukuk.de>
321 * modules/pam_debug/pam_debug.c: Fix name of pam_module struct.
323 * po/de.po: Fix one translation.
325 * configure.in: Add modules/pam_exec.
326 * modules/Makefile.am: Add pam_exec subdirectory.
327 * modules/pam_exec/README: New.
328 * modules/pam_exec/Makefile.am: New.
329 * modules/pam_exec/pam_exec.8: New.
330 * modules/pam_exec/pam_exec.c: New.
331 * modules/pam_exec/pam_exec.8.xml: New.
332 * po/POTFILES.in: Add modules/pam_exec/pam_exec.c.
333 * po/*.po: Merge new pam_exec strings.
335 * libpam/pam_static_modules.h: New.
336 * Makefile.am: Reorder subdirectories for static modules.
337 * configure.in: Add --enable-static-modules option.
338 * libpam/Makefile.am: Define WITH_SELINUX and WITH_PWDB if
339 necessary, add pam_static_modules.h, link against all PAM
340 module object files if STATIC_MODULES is defined.
341 * libpam/pam_static.c: Remove old _static_module* includes,
342 include pam_static_modules.h.
344 * configure.in: Add checks for xsltproc, xmllint and docbook
346 * m4/jh_path_xml_catalog.m4: New.
348 2006-01-22 Thorsten Kukuk <kukuk@thkukuk.de>
350 * modules/pam_succeed_if/pam_succeed_if.c: Add support for
352 * modules/pam_xauth/pam_xauth.c: Likewise.
354 * libpam/pam_static.c (_pam_open_static_handler): Add pamh
356 * libpam/pam_private.h: Adjust prototype.
357 * libpam/pam_handlers.c (_pam_add_handler): Add pamh to
358 _pam_open_static_handler call.
360 * configure.in: Don't define PAM_DYNAMIC.
361 * libpam/pam_handlers.c: Get ride of PAM_DYNAMIC, don't
362 include pam_dynamic.h
363 * libpam/pam_dynamic.c: Don't include pam_dynamic.h,
364 exclude functions if we compile with PAM_STATIC.
365 * libpam/pam_dynamic.h: Remove.
366 * libpam/pam_private.h: Add function prototypes from pam_dynamic.h.
367 * libpam/Makefile.am: Bump version number of libpam, remove
370 2006-01-21 Thorsten Kukuk <kukuk@thkukuk.de>
372 * modules/pam_listfile/pam_listfile.c: Add support for session
373 and password management.
375 2006-01-19 Thorsten Kukuk <kukuk@suse.de>
377 * doc/specs/Makefile.am (spec): Add padout to fix parallel
378 build (Reported by Andreas Haumer <andreas@xss.co.at>).
380 2006-01-15 Thorsten Kukuk <kukuk@thkukuk.de>
382 * modules/pam_echo/pam_echo.c: Define HOST_NAME_MAX if not
385 2006-01-13 Thorsten Kukuk <kukuk@thkukuk.de>
387 * release version 0.99.3.0
389 * libpam_misc/misc_conv.c (misc_conv): Fix strict aliasing
392 * modules/pam_umask/pam_umask.c (search_key): Don't ignore
393 EOF/error return value from fgets().
395 * configure.in: Check for getline and getdelim
397 * po/fi.po: Add new translations.
398 * po/de.po: Likewise.
399 * po/es.po: Likewise.
400 * po/fr.po: Likewise.
401 * po/it.po: Likewise.
402 * po/ja.po: Likewise.
403 * po/pt_BR.po: Likewise.
404 * po/zh_CH.po: Likewise.
405 * po/zh_TW.po: Likewise.
407 2006-01-13 Dmitry V. Levin <ldv@altlinux.org>
409 * libpam/pam_audit.c (_pam_auditlog): Replace strerror(errno)
410 call with %m specifier.
412 2006-01-12 Thorsten Kukuk <kukuk@thkukuk.de>
414 * configure.in: Add check for -fpie/-pie
415 * modules/pam_filter/upperLOWER/Makefile.am: Compile/link
416 upperLOWER with -fpie/-pie if supported.
417 * modules/pam_unix/Makefile.am: Compile/link unix_chkpwd
418 with -fpie/-pie if supported.
420 2006-01-12 Steve Grubb <sgrubb@redhat.com>
422 * configure.in: Add check for audit library.
423 * libpam/Makefile.am (libpam_la_LDFLAGS): Add LIBAUDIT.
424 (libpam_la_SOURCES): Add pam_audit.c.
425 * libpam/pam_account.c (pam_acct_mgmt): Add _pam_auditlog() call.
426 * libpam/pam_auth.c (pam_authenticate), (pam_setcred): Likewise.
427 * libpam/pam_password.c (pam_chauthtok): Likewise.
428 * libpam/pam_session.c (pam_open_session),
429 (pam_close_session): Likewise.
430 * libpam/pam_private.h: Add audit_state member to pam_handle,
431 declare _pam_auditlog and _pam_audit_end.
432 * libpam/pam_start.c (pam_start): Initialize audit_state.
433 * libpam/pam_audit.c: New file with _pam_auditlog and _pam_audit_end
435 * libpam/pam_end.c (pam_end): Add _pam_audit_end() call.
436 * NEWS: Note about added auditing.
438 2006-01-11 Thorsten Kukuk <kukuk@thkukuk.de>
440 * libpam/Makefile.am (AM_CFLAGS): Define LIBPAM_COMPILE.
442 * libpam/include/security/_pam_types.h: Don't define PAM_NONNULL
443 if we compile libpam itself.
445 * po/hu.po: Update with new translations.
447 2006-01-08 Thorsten Kukuk <kukuk@thkukuk.de>
449 * modules/pam_cracklib/pam_cracklib.c: Use PAM_AUTHTOK_RECOVERY_ERR
450 instead of PAM_AUTHTOK_RECOVER_ERR.
451 * modules/pam_pwdb/support.-c: Likewise.
452 * modules/pam_unix/support.c: Likewise.
453 * modules/pam_userdb/pam_userdb.c (pam_sm_authenticate): Likewise.
454 * libpam/pam_strerror.c (pam_strerror): Likewise.
456 * libpam/include/security/_pam_compat.h: Define
457 PAM_AUTHTOK_RECOVER_ERR for backward compatibility.
459 * libpam/include/security/_pam_types.h: Rename
460 PAM_AUTHTOK_RECOVER_ERR to PAM_AUTHTOK_RECOVERY_ERR.
462 2006-01-05 Thorsten Kukuk <kukuk@thkukuk.de>
464 * libpam/include/security/_pam_types.h: Remove nonnull attribute
465 from third paramter (item) of pam_get_item.
466 * libpam/Makefile.am: Bump version number of shared library.
468 2005-12-21 Tomas Mraz <t8m@centrum.cz>
470 * modules/pam_succeed_if/pam_succeed_if.c (evaluate_ingroup),
471 (evaluate_notingroup): Simplified.
472 (evaluate_innetgr), (evaluate_notinnetgr): New functions.
473 (evaluate): Added calls to evaluate_(not)innetgr().
474 * modules/pam_succeed_if/README: Documented netgroup matching.
475 * NEWS: Mentioned the added netgroup matching support.
477 2005-12-20 Thorsten Kukuk <kukuk@thkukuk.de>
479 * modules/pam_lastlog/pam_lastlog.c (last_login_read): Use
480 strftime instead of ctime.
482 * po/de.po: Fix typo.
484 2005-12-19 Thorsten Kukuk <kukuk@thkukuk.de>
486 * libpam/pam_syslog.c: Define LOG_AUTHPRIV as LOG_AUTH on Solaris.
487 Reported by Charles_H_Bedford@nbc.gov.
489 * modules/pam_time/pam_time.c (check_account): Implement
490 support for netgroups.
492 * modules/pam_time/time.conf: Document usage of netgroups.
494 2005-12-16 Thorsten Kukuk <kukuk@thkukuk.de>
496 * modules/pam_group/pam_group.c (check_account): Implement
497 support for netgroups.
499 * modules/pam_group/group.conf: Add all documentation to this
500 example config file and don't reference to outdated configs.
502 * modules/pam_group/README: New.
504 * modules/pam_group/Makefile.am: Add README to EXTRADIST.
506 2005-12-15 Thorsten Kukuk <kukuk@suse.de>
508 * modules/pam_lastlog/pam_lastlog.c (last_login_read): Don't report an
509 error if user logins the first time.
511 * modules/pam_lastlog/README: New.
513 * modules/pam_lastlog/Makefile.am: Add README to EXTRADIST.
515 2005-12-14 Thorsten Kukuk <kukuk@suse.de>
517 * modules/pam_deny/pam_deny.c: Fix comment.
519 * doc/pam_appl.sgml: Fix typo.
521 Reported by Russell Bateman <russ@windofkeltia.com>
523 2005-12-12 Thorsten Kukuk <kukuk@thkukuk.de>
525 * release version 0.99.2.1
527 * po/de.po: Remove new fuzzy entry
529 * NEWS: Add 0.99.2.1 changes
531 * configure.in: bump version number to 0.99.2.1
533 2005-12-12 Dmitry V. Levin <ldv@altlinux.org>
535 Cleanup pam_syslog messages.
537 * modules/pam_env/pam_env.c (_expand_arg): Fix compiler warning.
538 * modules/pam_filter/pam_filter.c (set_filter): Append %m
539 specifier to pam_syslog messages where appropriate.
540 * modules/pam_group/pam_group.c (read_field): Likewise.
541 * modules/pam_mkhomedir/pam_mkhomedir.c (make_remark): Remove.
542 (create_homedir): Do not use make_remark() wrapper, call
543 pam_info() directly. Call pam_syslog() right after failed
544 operation and append %m specifier to pam_syslog messages where
546 * modules/pam_rhosts/pam_rhosts_auth.c (pam_iruserok): Replace
547 sequence of malloc(), strcpy() and strcat() calls with asprintf().
548 Append %m specifier to pam_syslog messages where appropriate.
549 * modules/pam_securetty/pam_securetty.c (securetty_perform_check):
550 Append %m specifier to pam_syslog messages where appropriate.
551 * modules/pam_shells/pam_shells.c (perform_check): Likewise.
553 2005-12-12 Tomas Mraz <t8m@centrum.cz>
555 * modules/pam_mail/pam_mail.c (report_mail): Fixed typo in string.
556 * po/Linux-PAM.pot: Likewise.
557 * po/de.po: Likewise.
558 * po/es.po: Likewise.
559 * po/fi.po: Likewise.
560 * po/fr.po: Likewise.
561 * po/hu.po: Likewise.
562 * po/it.po: Likewise.
563 * po/ja.po: Likewise.
564 * po/nb.po: Likewise.
565 * po/pa.po: Likewise.
566 * po/pl.po: Likewise.
567 * po/pt.po: Likewise.
568 * po/pt_BR.po: Likewise.
569 * po/zh_CN.po: Likewise.
570 * po/zh_TW.po: Likewise.
571 * po/de.po: Add new translation, fixed typo in string.
573 2005-12-12 Mike Becher <Mike.Becher@lrz-muenchen.de>
575 * doc/Makefile.am: Fixed install of PS, PDF, TXT and HTML files.
577 2005-12-12 Thorsten Kukuk <kukuk@suse.de>
579 * modules/pam_mail/README: Document "quiet" and "standard"
582 2005-12-07 Thorsten Kukuk <kukuk@suse.de>
584 * modules/pam_mail/pam_mail.c: Modify assembling of output
585 for easier translation.
587 * po/de.po: Translate new pam_mail messages.
590 2005-11-24 Thorsten Kukuk <kukuk@thkukuk.de>
592 * po/de.po: Add new translation, fix wrong format specifier.
593 * po/cs.po: Fix wrong format specifier.
594 * po/es.po: Likewise.
595 * po/fi.po: Likewise.
596 * po/fr.po: Likewise.
597 * po/hu.po: Likewise.
598 * po/it.po: Likewise.
599 * po/ja.po: Likewise.
600 * po/nb.po: Likewise.
601 * po/pa.po: Likewise.
602 * po/pl.po: Likewise.
603 * po/pt.po: Likewise.
604 * po/pt_BR.po: Likewise.
605 * po/zh_CN.po: Likewise.
606 * po/zh_TW.po: Likewise.
608 2005-11-24 Dmitry V. Levin <ldv@altlinux.org>
610 * config.h.in: Remove generated file.
611 * .cvsignore: Add config.h.in.
613 * configure.in: Do not check for strerror.
614 * libpam_misc/misc_conv.c (read_string): Replace strerror()
615 call with %m specifier.
616 * libpamc/pamc_converse.c (pamc_converse): Likewise.
617 * modules/pam_echo/pam_echo.c (pam_echo): Likewise.
618 * modules/pam_localuser/pam_localuser.c (pam_sm_authenticate):
620 * modules/pam_selinux/pam_selinux.c (security_label_tty):
622 (security_restorelabel_tty, security_label_tty): Append %m
623 specifier where appropriate.
624 * modules/pam_selinux/pam_selinux_check.c (main): Replace
625 strerror() call with %m specifier.
626 * modules/pam_unix/pam_unix_passwd.c (save_old_password,
627 _update_passwd, _update_shadow): Likewise.
628 * modules/pam_unix/support.c (_unix_run_helper_binary): Likewise.
629 * modules/pam_unix/unix_chkpwd.c (_update_shadow): Likewise.
630 * po/Linux-PAM.pot: Update strings from pam_selinux.
631 * po/cs.po: Likewise.
632 * po/de.po: Likewise.
633 * po/es.po: Likewise.
634 * po/fi.po: Likewise.
635 * po/fr.po: Likewise.
636 * po/hu.po: Likewise.
637 * po/it.po: Likewise.
638 * po/ja.po: Likewise.
639 * po/nb.po: Likewise.
640 * po/pa.po: Likewise.
641 * po/pl.po: Likewise.
642 * po/pt.po: Likewise.
643 * po/pt_BR.po: Likewise.
644 * po/zh_CN.po: Likewise.
645 * po/zh_TW.po: Likewise.
647 2005-11-23 Thorsten Kukuk <kukuk@suse.de>
649 * modules/pam_xauth/pam_xauth.c (pam_sm_open_session): Introduce
650 new variable to fix compiler warning.
652 * libpam/pam_modutil_getlogin.c (pam_modutil_getlogin): PAM_TTY
653 don't need to start with /dev/.
655 2005-11-21 Thorsten Kukuk <kukuk@thkukuk.de>
657 * release version 0.99.2.0
659 * libpam_misc/Makefile.am: Increase release number (for change
662 * NEWS: Adjust for 0.99.2.0
664 2005-11-17 Thorsten Kukuk <kukuk@thkukuk.de>
666 * libpam/include/security/_pam_compat.h: Fix wrong #ifdef nesting.
667 Redefine PAM_CHANGE_EXPIRED_AUTHTOK [#604380]
669 2005-11-16 Thorsten Kukuk <kukuk@thkukuk.de>
671 * libpam/pam_handlers.c: Replace code for all dlopen variants with
673 * libpam/pam_dynamic.c: Implement generic wrapper for dlopen.
674 * libpam/pam_dynamic.h: Provide prototypes.
675 For Mac OS X support [#534205]
677 2005-11-09 Tomas Mraz <t8m@centrum.cz>
679 * modules/pam_access/pam_access.c (pam_sm_acct_mgmt): Parse correctly
681 * modules/pam_time/pam_time.c (pam_sm_acct_mgmt): Parse correctly
682 full path tty name. Allow unset tty.
683 (logic_member): Allow matching ':' in tty name.
684 * modules/pam_group/pam_group.c (pam_sm_acct_mgmt): Parse correctly
685 full path tty name. Allow unset tty.
686 (logic_member): Allow matching ':' in tty name.
688 * libpam_misc/misc_conv.c (read_string): Read only up to EOL if stdin
691 2005-11-07 Thorsten Kukuk <kukuk@thkukuk.de>
693 * modules/pam_unix/pam_unix_passwd.c (_unix_verify_shadow): Use
694 correct variable names.
696 2005-11-06 Steve Langasek <vorlon@debian.org>
698 * modules/pam_env/pam_env.c: don't treat a missing
699 /etc/environment as a fatal error when attempting to read it,
700 and try to read this file by default; this restores the behavior
703 2005-11-02 Tomas Mraz <t8m@centrum.cz>
705 * modules/pam_unix/support.c (_unix_getpwnam): Fix typo [#1224807]
708 * modules/pam_unix/pam_unix_passwd.c (_unix_verify_shadow): Change the
709 logic when comparing dates to handle corner cases better [#1245888].
711 2005-10-31 Thorsten Kukuk <kukuk@suse.de>
713 * modules/pam_filter/pam_filter.c: Use XCASE only if defined
716 2005-10-27 Thorsten Kukuk <kukuk@suse.de>
718 * doc/man/pam.8: Fix wording for authentication chapter [#1197444]
720 2005-10-26 Tomas Mraz <t8m@centrum.cz>
722 * modules/pam_unix/pam_unix_acct.c (_unix_run_verify_binary),
723 modules/pam_unix/pam_unix_passwd.c (_unix_run_shadow_binary),
724 modules/pam_unix/support.c (_unix_run_shadow_binary_): Set real
725 uid to 0 before executing the helper if SELinux is enabled.
726 * modules/pam_unix/unix_chkpwd.c (main): Disable user check only
727 if real uid is 0 (CVE-2005-2977). Log failed password check attempt.
730 2005-10-20 Tomas Mraz <t8m@centrum.cz>
732 * configure.in: Added check for xauth binary and --with-xauth option.
733 * config.h.in: Added configurable PAM_PATH_XAUTH.
734 * modules/pam_xauth/README,
735 modules/pam_xauth/pam_xauth.8: Document where xauth is looked for.
736 * modules/pam_xauth/pam_xauth.c (pam_sm_open_session): Implement
737 searching xauth binary on multiple places.
738 (run_coprocess): Don't use execvp as it can be a security risk.
740 2005-10-04 Steve Langasek <vorlon@debian.org>
742 * libpam/include/security/pam_malloc.h,
743 libpam/include/security/pam_modules.h: Declare public header
744 files extern "C" so that they are C++-safe.
746 2005-10-02 Dmitry V. Levin <ldv@altlinux.org>
747 Steve Langasek <vorlon@debian.org>
749 Cleanup gratuitous use of strdup().
750 Fix "missing argument" checks.
752 * modules/pam_env/pam_env.c (_pam_parse): Add const qualifier
753 to conffile and envfile arguments. Do not use x_strdup() for
754 conffile and envfile initialization. Fix "missing argument"
756 (_parse_config_file): Take conffile argument of type "const char *"
757 instead of "char **". Do not free conffile.
758 (_parse_env_file): Take env_file argument of type "const char *"
759 instead of "char **". Do not free env_file.
760 (pam_sm_setcred): Add const qualifier to conf_file and env_file.
761 Pass conf_file and env_file to _parse_config_file() and
762 _parse_env_file() by value.
763 (pam_sm_open_session): Likewise.
765 * modules/pam_ftp/pam_ftp.c (_pam_parse): Add const qualifier to
766 users argument. Do not use x_strdup() for users initialization.
767 (lookup): Add const qualifier to list argument.
768 (pam_sm_authenticate): Add const qualifier to users argument.
770 * modules/pam_mail/pam_mail.c (_pam_parse): Add const qualifier
771 to maildir argument. Do not use x_strdup() for maildir
772 initialization. Fix "missing argument" check.
773 (get_folder): Take path_mail argument of type "const char *"
774 instead of "char **". Do not free path_mail.
775 (_do_mail): Add const qualifier to path_mail argument.
776 Pass path_mail to get_folder() by value.
778 * modules/pam_motd/pam_motd.c: Include <syslog.h>.
779 (pam_sm_open_session): Add const qualifier to motd_path.
780 Do not use x_strdup() for motd_path initialization. Do not
781 free motd_path. Fix "missing argument" check. Add "unknown
784 * modules/pam_userdb/pam_userdb.c (_pam_parse): Add const
785 qualifier to database and cryptmode arguments. Fix "missing
787 (pam_sm_authenticate): Add const qualifier to database and cryptmode.
788 (pam_sm_acct_mgmt): Likewise.
790 2005-10-01 Steve Langasek <vorlon@debian.org>
792 * modules/pam_userdb/pam_userdb.c: spelling fix in log message.
794 2005-09-30 Steve Langasek <vorlon@debian.org>
796 * modules/pam_userdb/pam_userdb.c: Fix memory leak due to
797 gratuitous use of strdup().
799 2005-09-27 Thorsten Kukuk <kukuk@thkukuk.de>
803 * doc/specs/Makefile.am (install-data-local): Install
805 (all): Copy rfc if we build outside of source directory.
807 2005-09-27 Thorsten Kukuk <kukuk@suse.de>
809 * NEWS: Document removal of pam_radius.
810 * autogen.sh: Make configure script executeable.
812 * conv/pam_conv1/Makefile (EXTRA_DIST): Removed lex.yy.c
813 (lex.yy.c): Fixed out of tree build.
815 * conv/pam_conv1/pam_conv.y: Fix main prototype.
819 * po/POTFILES.in: Remove files not distributed by tar archive
820 and not containing strings for translation.
822 2005-09-26 Tomas Mraz <t8m@centrum.cz>
824 * NEWS: Add a few missing entries from CHANGELOG.
826 * AUTHORS: Fixed entries for Toady and me.
828 * Makefile.am (M4_FILES): Fixed out of tree build.
829 * doc/specs/Makefile.am (EXTRA_DIST): Removed lex.yy.c
830 (spec, lex.yy.c): Fixed out of tree build.
832 * modules/pam_userdb/README: Document try_first_pass and
833 use_first_pass options, remove use_authtok option.
836 2005-09-26 Dmitry V. Levin <ldv@altlinux.org>
838 * NEWS: Mention changes in pam_lastlog.
840 2005-09-26 Thorsten Kukuk <kukuk@suse.de>
843 * autogen.sh: Don't generate NEWS file.
844 * CHANGELOG: Document it as obsolete.
846 2005-09-26 Tomas Mraz <t8m@centrum.cz>
848 * modules/pam_unix/pam_unix_acct.c (_unix_run_verify_binary):
849 _log_err() -> pam_syslog()
850 (pam_sm_acct_mgmt): _log_err() -> pam_syslog(), fix warning.
851 * modules/pam_unix/pam_unix_auth.c (pam_sm_authenticate):
852 _log_err() -> pam_syslog()
853 * modules/pam_unix/pam_unix_passwd.c: removed obsolete ifdef
854 (getNISserver, _unix_run_shadow_binary, _update_passwd,
855 _update_shadow, _do_setpass, _pam_unix_approve_pass,
856 pam_sm_chauthtok): _log_err() -> pam_syslog()
857 * modules/pam_unix/pam_unix_sess.c: removed obsolete ifdef
858 (pam_sm_open_session, pam_sm_close_session):
859 _log_err() -> pam_syslog()
860 * modules/pam_unix/support.c (_log_err, converse): removed
861 (_make_remark): use pam_prompt() instead of converse()
862 (_set_ctrl, _cleanup_failures, _unix_run_helper_binary,
863 _unix_verify_password, _unix_read_password):
864 _log_err() -> pam_syslog()
865 _cleanup(), _unix_cleanup(): Silence unused param warnings.
866 (_cleanup_failures, _unix_verify_password, _unix_getpwnam,
867 _unix_run_helper_binary): Silence incorrect type warnings.
868 (_unix_read_password): Use multiple pam_prompt() and pam_info() calls
869 instead of converse().
870 * modules/pam_unix/support.h (_log_err): removed
871 * modules/pam_unix/unix_chkpwd.c (_log_err): LOG_AUTH -> LOG_AUTHPRIV
873 2005-09-26 Thorsten Kukuk <kukuk@suse.de>
875 * configure.in: Add doc/specs/Makefile.
876 * Makefile.am: Add releasedocs rule.
877 * doc/Makefile.am: Add specs subdir, remove files from specs
878 directory, add rfc86.0.txt to releasedocs.
879 * doc/specs/Makefile.am: New file.
880 * doc/specs/formatter/parse.y: move from here ...
881 * doc/specs/parse.y: ... here.
882 * doc/specs/formatter/parse.lex: move from here ...
883 * doc/specs/parse.lex: ... here.
885 * modules/pam_mail/pam_mail.c: Mark missing strings for translation
886 * po/Linux-PAM.pot: Add new strings from pam_mail
887 * po/cs.po: Likewise.
888 * po/de.po: Likewise.
889 * po/es.po: Likewise.
890 * po/fi.po: Likewise.
891 * po/fr.po: Likewise.
892 * po/hu.po: Likewise.
893 * po/it.po: Likewise.
894 * po/ja.po: Likewise.
895 * po/nb.po: Likewise.
896 * po/pa.po: Likewise.
897 * po/pl.po: Likewise.
898 * po/pt.po: Likewise.
899 * po/pt_BR.po: Likewise.
900 * po/zh_CN.po: Likewise.
901 * po/zh_TW.po: Likewise.
903 2005-09-23 Tomas Mraz <t8m@centrum.cz>
905 * modules/pam_access/pam_access.c (from_match): Support NULL from.
906 (string_match): Support NULL string, add NONE keyword matching it.
907 (pam_sm_acct_mgmt): Don't fail when ttyname returns NULL.
908 * modules/pam_access/access.conf: NONE keyword description
909 * modules/pam_access/README: NONE keyword description
911 2005-09-22 Dmitry V. Levin <ldv@altlinux.org>
913 * modules/pam_xauth/pam_xauth.c: (check_acl, pam_sm_open_session,
914 pam_sm_close_session): Strip redundant "pam_xauth: " prefix from
915 text of log messages.
916 (pam_sm_open_session): Replace sequence of malloc(), strcpy()
917 and strcat() calls with asprintf(). Replace syslog() calls
920 * modules/pam_nologin/pam_nologin.c (parse_args): Use strncmp()
921 instead of memcmp() for string comparison.
923 2005-09-21 Dmitry V. Levin <ldv@altlinux.org>
925 * modules/pam_nologin/pam_nologin.c: Include <syslog.h>.
926 (parse_args): Add pam_handle_t* argument. Log unrecognized
928 (perform_check): Log pam_get_user() and malloc() failures.
929 (pam_sm_authenticate, pam_sm_setcred, pam_sm_acct_mgmt):
930 Pass pam_handle_t* to parse_args().
932 * modules/pam_mail/pam_mail.c: Include <errno.h>.
933 Remove YOUR_MAIL_VERBOSE_FORMAT, YOUR_MAIL_STANDARD_FORMAT and
934 NO_MAIL_STANDARD_FORMAT macros.
935 (parse_args, get_folder): Cleanup error messages.
936 (get_folder): Fix leak of the path_mail variable in case of
937 pam_get_user() failure. Cleanup memory management.
938 (get_mail_status): Add pam_handle_t* argument. Fix leaks of
939 namelist variable. Cleanup memory management. Log memory
940 allocation failures. Remove 250-byte limit on Maildir pathname.
941 (report_mail): Mark text messages for translation.
942 (_do_mail): Cleanup memory management. Pass pam_handle_t*
943 to get_mail_status().
945 * po/Linux-PAM.pot: Update with new strings from pam_mail for
947 * po/cs.po: Likewise.
948 * po/de.po: Likewise.
949 * po/es.po: Likewise.
950 * po/fi.po: Likewise.
951 * po/fr.po: Likewise.
952 * po/hu.po: Likewise.
953 * po/it.po: Likewise.
954 * po/ja.po: Likewise.
955 * po/nb.po: Likewise.
956 * po/pa.po: Likewise.
957 * po/pl.po: Likewise.
958 * po/pt.po: Likewise.
959 * po/pt_BR.po: Likewise.
960 * po/zh_CN.po: Likewise.
961 * po/zh_TW.po: Likewise.
963 2005-09-20 Thorsten Kukuk <kukuk@suse.de>
965 * configure.in: Add finish translation.
968 * acinclude.m4: remove libprelude macros.
969 * m4/libprelude.m4: New.
971 * Makefile.am (EXTRA_DIST): make sure we include all m4 macros.
973 * libpamc/Makefile.am (EXTRA_DIST): Add License.
975 See CHANGELOG for earlier changes.