~nathwill-deactivatedaccount-deactivatedaccount/ubuntu/precise/pam/lp-110287

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