summaryrefslogtreecommitdiff
path: root/ChangeLog
blob: b6da386cfca8f9748bf0029efac18b229ede59e4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
2006-06-16  Thorsten Kukuk  <kukuk@thkukuk.de>

	* modules/pam_unix/pam_unix_passwd.c (save_old_password): UIDs
	are unsigned on Linux, don't truncate them.
	(_do_setpass): err is of type clnt_stat, not int.

	* modules/pam_lastlog/pam_lastlog.c (last_login_read): Don't
	truncate UID for syslog output.

	* modules/pam_time/pam_time.c: Replace type boolean with int.
	* modules/pam_group/pam_group.c: Likewise.

2006-06-15  Thorsten Kukuk  <kukuk@thkukuk.de>

	* modules/pam_unix/bigcrypt.h: New.
	* modules/pam_unix/Makefile.am: Add bigcrypt.h.
	* modules/pam_unix/bigcrypt.c: Include bigcrypt.h.
	* modules/pam_unix/support.c: Include bigcrypt.h, remove
	own prototype.
	* modules/pam_unix/bigcrypt_main.c: Include bigcrypt.h, remove
	own prototype.
	* modules/pam_unix/pam_unix_passwd.c: Include bigcrypt.h, remove
	own prototype.

	* modules/pam_time/pam_time.c (logic_member): Remove unused
	variable len.

	* modules/pam_group/pam_group.c (logic_field): Accept
	colon in tty name. [#1428276].
	(logic_member): Remove unused variable len.
	(check_account): Fix usage of err variable in debug code.

	* modules/pam_time/pam_time.c (logic_field): Likewise.

	* configure.in: Add special exceptions for icc: different
	compiler warnings, no PIE support.

2006-06-14  Thorsten Kukuk  <kukuk@thkukuk.de>

	* libpam/pam_misc.c (_pam_strdup): Use strlen and strcpy.

	* configure.in: Remove --enable-memory-debug, add option
	to disable prelude if installed.

	* modules/pam_tally/pam_tally.c: Remove MEMORY_DEBUG
	* modules/pam_filter/upperLOWER/upperLOWER.c: Likewise.
	* modules/pam_unix/unix_chkpwd.c: Likewise.
	* libpam/include/security/_pam_types.h: Likewise.
	* libpam/libpam.map: Remove LIBPAM_MALLOC_DEBUG export.
	* libpam/pam_malloc.c: Remove file.
	* libpam/Makefile.am: Remove pam_malloc.c and pam_malloc.h.

	* libpam/pam_handlers.c (extract_modulename): Use _pam_strdup
	instead of strdup.

	* libpam/pam_private.h: Remove _pam_strCMP.
	* libpam/pam_misc.c: Likewise.
	* libpam/pam_handlers.c: Replaced _pam_strCMP with strcasecmp.

2006-06-12  Thorsten Kukuk  <kukuk@thkukuk.de>

	* modules/pam_tally/Makefile.am (AM_LDFLAGS): Remove flags
	for modules from main application.

2006-06-09  Thorsten Kukuk  <kukuk@thkukuk.de>

	* modules/pam_time/Makefile.am: Include Make.xml.rules.
	* modules/pam_time/time.conf.5: New, generated from xml file.
	* modules/pam_time/time.conf.5.xml: New.
	* modules/pam_time/pam_time.8: New, generated from xml file.
	* modules/pam_time/pam_time.8.xml: New.
	* modules/pam_time/README.xml: New.
	* modules/pam_time/README: Regenerated from README.xml.

	* modules/pam_wheel/Makefile.am: Include Make.xml.rules.
	* modules/pam_wheel/pam_wheel.8.xml: New.
	* modules/pam_wheel/pam_wheel.8: New, generated from xml file.
	* modules/pam_wheel/README.xml: New.
	* modules/pam_wheel/README: Regenerated from xml file.

	* modules/pam_xauth/Makefile.am: Include Make.xml.rules.
	* modules/pam_xauth/pam_xauth.8.xml: New.
	* modules/pam_xauth/pam_xauth.8: Regenerated from xml file.
	* modules/pam_xauth/README.xml: New.
	* modules/pam_xauth/README: Regenerated from xml file.

	* modules/pam_deny/pam_deny.8.xml: Fix syntax errors.
	* modules/pam_deny/pam_deny.8: Regenerate from xml file.
	* modules/pam_deny/README: Likewise.

	* modules/pam_warn/Makefile.am: Include Make.xml.rules.
	* modules/pam_warn/pam_warn.8.xml: New.
	* modules/pam_warn/pam_warn.8: New, generated from xml file.
	* modules/pam_warn/README.xml: New.
	* modules/pam_warn/README: Regenerated from xml file.

	* modules/pam_userdb/Makefile.am: Include Make.xml.rules.
	* modules/pam_userdb/pam_userdb.8.xml: New.
	* modules/pam_userdb/pam_userdb.8: New, generated from xml file.
	* modules/pam_userdb/README.xml: New.
	* modules/pam_userdb/README: Regenerated from xml file.

2006-06-06  Thorsten Kukuk  <kukuk@thkukuk.de>

	* modules/pam_shells/Makefile.am: Include Make.xml.rules.
	* modules/pam_shells/pam_shells.8.xml: New.
	* modules/pam_shells/pam_shells.8: New, generated from xml file.
	* modules/pam_shells/README.xml: New.
	* modules/pam_shells/README: Regenerated from xml file.

	* libpam/include/security/pam_malloc.h: Add missing license
	informations.

	* libpam/include/security/pam_ext.h: Add brackets for C++.
	* libpam/include/security/pam_modutil.h: Likewise.

	* libpam/include/security/pam_modules.h: Document where to
	find the copyright/license informations.

	* libpam/include/security/pam_appl.h: Move _pam_compat.h
	include inside of brackets.

2006-06-04  Thorsten Kukuk  <kukuk@thkukuk.de>

	* modules/pam_securetty/Makefile.am: Include Make.xml.rules.
	* modules/pam_securetty/pam_securetty.8.xml: New.
	* modules/pam_securetty/pam_securetty.8: Regenerated from xml file.
	* modules/pam_securetty/README.xml: New.
	* modules/pam_securetty/README: Regenerated from xml file.

	* modules/pam_rootok/Makefile.am: Include Make.xml.rules.
	* modules/pam_rootok/pam_rootok.8.xml: New.
	* modules/pam_rootok/pam_rootok.8: New, generated from xml file.
	* modules/pam_rootok/README.xml: New.
	* modules/pam_rootok/README: Regenerated from xml file.

	* modules/pam_permit/Makefile.am: Include Make.xml.rules.
	* modules/pam_permit/pam_permit.8.xml: New.
	* modules/pam_permit/pam_permit.8: New, generated from xml file.
	* modules/pam_permit/README.xml: New.
	* modules/pam_permit/README: Regenerated from xml file.

	* modules/pam_nologin/Makefile.am: Include Make.xml.rules.
	* modules/pam_nologin/pam_nologin.8.xml: New.
	* modules/pam_nologin/pam_nologin.8: Regenerated from xml file.
	* modules/pam_nologin/README.xml: New.
	* modules/pam_nologin/README: Regenerated from xml file.

2006-06-03  Thorsten Kukuk  <kukuk@thkukuk.de>

	* modules/pam_motd/Makefile.am: Include Make.xml.rules.
	* modules/pam_motd/pam_motd.8.xml: New.
	* modules/pam_motd/pam_motd.8: New, generated from xml file.
	* modules/pam_motd/README.xml: New.
	* modules/pam_motd/README: New, generated from xml file.

2006-06-02  Thorsten Kukuk  <kukuk@thkukuk.de>

	* modules/pam_mail/Makefile.am: Include Make.xml.rules.
	* modules/pam_mail/pam_mail.8.xml: New.
	* modules/pam_mail/pam_mail.8: New, generated from xml file.
	* modules/pam_mail/README.xml: New.
	* modules/pam_mail/README: Regenerated from xml file.

	* modules/pam_localuser/Makefile.am: Include Make.xml.rules.
	* modules/pam_localuser/pam_localuser.8.xml: New.
	* modules/pam_localuser/pam_localuser.8: New, generated from xml file.
	* modules/pam_localuser/README.xml: New.
	* modules/pam_localuser/README: Regenerated from xml file.

	* doc/man/PAM.8: Regenerate with DocBook XSL Stylesheets v1.70.1.
	* doc/man/pam.3: Likewise.
	* doc/man/pam.conf.5: Likewise.
	* doc/man/pam_acct_mgmt.3: Likewise.
	* doc/man/pam_authenticate.3: Likewise.
	* doc/man/pam_chauthtok.3: Likewise.
	* doc/man/pam_close_session.3: Likewise.
	* doc/man/pam_conv.3: Likewise.
	* doc/man/pam_end.3: Likewise.
	* doc/man/pam_error.3: Likewise.
	* doc/man/pam_fail_delay.3: Likewise.
	* doc/man/pam_get_data.3: Likewise.
	* doc/man/pam_get_item.3: Likewise.
	* doc/man/pam_get_user.3: Likewise.
	* doc/man/pam_getenv.3: Likewise.
	* doc/man/pam_getenvlist.3: Likewise.
	* doc/man/pam_info.3: Likewise.
	* doc/man/pam_open_session.3: Likewise.
	* doc/man/pam_prompt.3: Likewise.
	* doc/man/pam_putenv.3: Likewise.
	* doc/man/pam_set_data.3: Likewise.
	* doc/man/pam_set_item.3: Likewise.
	* doc/man/pam_setcred.3: Likewise.
	* doc/man/pam_sm_acct_mgmt.3: Likewise.
	* doc/man/pam_start.3: Likewise.
	* doc/man/pam_strerror.3: Likewise.
	* doc/man/pam_syslog.3: Likewise.
	* modules/pam_access/access.conf.5: Likewise.
	* modules/pam_access/pam_access.8: Likewise.
	* modules/pam_cracklib/pam_cracklib.8: Likewise.
	* modules/pam_deny/pam_deny.8: Likewise.
	* modules/pam_echo/pam_echo.8: Likewise.
	* modules/pam_env/pam_env.8: Likewise.
	* modules/pam_env/pam_env.conf.5: Likewise.
	* modules/pam_exec/pam_exec.8: Likewise.
	* modules/pam_filter/pam_filter.8: Likewise.
	* modules/pam_ftp/pam_ftp.8: Likewise.
	* modules/pam_group/group.conf.5: Likewise.
	* modules/pam_group/pam_group.8: Likewise.
	* modules/pam_issue/pam_issue.8: Likewise.
	* modules/pam_lastlog/pam_lastlog.8: Likewise.
	* modules/pam_mkhomedir/pam_mkhomedir.8: Likewise.
	* modules/pam_succeed_if/pam_succeed_if.8: Likewise.
	* modules/pam_umask/pam_umask.8: Likewise.

	* modules/pam_unix/pam_unix_acct.c (pam_sm_acct_mgmt): Use
	dngettext if available [#1427738].
	* configure.in: Check for dngettext [#1427738].
	* po/*.po: Update to dngettext usage.

	* modules/pam_listfile/Makefile.am: Include Make.xml.rules.
	* modules/pam_listfile/pam_listfile.8.xml: New.
	* modules/pam_listfile/pam_listfile.8: New, generated from xml file.
	* modules/pam_listfile/README.xml: New.
	* modules/pam_listfile/README: Regenerated from xml file.

2006-06-01  Thorsten Kukuk  <kukuk@thkukuk.de>

	* modules/pam_lastlog/Makefile.am: Include Make.xml.rules.
	* modules/pam_lastlog/pam_lastlog.8.xml: New.
	* modules/pam_lastlog/pam_lastlog.8: New, generated from xml file.
	* modules/pam_lastlog/README.xml: New.
	* modules/pam_lastlog/README: Regenerated from xml file.

	* modules/pam_group/Makefile.am: Include Make.xml.rules.
	* modules/pam_group/group.conf.5.xml: New.
	* modules/pam_group/group.conf.5: New, generated from xml file.
	* modules/pam_group/pam_group.8.xml: New.
	* modules/pam_group/pam_group.8: New, generated from xml file.
	* modules/pam_group/README.xml: New.
	* modules/pam_group/README: Regenerated from xml file.

	* modules/pam_ftp/Makefile.am: Include Make.xml.rules.
	* modules/pam_ftp/pam_ftp.8.xml: New.
	* modules/pam_ftp/pam_ftp.8: New, generated from xml file.
	* modules/pam_ftp/README.xml: New.
	* modules/pam_ftp/README: Regenerated from xml file.

	* modules/pam_issue/Makefile.am: Include Make.xml.rules.
	* modules/pam_issue/pam_issue.8.xml: New.
	* modules/pam_issue/pam_issue.8: New, generated from xml file.
	* modules/pam_issue/README.xml: New.
	* modules/pam_issue/README: Regenerated from xml file.

	* modules/pam_filter/Makefile.am: Include Make.xml.rules.
	* modules/pam_filter/pam_filter.8.xml: New.
	* modules/pam_filter/pam_filter.8: New, generated from xml file.
	* modules/pam_filter/README.xml: New.
	* modules/pam_filter/README: Regenerated from xml file.

2006-05-30  Thorsten Kukuk  <kukuk@thkukuk.de>

	* modules/pam_mkhomedir/pam_mkhomedir.8.xml: Fix umask and skel
	directory documentation.

	* modules/pam_umask/Makefile.am: Include Make.xml.rules.
	* modules/pam_umask/pam_umask.8.xml: New.
	* modules/pam_umask/pam_umask.8: New, generated from xml file.
	* modules/pam_umask/README.xml: New.
	* modules/pam_umask/README: Regenerated from xml file.

2006-05-29  Thorsten Kukuk  <kukuk@thkukuk.de>

	* modules/pam_mkhomedir/Makefile.am: Include Make.xml.rules.
	* modules/pam_mkhomedir/pam_mkhomedir.8.xml: New.
	* modules/pam_mkhomedir/pam_mkhomedir.8: New, generated from xml file.
	* modules/pam_mkhomedir/README.xml: New.
	* modules/pam_mkhomedir/README: Regenerated from xml file.

2006-05-23  Thorsten Kukuk  <kukuk@thkukuk.de>

	* modules/pam_echo/pam_echo.c (pam_echo): Use pam_modutil_read()
	instead of read().

2006-05-22  Thorsten Kukuk  <kukuk@thkukuk.de>

	* modules/pam_listfile/pam_listfile.c (pam_sm_authenticate):
	Fix memory leaks, [#1490956] found by Coverity.

	* modules/pam_tally/pam_tally.c (pam_get_uid): Check return
	value of pam_get_user().
	(tally_get_data): Check if oldtime is not NULL.
	[#1489818] found by Coverity.

	* modules/pam_mkhomedir/pam_mkhomedir.c (create_homedir): Don't
	ignore return value of stat(). [#1489808] found by Coverity.

	* modules/pam_mail/pam_mail.c (get_folder): Fix a potential
	NULL pointer dereference. [#1489792] found by Coverity.

	* libpam/Makefile.am: bump release number of libpam.so.
	* libpam/pam_misc.c (_pam_mkargv): Fix memory leak,
	[#1489804] found by Coverity.

	* modules/pam_echo/pam_echo.c (replace_and_print): Initialize
	str, [#1489658] found by Coverity.

	* modules/pam_cracklib/pam_cracklib.c (_pam_unix_approve_pass): Fix
	a potential NULL pointer dereference.
	(pam_sm_chauthtok): Remove dead code.
	[#1489634] found by Coverity.

2006-05-04  Thorsten Kukuk  <kukuk@suse.de>

	* configure.in: Check for fseeko.
	* modules/pam_tally/pam_tally.c: Use fseeko if available
	(Based on patch by IBM).

2006-05-04  Thorsten Kukuk  <kukuk@thkukuk.de>

	* release version 0.99.4.0

	* libpam/pam_strerror.c: Unify error messages.

	* po/zh_TW.po: Adjust for last pam_strerror changes.
	* po/zh_CN.po: Likewise.
	* po/uk.po: Likewise.
	* po/tr.po: Likewise.
	* po/pt.po: Likewise.
	* po/pt_BR.po: Likewise.
	* po/pl.po: Likewise.
	* po/ja.po: Likewise.
	* po/nl.po: Likewise.
	* po/nb.po: Likewise.
	* po/it.po: Likewise.
	* po/hu.po: Likewise.
	* po/fr.po: Likewise.
	* po/fi.po: Likewise.
	* po/es.po: Likewise.
	* po/de.po: Likewise.
	* po/cs.po: Likewise.

	* doc/man/pam.3.xml: New.
	* doc/man/pam.3. New, generated from XML file.

	* doc/man/pam_sm_acct_mgmt.3.xml: New.
	* doc/man/pam_sm_acct_mgmt.3: New, generated from XML file.

	* doc/man/*.xml: Fix encoding and use always UTF-8, regenerate
	all manual pages.

	* doc/pam_modules.sgml (PAM_NEW_AUTHTOKEN_REQD): Fix typo.

2006-05-02  Thorsten Kukuk  <kukuk@thkukuk.de>

	* modules/pam_unix/pam_unix_acct.c (pam_sm_acct_mgmt): Use
	different strings for plural or not [#1427738]

	* po/*.po: Adjust for pam_unix.so translation fix.

	* modules/pam_tally/pam_tally.c: Always close file handle
	in error case, don't close it depending on *TALLY value [#1478180]

2006-04-21  Thorsten Kukuk  <kukuk@thkukuk.de>

	* po/fr.po: Updated.

2006-04-11  Thorsten Kukuk  <kukuk@thkukuk.de>

	* po/km.po: Updated.

2006-03-27  Thorsten Kukuk  <kukuk@thkukuk.de>

	* po/LINGUAS: Add uk.

	* po/uk.po: New.
	* po/cs.po: Updated.
	* po/po/es.po: Updated.
	* po/fi.po: Updated.
	* po/fr.po: Updated.
	* po/hu.po: Updated.
	* po/it.po: Updated.
	* po/ja.po: Updated.
	* po/nb.po: Updated.
	* po/pl.po: Updated.
	* po/pt.po: Updated.
	* po/pt_BR.po: Updated.
	* po/zh_CN.po: Updated.
	* po/zh_TW.po: Updated.

2006-03-21  Thorsten Kukuk  <kukuk@thkukuk.de>

	* configure.in: Remove ALL_LINGUAS.
	* po/LINGUAS: New.
	* po/tr.po: New (from Ismail Donmez <ismail@pardus.org.tr>).

2006-03-13  Thorsten Kukuk  <kukuk@thkukuk.de>

	* doc/man/pam_error.3.xml: New.
	* doc/man/pam_error.3: New, generated from XML file.
	* doc/man/pam_verror.3: New, generated from XML file.
	* doc/man/Makefile.am: Add pam_error.3 and pam_verror.3.

	* modules/pam_lastlog/Makefile.am: Fix typo.

	* modules/pam_lastlog/pam_lastlog.c: Move comment for
	translators in right line.
	* po/*.po: Update po files with comment for translator.

2006-03-12  Thorsten Kukuk  <kukuk@thkukuk.de>

	* doc/man/Makefile.am: Add new manual pages.

	* doc/man/pam.conf.5.xml: Replace link with content
	of PAM admin guide.
	* doc/man/pam.conf.5: Regenerated from XML file.

	* doc/man/pam_info.3.xml: New.
	* doc/man/pam_info.3: New, generated from XML file.
	* doc/man/pam_vinfo.3: New, generated from XML file.

	* doc/man/pam_conv.3.xml: New.
	* doc/man/pam_conv.3: New, generated from XML file.

	* doc/man/pam_putenv.3.xml: New.
	* doc/man/pam_putenv.3: New, generated from XML file.

	* doc/man/pam_getenv.3.xml: New.
	* doc/man/pam_getenv.3: New, generated from XML file.

	* doc/man/pam_getenvlist.3.xml: New.
	* doc/man/pam_getenvlist.3: New, generated from XML file.

	* libpam/pam_item.c (pam_get_user): Check for valid pamh before
	using it.

	* configure.in: create tests/Makefile
	* Makefile.am (SUBDIRS): Add tests
	* tests/Makefile.am: New.
	* tests/tst-dlopen.c: New.
	* tests/tst-pam_acct_mgmt.c: New.
	* tests/tst-pam_authenticate.c: New.
	* tests/tst-pam_chauthtok.c: New.
	* tests/tst-pam_close_session.c: New.
	* tests/tst-pam_end.c: New.
	* tests/tst-pam_fail_delay.c: New.
	* tests/tst-pam_getenvlist.c: New.
	* tests/tst-pam_get_item.c: New.
	* tests/tst-pam_open_session.c: New.
	* tests/tst-pam_setcred.c: New.
	* tests/tst-pam_set_item.c: New.
	* tests/tst-pam_start.c: New.
	* tests/tst-pam_get_user.c: New.

	* modules/pam_access/Makefile.am: Add rules for make check
	* modules/pam_access/tst-pam_access: New
	* modules/pam_cracklib/Makefile.am: Add rules for make check
	* modules/pam_cracklib/tst-pam_cracklib: New
	* modules/pam_debug/Makefile.am: Add rules for make check
	* modules/pam_debug/tst-pam_debug: New
	* modules/pam_deny/Makefile.am: Add rules for make check
	* modules/pam_deny/tst-pam_deny: New
	* modules/pam_echo/Makefile.am: Add rules for make check
	* modules/pam_echo/tst-pam_echo: New
	* modules/pam_env/Makefile.am: Add rules for make check
	* modules/pam_env/tst-pam_env: New
	* modules/pam_exec/Makefile.am: Add rules for make check
	* modules/pam_exec/tst-pam_exec: New
	* modules/pam_filter/Makefile.am: Add rules for make check
	* modules/pam_filter/tst-pam_filter: New
	* modules/pam_ftp/Makefile.am: Add rules for make check
	* modules/pam_ftp/tst-pam_ftp: New
	* modules/pam_group/Makefile.am: Add rules for make check
	* modules/pam_group/tst-pam_group: New
	* modules/pam_issue/Makefile.am: Add rules for make check
	* modules/pam_issue/tst-pam_issue: New
	* modules/pam_lastlog/Makefile.am: Add rules for make check
	* modules/pam_lastlog/tst-pam_lastlog: New
	* modules/pam_limits/Makefile.am: Add rules for make check
	* modules/pam_limits/tst-pam_limits: New
	* modules/pam_listfile/Makefile.am: Add rules for make check
	* modules/pam_listfile/tst-pam_listfile: New
	* modules/pam_localuser/Makefile.am: Add rules for make check
	* modules/pam_localuser/tst-pam_localuser: New
	* modules/pam_mail/Makefile.am: Add rules for make check
	* modules/pam_mail/tst-pam_mail: New
	* modules/pam_mkhomedir/Makefile.am: Add rules for make check
	* modules/pam_mkhomedir/tst-pam_mkhomedir: New
	* modules/pam_motd/Makefile.am: Add rules for make check
	* modules/pam_motd/tst-pam_motd: New
	* modules/pam_nologin/Makefile.am: Add rules for make check
	* modules/pam_nologin/tst-pam_nologin: New
	* modules/pam_permit/Makefile.am: Add rules for make check
	* modules/pam_permit/tst-pam_permit: New
	* modules/pam_rhosts/Makefile.am: Add rules for make check
	* modules/pam_rhosts/tst-pam_rhosts: New
	* modules/pam_rootok/Makefile.am: Add rules for make check
	* modules/pam_rootok/tst-pam_rootok: New
	* modules/pam_securetty/Makefile.am: Add rules for make check
	* modules/pam_securetty/tst-pam_securetty: New
	* modules/pam_selinux/Makefile.am: Add rules for make check
	* modules/pam_selinux/tst-pam_selinux: New
	* modules/pam_shells/Makefile.am: Add rules for make check
	* modules/pam_shells/tst-pam_shells: New
	* modules/pam_stress/Makefile.am: Add rules for make check
	* modules/pam_stress/tst-pam_stress: New
	* modules/pam_succeed_if/Makefile.am: Add rules for make check
	* modules/pam_succeed_if/tst-pam_succeed_if: New
	* modules/pam_tally/Makefile.am: Add rules for make check
	* modules/pam_tally/tst-pam_tally: New
	* modules/pam_time/Makefile.am: Add rules for make check
	* modules/pam_time/tst-pam_time: New
	* modules/pam_umask/Makefile.am: Add rules for make check
	* modules/pam_umask/tst-pam_umask: New
	* modules/pam_unix/Makefile.am: Add rules for make check
	* modules/pam_unix/tst-pam_unix: New
	* modules/pam_userdb/Makefile.am: Add rules for make check
	* modules/pam_userdb/tst-pam_userdb: New
	* modules/pam_warn/Makefile.am: Add rules for make check
	* modules/pam_warn/tst-pam_warn: New
	* modules/pam_wheel/Makefile.am: Add rules for make check
	* modules/pam_wheel/tst-pam_wheel: New
	* modules/pam_xauth/Makefile.am: Add rules for make check
	* modules/pam_xauth/tst-pam_xauth: New

2006-03-11  Thorsten Kukuk  <kukuk@thkukuk.de>

	* doc/man/pam_fail_delay.3.xml: New.
	* doc/man/pam_fail_delay.3: New, generated from xml.
	* doc/man/pam_prompt.3.xml: New.
	* doc/man/pam_prompt.3: New, generated from xml.
	* doc/man/pam_syslog.3.xml: New.
	* doc/man/pam_syslog.3: New, generated from xml.
	* doc/man/pam_vprompt.3: New, generated from xml.
	* doc/man/pam_vsyslog.3: New, generated from xml.

2006-02-24  Thorsten Kukuk  <kukuk@thkukuk.de>

	* po/km.po: Update Khmer translation.

2006-02-24  Thorsten Kukuk  <kukuk@thkukuk.de>

	* modules/pam_succeed_if/pam_succeed_if.8.xml: New, based on
	version from #1425487.
	* modules/pam_succeed_if/pam_succeed_if.8: Regenerated from xml.
	* modules/pam_succeed_if/Makefile.am: Include XML rules.
	* modules/pam_succeed_if/README.xml: New.
	* modules/pam_succeed_if/README: Regenerated from xml.
	* modules/pam_succeed_if/pam_succeed_if.c: Fix comment about
	return values.

2006-02-22  Thorsten Kukuk  <kukuk@thkukuk.de>

	* configure.in: Fix check for incomplete libaudit installations
	(Patch from Ruediger Oertel <ro@suse.de>).

	* modules/pam_lastlog/pam_lastlog.c (last_login_write): Initialize
	correct last_login field [#1427401].

	* modules/pam_lastlog/pam_lastlog.c (last_login_read): Mark strftime
	format string for translation to allow reorder [#1428269].
	* po/*.po: Update with last pam_lastlog change.


2006-02-17  Thorsten Kukuk  <kukuk@thkukuk.de>

	* doc/man/Makefile.am: Add new manual pages.
	* doc/man/pam_end.3: Regenerated from xml file.
	* doc/man/pam_end.3.xml: Document freeing of item data.
	* doc/man/pam_get_user.3: New.
	* doc/man/pam_get_user.3.xml: New.
	* modules/pam_access/access.conf.5.xml: Fix typos.
	* modules/pam_env/Makefile.am: Add new manual pages.
	* modules/pam_env/README: Regenerate from xml file.
	* modules/pam_env/README.xml: New.
	* modules/pam_env/pam_env.8: New.
	* modules/pam_env/pam_env.8.xml: New.
	* modules/pam_env/pam_env.conf.5: New.
	* modules/pam_env/pam_env.conf.5.xml New.

2006-02-14  Thorsten Kukuk  <kukuk@thkukuk.de>

	* po/fi.po: Updated translations.
	* po/pl.po: Likewise.
	* po/km.po: New translation.
	* configure.in: Add km as new language.

2006-02-13  Thorsten Kukuk  <kukuk@thkukuk.de>

	* modules/pam_echo/pam_echo.8.xml: New.
	* modules/pam_echo/pam_echo.8: Regenerated from xml file.
	* modules/pam_echo/Makefile.am: Include Make.xml.rules.
	* modules/pam_echo/pam_echo.c: Fix return value.

	* doc/modules/pam_chroot.sgml: Remove obsolete sgml file.

2006-02-12  Thorsten Kukuk  <kukuk@thkukuk.de>

	* configure.in: Add doc/man/Makefile.
	* Make.xml.rules: Enable xincludes for manual pages.
	* doc/Makefile.am (EXRA_DIST): Remove manual pages.
	(SUBDIR): Add man subdirectory.
	* doc/man/Makefile.am: New.
	* doc/man/pam_acct_mgmt.3: New.
	* doc/man/pam_acct_mgmt.3.xml: New.
	* doc/man/pam_get_data.3: New.
	* doc/man/pam_get_data.3.xml: New.
	* doc/man/pam_set_data.3: New.
	* doc/man/pam_set_data.3.xml: New.
	* doc/man/pam.8.xml: New.
	* doc/man/pam.8: Regenerated from xml file.
	* doc/man/pam_authenticate.3.xml: New.
	* doc/man/pam_authenticate.3: Regenerated from xml file.
	* doc/man/pam_chauthtok.3.xml: New.
	* doc/man/pam_chauthtok.3: Regenerated from xml file.
	* doc/man/pam_close_session.3.xml: New.
	* doc/man/pam_close_session.3: Regenerated from xml file.
	* doc/man/pam_end.3.xml: New.
	* doc/man/pam_end.3: Regenerated from xml file.
	* doc/man/pam_fail_delay.3.xml: New.
	* doc/man/pam_fail_delay.3: Regenerated from xml file.
	* doc/man/pam_get_item.3.xml: New.
	* doc/man/pam_get_item.3: Regenerated from xml file.
	* doc/man/pam_item_types.inc.xml: New.
	* doc/man/pam_open_session.3.xml: New.
	* doc/man/pam_open_session.3: Regenerated from xml file.
	* doc/man/pam_set_item.3.xml: New.
	* doc/man/pam_set_item.3: Regenerated from xml file.
	* doc/man/pam_setcred.3.xml: New.
	* doc/man/pam_setcred.3: Regenerated from xml file.
	* doc/man/pam_start.3.xml: New.
	* doc/man/pam_start.3: Regenerated from xml file.
	* doc/man/pam_strerror.3.xml: New.
	* doc/man/pam_strerror.3: Regenerated from xml file.
	* doc/man/template-man: Removed.

2006-02-10  Thorsten Kukuk  <kukuk@thkukuk.de>

	* configure.in: Remove pam_pwdb support.
	* modules/Makefile.am: remove pam_pwdb.
	* modules/pam_pwdb: Remove complete directory.
	* libpam/Makefile.am: Remove LIBPWDB references.
	* libpam/pam_static_modules.h: Remove pam_pwdb references.
	* doc/modules/pam_pwdb.sgml: Removed.
	* po/POTFILES.in: Remove modules/pam_pwdb/*.c entries.
	* doc/pam_source.sgml: Remove references to libpwdb.
	* doc/modules/pam_limits.sgml: Remove wrong reference to libpwdb.
	* doc/modules/pam_group.sgml: Likewise.
	* doc/modules/pam_cracklib.sgml: Replace pam_pwdb with pam_unix.
	* doc/modules/pam_userdb.sgml: Likewise.
	* modules/pam_cracklib/pam_cracklib.8.xml: Replace pam_pwdb
	with pam_unix.
	* modules/pam_mkhomedir/pam_mkhomedir.c: Likewise.
	* modules/pam_group/pam_group.c: Remove dead code for libpwdb.

	* modules/pam_access/Makefile.am: Fix EXTRA_DIST.
	* modules/pam_cracklib/Makefile.am: Likewise.
	* modules/pam_deny/Makefile.am: Likewise.
	* modules/pam_exec/Makefile.am: Likewise.

2006-02-07  Thorsten Kukuk  <kukuk@thkukuk.de>

        * configure.in: Check for text browser.
	* Make.xml.rules: Add rule to generate README from README.xml.

	* modules/pam_access/Makefile.am: Include Make.xml.rules.
	* modules/pam_access/README: Regenerated from README.xml.
	* modules/pam_access/README.xml: New.
	* modules/pam_access/access.conf: Extended by new examples.
	* modules/pam_access/access.conf.5: New, generated from xml file.
	* modules/pam_access/access.conf.5.xml: New.
	* modules/pam_access/pam_access.8: New, generated from xml file.
	* modules/pam_access/pam_access.8.xml: New.
	* modules/pam_access/pam_access.c: Add rules for IPv6 and
	netmasks.
	Based on patch from Mike Becher <Mike.Becher@lrz-muenchen.de>.

	* modules/pam_deny/Makefile.am: Include Make.xml.rules.
	* modules/pam_deny/pam_deny.8.xml: New.
	* modules/pam_deny/pam_deny.8: New, generated from xml file.
	* modules/pam_deny/README.xml: New.
	* modules/pam_deny/README: Regenerated from xml file.

	* modules/pam_cracklib/Makefile.am: Include Make.xml.rules.
	* modules/pam_cracklib/pam_cracklib.8.xml: New.
	* modules/pam_cracklib/pam_cracklib.8: New, generated from xml file.
	* modules/pam_cracklib/README.xml: New.
	* modules/pam_cracklib/README: Regenerated from xml file.

	* modules/pam_exec/Makefile.am: Add rule to generate README.
	* modules/pam_exec/README: Regenerated from xml file.
	* modules/pam_exec/pam_exec.8: Regenerated from xml file.
	* modules/pam_exec/pam_exec.8.xml: Syntax files.

2006-02-06  Thorsten Kukuk  <kukuk@thkukuk.de>

	* po/nl.po: New.
	* po/pt.po: Update translations.
	* configure.in: Add nl as new language.

2006-01-30  Thorsten Kukuk  <kukuk@thkukuk.de>

	* modules/pam_exec/pam_exec.8.xml: Fix syntax of Return Value section.
	* modules/pam_exec/Makefile.am: Include Make.xml.rules.

	* Make.xml.rules: New.

	* Makefile.am (EXTRA_DIST): Add Make.xml.rules.

2006-01-27  Thorsten Kukuk  <kukuk@thkukuk.de>

	* configure.in: Prefer libdb over libndbm, fix check for
	libcrack and remove not needed BACKUP_LIBS.

2006-01-24  Thorsten Kukuk  <kukuk@thkukuk.de>

	* modules/pam_debug/pam_debug.c: Fix name of pam_module struct.

	* po/de.po: Fix one translation.

	* configure.in: Add modules/pam_exec.
	* modules/Makefile.am: Add pam_exec subdirectory.
	* modules/pam_exec/README: New.
	* modules/pam_exec/Makefile.am: New.
	* modules/pam_exec/pam_exec.8: New.
	* modules/pam_exec/pam_exec.c: New.
	* modules/pam_exec/pam_exec.8.xml: New.
	* po/POTFILES.in: Add modules/pam_exec/pam_exec.c.
	* po/*.po: Merge new pam_exec strings.

	* libpam/pam_static_modules.h: New.
	* Makefile.am: Reorder subdirectories for static modules.
	* configure.in: Add --enable-static-modules option.
	* libpam/Makefile.am: Define WITH_SELINUX and WITH_PWDB if
	necessary, add pam_static_modules.h, link against all PAM
	module object files if STATIC_MODULES is defined.
	* libpam/pam_static.c: Remove old _static_module* includes,
	include pam_static_modules.h.

	* configure.in: Add checks for xsltproc, xmllint and docbook
	xsl stylesheet.
	* m4/jh_path_xml_catalog.m4: New.

2006-01-22  Thorsten Kukuk  <kukuk@thkukuk.de>

	* modules/pam_succeed_if/pam_succeed_if.c: Add support for
	static modules.
	* modules/pam_xauth/pam_xauth.c: Likewise.

	* libpam/pam_static.c (_pam_open_static_handler): Add pamh
	as argument.
	* libpam/pam_private.h: Adjust prototype.
	* libpam/pam_handlers.c (_pam_add_handler): Add pamh to
	_pam_open_static_handler call.

	* configure.in: Don't define PAM_DYNAMIC.
	* libpam/pam_handlers.c: Get ride of PAM_DYNAMIC, don't
	include pam_dynamic.h
	* libpam/pam_dynamic.c: Don't include pam_dynamic.h,
	exclude functions if we compile with PAM_STATIC.
	* libpam/pam_dynamic.h: Remove.
	* libpam/pam_private.h: Add function prototypes from pam_dynamic.h.
	* libpam/Makefile.am: Bump version number of libpam, remove
	pam_dynamic.h.

2006-01-21  Thorsten Kukuk  <kukuk@thkukuk.de>

	* modules/pam_listfile/pam_listfile.c: Add support for session
	and password management.

2006-01-19  Thorsten Kukuk  <kukuk@suse.de>

	* doc/specs/Makefile.am (spec): Add padout to fix parallel
	build (Reported by Andreas Haumer <andreas@xss.co.at>).

2006-01-15  Thorsten Kukuk  <kukuk@thkukuk.de>

	* modules/pam_echo/pam_echo.c: Define HOST_NAME_MAX if not
	already defined.

2006-01-13  Thorsten Kukuk  <kukuk@thkukuk.de>

	* release version 0.99.3.0

	* libpam_misc/misc_conv.c (misc_conv): Fix strict aliasing
	error.

	* modules/pam_umask/pam_umask.c (search_key): Don't ignore
	EOF/error return value from fgets().

	* configure.in: Check for getline and getdelim

	* po/fi.po: Add new translations.
	* po/de.po: Likewise.
	* po/es.po: Likewise.
	* po/fr.po: Likewise.
	* po/it.po: Likewise.
	* po/ja.po: Likewise.
	* po/pt_BR.po: Likewise.
	* po/zh_CH.po: Likewise.
	* po/zh_TW.po: Likewise.

2006-01-13  Dmitry V. Levin  <ldv@altlinux.org>

	* libpam/pam_audit.c (_pam_auditlog): Replace strerror(errno)
	call with %m specifier.

2006-01-12  Thorsten Kukuk  <kukuk@thkukuk.de>

	* configure.in: Add check for -fpie/-pie
	* modules/pam_filter/upperLOWER/Makefile.am: Compile/link
	upperLOWER with -fpie/-pie if supported.
	* modules/pam_unix/Makefile.am: Compile/link unix_chkpwd
	with -fpie/-pie if supported.

2006-01-12  Steve Grubb  <sgrubb@redhat.com>

	* configure.in: Add check for audit library.
	* libpam/Makefile.am (libpam_la_LDFLAGS): Add LIBAUDIT.
	(libpam_la_SOURCES): Add pam_audit.c.
	* libpam/pam_account.c (pam_acct_mgmt): Add _pam_auditlog() call.
	* libpam/pam_auth.c (pam_authenticate), (pam_setcred): Likewise.
	* libpam/pam_password.c (pam_chauthtok):  Likewise.
	* libpam/pam_session.c (pam_open_session),
	(pam_close_session): Likewise.
	* libpam/pam_private.h: Add audit_state member to pam_handle,
	declare _pam_auditlog and _pam_audit_end.
	* libpam/pam_start.c (pam_start): Initialize audit_state.
	* libpam/pam_audit.c: New file with _pam_auditlog and _pam_audit_end
	implementation.
	* libpam/pam_end.c (pam_end): Add _pam_audit_end() call.
	* NEWS: Note about added auditing.

2006-01-11  Thorsten Kukuk  <kukuk@thkukuk.de>

	* libpam/Makefile.am (AM_CFLAGS): Define LIBPAM_COMPILE.

	* libpam/include/security/_pam_types.h: Don't define PAM_NONNULL
	if we compile libpam itself.

	* po/hu.po: Update with new translations.

2006-01-08  Thorsten Kukuk  <kukuk@thkukuk.de>

	* modules/pam_cracklib/pam_cracklib.c: Use PAM_AUTHTOK_RECOVERY_ERR
	instead of PAM_AUTHTOK_RECOVER_ERR.
	* modules/pam_pwdb/support.-c: Likewise.
	* modules/pam_unix/support.c: Likewise.
	* modules/pam_userdb/pam_userdb.c (pam_sm_authenticate): Likewise.
	* libpam/pam_strerror.c (pam_strerror): Likewise.

	* libpam/include/security/_pam_compat.h: Define
	PAM_AUTHTOK_RECOVER_ERR for backward compatibility.

	* libpam/include/security/_pam_types.h: Rename
	PAM_AUTHTOK_RECOVER_ERR to PAM_AUTHTOK_RECOVERY_ERR.

2006-01-05  Thorsten Kukuk  <kukuk@thkukuk.de>

	* libpam/include/security/_pam_types.h: Remove nonnull attribute
	from third paramter (item) of pam_get_item.
	* libpam/Makefile.am: Bump version number of shared library.

2005-12-21  Tomas Mraz <t8m@centrum.cz>

	* modules/pam_succeed_if/pam_succeed_if.c (evaluate_ingroup),
	(evaluate_notingroup): Simplified.
	(evaluate_innetgr), (evaluate_notinnetgr): New functions.
	(evaluate): Added calls to evaluate_(not)innetgr().
	* modules/pam_succeed_if/README: Documented netgroup matching.
	* NEWS: Mentioned the added netgroup matching support.

2005-12-20  Thorsten Kukuk  <kukuk@thkukuk.de>

	* modules/pam_lastlog/pam_lastlog.c (last_login_read): Use
	strftime instead of ctime.

	* po/de.po: Fix typo.

2005-12-19  Thorsten Kukuk  <kukuk@thkukuk.de>

	* libpam/pam_syslog.c: Define LOG_AUTHPRIV as LOG_AUTH on Solaris.
	Reported by Charles_H_Bedford@nbc.gov.

	* modules/pam_time/pam_time.c (check_account): Implement
	support for netgroups.

	* modules/pam_time/time.conf: Document usage of netgroups.

2005-12-16  Thorsten Kukuk  <kukuk@thkukuk.de>

	* modules/pam_group/pam_group.c (check_account): Implement
	support for netgroups.

	* modules/pam_group/group.conf: Add all documentation to this
	example config file and don't reference to outdated configs.

	* modules/pam_group/README: New.

	* modules/pam_group/Makefile.am: Add README to EXTRADIST.

2005-12-15  Thorsten Kukuk  <kukuk@suse.de>

	* modules/pam_lastlog/pam_lastlog.c (last_login_read): Don't report an
	error if user logins the first time.

	* modules/pam_lastlog/README: New.

	* modules/pam_lastlog/Makefile.am: Add README to EXTRADIST.

2005-12-14  Thorsten Kukuk  <kukuk@suse.de>

	* modules/pam_deny/pam_deny.c: Fix comment.

	* doc/pam_appl.sgml: Fix typo.

	Reported by Russell Bateman <russ@windofkeltia.com>

2005-12-12  Thorsten Kukuk  <kukuk@thkukuk.de>

	* release version 0.99.2.1

	* po/de.po: Remove new fuzzy entry

	* NEWS: Add 0.99.2.1 changes

	* configure.in: bump version number to 0.99.2.1

2005-12-12  Dmitry V. Levin  <ldv@altlinux.org>

	Cleanup pam_syslog messages.

	* modules/pam_env/pam_env.c (_expand_arg): Fix compiler warning.
	* modules/pam_filter/pam_filter.c (set_filter): Append %m
	specifier to pam_syslog messages where appropriate.
	* modules/pam_group/pam_group.c (read_field): Likewise.
	* modules/pam_mkhomedir/pam_mkhomedir.c (make_remark): Remove.
	(create_homedir): Do not use make_remark() wrapper, call
	pam_info() directly.  Call pam_syslog() right after failed
	operation and append %m specifier to pam_syslog messages where
	appropriate.
	* modules/pam_rhosts/pam_rhosts_auth.c (pam_iruserok): Replace
	sequence of malloc(), strcpy() and strcat() calls with asprintf().
	Append %m specifier to pam_syslog messages where appropriate.
	* modules/pam_securetty/pam_securetty.c (securetty_perform_check):
	Append %m specifier to pam_syslog messages where appropriate.
	* modules/pam_shells/pam_shells.c (perform_check): Likewise.

2005-12-12  Tomas Mraz  <t8m@centrum.cz>

	* modules/pam_mail/pam_mail.c (report_mail): Fixed typo in string.
	* po/Linux-PAM.pot: Likewise.
	* po/de.po: Likewise.
	* po/es.po: Likewise.
	* po/fi.po: Likewise.
	* po/fr.po: Likewise.
	* po/hu.po: Likewise.
	* po/it.po: Likewise.
	* po/ja.po: Likewise.
	* po/nb.po: Likewise.
	* po/pa.po: Likewise.
	* po/pl.po: Likewise.
	* po/pt.po: Likewise.
	* po/pt_BR.po: Likewise.
	* po/zh_CN.po: Likewise.
	* po/zh_TW.po: Likewise.
	* po/de.po: Add new translation, fixed typo in string.

2005-12-12  Mike Becher  <Mike.Becher@lrz-muenchen.de>

	* doc/Makefile.am: Fixed install of PS, PDF, TXT and HTML files.

2005-12-12  Thorsten Kukuk  <kukuk@suse.de>

	* modules/pam_mail/README: Document "quiet" and "standard"
	options.

2005-12-07  Thorsten Kukuk  <kukuk@suse.de>

	* modules/pam_mail/pam_mail.c: Modify assembling of output
	for easier translation.

	* po/de.po: Translate new pam_mail messages.


2005-11-24  Thorsten Kukuk  <kukuk@thkukuk.de>

	* po/de.po: Add new translation, fix wrong format specifier.
	* po/cs.po: Fix wrong format specifier.
	* po/es.po: Likewise.
	* po/fi.po: Likewise.
	* po/fr.po: Likewise.
	* po/hu.po: Likewise.
	* po/it.po: Likewise.
	* po/ja.po: Likewise.
	* po/nb.po: Likewise.
	* po/pa.po: Likewise.
	* po/pl.po: Likewise.
	* po/pt.po: Likewise.
	* po/pt_BR.po: Likewise.
	* po/zh_CN.po: Likewise.
	* po/zh_TW.po: Likewise.

2005-11-24  Dmitry V. Levin  <ldv@altlinux.org>

	* config.h.in: Remove generated file.
	* .cvsignore: Add config.h.in.

	* configure.in: Do not check for strerror.
	* libpam_misc/misc_conv.c (read_string): Replace strerror()
	call with %m specifier.
	* libpamc/pamc_converse.c (pamc_converse): Likewise.
	* modules/pam_echo/pam_echo.c (pam_echo): Likewise.
	* modules/pam_localuser/pam_localuser.c (pam_sm_authenticate):
	Likewise.
	* modules/pam_selinux/pam_selinux.c (security_label_tty):
	Likewise.
	(security_restorelabel_tty, security_label_tty): Append %m
	specifier where appropriate.
	* modules/pam_selinux/pam_selinux_check.c (main): Replace
	strerror() call with %m specifier.
	* modules/pam_unix/pam_unix_passwd.c (save_old_password,
	_update_passwd, _update_shadow): Likewise.
	* modules/pam_unix/support.c (_unix_run_helper_binary): Likewise.
	* modules/pam_unix/unix_chkpwd.c (_update_shadow): Likewise.
	* po/Linux-PAM.pot: Update strings from pam_selinux.
	* po/cs.po: Likewise.
	* po/de.po: Likewise.
	* po/es.po: Likewise.
	* po/fi.po: Likewise.
	* po/fr.po: Likewise.
	* po/hu.po: Likewise.
	* po/it.po: Likewise.
	* po/ja.po: Likewise.
	* po/nb.po: Likewise.
	* po/pa.po: Likewise.
	* po/pl.po: Likewise.
	* po/pt.po: Likewise.
	* po/pt_BR.po: Likewise.
	* po/zh_CN.po: Likewise.
	* po/zh_TW.po: Likewise.

2005-11-23  Thorsten Kukuk  <kukuk@suse.de>

	* modules/pam_xauth/pam_xauth.c (pam_sm_open_session): Introduce
	new variable to fix compiler warning.

	* libpam/pam_modutil_getlogin.c (pam_modutil_getlogin): PAM_TTY
	don't need to start with /dev/.

2005-11-21  Thorsten Kukuk  <kukuk@thkukuk.de>

	* release version 0.99.2.0

	* libpam_misc/Makefile.am: Increase release number (for change
	from 2005-11-09)

	* NEWS: Adjust for 0.99.2.0

2005-11-17  Thorsten Kukuk  <kukuk@thkukuk.de>

	* libpam/include/security/_pam_compat.h: Fix wrong #ifdef nesting.
	Redefine PAM_CHANGE_EXPIRED_AUTHTOK [#604380]

2005-11-16  Thorsten Kukuk  <kukuk@thkukuk.de>

	* libpam/pam_handlers.c: Replace code for all dlopen variants with
	a generic wrapper.
	* libpam/pam_dynamic.c: Implement generic wrapper for dlopen.
	* libpam/pam_dynamic.h: Provide prototypes.
	For Mac OS X support [#534205]

2005-11-09  Tomas Mraz <t8m@centrum.cz>

	* modules/pam_access/pam_access.c (pam_sm_acct_mgmt): Parse correctly
	full path tty name.
	* modules/pam_time/pam_time.c (pam_sm_acct_mgmt): Parse correctly
	full path tty name. Allow unset tty.
	(logic_member): Allow matching ':' in tty name.
	* modules/pam_group/pam_group.c (pam_sm_acct_mgmt): Parse correctly
	full path tty name. Allow unset tty.
	(logic_member): Allow matching ':' in tty name.

	* libpam_misc/misc_conv.c (read_string): Read only up to EOL if stdin
	is not terminal.

2005-11-07  Thorsten Kukuk  <kukuk@thkukuk.de>

	* modules/pam_unix/pam_unix_passwd.c (_unix_verify_shadow): Use
	correct variable names.

2005-11-06  Steve Langasek <vorlon@debian.org>

	* modules/pam_env/pam_env.c: don't treat a missing
	/etc/environment as a fatal error when attempting to read it,
	and try to read this file by default; this restores the behavior
	from Linux-PAM 0.76.

2005-11-02  Tomas Mraz <t8m@centrum.cz>

	* modules/pam_unix/support.c (_unix_getpwnam): Fix typo [#1224807]
	by ohyajapn.

	* modules/pam_unix/pam_unix_passwd.c (_unix_verify_shadow): Change the
	logic when comparing dates to handle corner cases better [#1245888].

2005-10-31  Thorsten Kukuk  <kukuk@suse.de>

	* modules/pam_filter/pam_filter.c: Use XCASE only if defined
	[#624214]

2005-10-27  Thorsten Kukuk  <kukuk@suse.de>

	* doc/man/pam.8: Fix wording for authentication chapter [#1197444]

2005-10-26  Tomas Mraz  <t8m@centrum.cz>

	* modules/pam_unix/pam_unix_acct.c (_unix_run_verify_binary),
	modules/pam_unix/pam_unix_passwd.c (_unix_run_shadow_binary),
	modules/pam_unix/support.c (_unix_run_shadow_binary_): Set real
	uid to 0 before executing the helper if SELinux is enabled.
	* modules/pam_unix/unix_chkpwd.c (main): Disable user check only
	if real uid is 0 (CVE-2005-2977). Log failed password check attempt.


2005-10-20  Tomas Mraz	<t8m@centrum.cz>

	* configure.in: Added check for xauth binary and --with-xauth option.
	* config.h.in: Added configurable PAM_PATH_XAUTH.
	* modules/pam_xauth/README,
	modules/pam_xauth/pam_xauth.8: Document where xauth is looked for.
	* modules/pam_xauth/pam_xauth.c (pam_sm_open_session): Implement
	searching xauth binary on multiple places.
	(run_coprocess): Don't use execvp as it can be a security risk.

2005-10-04  Steve Langasek  <vorlon@debian.org>

	* libpam/include/security/pam_malloc.h,
	libpam/include/security/pam_modules.h: Declare public header
	files extern "C" so that they are C++-safe.

2005-10-02  Dmitry V. Levin  <ldv@altlinux.org>
	    Steve Langasek  <vorlon@debian.org>

	Cleanup gratuitous use of strdup().
	Fix "missing argument" checks.

	* modules/pam_env/pam_env.c (_pam_parse): Add const qualifier
	to conffile and envfile arguments.  Do not use x_strdup() for
	conffile and envfile initialization.  Fix "missing argument"
	checks.
	(_parse_config_file): Take conffile argument of type "const char *"
	instead of "char **".  Do not free conffile.
	(_parse_env_file): Take env_file argument of type "const char *"
	instead of "char **".  Do not free env_file.
	(pam_sm_setcred): Add const qualifier to conf_file and env_file.
	Pass conf_file and env_file to _parse_config_file() and
	_parse_env_file() by value.
	(pam_sm_open_session): Likewise.

	* modules/pam_ftp/pam_ftp.c (_pam_parse): Add const qualifier to
	users argument.  Do not use x_strdup() for users initialization.
	(lookup):  Add const qualifier to list argument.
	(pam_sm_authenticate): Add const qualifier to users argument.

	* modules/pam_mail/pam_mail.c (_pam_parse): Add const qualifier
	to maildir argument.  Do not use x_strdup() for maildir
	initialization.  Fix "missing argument" check.
	(get_folder): Take path_mail argument of type "const char *"
	instead of "char **".  Do not free path_mail.
	(_do_mail): Add const qualifier to path_mail argument.
	Pass path_mail to get_folder() by value.

	* modules/pam_motd/pam_motd.c: Include <syslog.h>.
	(pam_sm_open_session): Add const qualifier to motd_path.
	Do not use x_strdup() for motd_path initialization.  Do not
	free motd_path.  Fix "missing argument" check.	Add "unknown
	option" warning.

	* modules/pam_userdb/pam_userdb.c (_pam_parse): Add const
	qualifier to database and cryptmode arguments.	Fix "missing
	argument" checks.
	(pam_sm_authenticate): Add const qualifier to database and cryptmode.
	(pam_sm_acct_mgmt): Likewise.

2005-10-01  Steve Langasek  <vorlon@debian.org>

	* modules/pam_userdb/pam_userdb.c: spelling fix in log message.

2005-09-30  Steve Langasek  <vorlon@debian.org>

	* modules/pam_userdb/pam_userdb.c: Fix memory leak due to
	gratuitous use of strdup().

2005-09-27  Thorsten Kukuk  <kukuk@thkukuk.de>

        * release 0.99.1.0

	* doc/specs/Makefile.am (install-data-local): Install
	rfc and draft.
	(all): Copy rfc if we build outside of source directory.

2005-09-27  Thorsten Kukuk  <kukuk@suse.de>

	* NEWS: Document removal of pam_radius.
	* autogen.sh: Make configure script executeable.

	* conv/pam_conv1/Makefile (EXTRA_DIST): Removed lex.yy.c
	(lex.yy.c): Fixed out of tree build.

	* conv/pam_conv1/pam_conv.y: Fix main prototype.

	* README: Adjust.

	* po/POTFILES.in: Remove files not distributed by tar archive
	and not containing strings for translation.

2005-09-26  Tomas Mraz  <t8m@centrum.cz>

	* NEWS: Add a few missing entries from CHANGELOG.

	* AUTHORS: Fixed entries for Toady and me.

	* Makefile.am (M4_FILES): Fixed out of tree build.
	* doc/specs/Makefile.am (EXTRA_DIST): Removed lex.yy.c
	(spec, lex.yy.c): Fixed out of tree build.

	* modules/pam_userdb/README: Document try_first_pass and
	use_first_pass options, remove use_authtok option.


2005-09-26  Dmitry V. Levin  <ldv@altlinux.org>

	* NEWS: Mention changes in pam_lastlog.

2005-09-26  Thorsten Kukuk  <kukuk@suse.de>

	* NEWS: New file.
	* autogen.sh: Don't generate NEWS file.
	* CHANGELOG: Document it as obsolete.

2005-09-26  Tomas Mraz  <t8m@centrum.cz>

	* modules/pam_unix/pam_unix_acct.c (_unix_run_verify_binary):
	_log_err() -> pam_syslog()
	(pam_sm_acct_mgmt): _log_err() -> pam_syslog(), fix warning.
	* modules/pam_unix/pam_unix_auth.c (pam_sm_authenticate):
	_log_err() -> pam_syslog()
	* modules/pam_unix/pam_unix_passwd.c: removed obsolete ifdef
	(getNISserver, _unix_run_shadow_binary, _update_passwd,
	_update_shadow, _do_setpass, _pam_unix_approve_pass,
	pam_sm_chauthtok): _log_err() -> pam_syslog()
	* modules/pam_unix/pam_unix_sess.c: removed obsolete ifdef
	(pam_sm_open_session, pam_sm_close_session):
	_log_err() -> pam_syslog()
	* modules/pam_unix/support.c (_log_err, converse): removed
	(_make_remark): use pam_prompt() instead of converse()
	(_set_ctrl, _cleanup_failures, _unix_run_helper_binary,
	_unix_verify_password, _unix_read_password):
	_log_err() -> pam_syslog()
	_cleanup(), _unix_cleanup(): Silence unused param warnings.
	(_cleanup_failures, _unix_verify_password, _unix_getpwnam,
	_unix_run_helper_binary): Silence incorrect type warnings.
	(_unix_read_password): Use multiple pam_prompt() and pam_info() calls
	instead of converse().
	* modules/pam_unix/support.h (_log_err): removed
	* modules/pam_unix/unix_chkpwd.c (_log_err): LOG_AUTH -> LOG_AUTHPRIV

2005-09-26  Thorsten Kukuk  <kukuk@suse.de>

	* configure.in: Add doc/specs/Makefile.
	* Makefile.am: Add releasedocs rule.
	* doc/Makefile.am: Add specs subdir, remove files from specs
	directory, add rfc86.0.txt to releasedocs.
	* doc/specs/Makefile.am: New file.
	* doc/specs/formatter/parse.y: move from here ...
	* doc/specs/parse.y: ... here.
	* doc/specs/formatter/parse.lex: move from here ...
	* doc/specs/parse.lex: ... here.

	* modules/pam_mail/pam_mail.c: Mark missing strings for translation
	* po/Linux-PAM.pot: Add new strings from pam_mail
	* po/cs.po: Likewise.
	* po/de.po: Likewise.
	* po/es.po: Likewise.
	* po/fi.po: Likewise.
	* po/fr.po: Likewise.
	* po/hu.po: Likewise.
	* po/it.po: Likewise.
	* po/ja.po: Likewise.
	* po/nb.po: Likewise.
	* po/pa.po: Likewise.
	* po/pl.po: Likewise.
	* po/pt.po: Likewise.
	* po/pt_BR.po: Likewise.
	* po/zh_CN.po: Likewise.
	* po/zh_TW.po: Likewise.

2005-09-23  Tomas Mraz  <t8m@centrum.cz>

	* modules/pam_access/pam_access.c (from_match): Support NULL from.
	(string_match): Support NULL string, add NONE keyword matching it.
	(pam_sm_acct_mgmt): Don't fail when ttyname returns NULL.
	* modules/pam_access/access.conf: NONE keyword description
	* modules/pam_access/README: NONE keyword description

2005-09-22  Dmitry V. Levin  <ldv@altlinux.org>

	* modules/pam_xauth/pam_xauth.c: (check_acl, pam_sm_open_session,
	pam_sm_close_session): Strip redundant "pam_xauth: " prefix from
	text of log messages.
	(pam_sm_open_session): Replace sequence of malloc(), strcpy()
	and strcat() calls with asprintf().  Replace syslog() calls
	with pam_syslog().

	* modules/pam_nologin/pam_nologin.c (parse_args): Use strncmp()
	instead of memcmp() for string comparison.

2005-09-21  Dmitry V. Levin  <ldv@altlinux.org>

	* modules/pam_nologin/pam_nologin.c: Include <syslog.h>.
	(parse_args): Add pam_handle_t* argument.  Log unrecognized
	options.
	(perform_check): Log pam_get_user() and malloc() failures.
	(pam_sm_authenticate, pam_sm_setcred, pam_sm_acct_mgmt):
	Pass pam_handle_t* to parse_args().

	* modules/pam_mail/pam_mail.c: Include <errno.h>.
	Remove YOUR_MAIL_VERBOSE_FORMAT, YOUR_MAIL_STANDARD_FORMAT and
	NO_MAIL_STANDARD_FORMAT macros.
	(parse_args, get_folder): Cleanup error messages.
	(get_folder): Fix leak of the path_mail variable in case of
	pam_get_user() failure.  Cleanup memory management.
	(get_mail_status): Add pam_handle_t* argument.	Fix leaks of
	namelist variable.  Cleanup memory management.	Log memory
	allocation failures.  Remove 250-byte limit on Maildir pathname.
	(report_mail): Mark text messages for translation.
	(_do_mail): Cleanup memory management.	Pass pam_handle_t*
	to get_mail_status().

	* po/Linux-PAM.pot: Update with new strings from pam_mail for
	translation.
	* po/cs.po: Likewise.
	* po/de.po: Likewise.
	* po/es.po: Likewise.
	* po/fi.po: Likewise.
	* po/fr.po: Likewise.
	* po/hu.po: Likewise.
	* po/it.po: Likewise.
	* po/ja.po: Likewise.
	* po/nb.po: Likewise.
	* po/pa.po: Likewise.
	* po/pl.po: Likewise.
	* po/pt.po: Likewise.
	* po/pt_BR.po: Likewise.
	* po/zh_CN.po: Likewise.
	* po/zh_TW.po: Likewise.

2005-09-20  Thorsten Kukuk  <kukuk@suse.de>

	* configure.in: Add finish translation.
	* po/fi.po: New.

	* acinclude.m4: remove libprelude macros.
	* m4/libprelude.m4: New.

	* Makefile.am (EXTRA_DIST): make sure we include all m4 macros.

	* libpamc/Makefile.am (EXTRA_DIST): Add License.

See CHANGELOG for earlier changes.