summaryrefslogtreecommitdiffstats
path: root/crypto/heimdal/ChangeLog
blob: e167b09a8957e580148ee61c2140ed9d00d6996a (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
2008-01-24  Love Hörnquist Åstrand  <lha@it.su.se>

	* Release 1.1

2008-01-21  Love Hörnquist Åstrand  <lha@it.su.se>

	* lib/krb5/get_for_creds.c: Use on variable less.

	* lib/krb5/get_for_creds.c: Try to handle ticket full and
	ticketless tickets better. Add doxygen comments while here.

	* lib/krb5/test_forward.c: Used for testing
	krb5_get_forwarded_creds().
	
	* lib/krb5/Makefile.am: noinst_PROGRAMS += test_forward

	* lib/krb5/Makefile.am: drop CHECK_SYMBOLS

	* lib/hdb/Makefile.am: drop CHECK_SYMBOLS

	* kdc/Makefile.am: drop CHECK_SYMBOLS

2008-01-18  Love Hörnquist Åstrand  <lha@it.su.se>

	* lib/krb5/version-script.map: Add krb5_digest_probe.
	
2008-01-13  Love Hörnquist Åstrand  <lha@it.su.se>
	
	* lib/krb5/pkinit.c: Replace hx509_name_to_der_name with
	hx509_name_binary.

2008-01-12  Love Hörnquist Åstrand  <lha@it.su.se>

	* lib/krb5/Makefile.am: add missing files

2007-12-28  Love Hörnquist Åstrand  <lha@it.su.se>

	* kdc/digest.c: Log probe message, add NTLM_TARGET_DOMAIN to the
	type2 message.

2007-12-14  Love Hörnquist Åstrand  <lha@it.su.se>

	* lib/hdb/dbinfo.c: Add hdb_default_db().

	* Makefile.am: Add some extra cf/*.

2007-12-12  Love Hörnquist Åstrand  <lha@it.su.se>
	
	* kuser/kgetcred.c: Fix type of name-type. From Andy Polyakov.

2007-12-09  Love Hörnquist Åstrand  <lha@it.su.se>

	* kdc/log.c: Use hdb_db_dir().

	* kpasswd/kpasswdd.c: Use hdb_db_dir().

2007-12-08  Love Hörnquist Åstrand  <lha@it.su.se>
	
	* kdc/config.c: Use hdb_db_dir().

	* kdc/kdc_locl.h: add KDC_LOG_FILE

	* kdc/hpropd.c: Use hdb_default_db().

	* kdc/kstash.c: Use hdb_db_dir().

	* kdc/pkinit.c: Adapt to hx509 changes, use hdb_db_dir().

	* lib/krb5/rd_req.c: Document krb5_rd_req_in_set_pac_check.

	* lib/krb5/verify_krb5_conf.c: Check check_pac.

	* lib/krb5/rd_req.c: use KRB5_CTX_F_CHECK_PAC to init check_pac
	field in the krb5_rd_req_in_ctx

	* lib/krb5/expand_hostname.c: Adapt to changing
	dns_canonicalize_hostname into flags field.

	* lib/krb5/context.c: Adapt to changing dns_canonicalize_hostname
	into flags field, add check-pac as an libdefaults option.

	* lib/krb5/pkinit.c: Adapt to changes in hx509 interface.

	* doc: add doxygen documentation to hcrypto

	* doc/doxytmpl.dxy: generate links
	
2007-12-07  Love Hörnquist Åstrand  <lha@it.su.se>

	* lib/krb5/Makefile.am: build_HEADERZ += heim_threads.h

	* lib/hdb/dbinfo.c (hdb_db_dir): Return the directory where the
	hdb database resides.

	* configure.in: Add --with-hdbdir to specify where the database is
	stored.

	* lib/krb5/crypto.c: revert previous patch, the problem is located
	in the RAND_file_name() function that will cause recursive nss
	lookups, can't fix that here.

2007-12-06  Love Hörnquist Åstrand  <lha@it.su.se>

	* lib/krb5/crypto.c (krb5_generate_random_block): try to avoid the
	dead-lock in by not holding the lock while running
	RAND_file_name. Prompted by Hai Zaar.

	* lib/krb5/n-fold.c: spelling
	
2007-12-04  Love Hörnquist Åstrand  <lha@it.su.se>

	* kuser/kdigest.c (digest-probe): implement command.

	* kuser/kdigest-commands.in (digest-probe): new command
	
	* kdc/digest.c: Implement supportedMechs request.

	* lib/krb5/error_string.c: Make krb5_get_error_string return an
	allocated string to make the function indempotent. From
	Zeqing (Fred) Xia.

2007-12-03  Love Hörnquist Åstrand  <lha@it.su.se>

	* lib/krb5/krb5_locl.h (krb5_context_data): Flag if
	default_cc_name was set by the user.

	* lib/krb5/fcache.c (fcc_move): make sure ->version is uptodate.

	* kcm/acquire.c: use krb5_free_cred_contents

	* kuser/kimpersonate.c: use krb5_free_cred_contents
	
	* kuser/kinit.c: Use krb5_cc_move to make an atomic switch of the
	cred cache.

	* lib/krb5/cache.c: Put back code that was needed, move gen_new
	into new_unique.

	* lib/krb5/mcache.c (mcc_default_name): Remove const

	* lib/krb5/krb5_locl.h: Add KRB5_DEFAULT_CCNAME_KCM, redefine
	KRB5_DEFAULT_CCNAME to KRB5_DEFAULT_CCTYPE

	* lib/krb5/cache.c: Use krb5_cc_ops->default_name to get the
	default name.

	* lib/krb5/kcm.c: Implement krb5_cc_ops->default_name.

	* lib/krb5/mcache.c: Implement krb5_cc_ops->default_name.

	* lib/krb5/fcache.c: Implement krb5_cc_ops->default_name.

	* lib/krb5/krb5.h: Add krb5_cc_ops->default_name.

	* lib/krb5/acache.c: Free context when done, implement
	krb5_cc_ops->default_name.

	* lib/krb5/kcm.c: implement dummy kcm_move

	* lib/krb5/mcache.c: Implement the move operation.

	* lib/krb5/version-script.map: export krb5_cc_move

	* lib/krb5/cache.c: New function krb5_cc_move().

	* lib/krb5/fcache.c: Implement the move operation.

	* lib/krb5/krb5.h: Add move to the krb5_cc_ops, causes major
	version bump.

	* lib/krb5/acache.c: Implement the move operation. Avoid using
	cc_set_principal() since it broken on Mac OS X 10.5.0.
	
2007-12-02  Love Hörnquist Åstrand  <lha@it.su.se>

	* lib/krb5/krb5_ccapi.h: Drop variable names to avoid -Wshadow.
	
2007-11-14  Love Hörnquist Åstrand  <lha@it.su.se>

	* kdc/krb5tgs.c: Should pass different key usage constants
	depending on whether or not optional sub-session key was passed by
	the client for the check of authorization data. The constant is
	used to derive "specific key" and its values are specified in
	7.5.1 of RFC4120.
	
	Patch from Andy Polyakov.

	* kdc/krb5tgs.c: Don't send auth data in referrals, microsoft
	clients have started to not like that. Thanks to Andy Polyakov for
	excellent research.

2007-11-11  Love Hörnquist Åstrand  <lha@it.su.se>

	* lib/krb5/creds.c: use krb5_data_cmp

	* lib/krb5/acache.c: use krb5_free_cred_contents

	* lib/krb5/test_renew.c: use krb5_free_cred_contents
	
2007-11-10  Love Hörnquist Åstrand  <lha@it.su.se>

	* lib/krb5/acl.c: doxygen documentation

	* lib/krb5/addr_families.c: doxygen documentation

	* doc: add doxygen

	* lib/krb5/plugin.c: doxygen documentation

	* lib/krb5/kcm.c: doxygen documentation

	* lib/krb5/fcache.c: doxygen documentation

	* lib/krb5/cache.c: doxygen documentations
	
	* lib/krb5/doxygen.c: doxygen introduction

	* lib/krb5/error_string.c: Doxygen documentation.

2007-11-03  Love Hörnquist Åstrand  <lha@it.su.se>

	* lib/krb5/test_plugin.c: expose krb5_plugin_register

	* lib/krb5/plugin.c: expose krb5_plugin_register

	* lib/krb5/version-script.map: sort, expose krb5_plugin_register

2007-10-24  Love Hörnquist Åstrand  <lha@it.su.se>

	* kdc/kerberos5.c: Adding same enctype is enough one time. From
	Andy Polyakov and Bjorn Sandell.
	
2007-10-18  Love  <lha@stacken.kth.se>

	* lib/krb5/cache.c (krb5_cc_retrieve_cred): check return value
	from krb5_cc_start_seq_get. From Zeqing (Fred) Xia
	
	* lib/krb5/fcache.c (init_fcc): provide better error codes

	* kdc/kerberos5.c (get_pa_etype_info2): more paranoia, avoid
	sending warning about pruned etypes.

	* kdc/kerberos5.c (older_enctype): old windows enctypes (arcfour
	based) "old", this to support windows 2000 clients (unjoined to a
	domain). From Andy Polyakov.

2007-10-07  Love Hörnquist Åstrand  <lha@it.su.se>

	* doc/setup.texi: Spelling, from Mark Peoples via Bjorn Sandell.
	
2007-10-04  Love Hörnquist Åstrand  <lha@it.su.se>

	* kdc/krb5tgs.c: More prettier printing of enctype, from KAMADA
	Ken'ichi.

	* lib/krb5/crypto.c (krb5_enctype_to_string): make sure string is
	NULL on failure.

2007-10-03  Love Hörnquist Åstrand  <lha@it.su.se>

	* kdc/kdc-replay.c: Catch KRB5_PROG_ATYPE_NOSUPP from
	krb5_addr2sockaddr and igore thte test is that case.
	
2007-09-29  Love Hörnquist Åstrand  <lha@it.su.se>

	* lib/krb5/context.c (krb5_free_context): free
	default_cc_name_env, from Gunther Deschner.

2007-08-27  Love Hörnquist Åstrand  <lha@it.su.se>

	* lib/krb5/{krb5.h,pac.c,test_pac.c,send_to_kdc.c,rd_req.c}: Make
	work with c++, reported by Hai Zaar

	* lib/krb5/{digest.c,krb5.h}: Make work with c++, reported by Hai Zaar

2007-08-20  Love Hörnquist Åstrand  <lha@it.su.se>

	* lib/hdb/Makefile.am: EXTRA_DIST += hdb.schema

2007-07-31  Love Hörnquist Åstrand  <lha@it.su.se>

	* check return value of alloc functions, from Charles Longeau

	* lib/krb5/principal.c: spelling.

	* kadmin/kadmin.8: spelling

	* lib/krb5/crypto.c: Check return values from alloc
	functions. Prompted by patch of Charles Longeau.

	* lib/krb5/n-fold.c: Make _krb5_n_fold return a error
	code. Prompted by patch of Charles Longeau.

2007-07-27  Love Hörnquist Åstrand  <lha@it.su.se>

	* lib/krb5/init_creds.c: Always set the ticket options, use
	KRB5_ADDRESSLESS_DEFAULT as the default value, this make the unset
	tri-state not so useful.

2007-07-24  Love Hörnquist Åstrand  <lha@it.su.se>

	* tools/heimdal-gssapi.pc.in: Add LIB_pkinit to the list of
	libraries.

	* tools/heimdal-gssapi.pc.in: pkg-config file for libgssapi in
	heimdal.

	* tools/Makefile.am: Add heimdal-gssapi.pc and install it into
	$(libdir)/pkgconfig

2007-07-23  Love Hörnquist Åstrand  <lha@it.su.se>

	* lib/krb5/pkinit.c: Add RFC3526 modp group14 as a default.

2007-07-22  Love Hörnquist Åstrand  <lha@it.su.se>

	* lib/hdb/dbinfo.c (get_dbinfo): use dbname instead of realm as
	key if the entry is a correct entry.

	* lib/krb5/get_cred.c: Make krb5_get_renewed_creds work, from
	Gunther Deschner.

	* lib/krb5/Makefile.am: Add test_renew to noinst_PROGRAMS.

	* lib/krb5/test_renew.c: Test for krb5_get_renewed_creds.

2007-07-21  Love Hörnquist Åstrand  <lha@it.su.se>

	* lib/hdb/keys.c: Make parse_key_set handle key set string "v5",
	from Peter Meinecke.

	* kdc/kaserver.c: Don't ovewrite the error code, from Peter
	Meinecke.

2007-07-18  Love Hörnquist Åstrand  <lha@it.su.se>

	* TODO-1.0: remove 

	* Makefile.am: remove TODO-1.0

2007-07-17  Love Hörnquist Åstrand  <lha@it.su.se>

	* Heimdal 1.0 release branch cut here
	
	* doc/hx509.texi: use version.texi
	
	* doc/heimdal.texi: use version.texi
	
	* doc/version.texi: version.texi

	* lib/hdb/db3.c: avoid type-punned pointer warning.

	* kdc/kx509.c: Use unsigned char * as argument to HMAC_Update to
	please OpenSSL and gcc.

	* kdc/digest.c: Use unsigned char * as argument to MD5_Update to
	please OpenSSL and gcc.

2007-07-16  Love Hörnquist Åstrand  <lha@it.su.se>

	* include/Makefile.am: Add krb_err.h.

	* kdc/set_dbinfo.c: Print acl file too.

	* kdc/kerberos4.c: Error codes are just fine, remove XXX now.

	* lib/krb5/krb5-v4compat.h: Drop duplicate error codes.

	* kdc/kerberos4.c: switch to ET errors.

	* lib/krb5/Makefile.am: Add krb_err.h to build_HEADERZ.

	* lib/krb5/v4_glue.c: If its a Kerberos 4 error-code, remove the
	et BASE.

2007-07-15  Love Hörnquist Åstrand  <lha@it.su.se>

	* lib/krb5/krb5-v4compat.h: Include "krb_err.h".

	* lib/krb5/v4_glue.c: return more interesting error codes.

	* lib/krb5/plugin.c: Prefix enum plugin_type.

	* lib/krb5/krb5_locl.h: Expose plugin structures.
	
	* lib/krb5/krb5.h: Add plugin structures.

	* lib/krb5/krb_err.et: V4 errors.

	* lib/krb5/version-script.map: First version of version script.

2007-07-13  Love Hörnquist Åstrand  <lha@it.su.se>

	* kdc/kerberos5.c: Java 1.6 expects the name to be the same type,
	lets allow that for uncomplicated name-types.

2007-07-12  Love Hörnquist Åstrand  <lha@it.su.se>

	* lib/krb5/v4_glue.c (_krb5_krb_rd_req): if ticket contains
	address 0, its ticket less and don't really care about
	from_addr. return better error codes.

	* kpasswd/kpasswdd.c: Fix pointer vs strict alias rules.

2007-07-11  Love Hörnquist Åstrand  <lha@it.su.se>

	* lib/hdb/hdb-ldap.c: When using sambaNTPassword, avoid adding
	more then one enctype 23 to krb5EncryptionType.

	* lib/krb5/cache.c: Spelling.

	* kdc/kerberos5.c: Don't send newer enctypes in ETYPE-INFO.
	(get_pa_etype_info2): return the enctypes as sorted in the
	database

2007-07-10  Love Hörnquist Åstrand  <lha@it.su.se>

	* kuser/kinit.c: krb5-v4compat.h defines prototypes for
	v4 (semiprivate functions) in libkrb5, don't include
	krb5-private.h any longer.

	* lib/krb5/krbhst.c: Set error string when there is no KDC for a
	realm.

	* lib/krb5/Makefile.am: New library version.

	* kdc/Makefile.am: New library version.

	* lib/krb5/krb5_locl.h: Add default_cc_name_env.

	* lib/krb5/cache.c (enviroment_changed): return non-zero if
	enviroment that will determine default krb5cc name has changed.
	(krb5_cc_default_name): also check if cached value is uptodate.

	* lib/krb5/krb5_locl.h: Drop pkinit_flags.

2007-07-05  Love Hörnquist Åstrand  <lha@it.su.se>

	* configure.in: add tests/java/Makefile

	* lib/hdb/dbinfo.c: Add hdb_dbinfo_get_log_file.

2007-07-04  Love Hörnquist Åstrand  <lha@it.su.se>

	* kdc/kerberos5.c: Improve the default salt detection to avoid
	returning v4 password salting to java that doesn't look at the
	returning padata for salting.

	* kdc: Split out krb5_kdc_set_dbinfo, From Andrew Bartlett

2007-07-02  Love Hörnquist Åstrand  <lha@it.su.se>

	* kdc/digest.c: Try harder to provide better error message for
	digest messages.

	* lib/krb5/Makefile.am: verify_krb5_conf_OBJECTS depends on
	krb5-pr*.h, make -j finds this.
	
2007-06-28  Love Hörnquist Åstrand  <lha@it.su.se>

	* kdc/digest.c: On success, print username, not ip-adress.

2007-06-26  Love Hörnquist Åstrand  <lha@it.su.se>

	* lib/krb5/get_cred.c: Add krb5_get_renewed_creds.

	* lib/krb5/krb5_get_credentials.3: add krb5_get_renewed_creds

	* lib/krb5/pkinit.c: Use hx509_cms_unwrap_ContentInfo.
	
2007-06-25  Love Hörnquist Åstrand  <lha@it.su.se>

	* doc/setup.texi: Add example for pkinit_win2k_require_binding
	in [kdc] section.

	* kdc/default_config.c: Rename require_binding to
	win2k_require_binding to match client configuration.

	* kdc/default_config.c: Add [kdc]pkinit_require_binding option.

	* kdc/pkinit.c (pk_mk_pa_reply_enckey): only allow non-bound reply
	if its not required.

	* kdc/default_config.c: rename pkinit_princ_in_cert and add
	pkinit_require_binding

	* kdc/kdc.h: rename pkinit_princ_in_cert and add
	pkinit_require_binding

	* kdc/pkinit.c: rename pkinit_princ_in_cert

2007-06-24  Love Hörnquist Åstrand  <lha@it.su.se>

	* lib/krb5/pkinit.c: Adapt to hx509_verify_hostname change.

2007-06-21  Love Hörnquist Åstrand  <lha@it.su.se>

	* kdc/krb5tgs.c: Drop unused variable.

	* kdc/krb5tgs.c: disable anonyous tgs requests

	* kdc/krb5tgs.c: Don't check PAC on cross realm for now.

	* kuser/kgetcred.c: Set KRB5_GC_CONSTRAINED_DELEGATION and parse
	nametypes.

	* lib/krb5/krb5_principal.3: Document krb5_parse_nametype.

	* lib/krb5/principal.c (krb5_parse_nametype): parse nametype and
	return their integer values.

	* lib/krb5/krb5.h (krb5_get_creds): Add
	KRB5_GC_CONSTRAINED_DELEGATION.

	* lib/krb5/get_cred.c (krb5_get_creds): if
	KRB5_GC_CONSTRAINED_DELEGATION is set, set both request_anonymous
	and constrained_delegation.

2007-06-20  Love Hörnquist Åstrand  <lha@it.su.se>

	* kdc/digest.c: Return an error message instead of dropping the
	packet for more failure cases.

	* lib/krb5/krb5_principal.3: Add KRB5_PRINCIPAL_UNPARSE_DISPLAY.

	* appl/gssmask/gssmask.c (AcquirePKInitCreds): fail more
	gracefully
	
2007-06-18  Love Hörnquist Åstrand  <lha@it.su.se>

	* lib/krb5/pac.c: make compile.
	
	* lib/krb5/pac.c (verify_checksum): memset cksum to avoid using
	pointer from stack.

	* lib/krb5/plugin.c: Don't expose free pointer.

	* lib/krb5/pkinit.c (_krb5_pk_load_id): fail directoy for first
	calloc.
	
	* lib/krb5/pkinit.c (get_reply_key*): don't expose freed memory

	* lib/krb5/krbhst.c: Host is static memory, don't free.

	* lib/krb5/crypto.c (decrypt_internal_derived): make sure length
	is longer then confounder + checksum.

	* kdc: export get_dbinfo as krb5_kdc_set_dbinfo and call from
	users. This to allows libkdc users to to specify their own
	databases

	* lib/krb5/pkinit.c (pk_rd_pa_reply_enckey): simplify handling of
	content data (and avoid leaking memory).

	* kdc/misc.c (_kdc_db_fetch): set error string for failures.
	
2007-06-15  Love Hörnquist Åstrand  <lha@it.su.se>

	* kdc/pkinit.c: Use KRB5_AUTHDATA_INITIAL_VERIFIED_CAS.

2007-06-13  Love Hörnquist Åstrand  <lha@it.su.se>

	* kdc/pkinit.c: tell user when they got a pk-init request with
	pkinit disabled.

2007-06-12  Love Hörnquist Åstrand  <lha@it.su.se>
	
	* lib/krb5/principal.c: Rename UNPARSE_NO_QUOTE to
	UNPARSE_DISPLAY.

	* lib/krb5/krb5.h: Rename UNPARSE_NO_QUOTE to UNPARSE_DISPLAY.

	* lib/krb5/principal.c: Make no-quote mean replace strange chars
	with space.

	* lib/krb5/principal.c: Support KRB5_PRINCIPAL_UNPARSE_NO_QUOTE.

	* lib/krb5/krb5.h: Add KRB5_PRINCIPAL_UNPARSE_NO_QUOTE.

	* lib/krb5/test_princ.c: Test quoteing.

	* lib/krb5/pkinit.c: update (c)
	
	* lib/krb5/get_cred.c: use krb5_sendto_context to talk to the KDC.

	* lib/krb5/send_to_kdc.c (_krb5_kdc_retry): check if the whole
	process needs to restart or just skip this KDC.

	* lib/krb5/init_creds_pw.c: Use krb5_sendto_context to talk to
	KDC.

	* lib/krb5/krb5.h: Add sendto hooks and opaque structure.

	* lib/krb5/krb5_rd_error.3: Update prototype.

	* lib/krb5/send_to_kdc.c: Add hooks for processing the reply from
	the server.
	
2007-06-11  Love Hörnquist Åstrand  <lha@it.su.se>

	* lib/krb5/krb5_err.et: Some new error codes from RFC 4120.
	
2007-06-09  Love Hörnquist Åstrand  <lha@it.su.se>

	* kdc/krb5tgs.c: Constify.

	* kdc/kerberos5.c: Constify.

	* kdc/pkinit.c: Check for KRB5-PADATA-PK-AS-09-BINDING. Constify.

2007-06-08  Love Hörnquist Åstrand  <lha@it.su.se>

	* include/Makefile.am: Make krb5-types.h nodist_include_HEADERS.

	* kdc/Makefile.am: EXTRA_DIST += version-script.map.
	
2007-06-07  Love Hörnquist Åstrand  <lha@it.su.se>
	
	* Makefile.am (print-distdir): print name of dist

	* kdc/pkinit.c: Break out loading of mappings file to a separate
	function and remove warning that it can't open the mapping file,
	there are now mappings in the db, maybe the users uses that
	instead...

	* lib/krb5/crypto.c: Require the raw key have the correct size and
	do away with the minsize.  Minsize was a thing that originated
	from RC2, but since RC2 is done in the x509/cms subsystem now
	there is no need to keep that around.

	* lib/hdb/dbinfo.c: If there is no default dbname, also check for
	unset mkey_file and set it default mkey name, make backward compat
	stuff work.

	* kdc/version-script.map: add new symbols

	* kdc/kdc-replay.c: Also update krb5_context view of what the time
	is.

	* configure.in: add tests/can/Makefile

	* kdc/kdc-replay.c: Add --[version|help].

	* kdc/pkinit.c: Push down the kdc time into the x509 library.

	* kdc/connect.c: Move up krb5_kdc_save_request so we can catch the
	reply data too.

	* kdc/kdc-replay.c: verify reply by checking asn1 class, type and
	tag of the reply if there is one.

	* kdc/process.c: Save asn1 class, type and tag of the reply if
	there is one. Used to verify the reply in kdc-replay.

2007-06-06  Love Hörnquist Åstrand  <lha@it.su.se>

	* kdc/kdc_locl.h: extern for request_log.

	* kdc/Makefile.am: Add kdc-replay.

	* kdc/kdc-replay.c: Replay kdc messages to the KDC library.

	* kdc/config.c: Pick up request_log from [kdc]kdc-request-log.

	* kdc/connect.c: Option to save the request to disk.

	* kdc/process.c (krb5_kdc_save_request): save request to file.

	* kdc/process.c (krb5_kdc_process*): dont update _kdc_time
	automagicly.
	(krb5_kdc_update_time): set or get current kdc-time.

	* kdc/pkinit.c (_kdc_pk_rd_padata): accept both pkcs-7 and
	pkauthdata as the signeddata oid
	
	* kdc/pkinit.c (_kdc_pk_rd_padata): Try to log what went wrong.

2007-06-05  Love Hörnquist Åstrand  <lha@it.su.se>
	
	* kdc/pkinit.c: Use oid_id_pkcs7_data for pkinit-9 encKey reply to
	match windows DC behavior better.
	
2007-06-04  Love Hörnquist Åstrand  <lha@it.su.se>

	* configure.in: use test for -framework Security

	* appl/test/uu_server.c: Print status to stdout.

	* kdc/digest.c (digest ntlm): provide log entires by setting ret
	to an error.
	
2007-06-03  Love Hörnquist Åstrand  <lha@it.su.se>

	* doc/hx509.texi: Indent crl-sign.

	* doc/hx509.texi: One more crl-sign example.

	* lib/krb5/test_princ.c: plug memory leaks.

	* lib/krb5/pac.c: plug memory leaks.

	* lib/krb5/test_pac.c: plug memory leaks.

	* lib/krb5/test_prf.c: plug memory leak.

	* lib/krb5/test_cc.c: plug memory leaks.

	* doc/hx509.texi: Simple blob about publishing CRLs.

	* doc/win2k.texi: drop text about enctypes.
	
2007-06-02  Love Hörnquist Åstrand  <lha@it.su.se>

	* kdc/pkinit.c: In case of OCSP verification failure, referash
	every 5 min. In case of success, refreash 2 min before expiring or
	faster.
	
2007-05-31  Love Hörnquist Åstrand  <lha@it.su.se>
	
	* lib/krb5/krb5_err.et: add error 68, WRONG_REALM

	* kdc/pkinit.c: Handle the ms san in a propper way, still cheat
	with the realm name.

	* kdc/kerberos5.c: If _kdc_pk_check_client failes, bail out
	directly and hand the error back to the client.

	* lib/krb5/krb5_err.et: Add missing REVOCATION_STATUS_UNAVAILABLE
	and fix error message for CLIENT_NAME_MISMATCH.

	* kdc/pkinit.c: More logging for pk-init client mismatch.

	* kdc/kerberos5.c: Also add a KRB5_PADATA_PK_AS_REQ_WIN for
	windows pk-init (-9) to make MIT clients happy.
	
2007-05-30  Love Hörnquist Åstrand  <lha@it.su.se>
	
	* kdc/pkinit.c: Force des3 for win2k.

	* kdc/pkinit.c: Add wrapping to ContentInfo wrapping to
	COMPAT_WIN2K.

	* lib/krb5/keytab_keyfile.c: Spelling.

	* kdc/pkinit.c: Allow matching by MS UPN SAN, note that this delta
	doesn't deal with case of realm.
	
2007-05-16  Love Hörnquist Åstrand  <lha@it.su.se>

	* lib/krb5/crypto.c (krb5_crypto_overhead): return static overhead
	of encryption.
	
2007-05-10  Dave Love  <fx@gnu.org>
	
	* doc/win2k.texi: Update some URLs.

2007-05-13  Love Hörnquist Åstrand  <lha@it.su.se>

	* kuser/kimpersonate.c: Fix version number of ticket, it should be
	5 not the kvno.
	
2007-05-08  Love Hörnquist Åstrand  <lha@it.su.se>

	* doc/setup.texi: Salting is really Encryption types and salting.
	
2007-05-07  Love Hörnquist Åstrand  <lha@it.su.se>
	
	* doc/setup.texi: spelling, from Ronny Blomme

	* doc/win2k.texi: Fix ksetup /SetComputerPassword, from Ronny
	Blomme
	
2007-05-02  Love Hörnquist Åstrand  <lha@it.su.se>

	* lib/hdb/dbinfo.c (hdb_get_dbinfo) If there are no database
	specified, create one and let it use the defaults.
	
2007-04-27  Love Hörnquist Åstrand  <lha@it.su.se>
	
	* lib/hdb/test_dbinfo.c: test acl file

	* lib/hdb/test_dbinfo.c: test acl file

	* lib/hdb/dbinfo.c: add acl file

	* etc: ignore Makefile.in

	* Makefile.am: SUBDIRS += etc

	* configure.in: Add etc/Makefile.

	* etc/Makefile.am: make sure services.append is distributed

2007-04-24  Love Hörnquist Åstrand  <lha@it.su.se>

	* kdc: rename windc_init to krb5_kdc_windc_init

	* kdc/version-script.map: version script for libkdc
	
	* kdc/Makefile.am: version script for libkdc
	
2007-04-23  Love Hörnquist Åstrand  <lha@it.su.se>

	* lib/krb5/init_creds.c (krb5_get_init_creds_opt_get_error):
	correct the order of the arguments.

	* lib/hdb/Makefile.am: Add and test dbinfo.

	* lib/hdb/hdb.h: Forward declaration for struct hdb_dbinfo;

	* kdc/config.c: Use krb5_kdc_get_config and just fill in what the
	users wanted differently.

	* kdc/default_config.c: Make the default configuration fetch info
	from the krb5.conf.
	
2007-04-22  Love Hörnquist Åstrand  <lha@it.su.se>

	* lib/krb5/store.c (krb5_store_creds_tag): use session.keytype to
	determine if to send the session-key, for the second place in the
	function.

	* tools/krb5-config.in: rename des to hcrypto

	* kuser/Makefile.am: depend on libheimntlm

	* kuser/kinit.c: Add --ntlm-domain that store the ntlm cred for
	this domain if the Kerberos password auth worked.

	* kuser/klist.c: add new option --hidden that doesn't display
	principal that starts with @

	* tools/krb5-config.in: Add heimntlm when we use gssapi.

	* lib/krb5/krb5_ccache.3 (krb5_cc_retrieve_cred): document what to
	free 'cred' with.

	* lib/krb5/cache.c (krb5_cc_retrieve_cred): document what to free
	'cred' with.
	
2007-04-21  Love Hörnquist Åstrand  <lha@it.su.se>

	* lib/krb5/store.c (krb5_store_creds_tag): use session.keytype to
	determine if to send the session-key.

	* kcm/client.c (kcm_ccache_new_client): make root be able to pass
	the name constraints, not the opposite. From Bryan Jacobs.
	
2007-04-20  Love Hörnquist Åstrand  <lha@it.su.se>

	* kcm/acl.c: make compile again.

	* kcm/client.c: fix warning.
	
	* kcm: First, it allows root to ignore the naming conventions.
	Second, it allows root to always perform any operation on any
	ccache.  Note that root could do this anyway with FILE ccaches.
	From Bryan Jacobs.

	* Rename libdes to libhcrypto.

2007-04-19  Love Hörnquist Åstrand  <lha@it.su.se>

	* kinit: remove code that depend on kerberos 4 library
	
	* kdc: remove code that depend on kerberos 4 library
	
	* configure.in: Drop kerberos 4 support.

	* kdc/hpropd.c (main): free the message when done with it.

	* lib/krb5/pkinit.c (_krb5_get_init_creds_opt_free_pkinit):
	remember to free memory too.

	* lib/krb5/pkinit.c (pk_rd_pa_reply_dh): free content-type when
	done.

	* configure.in: test rk_VERSIONSCRIPT
	
2007-04-18  Love Hörnquist Åstrand  <lha@it.su.se>

	* fix-export: remove, all done by make dist now

2007-04-15  Love Hörnquist Åstrand  <lha@it.su.se>

	* lib/krb5/krb5_get_credentials.3: spelling, from Jason McIntyre

2007-04-11  Love Hörnquist Åstrand  <lha@it.su.se>

	* kdc/kstash.8: Spelling, from raga <raga@comcast.net> 
	via Bjorn Sandell.

	* lib/krb5/store_mem.c: indent.

	* lib/krb5/recvauth.c: Set error string.

	* lib/krb5/rd_req.c: clear error strings.

	* lib/krb5/rd_cred.c: clear error string.

	* lib/krb5/pkinit.c: Set error strings.

	* lib/krb5/get_cred.c: Tell what principal we are not finding for
	all KRB5_CC_NOTFOUND.
	
2007-02-22  Love Hörnquist Åstrand  <lha@it.su.se>
	
	* kdc/kerberos5.c: Return the same error codes as a windows KDC.

	* kuser/kinit.c: KRB5KDC_ERR_PREAUTH_FAILED is also a password
	failed.
	
	* kdc/kerberos5.c: Make handling of replying e_data more generic,
	from metze.

	* kdc/kerberos5.c: Fix (string const and shadow) warnings, from
	metze.

	* lib/krb5/pac.c: Create the PAC element in the same order as
	w2k3, maybe there's some broken code in windows which relies on
	this... From metze.

	* kdc/kerberos5.c: Select a session enctype from the list of the
	crypto systems supported enctype, is supported by the client and
	is one of the enctype of the enctype of the krbtgt.
	
	The later is used as a hint what enctype all KDC are supporting to
	make sure a newer version of KDC wont generate a session enctype
	that and older version of a KDC in the same realm can't decrypt.
	
	But if the KDC admin is paranoid and doesn't want to have "no the
	best" enctypes on the krbtgt, lets save the best pick from the
	client list and hope that that will work for any other KDCs.
	
	Reported by metze.

	* kdc/hprop.c (propagate_database): on any failure, drop the
	connection to the peer and try next one.
	
2007-02-18  Love Hörnquist Åstrand  <lha@it.su.se>

	* lib/krb5/krb5_get_init_creds.3: document new options.

	* kdc/krb5tgs.c: Only check service key for cross realm PACs.

	* lib/krb5/init_creds.c: use the new merged flags field.
	(krb5_get_init_creds_opt_set_win2k): new function, turn on all w2k
	compat flags.

	* lib/krb5/init_creds_pw.c: use the new merged flags field.

	* lib/krb5/krb5_locl.h: merge all flags into one entity
	
2007-02-11  Dave Love  <fx@gnu.org>
	
	* lib/krb5/krb5_aname_to_localname.3: Small fixes
	
	* lib/krb5/krb5_digest.3: Small fixes
	
	* kuser/kimpersonate.1: Small fixes

2007-02-17  Love Hörnquist Åstrand  <lha@it.su.se>

	* lib/krb5/init_creds_pw.c (find_pa_data): if there is no list,
	there is no entry.

	* kdc/krb5tgs.c: Don't check PACs on cross realm requests.

	* lib/krb5/krb5.h: add KRB5_KU_CANONICALIZED_NAMES.

	* lib/krb5/init_creds_pw.c: Verify client referral data.

	* kdc/kerberos5.c: switch some "return ret" to "goto out".
	
	* kdc/kerberos5.c: Pass down canonicalize request to hdb layer,
	sign client referrals.
	
	* lib/hdb/hdb.h: Add HDB_F_CANON.

	* lib/hdb: add simple alias support to the database backends

2007-02-16  Love Hörnquist Åstrand  <lha@it.su.se>

	* kuser/kinit.c: Add canonicalize flag.

	* lib/krb5/init_creds_pw.c: Use EXTRACT_TICKET_* flags, support
	canonicalize.

	* lib/krb5/init_creds.c (krb5_get_init_creds_opt_set_canonicalize):
	new function.
	
	* lib/krb5/get_cred.c: Use EXTRACT_TICKET_* flags.

	* lib/krb5/get_in_tkt.c: Use EXTRACT_TICKET_* flags.

	* lib/krb5/krb5_locl.h: Add EXTRACT_TICKET_* flags.
	
2007-02-15  Love Hörnquist Åstrand  <lha@it.su.se>

	* lib/krb5/test_princ.c: test parsing enterprise-names.

	* lib/krb5/principal.c: Add support for parsing enterprise-names.

	* lib/krb5/krb5.h: Add KRB5_PRINCIPAL_PARSE_ENTERPRISE.

	* lib/hdb/hdb-ldap.c: Make work again.
	
2007-02-11  Dave Love  <fx@gnu.org>

	* kcm/client.c (kcm_ccache_new_client): Cast snprintf'ed value.
	
2007-02-10  Love Hörnquist Åstrand  <lha@it.su.se>
	
	* doc/setup.texi: prune trailing space

	* lib/hdb/db.c: Be better at setting and clearing error string.

	* lib/hdb/hdb.c: Be better at setting and clearing error string.

2007-02-09  Love Hörnquist Åstrand  <lha@it.su.se>

	* lib/krb5/keytab.c (krb5_kt_get_entry): Use krb5_kt_get_full_name
	to print out the keytab name.

	* doc/setup.texi: Spelling, from Guido Guenther
	
2007-02-08  Love Hörnquist Åstrand  <lha@it.su.se>

	* lib/krb5/rd_cred.c: Plug memory leak, from Michael B Allen.

2007-02-06  Love Hörnquist Åstrand  <lha@it.su.se>

	* lib/krb5/test_store.c (test_uint16): unsigned ints can't be
	negative
	
2007-02-03  Love Hörnquist Åstrand  <lha@it.su.se>

	* kdc/pkinit.c: pass extra flags for detached signatures.

	* lib/krb5/pkinit.c: pass extra flags for detached signatures.

	* kdc/digest.c: Remove debug output.

	* kuser/kdigest.c: Add support for ms-chap-v2 client.
	
2007-02-02  Love Hörnquist Åstrand  <lha@it.su.se>
		
	* kdc/digest.c: Fix ms-chap-v2 get_masterkey

	* kdc/digest.c: Fix ms-chap-v2 mutual response auth code.

	* kuser/kdigest.c: Print session key if there is one.

	* lib/krb5/digest.c: rename hash-a1 to session key

	* kdc/digest.c: Add get_master from RFC 3079 3.4 for MS-CHAP-V2

	* kuser/kdigest.c: print rsp if there is one, from Klas.

	* kdc/digest.c: Use right size, from Klas Lindfors.

	* kuser/kdigest.c: Set client nonce if avaible, from Klas.

	* kdc/digest.c: First version from kllin.

	* kuser/kdigest.c: Don't restrict the type.
	
2007-02-01  Love Hörnquist Åstrand  <lha@it.su.se>
	
	* kuser/kdigest-commands.in: add --client-response

	* kuser/kdigest.c: Print status instead of response.

	* kdc/digest.c: Better logging and return status = FALSE when
	checksum doesn't match.

	* kdc/digest.c: Check the digest response in the KDC.

	* lib/krb5/digest.c: New functions to send in requestResponse to
	KDC and get status of the request.

	* kdc/digest.c: Add support for MS-CHAP v2.

	* lib/hdb/hdb-ldap.c: Set hdb->hdb_db for ldap.
	
2007-01-31  Love Hörnquist Åstrand  <lha@it.su.se>

	* fix-export: Make hx509.info too

	* kdc/digest.c: don't verify identifier in CHAP, its the client
	that chooses it.
	
2007-01-23  Love Hörnquist Åstrand  <lha@it.su.se>

	* lib/krb5/Makefile.am: Basic test of prf.

	* lib/krb5/test_prf.c: Basic test of prf.

	* lib/krb5/mit_glue.c: Add MIT glue for Kerberos RFC 3961 PRF
	functions.

	* lib/krb5/crypto.c: Add Kerberos RFC 3961 PRF functions.

	* lib/krb5/krb5_data.3: Document krb5_data_cmp.

	* lib/krb5/data.c: Add krb5_data_cmp.
	
2007-01-20  Love Hörnquist Åstrand  <lha@it.su.se>

	* kdc/kx509.c: Don't use C99 syntax.
	
2007-01-17  Love Hörnquist Åstrand  <lha@it.su.se>
	
	* configure.in: its LIBADD_roken (and shouldn't really exist, our
	libtool usage it broken)

	* configure.in: Add an extra variable for roken, LIBADD, that
	should be used for library depencies.

	* lib/krb5/send_to_kdc.c (krb5_sendto): zero out receive buffer.

	* lib/krb5/krb5_init_context.3: fix mdoc errors

	* Heimdal 0.8 branch cut today

	* doc/hx509.texi: Spelling and more about proxy certificates.

	* configure.in: check for arc4random
	
2007-01-16  Love Hörnquist Åstrand  <lha@it.su.se>
	
	* lib/krb5/send_to_kdc.c (krb5_sendto): zero receive krb5_data
	before starting

	* tools/heimdal-build.sh: make cvs keep quiet

	* kuser/kverify.c: Use argument as principal if passed an
	argument. Bug report from Douglas E. Engert
	
2007-01-15  Love Hörnquist Åstrand  <lha@it.su.se>
	
	* lib/krb5/rd_req.c (krb5_rd_req_ctx): The code failed to consider
	the enc_tkt_in_skey case, from Douglas E. Engert.

	* kdc/kx509.c: Issue certificates.

	* kdc/config.c: Parse kx509/kca configuration.

	* kdc/kdc.h: add kx509 config
	
2007-01-14  Love Hörnquist Åstrand  <lha@it.su.se>
	
	* kdc/kerberos5.c (_kdc_find_padata): if there is not padata,
	there is nothing find.

	* doc/hx509.texi: Examples for pk-init.

	* doc/hx509.texi: About extending ca lifetime and sub cas.
	
2007-01-13  Love Hörnquist Åstrand <lha@it.su.se>
	
	* doc/hx509.texi: More about certificates.
	
2007-01-12  Love Hörnquist Åstrand  <lha@it.su.se>

	* doc/hx509.texi: add Application requirements and write about
	xmpp/jabber.
	
2007-01-11  Love Hörnquist Åstrand  <lha@it.su.se>

	* doc/hx509.texi: More about issuing certificates.

	* doc/hx509.texi: Start of a x.509 manual.

	* include/Makefile.am: remove install headerfiles

	* lib/krb5/test_pac.c: Use more interesting data to cause more
	errors.

	* include/Makefile.am: remove install headerfiles

	* lib/krb5/mcache.c: MCC_CURSOR not used, remove.

	* lib/krb5/crypto.c: macro kcrypto_oid_enc now longer used

	* lib/krb5/rd_safe.c (krb5_rd_safe): set length before trying to
	allocate data
	
2007-01-10  Love Hörnquist Åstrand  <lha@it.su.se>
	
	* doc/setup.texi: Hint about hxtool validate.

	* appl/test/uu_server.c: print both "server" and "client"

	* kdc/krb5tgs.c: Rename keys to be more obvious what they do.

	* kdc/kerberos5.c: Use other keys to sign PAC with. From Andrew
	Bartlett
	
	* kdc/windc.c: ident, spelling.

	* kdc/windc_plugin.h: indent.

	* kdc/krb5tgs.c: Pass down server entry to verify_pac function.
	from Andrew Bartlett

	* kdc/windc.c: pass down server entry to verify_pac function, from
	Andrew Bartlett

	* kdc/windc_plugin.h: pass down server entry to verify_pac
	function, from Andrew Bartlett

	* configure.in: Provide a automake symbol ENABLE_SHARED if shared
	libraries are built.

	* lib/krb5/rd_req.c (krb5_rd_req_ctx): Use the correct keyblock
	when verifying the PAC.  From Andrew Bartlett.
	
2007-01-09  Love Hörnquist Åstrand  <lha@it.su.se>

	* lib/krb5/test_pac.c: move around to code test on real PAC.

	* lib/krb5/pac.c: A tiny 2 char diffrence that make the code work
	for real.

	* lib/krb5/test_pac.c: Test more PAC (note that the values used in
	this test is wrong, they have to be fixed when the pac code is
	fixed).

	* doc/setup.texi: Update to new hxtool issue-certificate usage

	* lib/krb5/init_creds_pw.c: Make sure we don't sent both ENC-TS
	and PK-INIT pa data, no need to expose our password protecting our
	PKCS12 key.

	* kuser/klist.c (print_cred_verbose): include ticket length in the
	verbose output
	
2007-01-08  Love Hörnquist Åstrand  <lha@it.su.se>
	
	* lib/krb5/acache.c (loadlib): pass RTLD_LAZY to dlopen, without
	it linux is unhappy.

	* lib/krb5/plugin.c (loadlib): pass RTLD_LAZY to dlopen, without
	it linux is unhappy.

	* lib/krb5/name-45-test.c: One of the hosts I sometimes uses is
	named "bar.domain", this make one of the tests pass when it
	shouldn't.

2007-01-05  Love Hörnquist Åstrand  <lha@it.su.se>

	* doc/setup.texi: Change --key argument to --out-key.

	* kuser/kimpersonate.1: mangle my name
	
2007-01-04  Love Hörnquist Åstrand  <lha@it.su.se>
	
	* doc/setup.texi: describe how to use hx509 to create
	certificates.

	* tools/heimdal-build.sh: Add --distcheck.

	* kdc/kerberos5.c: Check for KRB5_PADATA_PA_PAC_REQUEST to check
	if we should include the PAC in the krbtgt.

	* kdc/pkinit.c (_kdc_as_rep): check if
	krb5_generate_random_keyblock failes.

	* kdc/kerberos5.c (_kdc_as_rep): check if
	krb5_generate_random_keyblock failes.

	* kdc/krb5tgs.c (tgs_build_reply): check if
	krb5_generate_random_keyblock failes.

	* kdc/krb5tgs.c: Scope etype.

	* lib/krb5/rd_req.c: Make it possible to turn off PAC check, its
	default on.

	* lib/krb5/rd_req.c (krb5_rd_req_ctx): If there is a PAC, verify
	its server signature.

	* kdc/kerberos5.c (_kdc_as_rep): call windc client access hook.
	(_kdc_tkt_add_if_relevant_ad): constify in data argument.

	* kdc/windc_plugin.h: More comments add a client_access hook.

	* kdc/windc.c: Add _kdc_windc_client_access.

	* kdc/krb5tgs.c: rename functions after export some more pac
	functions.

	* lib/krb5/test_pac.c: export some more pac functions.

	* lib/krb5/pac.c: export some more pac functions.

	* kdc/krb5tgs.c: Resign the PAC in tgsreq if we have a PAC.

	* configure.in: add tests/plugin/Makefile
	
2007-01-03  Love Hörnquist Åstrand  <lha@it.su.se>

	* kdc/krb5tgs.c: Get right key for PAC krbtgt verification.

	* kdc/config.c: spelling

	* lib/krb5/krb5.h: typedef for krb5_pac.

	* kdc/headers.h: Include <windc_plugin.h>.

	* kdc/Makefile.am: Include windc.c and use windc_plugin.h

	* kdc/krb5tgs.c: Call callbacks for emulating a Windows Domain
	Controller.

	* kdc/kerberos5.c: Call callbacks for emulating a Windows Domain
	Controller.  Move the some of the log related stuff to its own
	function.

	* kdc/config.c: Init callbacks for emulating a Windows Domain
	Controller.

	* kdc/windc.c: Rename the init function to windc instead of pac.

	* kdc/windc.c: Callbacks specific to emulating a Windows Domain
	Controller.

	* kdc/windc_plugin.h: Callbacks specific to emulating a Windows
	Domain Controller.

	* lib/krb5/Makefile.am: add krb5_HEADERS to build_HEADERZ

	* lib/krb5/pac.c: Support all keyed checksum types.
	
2007-01-02  Love Hörnquist Åstrand  <lha@it.su.se>
	
	* lib/krb5/pac.c (krb5_pac_get_types): Return list of types.
	
	* lib/krb5/test_pac.c: test krb5_pac_get_types

	* lib/krb5/krbhst.c: Add KRB5_KRBHST_KCA.

	* lib/krb5/krbhst.c: Add KRB5_KRBHST_KCA.

	* lib/krb5/krb5.h: Add KRB5_KRBHST_KCA.

	* lib/krb5/test_pac.c: test Add/remove pac buffer functions.

	* lib/krb5/pac.c: Add/remove pac buffer functions.

	* lib/krb5/pac.c: sprinkle const

	* lib/krb5/pac.c: rename DCHECK to CHECK
	
	* Happy New Year.
OpenPOWER on IntegriCloud