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