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