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