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