]> granicus.if.org Git - linux-pam/blob - ChangeLog
Relevant BUGIDs:
[linux-pam] / ChangeLog
1 2006-01-30  Thorsten Kukuk  <kukuk@thkukuk.de>
2
3         * modules/pam_exec/pam_exec.8.xml: Fix syntax of Return Value section.
4         * modules/pam_exec/Makefile.am: Include Make.xml.rules.
5
6         * Make.xml.rules: New.
7
8         * Makefile.am (EXTRA_DIST): Add Make.xml.rules.
9
10 2006-01-27  Thorsten Kukuk  <kukuk@thkukuk.de>
11
12         * configure.in: Prefer libdb over libndbm, fix check for
13         libcrack and remove not needed BACKUP_LIBS.
14
15 2006-01-24  Thorsten Kukuk  <kukuk@thkukuk.de>
16
17         * modules/pam_debug/pam_debug.c: Fix name of pam_module struct.
18
19         * po/de.po: Fix one translation.
20
21         * configure.in: Add modules/pam_exec.
22         * modules/Makefile.am: Add pam_exec subdirectory.
23         * modules/pam_exec/README: New.
24         * modules/pam_exec/Makefile.am: New.
25         * modules/pam_exec/pam_exec.8: New.
26         * modules/pam_exec/pam_exec.c: New.
27         * modules/pam_exec/pam_exec.8.xml: New.
28         * po/POTFILES.in: Add modules/pam_exec/pam_exec.c.
29         * po/*.po: Merge new pam_exec strings.
30
31         * libpam/pam_static_modules.h: New.
32         * Makefile.am: Reorder subdirectories for static modules.
33         * configure.in: Add --enable-static-modules option.
34         * libpam/Makefile.am: Define WITH_SELINUX and WITH_PWDB if
35         necessary, add pam_static_modules.h, link against all PAM
36         module object files if STATIC_MODULES is defined.
37         * libpam/pam_static.c: Remove old _static_module* includes,
38         include pam_static_modules.h.
39
40         * configure.in: Add checks for xsltproc, xmllint and docbook
41         xsl stylesheet.
42         * m4/jh_path_xml_catalog.m4: New.
43
44 2006-01-22  Thorsten Kukuk  <kukuk@thkukuk.de>
45
46         * modules/pam_succeed_if/pam_succeed_if.c: Add support for
47         static modules.
48         * modules/pam_xauth/pam_xauth.c: Likewise.
49
50         * libpam/pam_static.c (_pam_open_static_handler): Add pamh
51         as argument.
52         * libpam/pam_private.h: Adjust prototype.
53         * libpam/pam_handlers.c (_pam_add_handler): Add pamh to
54         _pam_open_static_handler call.
55
56         * configure.in: Don't define PAM_DYNAMIC.
57         * libpam/pam_handlers.c: Get ride of PAM_DYNAMIC, don't
58         include pam_dynamic.h
59         * libpam/pam_dynamic.c: Don't include pam_dynamic.h,
60         exclude functions if we compile with PAM_STATIC.
61         * libpam/pam_dynamic.h: Remove.
62         * libpam/pam_private.h: Add function prototypes from pam_dynamic.h.
63         * libpam/Makefile.am: Bump version number of libpam, remove
64         pam_dynamic.h.
65
66 2006-01-21  Thorsten Kukuk  <kukuk@thkukuk.de>
67
68         * modules/pam_listfile/pam_listfile.c: Add support for session
69         and password management.
70
71 2006-01-19  Thorsten Kukuk  <kukuk@suse.de>
72
73         * doc/specs/Makefile.am (spec): Add padout to fix parallel
74         build (Reported by Andreas Haumer <andreas@xss.co.at>).
75
76 2006-01-15  Thorsten Kukuk  <kukuk@thkukuk.de>
77
78         * modules/pam_echo/pam_echo.c: Define HOST_NAME_MAX if not
79         already defined.
80
81 2006-01-13  Thorsten Kukuk  <kukuk@thkukuk.de>
82
83         * release version 0.99.3.0
84
85         * libpam_misc/misc_conv.c (misc_conv): Fix strict aliasing
86         error.
87
88         * modules/pam_umask/pam_umask.c (search_key): Don't ignore
89         EOF/error return value from fgets().
90
91         * configure.in: Check for getline and getdelim
92
93         * po/fi.po: Add new translations.
94         * po/de.po: Likewise.
95         * po/es.po: Likewise.
96         * po/fr.po: Likewise.
97         * po/it.po: Likewise.
98         * po/ja.po: Likewise.
99         * po/pt_BR.po: Likewise.
100         * po/zh_CH.po: Likewise.
101         * po/zh_TW.po: Likewise.
102
103 2006-01-13  Dmitry V. Levin  <ldv@altlinux.org>
104
105         * libpam/pam_audit.c (_pam_auditlog): Replace strerror(errno)
106         call with %m specifier.
107
108 2006-01-12  Thorsten Kukuk  <kukuk@thkukuk.de>
109
110         * configure.in: Add check for -fpie/-pie
111         * modules/pam_filter/upperLOWER/Makefile.am: Compile/link
112         upperLOWER with -fpie/-pie if supported.
113         * modules/pam_unix/Makefile.am: Compile/link unix_chkpwd
114         with -fpie/-pie if supported.
115
116 2006-01-12  Steve Grubb  <sgrubb@redhat.com>
117
118         * configure.in: Add check for audit library.
119         * libpam/Makefile.am (libpam_la_LDFLAGS): Add LIBAUDIT.
120         (libpam_la_SOURCES): Add pam_audit.c.
121         * libpam/pam_account.c (pam_acct_mgmt): Add _pam_auditlog() call.
122         * libpam/pam_auth.c (pam_authenticate), (pam_setcred): Likewise.
123         * libpam/pam_password.c (pam_chauthtok):  Likewise.
124         * libpam/pam_session.c (pam_open_session),
125         (pam_close_session): Likewise.
126         * libpam/pam_private.h: Add audit_state member to pam_handle,
127         declare _pam_auditlog and _pam_audit_end.
128         * libpam/pam_start.c (pam_start): Initialize audit_state.
129         * libpam/pam_audit.c: New file with _pam_auditlog and _pam_audit_end
130         implementation.
131         * libpam/pam_end.c (pam_end): Add _pam_audit_end() call.
132         * NEWS: Note about added auditing.
133
134 2006-01-11  Thorsten Kukuk  <kukuk@thkukuk.de>
135
136         * libpam/Makefile.am (AM_CFLAGS): Define LIBPAM_COMPILE.
137
138         * libpam/include/security/_pam_types.h: Don't define PAM_NONNULL
139         if we compile libpam itself.
140
141         * po/hu.po: Update with new translations.
142
143 2006-01-08  Thorsten Kukuk  <kukuk@thkukuk.de>
144
145         * modules/pam_cracklib/pam_cracklib.c: Use PAM_AUTHTOK_RECOVERY_ERR
146         instead of PAM_AUTHTOK_RECOVER_ERR.
147         * modules/pam_pwdb/support.-c: Likewise.
148         * modules/pam_unix/support.c: Likewise.
149         * modules/pam_userdb/pam_userdb.c (pam_sm_authenticate): Likewise.
150         * libpam/pam_strerror.c (pam_strerror): Likewise.
151
152         * libpam/include/security/_pam_compat.h: Define
153         PAM_AUTHTOK_RECOVER_ERR for backward compatibility.
154
155         * libpam/include/security/_pam_types.h: Rename
156         PAM_AUTHTOK_RECOVER_ERR to PAM_AUTHTOK_RECOVERY_ERR.
157
158 2006-01-05  Thorsten Kukuk  <kukuk@thkukuk.de>
159
160         * libpam/include/security/_pam_types.h: Remove nonnull attribute
161         from third paramter (item) of pam_get_item.
162         * libpam/Makefile.am: Bump version number of shared library.
163
164 2005-12-21  Tomas Mraz <t8m@centrum.cz>
165
166         * modules/pam_succeed_if/pam_succeed_if.c (evaluate_ingroup),
167         (evaluate_notingroup): Simplified.
168         (evaluate_innetgr), (evaluate_notinnetgr): New functions.
169         (evaluate): Added calls to evaluate_(not)innetgr().
170         * modules/pam_succeed_if/README: Documented netgroup matching.
171         * NEWS: Mentioned the added netgroup matching support.
172
173 2005-12-20  Thorsten Kukuk  <kukuk@thkukuk.de>
174
175         * modules/pam_lastlog/pam_lastlog.c (last_login_read): Use
176         strftime instead of ctime.
177
178         * po/de.po: Fix typo.
179
180 2005-12-19  Thorsten Kukuk  <kukuk@thkukuk.de>
181
182         * libpam/pam_syslog.c: Define LOG_AUTHPRIV as LOG_AUTH on Solaris.
183         Reported by Charles_H_Bedford@nbc.gov.
184
185         * modules/pam_time/pam_time.c (check_account): Implement
186         support for netgroups.
187
188         * modules/pam_time/time.conf: Document usage of netgroups.
189
190 2005-12-16  Thorsten Kukuk  <kukuk@thkukuk.de>
191
192         * modules/pam_group/pam_group.c (check_account): Implement
193         support for netgroups.
194
195         * modules/pam_group/group.conf: Add all documentation to this
196         example config file and don't reference to outdated configs.
197
198         * modules/pam_group/README: New.
199
200         * modules/pam_group/Makefile.am: Add README to EXTRADIST.
201
202 2005-12-15  Thorsten Kukuk  <kukuk@suse.de>
203
204         * modules/pam_lastlog/pam_lastlog.c (last_login_read): Don't report an
205         error if user logins the first time.
206
207         * modules/pam_lastlog/README: New.
208
209         * modules/pam_lastlog/Makefile.am: Add README to EXTRADIST.
210
211 2005-12-14  Thorsten Kukuk  <kukuk@suse.de>
212
213         * modules/pam_deny/pam_deny.c: Fix comment.
214
215         * doc/pam_appl.sgml: Fix typo.
216
217         Reported by Russell Bateman <russ@windofkeltia.com>
218
219 2005-12-12  Thorsten Kukuk  <kukuk@thkukuk.de>
220
221         * release version 0.99.2.1
222
223         * po/de.po: Remove new fuzzy entry
224
225         * NEWS: Add 0.99.2.1 changes
226
227         * configure.in: bump version number to 0.99.2.1
228
229 2005-12-12  Dmitry V. Levin  <ldv@altlinux.org>
230
231         Cleanup pam_syslog messages.
232
233         * modules/pam_env/pam_env.c (_expand_arg): Fix compiler warning.
234         * modules/pam_filter/pam_filter.c (set_filter): Append %m
235         specifier to pam_syslog messages where appropriate.
236         * modules/pam_group/pam_group.c (read_field): Likewise.
237         * modules/pam_mkhomedir/pam_mkhomedir.c (make_remark): Remove.
238         (create_homedir): Do not use make_remark() wrapper, call
239         pam_info() directly.  Call pam_syslog() right after failed
240         operation and append %m specifier to pam_syslog messages where
241         appropriate.
242         * modules/pam_rhosts/pam_rhosts_auth.c (pam_iruserok): Replace
243         sequence of malloc(), strcpy() and strcat() calls with asprintf().
244         Append %m specifier to pam_syslog messages where appropriate.
245         * modules/pam_securetty/pam_securetty.c (securetty_perform_check):
246         Append %m specifier to pam_syslog messages where appropriate.
247         * modules/pam_shells/pam_shells.c (perform_check): Likewise.
248
249 2005-12-12  Tomas Mraz  <t8m@centrum.cz>
250
251         * modules/pam_mail/pam_mail.c (report_mail): Fixed typo in string.
252         * po/Linux-PAM.pot: Likewise.
253         * po/de.po: Likewise.
254         * po/es.po: Likewise.
255         * po/fi.po: Likewise.
256         * po/fr.po: Likewise.
257         * po/hu.po: Likewise.
258         * po/it.po: Likewise.
259         * po/ja.po: Likewise.
260         * po/nb.po: Likewise.
261         * po/pa.po: Likewise.
262         * po/pl.po: Likewise.
263         * po/pt.po: Likewise.
264         * po/pt_BR.po: Likewise.
265         * po/zh_CN.po: Likewise.
266         * po/zh_TW.po: Likewise.
267         * po/de.po: Add new translation, fixed typo in string.
268
269 2005-12-12  Mike Becher  <Mike.Becher@lrz-muenchen.de>
270
271         * doc/Makefile.am: Fixed install of PS, PDF, TXT and HTML files.
272
273 2005-12-12  Thorsten Kukuk  <kukuk@suse.de>
274
275         * modules/pam_mail/README: Document "quiet" and "standard"
276         options.
277
278 2005-12-07  Thorsten Kukuk  <kukuk@suse.de>
279
280         * modules/pam_mail/pam_mail.c: Modify assembling of output
281         for easier translation.
282
283         * po/de.po: Translate new pam_mail messages.
284
285
286 2005-11-24  Thorsten Kukuk  <kukuk@thkukuk.de>
287
288         * po/de.po: Add new translation, fix wrong format specifier.
289         * po/cs.po: Fix wrong format specifier.
290         * po/es.po: Likewise.
291         * po/fi.po: Likewise.
292         * po/fr.po: Likewise.
293         * po/hu.po: Likewise.
294         * po/it.po: Likewise.
295         * po/ja.po: Likewise.
296         * po/nb.po: Likewise.
297         * po/pa.po: Likewise.
298         * po/pl.po: Likewise.
299         * po/pt.po: Likewise.
300         * po/pt_BR.po: Likewise.
301         * po/zh_CN.po: Likewise.
302         * po/zh_TW.po: Likewise.
303
304 2005-11-24  Dmitry V. Levin  <ldv@altlinux.org>
305
306         * config.h.in: Remove generated file.
307         * .cvsignore: Add config.h.in.
308
309         * configure.in: Do not check for strerror.
310         * libpam_misc/misc_conv.c (read_string): Replace strerror()
311         call with %m specifier.
312         * libpamc/pamc_converse.c (pamc_converse): Likewise.
313         * modules/pam_echo/pam_echo.c (pam_echo): Likewise.
314         * modules/pam_localuser/pam_localuser.c (pam_sm_authenticate):
315         Likewise.
316         * modules/pam_selinux/pam_selinux.c (security_label_tty):
317         Likewise.
318         (security_restorelabel_tty, security_label_tty): Append %m
319         specifier where appropriate.
320         * modules/pam_selinux/pam_selinux_check.c (main): Replace
321         strerror() call with %m specifier.
322         * modules/pam_unix/pam_unix_passwd.c (save_old_password,
323         _update_passwd, _update_shadow): Likewise.
324         * modules/pam_unix/support.c (_unix_run_helper_binary): Likewise.
325         * modules/pam_unix/unix_chkpwd.c (_update_shadow): Likewise.
326         * po/Linux-PAM.pot: Update strings from pam_selinux.
327         * po/cs.po: Likewise.
328         * po/de.po: Likewise.
329         * po/es.po: Likewise.
330         * po/fi.po: Likewise.
331         * po/fr.po: Likewise.
332         * po/hu.po: Likewise.
333         * po/it.po: Likewise.
334         * po/ja.po: Likewise.
335         * po/nb.po: Likewise.
336         * po/pa.po: Likewise.
337         * po/pl.po: Likewise.
338         * po/pt.po: Likewise.
339         * po/pt_BR.po: Likewise.
340         * po/zh_CN.po: Likewise.
341         * po/zh_TW.po: Likewise.
342
343 2005-11-23  Thorsten Kukuk  <kukuk@suse.de>
344
345         * modules/pam_xauth/pam_xauth.c (pam_sm_open_session): Introduce
346         new variable to fix compiler warning.
347
348         * libpam/pam_modutil_getlogin.c (pam_modutil_getlogin): PAM_TTY
349         don't need to start with /dev/.
350
351 2005-11-21  Thorsten Kukuk  <kukuk@thkukuk.de>
352
353         * release version 0.99.2.0
354
355         * libpam_misc/Makefile.am: Increase release number (for change
356         from 2005-11-09)
357
358         * NEWS: Adjust for 0.99.2.0
359
360 2005-11-17  Thorsten Kukuk  <kukuk@thkukuk.de>
361
362         * libpam/include/security/_pam_compat.h: Fix wrong #ifdef nesting.
363         Redefine PAM_CHANGE_EXPIRED_AUTHTOK [#604380]
364
365 2005-11-16  Thorsten Kukuk  <kukuk@thkukuk.de>
366
367         * libpam/pam_handlers.c: Replace code for all dlopen variants with
368         a generic wrapper.
369         * libpam/pam_dynamic.c: Implement generic wrapper for dlopen.
370         * libpam/pam_dynamic.h: Provide prototypes.
371         For Mac OS X support [#534205]
372
373 2005-11-09  Tomas Mraz <t8m@centrum.cz>
374
375         * modules/pam_access/pam_access.c (pam_sm_acct_mgmt): Parse correctly
376         full path tty name.
377         * modules/pam_time/pam_time.c (pam_sm_acct_mgmt): Parse correctly
378         full path tty name. Allow unset tty.
379         (logic_member): Allow matching ':' in tty name.
380         * modules/pam_group/pam_group.c (pam_sm_acct_mgmt): Parse correctly
381         full path tty name. Allow unset tty.
382         (logic_member): Allow matching ':' in tty name.
383
384         * libpam_misc/misc_conv.c (read_string): Read only up to EOL if stdin
385         is not terminal.
386
387 2005-11-07  Thorsten Kukuk  <kukuk@thkukuk.de>
388
389         * modules/pam_unix/pam_unix_passwd.c (_unix_verify_shadow): Use
390         correct variable names.
391
392 2005-11-06  Steve Langasek <vorlon@debian.org>
393
394         * modules/pam_env/pam_env.c: don't treat a missing
395         /etc/environment as a fatal error when attempting to read it,
396         and try to read this file by default; this restores the behavior
397         from Linux-PAM 0.76.
398
399 2005-11-02  Tomas Mraz <t8m@centrum.cz>
400
401         * modules/pam_unix/support.c (_unix_getpwnam): Fix typo [#1224807]
402         by ohyajapn.
403
404         * modules/pam_unix/pam_unix_passwd.c (_unix_verify_shadow): Change the
405         logic when comparing dates to handle corner cases better [#1245888].
406
407 2005-10-31  Thorsten Kukuk  <kukuk@suse.de>
408
409         * modules/pam_filter/pam_filter.c: Use XCASE only if defined
410         [#624214]
411
412 2005-10-27  Thorsten Kukuk  <kukuk@suse.de>
413
414         * doc/man/pam.8: Fix wording for authentication chapter [#1197444]
415
416 2005-10-26  Tomas Mraz  <t8m@centrum.cz>
417
418         * modules/pam_unix/pam_unix_acct.c (_unix_run_verify_binary),
419         modules/pam_unix/pam_unix_passwd.c (_unix_run_shadow_binary),
420         modules/pam_unix/support.c (_unix_run_shadow_binary_): Set real
421         uid to 0 before executing the helper if SELinux is enabled.
422         * modules/pam_unix/unix_chkpwd.c (main): Disable user check only
423         if real uid is 0 (CVE-2005-2977). Log failed password check attempt.
424
425
426 2005-10-20  Tomas Mraz  <t8m@centrum.cz>
427
428         * configure.in: Added check for xauth binary and --with-xauth option.
429         * config.h.in: Added configurable PAM_PATH_XAUTH.
430         * modules/pam_xauth/README,
431         modules/pam_xauth/pam_xauth.8: Document where xauth is looked for.
432         * modules/pam_xauth/pam_xauth.c (pam_sm_open_session): Implement
433         searching xauth binary on multiple places.
434         (run_coprocess): Don't use execvp as it can be a security risk.
435
436 2005-10-04  Steve Langasek  <vorlon@debian.org>
437
438         * libpam/include/security/pam_malloc.h,
439         libpam/include/security/pam_modules.h: Declare public header
440         files extern "C" so that they are C++-safe.
441
442 2005-10-02  Dmitry V. Levin  <ldv@altlinux.org>
443             Steve Langasek  <vorlon@debian.org>
444
445         Cleanup gratuitous use of strdup().
446         Fix "missing argument" checks.
447
448         * modules/pam_env/pam_env.c (_pam_parse): Add const qualifier
449         to conffile and envfile arguments.  Do not use x_strdup() for
450         conffile and envfile initialization.  Fix "missing argument"
451         checks.
452         (_parse_config_file): Take conffile argument of type "const char *"
453         instead of "char **".  Do not free conffile.
454         (_parse_env_file): Take env_file argument of type "const char *"
455         instead of "char **".  Do not free env_file.
456         (pam_sm_setcred): Add const qualifier to conf_file and env_file.
457         Pass conf_file and env_file to _parse_config_file() and
458         _parse_env_file() by value.
459         (pam_sm_open_session): Likewise.
460
461         * modules/pam_ftp/pam_ftp.c (_pam_parse): Add const qualifier to
462         users argument.  Do not use x_strdup() for users initialization.
463         (lookup):  Add const qualifier to list argument.
464         (pam_sm_authenticate): Add const qualifier to users argument.
465
466         * modules/pam_mail/pam_mail.c (_pam_parse): Add const qualifier
467         to maildir argument.  Do not use x_strdup() for maildir
468         initialization.  Fix "missing argument" check.
469         (get_folder): Take path_mail argument of type "const char *"
470         instead of "char **".  Do not free path_mail.
471         (_do_mail): Add const qualifier to path_mail argument.
472         Pass path_mail to get_folder() by value.
473
474         * modules/pam_motd/pam_motd.c: Include <syslog.h>.
475         (pam_sm_open_session): Add const qualifier to motd_path.
476         Do not use x_strdup() for motd_path initialization.  Do not
477         free motd_path.  Fix "missing argument" check.  Add "unknown
478         option" warning.
479
480         * modules/pam_userdb/pam_userdb.c (_pam_parse): Add const
481         qualifier to database and cryptmode arguments.  Fix "missing
482         argument" checks.
483         (pam_sm_authenticate): Add const qualifier to database and cryptmode.
484         (pam_sm_acct_mgmt): Likewise.
485
486 2005-10-01  Steve Langasek  <vorlon@debian.org>
487
488         * modules/pam_userdb/pam_userdb.c: spelling fix in log message.
489
490 2005-09-30  Steve Langasek  <vorlon@debian.org>
491
492         * modules/pam_userdb/pam_userdb.c: Fix memory leak due to
493         gratuitous use of strdup().
494
495 2005-09-27  Thorsten Kukuk  <kukuk@thkukuk.de>
496
497         * release 0.99.1.0
498
499         * doc/specs/Makefile.am (install-data-local): Install
500         rfc and draft.
501         (all): Copy rfc if we build outside of source directory.
502
503 2005-09-27  Thorsten Kukuk  <kukuk@suse.de>
504
505         * NEWS: Document removal of pam_radius.
506         * autogen.sh: Make configure script executeable.
507
508         * conv/pam_conv1/Makefile (EXTRA_DIST): Removed lex.yy.c
509         (lex.yy.c): Fixed out of tree build.
510
511         * conv/pam_conv1/pam_conv.y: Fix main prototype.
512
513         * README: Adjust.
514
515         * po/POTFILES.in: Remove files not distributed by tar archive
516         and not containing strings for translation.
517
518 2005-09-26  Tomas Mraz  <t8m@centrum.cz>
519
520         * NEWS: Add a few missing entries from CHANGELOG.
521
522         * AUTHORS: Fixed entries for Toady and me.
523
524         * Makefile.am (M4_FILES): Fixed out of tree build.
525         * doc/specs/Makefile.am (EXTRA_DIST): Removed lex.yy.c
526         (spec, lex.yy.c): Fixed out of tree build.
527
528         * modules/pam_userdb/README: Document try_first_pass and
529         use_first_pass options, remove use_authtok option.
530
531
532 2005-09-26  Dmitry V. Levin  <ldv@altlinux.org>
533
534         * NEWS: Mention changes in pam_lastlog.
535
536 2005-09-26  Thorsten Kukuk  <kukuk@suse.de>
537
538         * NEWS: New file.
539         * autogen.sh: Don't generate NEWS file.
540         * CHANGELOG: Document it as obsolete.
541
542 2005-09-26  Tomas Mraz  <t8m@centrum.cz>
543
544         * modules/pam_unix/pam_unix_acct.c (_unix_run_verify_binary):
545         _log_err() -> pam_syslog()
546         (pam_sm_acct_mgmt): _log_err() -> pam_syslog(), fix warning.
547         * modules/pam_unix/pam_unix_auth.c (pam_sm_authenticate):
548         _log_err() -> pam_syslog()
549         * modules/pam_unix/pam_unix_passwd.c: removed obsolete ifdef
550         (getNISserver, _unix_run_shadow_binary, _update_passwd,
551         _update_shadow, _do_setpass, _pam_unix_approve_pass,
552         pam_sm_chauthtok): _log_err() -> pam_syslog()
553         * modules/pam_unix/pam_unix_sess.c: removed obsolete ifdef
554         (pam_sm_open_session, pam_sm_close_session):
555         _log_err() -> pam_syslog()
556         * modules/pam_unix/support.c (_log_err, converse): removed
557         (_make_remark): use pam_prompt() instead of converse()
558         (_set_ctrl, _cleanup_failures, _unix_run_helper_binary,
559         _unix_verify_password, _unix_read_password):
560         _log_err() -> pam_syslog()
561         _cleanup(), _unix_cleanup(): Silence unused param warnings.
562         (_cleanup_failures, _unix_verify_password, _unix_getpwnam,
563         _unix_run_helper_binary): Silence incorrect type warnings.
564         (_unix_read_password): Use multiple pam_prompt() and pam_info() calls
565         instead of converse().
566         * modules/pam_unix/support.h (_log_err): removed
567         * modules/pam_unix/unix_chkpwd.c (_log_err): LOG_AUTH -> LOG_AUTHPRIV
568
569 2005-09-26  Thorsten Kukuk  <kukuk@suse.de>
570
571         * configure.in: Add doc/specs/Makefile.
572         * Makefile.am: Add releasedocs rule.
573         * doc/Makefile.am: Add specs subdir, remove files from specs
574         directory, add rfc86.0.txt to releasedocs.
575         * doc/specs/Makefile.am: New file.
576         * doc/specs/formatter/parse.y: move from here ...
577         * doc/specs/parse.y: ... here.
578         * doc/specs/formatter/parse.lex: move from here ...
579         * doc/specs/parse.lex: ... here.
580
581         * modules/pam_mail/pam_mail.c: Mark missing strings for translation
582         * po/Linux-PAM.pot: Add new strings from pam_mail
583         * po/cs.po: Likewise.
584         * po/de.po: Likewise.
585         * po/es.po: Likewise.
586         * po/fi.po: Likewise.
587         * po/fr.po: Likewise.
588         * po/hu.po: Likewise.
589         * po/it.po: Likewise.
590         * po/ja.po: Likewise.
591         * po/nb.po: Likewise.
592         * po/pa.po: Likewise.
593         * po/pl.po: Likewise.
594         * po/pt.po: Likewise.
595         * po/pt_BR.po: Likewise.
596         * po/zh_CN.po: Likewise.
597         * po/zh_TW.po: Likewise.
598
599 2005-09-23  Tomas Mraz  <t8m@centrum.cz>
600
601         * modules/pam_access/pam_access.c (from_match): Support NULL from.
602         (string_match): Support NULL string, add NONE keyword matching it.
603         (pam_sm_acct_mgmt): Don't fail when ttyname returns NULL.
604         * modules/pam_access/access.conf: NONE keyword description
605         * modules/pam_access/README: NONE keyword description
606
607 2005-09-22  Dmitry V. Levin  <ldv@altlinux.org>
608
609         * modules/pam_xauth/pam_xauth.c: (check_acl, pam_sm_open_session,
610         pam_sm_close_session): Strip redundant "pam_xauth: " prefix from
611         text of log messages.
612         (pam_sm_open_session): Replace sequence of malloc(), strcpy()
613         and strcat() calls with asprintf().  Replace syslog() calls
614         with pam_syslog().
615
616         * modules/pam_nologin/pam_nologin.c (parse_args): Use strncmp()
617         instead of memcmp() for string comparison.
618
619 2005-09-21  Dmitry V. Levin  <ldv@altlinux.org>
620
621         * modules/pam_nologin/pam_nologin.c: Include <syslog.h>.
622         (parse_args): Add pam_handle_t* argument.  Log unrecognized
623         options.
624         (perform_check): Log pam_get_user() and malloc() failures.
625         (pam_sm_authenticate, pam_sm_setcred, pam_sm_acct_mgmt):
626         Pass pam_handle_t* to parse_args().
627
628         * modules/pam_mail/pam_mail.c: Include <errno.h>.
629         Remove YOUR_MAIL_VERBOSE_FORMAT, YOUR_MAIL_STANDARD_FORMAT and
630         NO_MAIL_STANDARD_FORMAT macros.
631         (parse_args, get_folder): Cleanup error messages.
632         (get_folder): Fix leak of the path_mail variable in case of
633         pam_get_user() failure.  Cleanup memory management.
634         (get_mail_status): Add pam_handle_t* argument.  Fix leaks of
635         namelist variable.  Cleanup memory management.  Log memory
636         allocation failures.  Remove 250-byte limit on Maildir pathname.
637         (report_mail): Mark text messages for translation.
638         (_do_mail): Cleanup memory management.  Pass pam_handle_t*
639         to get_mail_status().
640
641         * po/Linux-PAM.pot: Update with new strings from pam_mail for
642         translation.
643         * po/cs.po: Likewise.
644         * po/de.po: Likewise.
645         * po/es.po: Likewise.
646         * po/fi.po: Likewise.
647         * po/fr.po: Likewise.
648         * po/hu.po: Likewise.
649         * po/it.po: Likewise.
650         * po/ja.po: Likewise.
651         * po/nb.po: Likewise.
652         * po/pa.po: Likewise.
653         * po/pl.po: Likewise.
654         * po/pt.po: Likewise.
655         * po/pt_BR.po: Likewise.
656         * po/zh_CN.po: Likewise.
657         * po/zh_TW.po: Likewise.
658
659 2005-09-20  Thorsten Kukuk  <kukuk@suse.de>
660
661         * configure.in: Add finish translation.
662         * po/fi.po: New.
663
664         * acinclude.m4: remove libprelude macros.
665         * m4/libprelude.m4: New.
666
667         * Makefile.am (EXTRA_DIST): make sure we include all m4 macros.
668
669         * libpamc/Makefile.am (EXTRA_DIST): Add License.
670
671 See CHANGELOG for earlier changes.