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