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