1 2006-06-23 Thorsten Kukuk <kukuk@thkukuk.de>
3 * modules/pam_access/access.conf.5.xml: Fix syntax for SAG.
4 * modules/pam_access/pam_access.8.xml: Likewise.
5 * modules/pam_deny/pam_deny.8.xml: Likewise.
6 * modules/pam_echo/pam_echo.8.xml: Likewise.
7 * modules/pam_env/pam_env.8.xml: Likewise.
8 * modules/pam_env/pam_env.conf.5.xml: Likewise.
9 * modules/pam_group/group.conf.5.xml: Likewise.
10 * modules/pam_group/pam_group.8.xml: Likewise.
11 * modules/pam_limits/limits.conf.5.xml: Likewise.
12 * modules/pam_listfile/pam_listfile.8.xml: Likewise.
13 * modules/pam_succeed_if/pam_succeed_if.8.xml: Likewise.
14 * modules/pam_time/pam_time.8.xml: Likewise.
15 * modules/pam_time/time.conf.5.xml: Likewise.
17 * modules/pam_access/access.conf.5: Regenerate.
18 * modules/pam_access/pam_access.8: Likewise.
19 * modules/pam_deny/pam_deny.8: Likewise.
20 * modules/pam_echo/README: Likewise.
21 * modules/pam_echo/pam_echo.8: Likewise.
22 * modules/pam_env/pam_env.8: Likewise.
23 * modules/pam_env/pam_env.conf.5: Likewise.
24 * modules/pam_group/README: Likewise.
25 * modules/pam_group/group.conf.5: Likewise.
26 * modules/pam_group/pam_group.8: Likewise.
27 * modules/pam_limits/limits.conf.5: Likewise.
28 * modules/pam_listfile/README: Likewise.
29 * modules/pam_listfile/pam_listfile.8: Likewise.
30 * modules/pam_succeed_if/pam_succeed_if.8: Likewise.
31 * modules/pam_time/pam_time.8: Likewise.
32 * modules/pam_time/time.conf.5: Likewise.
34 * doc/man/Makefile.am: Add pam.conf-desc.xml, pam.conf-dir.xml
35 and pam.conf-syntax.xml.
36 * doc/man/pam.conf.5.xml: Split into different pieces for SAG.
37 * doc/man/pam.conf.5: Regenerated.
39 2006-06-21 Thorsten Kukuk <kukuk@thkukuk.de>
41 * modules/pam_selinux/Makefile.am: Fix "make dist" if libselinux
44 * modules/pam_issue/pam_issue.8.xml: Fix listing of escapes.
45 * modules/pam_issue/pam_issue.8: Regenerate.
47 2006-06-20 Thorsten Kukuk <kukuk@thkukuk.de>
49 * configure.in: Remove unused check for libcap.
51 * m4/ld-as-needed.m4: New.
53 * configure.in: Call PAM_LD_AS_NEEDED and PAM_LD_O1,
54 require docbook version 4.4.
56 2006-06-19 Thorsten Kukuk <kukuk@thkukuk.de>
58 * doc/man/pam.8.xml: Syntax cleanup.
59 * doc/pam/PAM.8: Regenerated from xml source.
60 * man/pam_sm_chauthtok.3: New.
61 * man/pam_sm_chauthtok.3.xml: New.
62 * man/pam_sm_close_session.3: New.
63 * man/pam_sm_close_session.3.xml: New.
64 * man/pam_sm_open_session.3: New.
65 * man/pam_sm_open_session.3.xml: New.
66 * man/pam_sm_authenticate.3: New.
67 * man/pam_sm_authenticate.3.xml: New.
68 * man/pam_sm_setcred.3: New.
69 * man/pam_sm_setcred.3.xml: New.
70 * man/Makefile.am: Add new pam_sm_* manual pages.
72 * specs/Makefile.am: Fix rule to generate draft.
74 2006-06-18 Thorsten Kukuk <kukuk@thkukuk.de>
76 * modules/pam_tally/Makefile.am: Include Make.xml.rules.
77 * modules/pam_tally/pam_tally.8.xml: New.
78 * modules/pam_tally/pam_tally.8: New, generated from xml file.
79 * modules/pam_tally/README.xml: New.
80 * modules/pam_tally/README: Regenerated from xml file.
82 * modules/pam_selinux/Makefile.am: Include Make.xml.rules.
83 * modules/pam_selinux/pam_selinux.8.xml: New.
84 * modules/pam_selinux/pam_selinux.8: Regenerated from xml file.
85 * modules/pam_selinux/README.xml: New.
86 * modules/pam_selinux/README: Regenerated from xml file.
88 2006-06-17 Thorsten Kukuk <kukuk@thkukuk.de>
90 * modules/pam_debug/Makefile.am: Include Make.xml.rules.
91 * modules/pam_debug/pam_debug.8.xml: New.
92 * modules/pam_debug/pam_debug.8: New, generated from xml file.
93 * modules/pam_debug/README.xml: New.
94 * modules/pam_debug/README: Regenerated from xml file.
96 * examples/vpass.c: UID is unsigned on Linux.
97 * modules/pam_exec/pam_exec.c: Likewise.
98 * modules/pam_unix/pam_unix_acct.c: Likewise.
99 * modules/pam_unix/pam_unix_sess.c: Likewise.
101 * modules/pam_succeed_if/pam_succeed_if.8.xml: Fix syntax error.
102 * modules/pam_succeed_if/pam_succeed_if.8: Regenerated.
103 * modules/pam_succeed_if/README: Regenerated.
105 * modules/pam_limits/Makefile.am: Include Make.xml.rules.
106 * modules/pam_limits/limits.conf.5: New, generated from xml file.
107 * modules/pam_limits/limits.conf.5.xml: New.
108 * modules/pam_limits/pam_limits.8: New, generated from xml file.
109 * modules/pam_limits/pam_limits.8.xml: New.
110 * modules/pam_limits/README.xml: New.
111 * modules/pam_limits/README: Regenerated from README.xml.
113 2006-06-16 Thorsten Kukuk <kukuk@thkukuk.de>
115 * modules/pam_unix/pam_unix_passwd.c (save_old_password): UIDs
116 are unsigned on Linux, don't truncate them.
117 (_do_setpass): err is of type clnt_stat, not int.
119 * modules/pam_lastlog/pam_lastlog.c (last_login_read): Don't
120 truncate UID for syslog output.
122 * modules/pam_time/pam_time.c: Replace type boolean with int.
123 * modules/pam_group/pam_group.c: Likewise.
125 2006-06-15 Thorsten Kukuk <kukuk@thkukuk.de>
127 * modules/pam_unix/bigcrypt.h: New.
128 * modules/pam_unix/Makefile.am: Add bigcrypt.h.
129 * modules/pam_unix/bigcrypt.c: Include bigcrypt.h.
130 * modules/pam_unix/support.c: Include bigcrypt.h, remove
132 * modules/pam_unix/bigcrypt_main.c: Include bigcrypt.h, remove
134 * modules/pam_unix/pam_unix_passwd.c: Include bigcrypt.h, remove
137 * modules/pam_time/pam_time.c (logic_member): Remove unused
140 * modules/pam_group/pam_group.c (logic_field): Accept
141 colon in tty name. [#1428276].
142 (logic_member): Remove unused variable len.
143 (check_account): Fix usage of err variable in debug code.
145 * modules/pam_time/pam_time.c (logic_field): Likewise.
147 * configure.in: Add special exceptions for icc: different
148 compiler warnings, no PIE support.
150 2006-06-14 Thorsten Kukuk <kukuk@thkukuk.de>
152 * libpam/pam_misc.c (_pam_strdup): Use strlen and strcpy.
154 * configure.in: Remove --enable-memory-debug, add option
155 to disable prelude if installed.
157 * modules/pam_tally/pam_tally.c: Remove MEMORY_DEBUG
158 * modules/pam_filter/upperLOWER/upperLOWER.c: Likewise.
159 * modules/pam_unix/unix_chkpwd.c: Likewise.
160 * libpam/include/security/_pam_types.h: Likewise.
161 * libpam/libpam.map: Remove LIBPAM_MALLOC_DEBUG export.
162 * libpam/pam_malloc.c: Remove file.
163 * libpam/Makefile.am: Remove pam_malloc.c and pam_malloc.h.
165 * libpam/pam_handlers.c (extract_modulename): Use _pam_strdup
168 * libpam/pam_private.h: Remove _pam_strCMP.
169 * libpam/pam_misc.c: Likewise.
170 * libpam/pam_handlers.c: Replaced _pam_strCMP with strcasecmp.
172 2006-06-12 Thorsten Kukuk <kukuk@thkukuk.de>
174 * modules/pam_tally/Makefile.am (AM_LDFLAGS): Remove flags
175 for modules from main application.
177 2006-06-09 Thorsten Kukuk <kukuk@thkukuk.de>
179 * modules/pam_time/Makefile.am: Include Make.xml.rules.
180 * modules/pam_time/time.conf.5: New, generated from xml file.
181 * modules/pam_time/time.conf.5.xml: New.
182 * modules/pam_time/pam_time.8: New, generated from xml file.
183 * modules/pam_time/pam_time.8.xml: New.
184 * modules/pam_time/README.xml: New.
185 * modules/pam_time/README: Regenerated from README.xml.
187 * modules/pam_wheel/Makefile.am: Include Make.xml.rules.
188 * modules/pam_wheel/pam_wheel.8.xml: New.
189 * modules/pam_wheel/pam_wheel.8: New, generated from xml file.
190 * modules/pam_wheel/README.xml: New.
191 * modules/pam_wheel/README: Regenerated from xml file.
193 * modules/pam_xauth/Makefile.am: Include Make.xml.rules.
194 * modules/pam_xauth/pam_xauth.8.xml: New.
195 * modules/pam_xauth/pam_xauth.8: Regenerated from xml file.
196 * modules/pam_xauth/README.xml: New.
197 * modules/pam_xauth/README: Regenerated from xml file.
199 * modules/pam_deny/pam_deny.8.xml: Fix syntax errors.
200 * modules/pam_deny/pam_deny.8: Regenerate from xml file.
201 * modules/pam_deny/README: Likewise.
203 * modules/pam_warn/Makefile.am: Include Make.xml.rules.
204 * modules/pam_warn/pam_warn.8.xml: New.
205 * modules/pam_warn/pam_warn.8: New, generated from xml file.
206 * modules/pam_warn/README.xml: New.
207 * modules/pam_warn/README: Regenerated from xml file.
209 * modules/pam_userdb/Makefile.am: Include Make.xml.rules.
210 * modules/pam_userdb/pam_userdb.8.xml: New.
211 * modules/pam_userdb/pam_userdb.8: New, generated from xml file.
212 * modules/pam_userdb/README.xml: New.
213 * modules/pam_userdb/README: Regenerated from xml file.
215 2006-06-06 Thorsten Kukuk <kukuk@thkukuk.de>
217 * modules/pam_shells/Makefile.am: Include Make.xml.rules.
218 * modules/pam_shells/pam_shells.8.xml: New.
219 * modules/pam_shells/pam_shells.8: New, generated from xml file.
220 * modules/pam_shells/README.xml: New.
221 * modules/pam_shells/README: Regenerated from xml file.
223 * libpam/include/security/pam_malloc.h: Add missing license
226 * libpam/include/security/pam_ext.h: Add brackets for C++.
227 * libpam/include/security/pam_modutil.h: Likewise.
229 * libpam/include/security/pam_modules.h: Document where to
230 find the copyright/license informations.
232 * libpam/include/security/pam_appl.h: Move _pam_compat.h
233 include inside of brackets.
235 2006-06-04 Thorsten Kukuk <kukuk@thkukuk.de>
237 * modules/pam_securetty/Makefile.am: Include Make.xml.rules.
238 * modules/pam_securetty/pam_securetty.8.xml: New.
239 * modules/pam_securetty/pam_securetty.8: Regenerated from xml file.
240 * modules/pam_securetty/README.xml: New.
241 * modules/pam_securetty/README: Regenerated from xml file.
243 * modules/pam_rootok/Makefile.am: Include Make.xml.rules.
244 * modules/pam_rootok/pam_rootok.8.xml: New.
245 * modules/pam_rootok/pam_rootok.8: New, generated from xml file.
246 * modules/pam_rootok/README.xml: New.
247 * modules/pam_rootok/README: Regenerated from xml file.
249 * modules/pam_permit/Makefile.am: Include Make.xml.rules.
250 * modules/pam_permit/pam_permit.8.xml: New.
251 * modules/pam_permit/pam_permit.8: New, generated from xml file.
252 * modules/pam_permit/README.xml: New.
253 * modules/pam_permit/README: Regenerated from xml file.
255 * modules/pam_nologin/Makefile.am: Include Make.xml.rules.
256 * modules/pam_nologin/pam_nologin.8.xml: New.
257 * modules/pam_nologin/pam_nologin.8: Regenerated from xml file.
258 * modules/pam_nologin/README.xml: New.
259 * modules/pam_nologin/README: Regenerated from xml file.
261 2006-06-03 Thorsten Kukuk <kukuk@thkukuk.de>
263 * modules/pam_motd/Makefile.am: Include Make.xml.rules.
264 * modules/pam_motd/pam_motd.8.xml: New.
265 * modules/pam_motd/pam_motd.8: New, generated from xml file.
266 * modules/pam_motd/README.xml: New.
267 * modules/pam_motd/README: New, generated from xml file.
269 2006-06-02 Thorsten Kukuk <kukuk@thkukuk.de>
271 * modules/pam_mail/Makefile.am: Include Make.xml.rules.
272 * modules/pam_mail/pam_mail.8.xml: New.
273 * modules/pam_mail/pam_mail.8: New, generated from xml file.
274 * modules/pam_mail/README.xml: New.
275 * modules/pam_mail/README: Regenerated from xml file.
277 * modules/pam_localuser/Makefile.am: Include Make.xml.rules.
278 * modules/pam_localuser/pam_localuser.8.xml: New.
279 * modules/pam_localuser/pam_localuser.8: New, generated from xml file.
280 * modules/pam_localuser/README.xml: New.
281 * modules/pam_localuser/README: Regenerated from xml file.
283 * doc/man/PAM.8: Regenerate with DocBook XSL Stylesheets v1.70.1.
284 * doc/man/pam.3: Likewise.
285 * doc/man/pam.conf.5: Likewise.
286 * doc/man/pam_acct_mgmt.3: Likewise.
287 * doc/man/pam_authenticate.3: Likewise.
288 * doc/man/pam_chauthtok.3: Likewise.
289 * doc/man/pam_close_session.3: Likewise.
290 * doc/man/pam_conv.3: Likewise.
291 * doc/man/pam_end.3: Likewise.
292 * doc/man/pam_error.3: Likewise.
293 * doc/man/pam_fail_delay.3: Likewise.
294 * doc/man/pam_get_data.3: Likewise.
295 * doc/man/pam_get_item.3: Likewise.
296 * doc/man/pam_get_user.3: Likewise.
297 * doc/man/pam_getenv.3: Likewise.
298 * doc/man/pam_getenvlist.3: Likewise.
299 * doc/man/pam_info.3: Likewise.
300 * doc/man/pam_open_session.3: Likewise.
301 * doc/man/pam_prompt.3: Likewise.
302 * doc/man/pam_putenv.3: Likewise.
303 * doc/man/pam_set_data.3: Likewise.
304 * doc/man/pam_set_item.3: Likewise.
305 * doc/man/pam_setcred.3: Likewise.
306 * doc/man/pam_sm_acct_mgmt.3: Likewise.
307 * doc/man/pam_start.3: Likewise.
308 * doc/man/pam_strerror.3: Likewise.
309 * doc/man/pam_syslog.3: Likewise.
310 * modules/pam_access/access.conf.5: Likewise.
311 * modules/pam_access/pam_access.8: Likewise.
312 * modules/pam_cracklib/pam_cracklib.8: Likewise.
313 * modules/pam_deny/pam_deny.8: Likewise.
314 * modules/pam_echo/pam_echo.8: Likewise.
315 * modules/pam_env/pam_env.8: Likewise.
316 * modules/pam_env/pam_env.conf.5: Likewise.
317 * modules/pam_exec/pam_exec.8: Likewise.
318 * modules/pam_filter/pam_filter.8: Likewise.
319 * modules/pam_ftp/pam_ftp.8: Likewise.
320 * modules/pam_group/group.conf.5: Likewise.
321 * modules/pam_group/pam_group.8: Likewise.
322 * modules/pam_issue/pam_issue.8: Likewise.
323 * modules/pam_lastlog/pam_lastlog.8: Likewise.
324 * modules/pam_mkhomedir/pam_mkhomedir.8: Likewise.
325 * modules/pam_succeed_if/pam_succeed_if.8: Likewise.
326 * modules/pam_umask/pam_umask.8: Likewise.
328 * modules/pam_unix/pam_unix_acct.c (pam_sm_acct_mgmt): Use
329 dngettext if available [#1427738].
330 * configure.in: Check for dngettext [#1427738].
331 * po/*.po: Update to dngettext usage.
333 * modules/pam_listfile/Makefile.am: Include Make.xml.rules.
334 * modules/pam_listfile/pam_listfile.8.xml: New.
335 * modules/pam_listfile/pam_listfile.8: New, generated from xml file.
336 * modules/pam_listfile/README.xml: New.
337 * modules/pam_listfile/README: Regenerated from xml file.
339 2006-06-01 Thorsten Kukuk <kukuk@thkukuk.de>
341 * modules/pam_lastlog/Makefile.am: Include Make.xml.rules.
342 * modules/pam_lastlog/pam_lastlog.8.xml: New.
343 * modules/pam_lastlog/pam_lastlog.8: New, generated from xml file.
344 * modules/pam_lastlog/README.xml: New.
345 * modules/pam_lastlog/README: Regenerated from xml file.
347 * modules/pam_group/Makefile.am: Include Make.xml.rules.
348 * modules/pam_group/group.conf.5.xml: New.
349 * modules/pam_group/group.conf.5: New, generated from xml file.
350 * modules/pam_group/pam_group.8.xml: New.
351 * modules/pam_group/pam_group.8: New, generated from xml file.
352 * modules/pam_group/README.xml: New.
353 * modules/pam_group/README: Regenerated from xml file.
355 * modules/pam_ftp/Makefile.am: Include Make.xml.rules.
356 * modules/pam_ftp/pam_ftp.8.xml: New.
357 * modules/pam_ftp/pam_ftp.8: New, generated from xml file.
358 * modules/pam_ftp/README.xml: New.
359 * modules/pam_ftp/README: Regenerated from xml file.
361 * modules/pam_issue/Makefile.am: Include Make.xml.rules.
362 * modules/pam_issue/pam_issue.8.xml: New.
363 * modules/pam_issue/pam_issue.8: New, generated from xml file.
364 * modules/pam_issue/README.xml: New.
365 * modules/pam_issue/README: Regenerated from xml file.
367 * modules/pam_filter/Makefile.am: Include Make.xml.rules.
368 * modules/pam_filter/pam_filter.8.xml: New.
369 * modules/pam_filter/pam_filter.8: New, generated from xml file.
370 * modules/pam_filter/README.xml: New.
371 * modules/pam_filter/README: Regenerated from xml file.
373 2006-05-30 Thorsten Kukuk <kukuk@thkukuk.de>
375 * modules/pam_mkhomedir/pam_mkhomedir.8.xml: Fix umask and skel
376 directory documentation.
378 * modules/pam_umask/Makefile.am: Include Make.xml.rules.
379 * modules/pam_umask/pam_umask.8.xml: New.
380 * modules/pam_umask/pam_umask.8: New, generated from xml file.
381 * modules/pam_umask/README.xml: New.
382 * modules/pam_umask/README: Regenerated from xml file.
384 2006-05-29 Thorsten Kukuk <kukuk@thkukuk.de>
386 * modules/pam_mkhomedir/Makefile.am: Include Make.xml.rules.
387 * modules/pam_mkhomedir/pam_mkhomedir.8.xml: New.
388 * modules/pam_mkhomedir/pam_mkhomedir.8: New, generated from xml file.
389 * modules/pam_mkhomedir/README.xml: New.
390 * modules/pam_mkhomedir/README: Regenerated from xml file.
392 2006-05-23 Thorsten Kukuk <kukuk@thkukuk.de>
394 * modules/pam_echo/pam_echo.c (pam_echo): Use pam_modutil_read()
397 2006-05-22 Thorsten Kukuk <kukuk@thkukuk.de>
399 * modules/pam_listfile/pam_listfile.c (pam_sm_authenticate):
400 Fix memory leaks, [#1490956] found by Coverity.
402 * modules/pam_tally/pam_tally.c (pam_get_uid): Check return
403 value of pam_get_user().
404 (tally_get_data): Check if oldtime is not NULL.
405 [#1489818] found by Coverity.
407 * modules/pam_mkhomedir/pam_mkhomedir.c (create_homedir): Don't
408 ignore return value of stat(). [#1489808] found by Coverity.
410 * modules/pam_mail/pam_mail.c (get_folder): Fix a potential
411 NULL pointer dereference. [#1489792] found by Coverity.
413 * libpam/Makefile.am: bump release number of libpam.so.
414 * libpam/pam_misc.c (_pam_mkargv): Fix memory leak,
415 [#1489804] found by Coverity.
417 * modules/pam_echo/pam_echo.c (replace_and_print): Initialize
418 str, [#1489658] found by Coverity.
420 * modules/pam_cracklib/pam_cracklib.c (_pam_unix_approve_pass): Fix
421 a potential NULL pointer dereference.
422 (pam_sm_chauthtok): Remove dead code.
423 [#1489634] found by Coverity.
425 2006-05-04 Thorsten Kukuk <kukuk@suse.de>
427 * configure.in: Check for fseeko.
428 * modules/pam_tally/pam_tally.c: Use fseeko if available
429 (Based on patch by IBM).
431 2006-05-04 Thorsten Kukuk <kukuk@thkukuk.de>
433 * release version 0.99.4.0
435 * libpam/pam_strerror.c: Unify error messages.
437 * po/zh_TW.po: Adjust for last pam_strerror changes.
438 * po/zh_CN.po: Likewise.
439 * po/uk.po: Likewise.
440 * po/tr.po: Likewise.
441 * po/pt.po: Likewise.
442 * po/pt_BR.po: Likewise.
443 * po/pl.po: Likewise.
444 * po/ja.po: Likewise.
445 * po/nl.po: Likewise.
446 * po/nb.po: Likewise.
447 * po/it.po: Likewise.
448 * po/hu.po: Likewise.
449 * po/fr.po: Likewise.
450 * po/fi.po: Likewise.
451 * po/es.po: Likewise.
452 * po/de.po: Likewise.
453 * po/cs.po: Likewise.
455 * doc/man/pam.3.xml: New.
456 * doc/man/pam.3. New, generated from XML file.
458 * doc/man/pam_sm_acct_mgmt.3.xml: New.
459 * doc/man/pam_sm_acct_mgmt.3: New, generated from XML file.
461 * doc/man/*.xml: Fix encoding and use always UTF-8, regenerate
464 * doc/pam_modules.sgml (PAM_NEW_AUTHTOKEN_REQD): Fix typo.
466 2006-05-02 Thorsten Kukuk <kukuk@thkukuk.de>
468 * modules/pam_unix/pam_unix_acct.c (pam_sm_acct_mgmt): Use
469 different strings for plural or not [#1427738]
471 * po/*.po: Adjust for pam_unix.so translation fix.
473 * modules/pam_tally/pam_tally.c: Always close file handle
474 in error case, don't close it depending on *TALLY value [#1478180]
476 2006-04-21 Thorsten Kukuk <kukuk@thkukuk.de>
480 2006-04-11 Thorsten Kukuk <kukuk@thkukuk.de>
484 2006-03-27 Thorsten Kukuk <kukuk@thkukuk.de>
486 * po/LINGUAS: Add uk.
490 * po/po/es.po: Updated.
499 * po/pt_BR.po: Updated.
500 * po/zh_CN.po: Updated.
501 * po/zh_TW.po: Updated.
503 2006-03-21 Thorsten Kukuk <kukuk@thkukuk.de>
505 * configure.in: Remove ALL_LINGUAS.
507 * po/tr.po: New (from Ismail Donmez <ismail@pardus.org.tr>).
509 2006-03-13 Thorsten Kukuk <kukuk@thkukuk.de>
511 * doc/man/pam_error.3.xml: New.
512 * doc/man/pam_error.3: New, generated from XML file.
513 * doc/man/pam_verror.3: New, generated from XML file.
514 * doc/man/Makefile.am: Add pam_error.3 and pam_verror.3.
516 * modules/pam_lastlog/Makefile.am: Fix typo.
518 * modules/pam_lastlog/pam_lastlog.c: Move comment for
519 translators in right line.
520 * po/*.po: Update po files with comment for translator.
522 2006-03-12 Thorsten Kukuk <kukuk@thkukuk.de>
524 * doc/man/Makefile.am: Add new manual pages.
526 * doc/man/pam.conf.5.xml: Replace link with content
528 * doc/man/pam.conf.5: Regenerated from XML file.
530 * doc/man/pam_info.3.xml: New.
531 * doc/man/pam_info.3: New, generated from XML file.
532 * doc/man/pam_vinfo.3: New, generated from XML file.
534 * doc/man/pam_conv.3.xml: New.
535 * doc/man/pam_conv.3: New, generated from XML file.
537 * doc/man/pam_putenv.3.xml: New.
538 * doc/man/pam_putenv.3: New, generated from XML file.
540 * doc/man/pam_getenv.3.xml: New.
541 * doc/man/pam_getenv.3: New, generated from XML file.
543 * doc/man/pam_getenvlist.3.xml: New.
544 * doc/man/pam_getenvlist.3: New, generated from XML file.
546 * libpam/pam_item.c (pam_get_user): Check for valid pamh before
549 * configure.in: create tests/Makefile
550 * Makefile.am (SUBDIRS): Add tests
551 * tests/Makefile.am: New.
552 * tests/tst-dlopen.c: New.
553 * tests/tst-pam_acct_mgmt.c: New.
554 * tests/tst-pam_authenticate.c: New.
555 * tests/tst-pam_chauthtok.c: New.
556 * tests/tst-pam_close_session.c: New.
557 * tests/tst-pam_end.c: New.
558 * tests/tst-pam_fail_delay.c: New.
559 * tests/tst-pam_getenvlist.c: New.
560 * tests/tst-pam_get_item.c: New.
561 * tests/tst-pam_open_session.c: New.
562 * tests/tst-pam_setcred.c: New.
563 * tests/tst-pam_set_item.c: New.
564 * tests/tst-pam_start.c: New.
565 * tests/tst-pam_get_user.c: New.
567 * modules/pam_access/Makefile.am: Add rules for make check
568 * modules/pam_access/tst-pam_access: New
569 * modules/pam_cracklib/Makefile.am: Add rules for make check
570 * modules/pam_cracklib/tst-pam_cracklib: New
571 * modules/pam_debug/Makefile.am: Add rules for make check
572 * modules/pam_debug/tst-pam_debug: New
573 * modules/pam_deny/Makefile.am: Add rules for make check
574 * modules/pam_deny/tst-pam_deny: New
575 * modules/pam_echo/Makefile.am: Add rules for make check
576 * modules/pam_echo/tst-pam_echo: New
577 * modules/pam_env/Makefile.am: Add rules for make check
578 * modules/pam_env/tst-pam_env: New
579 * modules/pam_exec/Makefile.am: Add rules for make check
580 * modules/pam_exec/tst-pam_exec: New
581 * modules/pam_filter/Makefile.am: Add rules for make check
582 * modules/pam_filter/tst-pam_filter: New
583 * modules/pam_ftp/Makefile.am: Add rules for make check
584 * modules/pam_ftp/tst-pam_ftp: New
585 * modules/pam_group/Makefile.am: Add rules for make check
586 * modules/pam_group/tst-pam_group: New
587 * modules/pam_issue/Makefile.am: Add rules for make check
588 * modules/pam_issue/tst-pam_issue: New
589 * modules/pam_lastlog/Makefile.am: Add rules for make check
590 * modules/pam_lastlog/tst-pam_lastlog: New
591 * modules/pam_limits/Makefile.am: Add rules for make check
592 * modules/pam_limits/tst-pam_limits: New
593 * modules/pam_listfile/Makefile.am: Add rules for make check
594 * modules/pam_listfile/tst-pam_listfile: New
595 * modules/pam_localuser/Makefile.am: Add rules for make check
596 * modules/pam_localuser/tst-pam_localuser: New
597 * modules/pam_mail/Makefile.am: Add rules for make check
598 * modules/pam_mail/tst-pam_mail: New
599 * modules/pam_mkhomedir/Makefile.am: Add rules for make check
600 * modules/pam_mkhomedir/tst-pam_mkhomedir: New
601 * modules/pam_motd/Makefile.am: Add rules for make check
602 * modules/pam_motd/tst-pam_motd: New
603 * modules/pam_nologin/Makefile.am: Add rules for make check
604 * modules/pam_nologin/tst-pam_nologin: New
605 * modules/pam_permit/Makefile.am: Add rules for make check
606 * modules/pam_permit/tst-pam_permit: New
607 * modules/pam_rhosts/Makefile.am: Add rules for make check
608 * modules/pam_rhosts/tst-pam_rhosts: New
609 * modules/pam_rootok/Makefile.am: Add rules for make check
610 * modules/pam_rootok/tst-pam_rootok: New
611 * modules/pam_securetty/Makefile.am: Add rules for make check
612 * modules/pam_securetty/tst-pam_securetty: New
613 * modules/pam_selinux/Makefile.am: Add rules for make check
614 * modules/pam_selinux/tst-pam_selinux: New
615 * modules/pam_shells/Makefile.am: Add rules for make check
616 * modules/pam_shells/tst-pam_shells: New
617 * modules/pam_stress/Makefile.am: Add rules for make check
618 * modules/pam_stress/tst-pam_stress: New
619 * modules/pam_succeed_if/Makefile.am: Add rules for make check
620 * modules/pam_succeed_if/tst-pam_succeed_if: New
621 * modules/pam_tally/Makefile.am: Add rules for make check
622 * modules/pam_tally/tst-pam_tally: New
623 * modules/pam_time/Makefile.am: Add rules for make check
624 * modules/pam_time/tst-pam_time: New
625 * modules/pam_umask/Makefile.am: Add rules for make check
626 * modules/pam_umask/tst-pam_umask: New
627 * modules/pam_unix/Makefile.am: Add rules for make check
628 * modules/pam_unix/tst-pam_unix: New
629 * modules/pam_userdb/Makefile.am: Add rules for make check
630 * modules/pam_userdb/tst-pam_userdb: New
631 * modules/pam_warn/Makefile.am: Add rules for make check
632 * modules/pam_warn/tst-pam_warn: New
633 * modules/pam_wheel/Makefile.am: Add rules for make check
634 * modules/pam_wheel/tst-pam_wheel: New
635 * modules/pam_xauth/Makefile.am: Add rules for make check
636 * modules/pam_xauth/tst-pam_xauth: New
638 2006-03-11 Thorsten Kukuk <kukuk@thkukuk.de>
640 * doc/man/pam_fail_delay.3.xml: New.
641 * doc/man/pam_fail_delay.3: New, generated from xml.
642 * doc/man/pam_prompt.3.xml: New.
643 * doc/man/pam_prompt.3: New, generated from xml.
644 * doc/man/pam_syslog.3.xml: New.
645 * doc/man/pam_syslog.3: New, generated from xml.
646 * doc/man/pam_vprompt.3: New, generated from xml.
647 * doc/man/pam_vsyslog.3: New, generated from xml.
649 2006-02-24 Thorsten Kukuk <kukuk@thkukuk.de>
651 * po/km.po: Update Khmer translation.
653 2006-02-24 Thorsten Kukuk <kukuk@thkukuk.de>
655 * modules/pam_succeed_if/pam_succeed_if.8.xml: New, based on
656 version from #1425487.
657 * modules/pam_succeed_if/pam_succeed_if.8: Regenerated from xml.
658 * modules/pam_succeed_if/Makefile.am: Include XML rules.
659 * modules/pam_succeed_if/README.xml: New.
660 * modules/pam_succeed_if/README: Regenerated from xml.
661 * modules/pam_succeed_if/pam_succeed_if.c: Fix comment about
664 2006-02-22 Thorsten Kukuk <kukuk@thkukuk.de>
666 * configure.in: Fix check for incomplete libaudit installations
667 (Patch from Ruediger Oertel <ro@suse.de>).
669 * modules/pam_lastlog/pam_lastlog.c (last_login_write): Initialize
670 correct last_login field [#1427401].
672 * modules/pam_lastlog/pam_lastlog.c (last_login_read): Mark strftime
673 format string for translation to allow reorder [#1428269].
674 * po/*.po: Update with last pam_lastlog change.
677 2006-02-17 Thorsten Kukuk <kukuk@thkukuk.de>
679 * doc/man/Makefile.am: Add new manual pages.
680 * doc/man/pam_end.3: Regenerated from xml file.
681 * doc/man/pam_end.3.xml: Document freeing of item data.
682 * doc/man/pam_get_user.3: New.
683 * doc/man/pam_get_user.3.xml: New.
684 * modules/pam_access/access.conf.5.xml: Fix typos.
685 * modules/pam_env/Makefile.am: Add new manual pages.
686 * modules/pam_env/README: Regenerate from xml file.
687 * modules/pam_env/README.xml: New.
688 * modules/pam_env/pam_env.8: New.
689 * modules/pam_env/pam_env.8.xml: New.
690 * modules/pam_env/pam_env.conf.5: New.
691 * modules/pam_env/pam_env.conf.5.xml New.
693 2006-02-14 Thorsten Kukuk <kukuk@thkukuk.de>
695 * po/fi.po: Updated translations.
696 * po/pl.po: Likewise.
697 * po/km.po: New translation.
698 * configure.in: Add km as new language.
700 2006-02-13 Thorsten Kukuk <kukuk@thkukuk.de>
702 * modules/pam_echo/pam_echo.8.xml: New.
703 * modules/pam_echo/pam_echo.8: Regenerated from xml file.
704 * modules/pam_echo/Makefile.am: Include Make.xml.rules.
705 * modules/pam_echo/pam_echo.c: Fix return value.
707 * doc/modules/pam_chroot.sgml: Remove obsolete sgml file.
709 2006-02-12 Thorsten Kukuk <kukuk@thkukuk.de>
711 * configure.in: Add doc/man/Makefile.
712 * Make.xml.rules: Enable xincludes for manual pages.
713 * doc/Makefile.am (EXRA_DIST): Remove manual pages.
714 (SUBDIR): Add man subdirectory.
715 * doc/man/Makefile.am: New.
716 * doc/man/pam_acct_mgmt.3: New.
717 * doc/man/pam_acct_mgmt.3.xml: New.
718 * doc/man/pam_get_data.3: New.
719 * doc/man/pam_get_data.3.xml: New.
720 * doc/man/pam_set_data.3: New.
721 * doc/man/pam_set_data.3.xml: New.
722 * doc/man/pam.8.xml: New.
723 * doc/man/pam.8: Regenerated from xml file.
724 * doc/man/pam_authenticate.3.xml: New.
725 * doc/man/pam_authenticate.3: Regenerated from xml file.
726 * doc/man/pam_chauthtok.3.xml: New.
727 * doc/man/pam_chauthtok.3: Regenerated from xml file.
728 * doc/man/pam_close_session.3.xml: New.
729 * doc/man/pam_close_session.3: Regenerated from xml file.
730 * doc/man/pam_end.3.xml: New.
731 * doc/man/pam_end.3: Regenerated from xml file.
732 * doc/man/pam_fail_delay.3.xml: New.
733 * doc/man/pam_fail_delay.3: Regenerated from xml file.
734 * doc/man/pam_get_item.3.xml: New.
735 * doc/man/pam_get_item.3: Regenerated from xml file.
736 * doc/man/pam_item_types.inc.xml: New.
737 * doc/man/pam_open_session.3.xml: New.
738 * doc/man/pam_open_session.3: Regenerated from xml file.
739 * doc/man/pam_set_item.3.xml: New.
740 * doc/man/pam_set_item.3: Regenerated from xml file.
741 * doc/man/pam_setcred.3.xml: New.
742 * doc/man/pam_setcred.3: Regenerated from xml file.
743 * doc/man/pam_start.3.xml: New.
744 * doc/man/pam_start.3: Regenerated from xml file.
745 * doc/man/pam_strerror.3.xml: New.
746 * doc/man/pam_strerror.3: Regenerated from xml file.
747 * doc/man/template-man: Removed.
749 2006-02-10 Thorsten Kukuk <kukuk@thkukuk.de>
751 * configure.in: Remove pam_pwdb support.
752 * modules/Makefile.am: remove pam_pwdb.
753 * modules/pam_pwdb: Remove complete directory.
754 * libpam/Makefile.am: Remove LIBPWDB references.
755 * libpam/pam_static_modules.h: Remove pam_pwdb references.
756 * doc/modules/pam_pwdb.sgml: Removed.
757 * po/POTFILES.in: Remove modules/pam_pwdb/*.c entries.
758 * doc/pam_source.sgml: Remove references to libpwdb.
759 * doc/modules/pam_limits.sgml: Remove wrong reference to libpwdb.
760 * doc/modules/pam_group.sgml: Likewise.
761 * doc/modules/pam_cracklib.sgml: Replace pam_pwdb with pam_unix.
762 * doc/modules/pam_userdb.sgml: Likewise.
763 * modules/pam_cracklib/pam_cracklib.8.xml: Replace pam_pwdb
765 * modules/pam_mkhomedir/pam_mkhomedir.c: Likewise.
766 * modules/pam_group/pam_group.c: Remove dead code for libpwdb.
768 * modules/pam_access/Makefile.am: Fix EXTRA_DIST.
769 * modules/pam_cracklib/Makefile.am: Likewise.
770 * modules/pam_deny/Makefile.am: Likewise.
771 * modules/pam_exec/Makefile.am: Likewise.
773 2006-02-07 Thorsten Kukuk <kukuk@thkukuk.de>
775 * configure.in: Check for text browser.
776 * Make.xml.rules: Add rule to generate README from README.xml.
778 * modules/pam_access/Makefile.am: Include Make.xml.rules.
779 * modules/pam_access/README: Regenerated from README.xml.
780 * modules/pam_access/README.xml: New.
781 * modules/pam_access/access.conf: Extended by new examples.
782 * modules/pam_access/access.conf.5: New, generated from xml file.
783 * modules/pam_access/access.conf.5.xml: New.
784 * modules/pam_access/pam_access.8: New, generated from xml file.
785 * modules/pam_access/pam_access.8.xml: New.
786 * modules/pam_access/pam_access.c: Add rules for IPv6 and
788 Based on patch from Mike Becher <Mike.Becher@lrz-muenchen.de>.
790 * modules/pam_deny/Makefile.am: Include Make.xml.rules.
791 * modules/pam_deny/pam_deny.8.xml: New.
792 * modules/pam_deny/pam_deny.8: New, generated from xml file.
793 * modules/pam_deny/README.xml: New.
794 * modules/pam_deny/README: Regenerated from xml file.
796 * modules/pam_cracklib/Makefile.am: Include Make.xml.rules.
797 * modules/pam_cracklib/pam_cracklib.8.xml: New.
798 * modules/pam_cracklib/pam_cracklib.8: New, generated from xml file.
799 * modules/pam_cracklib/README.xml: New.
800 * modules/pam_cracklib/README: Regenerated from xml file.
802 * modules/pam_exec/Makefile.am: Add rule to generate README.
803 * modules/pam_exec/README: Regenerated from xml file.
804 * modules/pam_exec/pam_exec.8: Regenerated from xml file.
805 * modules/pam_exec/pam_exec.8.xml: Syntax files.
807 2006-02-06 Thorsten Kukuk <kukuk@thkukuk.de>
810 * po/pt.po: Update translations.
811 * configure.in: Add nl as new language.
813 2006-01-30 Thorsten Kukuk <kukuk@thkukuk.de>
815 * modules/pam_exec/pam_exec.8.xml: Fix syntax of Return Value section.
816 * modules/pam_exec/Makefile.am: Include Make.xml.rules.
818 * Make.xml.rules: New.
820 * Makefile.am (EXTRA_DIST): Add Make.xml.rules.
822 2006-01-27 Thorsten Kukuk <kukuk@thkukuk.de>
824 * configure.in: Prefer libdb over libndbm, fix check for
825 libcrack and remove not needed BACKUP_LIBS.
827 2006-01-24 Thorsten Kukuk <kukuk@thkukuk.de>
829 * modules/pam_debug/pam_debug.c: Fix name of pam_module struct.
831 * po/de.po: Fix one translation.
833 * configure.in: Add modules/pam_exec.
834 * modules/Makefile.am: Add pam_exec subdirectory.
835 * modules/pam_exec/README: New.
836 * modules/pam_exec/Makefile.am: New.
837 * modules/pam_exec/pam_exec.8: New.
838 * modules/pam_exec/pam_exec.c: New.
839 * modules/pam_exec/pam_exec.8.xml: New.
840 * po/POTFILES.in: Add modules/pam_exec/pam_exec.c.
841 * po/*.po: Merge new pam_exec strings.
843 * libpam/pam_static_modules.h: New.
844 * Makefile.am: Reorder subdirectories for static modules.
845 * configure.in: Add --enable-static-modules option.
846 * libpam/Makefile.am: Define WITH_SELINUX and WITH_PWDB if
847 necessary, add pam_static_modules.h, link against all PAM
848 module object files if STATIC_MODULES is defined.
849 * libpam/pam_static.c: Remove old _static_module* includes,
850 include pam_static_modules.h.
852 * configure.in: Add checks for xsltproc, xmllint and docbook
854 * m4/jh_path_xml_catalog.m4: New.
856 2006-01-22 Thorsten Kukuk <kukuk@thkukuk.de>
858 * modules/pam_succeed_if/pam_succeed_if.c: Add support for
860 * modules/pam_xauth/pam_xauth.c: Likewise.
862 * libpam/pam_static.c (_pam_open_static_handler): Add pamh
864 * libpam/pam_private.h: Adjust prototype.
865 * libpam/pam_handlers.c (_pam_add_handler): Add pamh to
866 _pam_open_static_handler call.
868 * configure.in: Don't define PAM_DYNAMIC.
869 * libpam/pam_handlers.c: Get ride of PAM_DYNAMIC, don't
870 include pam_dynamic.h
871 * libpam/pam_dynamic.c: Don't include pam_dynamic.h,
872 exclude functions if we compile with PAM_STATIC.
873 * libpam/pam_dynamic.h: Remove.
874 * libpam/pam_private.h: Add function prototypes from pam_dynamic.h.
875 * libpam/Makefile.am: Bump version number of libpam, remove
878 2006-01-21 Thorsten Kukuk <kukuk@thkukuk.de>
880 * modules/pam_listfile/pam_listfile.c: Add support for session
881 and password management.
883 2006-01-19 Thorsten Kukuk <kukuk@suse.de>
885 * doc/specs/Makefile.am (spec): Add padout to fix parallel
886 build (Reported by Andreas Haumer <andreas@xss.co.at>).
888 2006-01-15 Thorsten Kukuk <kukuk@thkukuk.de>
890 * modules/pam_echo/pam_echo.c: Define HOST_NAME_MAX if not
893 2006-01-13 Thorsten Kukuk <kukuk@thkukuk.de>
895 * release version 0.99.3.0
897 * libpam_misc/misc_conv.c (misc_conv): Fix strict aliasing
900 * modules/pam_umask/pam_umask.c (search_key): Don't ignore
901 EOF/error return value from fgets().
903 * configure.in: Check for getline and getdelim
905 * po/fi.po: Add new translations.
906 * po/de.po: Likewise.
907 * po/es.po: Likewise.
908 * po/fr.po: Likewise.
909 * po/it.po: Likewise.
910 * po/ja.po: Likewise.
911 * po/pt_BR.po: Likewise.
912 * po/zh_CH.po: Likewise.
913 * po/zh_TW.po: Likewise.
915 2006-01-13 Dmitry V. Levin <ldv@altlinux.org>
917 * libpam/pam_audit.c (_pam_auditlog): Replace strerror(errno)
918 call with %m specifier.
920 2006-01-12 Thorsten Kukuk <kukuk@thkukuk.de>
922 * configure.in: Add check for -fpie/-pie
923 * modules/pam_filter/upperLOWER/Makefile.am: Compile/link
924 upperLOWER with -fpie/-pie if supported.
925 * modules/pam_unix/Makefile.am: Compile/link unix_chkpwd
926 with -fpie/-pie if supported.
928 2006-01-12 Steve Grubb <sgrubb@redhat.com>
930 * configure.in: Add check for audit library.
931 * libpam/Makefile.am (libpam_la_LDFLAGS): Add LIBAUDIT.
932 (libpam_la_SOURCES): Add pam_audit.c.
933 * libpam/pam_account.c (pam_acct_mgmt): Add _pam_auditlog() call.
934 * libpam/pam_auth.c (pam_authenticate), (pam_setcred): Likewise.
935 * libpam/pam_password.c (pam_chauthtok): Likewise.
936 * libpam/pam_session.c (pam_open_session),
937 (pam_close_session): Likewise.
938 * libpam/pam_private.h: Add audit_state member to pam_handle,
939 declare _pam_auditlog and _pam_audit_end.
940 * libpam/pam_start.c (pam_start): Initialize audit_state.
941 * libpam/pam_audit.c: New file with _pam_auditlog and _pam_audit_end
943 * libpam/pam_end.c (pam_end): Add _pam_audit_end() call.
944 * NEWS: Note about added auditing.
946 2006-01-11 Thorsten Kukuk <kukuk@thkukuk.de>
948 * libpam/Makefile.am (AM_CFLAGS): Define LIBPAM_COMPILE.
950 * libpam/include/security/_pam_types.h: Don't define PAM_NONNULL
951 if we compile libpam itself.
953 * po/hu.po: Update with new translations.
955 2006-01-08 Thorsten Kukuk <kukuk@thkukuk.de>
957 * modules/pam_cracklib/pam_cracklib.c: Use PAM_AUTHTOK_RECOVERY_ERR
958 instead of PAM_AUTHTOK_RECOVER_ERR.
959 * modules/pam_pwdb/support.-c: Likewise.
960 * modules/pam_unix/support.c: Likewise.
961 * modules/pam_userdb/pam_userdb.c (pam_sm_authenticate): Likewise.
962 * libpam/pam_strerror.c (pam_strerror): Likewise.
964 * libpam/include/security/_pam_compat.h: Define
965 PAM_AUTHTOK_RECOVER_ERR for backward compatibility.
967 * libpam/include/security/_pam_types.h: Rename
968 PAM_AUTHTOK_RECOVER_ERR to PAM_AUTHTOK_RECOVERY_ERR.
970 2006-01-05 Thorsten Kukuk <kukuk@thkukuk.de>
972 * libpam/include/security/_pam_types.h: Remove nonnull attribute
973 from third paramter (item) of pam_get_item.
974 * libpam/Makefile.am: Bump version number of shared library.
976 2005-12-21 Tomas Mraz <t8m@centrum.cz>
978 * modules/pam_succeed_if/pam_succeed_if.c (evaluate_ingroup),
979 (evaluate_notingroup): Simplified.
980 (evaluate_innetgr), (evaluate_notinnetgr): New functions.
981 (evaluate): Added calls to evaluate_(not)innetgr().
982 * modules/pam_succeed_if/README: Documented netgroup matching.
983 * NEWS: Mentioned the added netgroup matching support.
985 2005-12-20 Thorsten Kukuk <kukuk@thkukuk.de>
987 * modules/pam_lastlog/pam_lastlog.c (last_login_read): Use
988 strftime instead of ctime.
990 * po/de.po: Fix typo.
992 2005-12-19 Thorsten Kukuk <kukuk@thkukuk.de>
994 * libpam/pam_syslog.c: Define LOG_AUTHPRIV as LOG_AUTH on Solaris.
995 Reported by Charles_H_Bedford@nbc.gov.
997 * modules/pam_time/pam_time.c (check_account): Implement
998 support for netgroups.
1000 * modules/pam_time/time.conf: Document usage of netgroups.
1002 2005-12-16 Thorsten Kukuk <kukuk@thkukuk.de>
1004 * modules/pam_group/pam_group.c (check_account): Implement
1005 support for netgroups.
1007 * modules/pam_group/group.conf: Add all documentation to this
1008 example config file and don't reference to outdated configs.
1010 * modules/pam_group/README: New.
1012 * modules/pam_group/Makefile.am: Add README to EXTRADIST.
1014 2005-12-15 Thorsten Kukuk <kukuk@suse.de>
1016 * modules/pam_lastlog/pam_lastlog.c (last_login_read): Don't report an
1017 error if user logins the first time.
1019 * modules/pam_lastlog/README: New.
1021 * modules/pam_lastlog/Makefile.am: Add README to EXTRADIST.
1023 2005-12-14 Thorsten Kukuk <kukuk@suse.de>
1025 * modules/pam_deny/pam_deny.c: Fix comment.
1027 * doc/pam_appl.sgml: Fix typo.
1029 Reported by Russell Bateman <russ@windofkeltia.com>
1031 2005-12-12 Thorsten Kukuk <kukuk@thkukuk.de>
1033 * release version 0.99.2.1
1035 * po/de.po: Remove new fuzzy entry
1037 * NEWS: Add 0.99.2.1 changes
1039 * configure.in: bump version number to 0.99.2.1
1041 2005-12-12 Dmitry V. Levin <ldv@altlinux.org>
1043 Cleanup pam_syslog messages.
1045 * modules/pam_env/pam_env.c (_expand_arg): Fix compiler warning.
1046 * modules/pam_filter/pam_filter.c (set_filter): Append %m
1047 specifier to pam_syslog messages where appropriate.
1048 * modules/pam_group/pam_group.c (read_field): Likewise.
1049 * modules/pam_mkhomedir/pam_mkhomedir.c (make_remark): Remove.
1050 (create_homedir): Do not use make_remark() wrapper, call
1051 pam_info() directly. Call pam_syslog() right after failed
1052 operation and append %m specifier to pam_syslog messages where
1054 * modules/pam_rhosts/pam_rhosts_auth.c (pam_iruserok): Replace
1055 sequence of malloc(), strcpy() and strcat() calls with asprintf().
1056 Append %m specifier to pam_syslog messages where appropriate.
1057 * modules/pam_securetty/pam_securetty.c (securetty_perform_check):
1058 Append %m specifier to pam_syslog messages where appropriate.
1059 * modules/pam_shells/pam_shells.c (perform_check): Likewise.
1061 2005-12-12 Tomas Mraz <t8m@centrum.cz>
1063 * modules/pam_mail/pam_mail.c (report_mail): Fixed typo in string.
1064 * po/Linux-PAM.pot: Likewise.
1065 * po/de.po: Likewise.
1066 * po/es.po: Likewise.
1067 * po/fi.po: Likewise.
1068 * po/fr.po: Likewise.
1069 * po/hu.po: Likewise.
1070 * po/it.po: Likewise.
1071 * po/ja.po: Likewise.
1072 * po/nb.po: Likewise.
1073 * po/pa.po: Likewise.
1074 * po/pl.po: Likewise.
1075 * po/pt.po: Likewise.
1076 * po/pt_BR.po: Likewise.
1077 * po/zh_CN.po: Likewise.
1078 * po/zh_TW.po: Likewise.
1079 * po/de.po: Add new translation, fixed typo in string.
1081 2005-12-12 Mike Becher <Mike.Becher@lrz-muenchen.de>
1083 * doc/Makefile.am: Fixed install of PS, PDF, TXT and HTML files.
1085 2005-12-12 Thorsten Kukuk <kukuk@suse.de>
1087 * modules/pam_mail/README: Document "quiet" and "standard"
1090 2005-12-07 Thorsten Kukuk <kukuk@suse.de>
1092 * modules/pam_mail/pam_mail.c: Modify assembling of output
1093 for easier translation.
1095 * po/de.po: Translate new pam_mail messages.
1098 2005-11-24 Thorsten Kukuk <kukuk@thkukuk.de>
1100 * po/de.po: Add new translation, fix wrong format specifier.
1101 * po/cs.po: Fix wrong format specifier.
1102 * po/es.po: Likewise.
1103 * po/fi.po: Likewise.
1104 * po/fr.po: Likewise.
1105 * po/hu.po: Likewise.
1106 * po/it.po: Likewise.
1107 * po/ja.po: Likewise.
1108 * po/nb.po: Likewise.
1109 * po/pa.po: Likewise.
1110 * po/pl.po: Likewise.
1111 * po/pt.po: Likewise.
1112 * po/pt_BR.po: Likewise.
1113 * po/zh_CN.po: Likewise.
1114 * po/zh_TW.po: Likewise.
1116 2005-11-24 Dmitry V. Levin <ldv@altlinux.org>
1118 * config.h.in: Remove generated file.
1119 * .cvsignore: Add config.h.in.
1121 * configure.in: Do not check for strerror.
1122 * libpam_misc/misc_conv.c (read_string): Replace strerror()
1123 call with %m specifier.
1124 * libpamc/pamc_converse.c (pamc_converse): Likewise.
1125 * modules/pam_echo/pam_echo.c (pam_echo): Likewise.
1126 * modules/pam_localuser/pam_localuser.c (pam_sm_authenticate):
1128 * modules/pam_selinux/pam_selinux.c (security_label_tty):
1130 (security_restorelabel_tty, security_label_tty): Append %m
1131 specifier where appropriate.
1132 * modules/pam_selinux/pam_selinux_check.c (main): Replace
1133 strerror() call with %m specifier.
1134 * modules/pam_unix/pam_unix_passwd.c (save_old_password,
1135 _update_passwd, _update_shadow): Likewise.
1136 * modules/pam_unix/support.c (_unix_run_helper_binary): Likewise.
1137 * modules/pam_unix/unix_chkpwd.c (_update_shadow): Likewise.
1138 * po/Linux-PAM.pot: Update strings from pam_selinux.
1139 * po/cs.po: Likewise.
1140 * po/de.po: Likewise.
1141 * po/es.po: Likewise.
1142 * po/fi.po: Likewise.
1143 * po/fr.po: Likewise.
1144 * po/hu.po: Likewise.
1145 * po/it.po: Likewise.
1146 * po/ja.po: Likewise.
1147 * po/nb.po: Likewise.
1148 * po/pa.po: Likewise.
1149 * po/pl.po: Likewise.
1150 * po/pt.po: Likewise.
1151 * po/pt_BR.po: Likewise.
1152 * po/zh_CN.po: Likewise.
1153 * po/zh_TW.po: Likewise.
1155 2005-11-23 Thorsten Kukuk <kukuk@suse.de>
1157 * modules/pam_xauth/pam_xauth.c (pam_sm_open_session): Introduce
1158 new variable to fix compiler warning.
1160 * libpam/pam_modutil_getlogin.c (pam_modutil_getlogin): PAM_TTY
1161 don't need to start with /dev/.
1163 2005-11-21 Thorsten Kukuk <kukuk@thkukuk.de>
1165 * release version 0.99.2.0
1167 * libpam_misc/Makefile.am: Increase release number (for change
1170 * NEWS: Adjust for 0.99.2.0
1172 2005-11-17 Thorsten Kukuk <kukuk@thkukuk.de>
1174 * libpam/include/security/_pam_compat.h: Fix wrong #ifdef nesting.
1175 Redefine PAM_CHANGE_EXPIRED_AUTHTOK [#604380]
1177 2005-11-16 Thorsten Kukuk <kukuk@thkukuk.de>
1179 * libpam/pam_handlers.c: Replace code for all dlopen variants with
1181 * libpam/pam_dynamic.c: Implement generic wrapper for dlopen.
1182 * libpam/pam_dynamic.h: Provide prototypes.
1183 For Mac OS X support [#534205]
1185 2005-11-09 Tomas Mraz <t8m@centrum.cz>
1187 * modules/pam_access/pam_access.c (pam_sm_acct_mgmt): Parse correctly
1189 * modules/pam_time/pam_time.c (pam_sm_acct_mgmt): Parse correctly
1190 full path tty name. Allow unset tty.
1191 (logic_member): Allow matching ':' in tty name.
1192 * modules/pam_group/pam_group.c (pam_sm_acct_mgmt): Parse correctly
1193 full path tty name. Allow unset tty.
1194 (logic_member): Allow matching ':' in tty name.
1196 * libpam_misc/misc_conv.c (read_string): Read only up to EOL if stdin
1199 2005-11-07 Thorsten Kukuk <kukuk@thkukuk.de>
1201 * modules/pam_unix/pam_unix_passwd.c (_unix_verify_shadow): Use
1202 correct variable names.
1204 2005-11-06 Steve Langasek <vorlon@debian.org>
1206 * modules/pam_env/pam_env.c: don't treat a missing
1207 /etc/environment as a fatal error when attempting to read it,
1208 and try to read this file by default; this restores the behavior
1209 from Linux-PAM 0.76.
1211 2005-11-02 Tomas Mraz <t8m@centrum.cz>
1213 * modules/pam_unix/support.c (_unix_getpwnam): Fix typo [#1224807]
1216 * modules/pam_unix/pam_unix_passwd.c (_unix_verify_shadow): Change the
1217 logic when comparing dates to handle corner cases better [#1245888].
1219 2005-10-31 Thorsten Kukuk <kukuk@suse.de>
1221 * modules/pam_filter/pam_filter.c: Use XCASE only if defined
1224 2005-10-27 Thorsten Kukuk <kukuk@suse.de>
1226 * doc/man/pam.8: Fix wording for authentication chapter [#1197444]
1228 2005-10-26 Tomas Mraz <t8m@centrum.cz>
1230 * modules/pam_unix/pam_unix_acct.c (_unix_run_verify_binary),
1231 modules/pam_unix/pam_unix_passwd.c (_unix_run_shadow_binary),
1232 modules/pam_unix/support.c (_unix_run_shadow_binary_): Set real
1233 uid to 0 before executing the helper if SELinux is enabled.
1234 * modules/pam_unix/unix_chkpwd.c (main): Disable user check only
1235 if real uid is 0 (CVE-2005-2977). Log failed password check attempt.
1238 2005-10-20 Tomas Mraz <t8m@centrum.cz>
1240 * configure.in: Added check for xauth binary and --with-xauth option.
1241 * config.h.in: Added configurable PAM_PATH_XAUTH.
1242 * modules/pam_xauth/README,
1243 modules/pam_xauth/pam_xauth.8: Document where xauth is looked for.
1244 * modules/pam_xauth/pam_xauth.c (pam_sm_open_session): Implement
1245 searching xauth binary on multiple places.
1246 (run_coprocess): Don't use execvp as it can be a security risk.
1248 2005-10-04 Steve Langasek <vorlon@debian.org>
1250 * libpam/include/security/pam_malloc.h,
1251 libpam/include/security/pam_modules.h: Declare public header
1252 files extern "C" so that they are C++-safe.
1254 2005-10-02 Dmitry V. Levin <ldv@altlinux.org>
1255 Steve Langasek <vorlon@debian.org>
1257 Cleanup gratuitous use of strdup().
1258 Fix "missing argument" checks.
1260 * modules/pam_env/pam_env.c (_pam_parse): Add const qualifier
1261 to conffile and envfile arguments. Do not use x_strdup() for
1262 conffile and envfile initialization. Fix "missing argument"
1264 (_parse_config_file): Take conffile argument of type "const char *"
1265 instead of "char **". Do not free conffile.
1266 (_parse_env_file): Take env_file argument of type "const char *"
1267 instead of "char **". Do not free env_file.
1268 (pam_sm_setcred): Add const qualifier to conf_file and env_file.
1269 Pass conf_file and env_file to _parse_config_file() and
1270 _parse_env_file() by value.
1271 (pam_sm_open_session): Likewise.
1273 * modules/pam_ftp/pam_ftp.c (_pam_parse): Add const qualifier to
1274 users argument. Do not use x_strdup() for users initialization.
1275 (lookup): Add const qualifier to list argument.
1276 (pam_sm_authenticate): Add const qualifier to users argument.
1278 * modules/pam_mail/pam_mail.c (_pam_parse): Add const qualifier
1279 to maildir argument. Do not use x_strdup() for maildir
1280 initialization. Fix "missing argument" check.
1281 (get_folder): Take path_mail argument of type "const char *"
1282 instead of "char **". Do not free path_mail.
1283 (_do_mail): Add const qualifier to path_mail argument.
1284 Pass path_mail to get_folder() by value.
1286 * modules/pam_motd/pam_motd.c: Include <syslog.h>.
1287 (pam_sm_open_session): Add const qualifier to motd_path.
1288 Do not use x_strdup() for motd_path initialization. Do not
1289 free motd_path. Fix "missing argument" check. Add "unknown
1292 * modules/pam_userdb/pam_userdb.c (_pam_parse): Add const
1293 qualifier to database and cryptmode arguments. Fix "missing
1295 (pam_sm_authenticate): Add const qualifier to database and cryptmode.
1296 (pam_sm_acct_mgmt): Likewise.
1298 2005-10-01 Steve Langasek <vorlon@debian.org>
1300 * modules/pam_userdb/pam_userdb.c: spelling fix in log message.
1302 2005-09-30 Steve Langasek <vorlon@debian.org>
1304 * modules/pam_userdb/pam_userdb.c: Fix memory leak due to
1305 gratuitous use of strdup().
1307 2005-09-27 Thorsten Kukuk <kukuk@thkukuk.de>
1311 * doc/specs/Makefile.am (install-data-local): Install
1313 (all): Copy rfc if we build outside of source directory.
1315 2005-09-27 Thorsten Kukuk <kukuk@suse.de>
1317 * NEWS: Document removal of pam_radius.
1318 * autogen.sh: Make configure script executeable.
1320 * conv/pam_conv1/Makefile (EXTRA_DIST): Removed lex.yy.c
1321 (lex.yy.c): Fixed out of tree build.
1323 * conv/pam_conv1/pam_conv.y: Fix main prototype.
1327 * po/POTFILES.in: Remove files not distributed by tar archive
1328 and not containing strings for translation.
1330 2005-09-26 Tomas Mraz <t8m@centrum.cz>
1332 * NEWS: Add a few missing entries from CHANGELOG.
1334 * AUTHORS: Fixed entries for Toady and me.
1336 * Makefile.am (M4_FILES): Fixed out of tree build.
1337 * doc/specs/Makefile.am (EXTRA_DIST): Removed lex.yy.c
1338 (spec, lex.yy.c): Fixed out of tree build.
1340 * modules/pam_userdb/README: Document try_first_pass and
1341 use_first_pass options, remove use_authtok option.
1344 2005-09-26 Dmitry V. Levin <ldv@altlinux.org>
1346 * NEWS: Mention changes in pam_lastlog.
1348 2005-09-26 Thorsten Kukuk <kukuk@suse.de>
1351 * autogen.sh: Don't generate NEWS file.
1352 * CHANGELOG: Document it as obsolete.
1354 2005-09-26 Tomas Mraz <t8m@centrum.cz>
1356 * modules/pam_unix/pam_unix_acct.c (_unix_run_verify_binary):
1357 _log_err() -> pam_syslog()
1358 (pam_sm_acct_mgmt): _log_err() -> pam_syslog(), fix warning.
1359 * modules/pam_unix/pam_unix_auth.c (pam_sm_authenticate):
1360 _log_err() -> pam_syslog()
1361 * modules/pam_unix/pam_unix_passwd.c: removed obsolete ifdef
1362 (getNISserver, _unix_run_shadow_binary, _update_passwd,
1363 _update_shadow, _do_setpass, _pam_unix_approve_pass,
1364 pam_sm_chauthtok): _log_err() -> pam_syslog()
1365 * modules/pam_unix/pam_unix_sess.c: removed obsolete ifdef
1366 (pam_sm_open_session, pam_sm_close_session):
1367 _log_err() -> pam_syslog()
1368 * modules/pam_unix/support.c (_log_err, converse): removed
1369 (_make_remark): use pam_prompt() instead of converse()
1370 (_set_ctrl, _cleanup_failures, _unix_run_helper_binary,
1371 _unix_verify_password, _unix_read_password):
1372 _log_err() -> pam_syslog()
1373 _cleanup(), _unix_cleanup(): Silence unused param warnings.
1374 (_cleanup_failures, _unix_verify_password, _unix_getpwnam,
1375 _unix_run_helper_binary): Silence incorrect type warnings.
1376 (_unix_read_password): Use multiple pam_prompt() and pam_info() calls
1377 instead of converse().
1378 * modules/pam_unix/support.h (_log_err): removed
1379 * modules/pam_unix/unix_chkpwd.c (_log_err): LOG_AUTH -> LOG_AUTHPRIV
1381 2005-09-26 Thorsten Kukuk <kukuk@suse.de>
1383 * configure.in: Add doc/specs/Makefile.
1384 * Makefile.am: Add releasedocs rule.
1385 * doc/Makefile.am: Add specs subdir, remove files from specs
1386 directory, add rfc86.0.txt to releasedocs.
1387 * doc/specs/Makefile.am: New file.
1388 * doc/specs/formatter/parse.y: move from here ...
1389 * doc/specs/parse.y: ... here.
1390 * doc/specs/formatter/parse.lex: move from here ...
1391 * doc/specs/parse.lex: ... here.
1393 * modules/pam_mail/pam_mail.c: Mark missing strings for translation
1394 * po/Linux-PAM.pot: Add new strings from pam_mail
1395 * po/cs.po: Likewise.
1396 * po/de.po: Likewise.
1397 * po/es.po: Likewise.
1398 * po/fi.po: Likewise.
1399 * po/fr.po: Likewise.
1400 * po/hu.po: Likewise.
1401 * po/it.po: Likewise.
1402 * po/ja.po: Likewise.
1403 * po/nb.po: Likewise.
1404 * po/pa.po: Likewise.
1405 * po/pl.po: Likewise.
1406 * po/pt.po: Likewise.
1407 * po/pt_BR.po: Likewise.
1408 * po/zh_CN.po: Likewise.
1409 * po/zh_TW.po: Likewise.
1411 2005-09-23 Tomas Mraz <t8m@centrum.cz>
1413 * modules/pam_access/pam_access.c (from_match): Support NULL from.
1414 (string_match): Support NULL string, add NONE keyword matching it.
1415 (pam_sm_acct_mgmt): Don't fail when ttyname returns NULL.
1416 * modules/pam_access/access.conf: NONE keyword description
1417 * modules/pam_access/README: NONE keyword description
1419 2005-09-22 Dmitry V. Levin <ldv@altlinux.org>
1421 * modules/pam_xauth/pam_xauth.c: (check_acl, pam_sm_open_session,
1422 pam_sm_close_session): Strip redundant "pam_xauth: " prefix from
1423 text of log messages.
1424 (pam_sm_open_session): Replace sequence of malloc(), strcpy()
1425 and strcat() calls with asprintf(). Replace syslog() calls
1428 * modules/pam_nologin/pam_nologin.c (parse_args): Use strncmp()
1429 instead of memcmp() for string comparison.
1431 2005-09-21 Dmitry V. Levin <ldv@altlinux.org>
1433 * modules/pam_nologin/pam_nologin.c: Include <syslog.h>.
1434 (parse_args): Add pam_handle_t* argument. Log unrecognized
1436 (perform_check): Log pam_get_user() and malloc() failures.
1437 (pam_sm_authenticate, pam_sm_setcred, pam_sm_acct_mgmt):
1438 Pass pam_handle_t* to parse_args().
1440 * modules/pam_mail/pam_mail.c: Include <errno.h>.
1441 Remove YOUR_MAIL_VERBOSE_FORMAT, YOUR_MAIL_STANDARD_FORMAT and
1442 NO_MAIL_STANDARD_FORMAT macros.
1443 (parse_args, get_folder): Cleanup error messages.
1444 (get_folder): Fix leak of the path_mail variable in case of
1445 pam_get_user() failure. Cleanup memory management.
1446 (get_mail_status): Add pam_handle_t* argument. Fix leaks of
1447 namelist variable. Cleanup memory management. Log memory
1448 allocation failures. Remove 250-byte limit on Maildir pathname.
1449 (report_mail): Mark text messages for translation.
1450 (_do_mail): Cleanup memory management. Pass pam_handle_t*
1451 to get_mail_status().
1453 * po/Linux-PAM.pot: Update with new strings from pam_mail for
1455 * po/cs.po: Likewise.
1456 * po/de.po: Likewise.
1457 * po/es.po: Likewise.
1458 * po/fi.po: Likewise.
1459 * po/fr.po: Likewise.
1460 * po/hu.po: Likewise.
1461 * po/it.po: Likewise.
1462 * po/ja.po: Likewise.
1463 * po/nb.po: Likewise.
1464 * po/pa.po: Likewise.
1465 * po/pl.po: Likewise.
1466 * po/pt.po: Likewise.
1467 * po/pt_BR.po: Likewise.
1468 * po/zh_CN.po: Likewise.
1469 * po/zh_TW.po: Likewise.
1471 2005-09-20 Thorsten Kukuk <kukuk@suse.de>
1473 * configure.in: Add finish translation.
1476 * acinclude.m4: remove libprelude macros.
1477 * m4/libprelude.m4: New.
1479 * Makefile.am (EXTRA_DIST): make sure we include all m4 macros.
1481 * libpamc/Makefile.am (EXTRA_DIST): Add License.
1483 See CHANGELOG for earlier changes.