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