forked from heimdal/heimdal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ChangeLog.2006
2047 lines (1233 loc) · 60 KB
/
ChangeLog.2006
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
2006-12-28 Love Hörnquist Åstrand <[email protected]>
* kdc/process.c: Handle kx509 requests.
* kdc/connect.c: Listen to 9878 if kca is turned on.
* kdc/headers.h: Include <kx509_asn1.h>.
* kdc/config.c: code to parse [kdc]enable-kx509
* kdc/kdc.h: add enable_kx509
* kdc/Makefile.am: add kx509.c
* kdc/kx509.c: Kx509server (external certificate genration).
* lib/krb5/ticket.c: add krb5_ticket_get_endtime
* lib/krb5/krb5_ticket.3: Document krb5_ticket_get_endtime
* kdc/digest.c: Remove <digest_asn.h>, its already included in
headers.h
* kdc/digest.c: Return session key for the NTLMv2 case too
* lib/krb5/digest.c (krb5_ntlm_rep_get_sessionkey): return value
is krb5_error_code
2006-12-27 Love Hörnquist Åstrand <[email protected]>
* lib/krb5/mk_req_ext.c (_krb5_mk_req_internal): use md5 for
des-cbc-md4 and des-cbc-md5. This is for (older) windows that
will be unhappy anything else. From Inna Bort-Shatsky
2006-12-26 Love Hörnquist Åstrand <[email protected]>
* kdc/digest.c: Prefix internal symbol with _kdc_.
* kdc/kdc.h: add digests_allowed
* kdc/digest.c: return NTLM2 targetinfo structure.
* lib/krb5/digest.c: Add krb5_ntlm_init_get_targetinfo.
* kdc/config.c: Parse digest acl's
* kdc/kdc_locl.h: forward decl;
* kdc/digest.c: Add digest acl's
2006-12-22 Love Hörnquist Åstrand <[email protected]>
* fix-export: build ntlm-private.h
2006-12-20 Love Hörnquist Åstrand <[email protected]>
* include/make_crypto.c: Include <.../hmac.h>.
* kdc/digest.c: reorder to show slot here ntlmv2 code will be
placed.
* kdc/digest.c: Announce that we support key exchange and add bits
to detect when it wasn't used.
* kdc/digest.c: Add support for generating NTLM2 session security
answer.
2006-12-19 Love Hörnquist Åstrand <[email protected]>
* lib/krb5/digest.c: Add sessionkey accessor functions.
2006-12-18 Love Hörnquist Åstrand <[email protected]>
* kdc/digest.c: Unwrap the NTLM session key and return it to the
server.
2006-12-17 Love Hörnquist Åstrand <[email protected]>
* lib/krb5/store.c (krb5_ret_principal): Fix a bug in the malloc
failure part, noticed by Arnaud Lacombe in NetBSD coverity scan.
2006-12-15 Love Hörnquist Åstrand <[email protected]>
* lib/krb5/fcache.c (fcc_get_cache_next): avoid const warning.
* kdc/digest.c: Support NTLM verification, note that the KDC does
no NTLM packet parsing, its all done by the client side, the KDC
just calculate and verify the digest and return the result to the
service.
* kuser/kdigest.c: add ntlm-server-init
* kuser/Makefile.am: kdigest depends on libheimntlm.la
* kdc/headers.h: Include <heimntlm.h>.
* kdc/Makefile.am: libkdc needs libheimntlm.la
* autogen.sh: just run autoreconf -i -f
* lib/Makefile.am: hook in ntlm
* configure.in (AC_CONFIG_FILES): add lib/ntlm/Makefile
* lib/krb5/digest.c: API to authenticate ntlm requests.
* lib/krb5/fcache.c: Support "iteration" of file credential caches
by giving the user back the default file credential cache and only
that.
* lib/krb5/krb5_locl.h: Expand the default root for some of the cc
type names.
2006-12-14 Love Hörnquist Åstrand <[email protected]>
* lib/krb5/init_creds_pw.c (free_paid): free the krb5_data
structure too. Bug report from Stefan Metzmacher.
2006-12-12 Love Hörnquist Åstrand <[email protected]>
* kuser/kinit.c: Read the appdefault configration before we try to
use the flags. Bug reported by Ingemar Nilsson.
* kuser/kdigest.c: prefix digest commands with digest_
* kuser/kdigest-commands.in: prefix digest commands with digest-
2006-12-10 Love Hörnquist Åstrand <[email protected]>
* kdc/hprop.c: Return error codes on failure, improve error
reporting.
2006-12-08 Love Hörnquist Åstrand <[email protected]>
* lib/krb5/pkinit.c: sprinkle more _krb5_pk_copy_error
* lib/krb5/pkinit.c: Copy more hx509 error strings to krb5 error
strings
2006-12-07 Love Hörnquist Åstrand <[email protected]>
* include/Makefile.am: CLEANFILES += vis.h
2006-12-06 Love Hörnquist Åstrand <[email protected]>
* kdc/kerberos5.c (_kdc_as_rep): add AD-INITAL-VERIFIED-CAS to the
encrypted ticket
* kdc/pkinit.c (_kdc_add_inital_verified_cas): new function, adds
an empty (for now) AD_INITIAL_VERIFIED_CAS to tell the clients
that we vouches for the CA.
* kdc/kerberos5.c (_kdc_tkt_add_if_relevant_ad): new function.
* lib/Makefile.am: Make the directories test automake conditional
so automake can include directories in make dist step.
* kdc/pkinit.c (_kdc_pk_rd_padata): leak less memory for
ExternalPrincipalIdentifiers
* kdc/pkinit.c: Parse and use PA-PK-AS-REQ.trustedCertifiers
* kdc/pkinit.c: Add comment that the anchors in the signed data
really should be the trust anchors of the client.
* kuser/generate-requests.c: Use strcspn to remove \n from
string returned by fgets. From Björn Sandell
* kpasswd/kpasswd-generator.c: Use strcspn to remove \n from
string returned by fgets. From Björn Sandell
2006-12-05 Love Hörnquist Åstrand <[email protected]>
* lib/hdb/hdb-ldap.c: Clear errno before calling the strtol
functions. From Paul Stoeber to OpenBSD by Ray Lai and Björn
Sandell.
* lib/krb5/config_file.c: Use strcspn to remove \n from fgets
result. Prompted by change by Ray Lai of OpenBSD via Björn
Sandell.
* kdc/string2key.c: Use strcspn to remove \n from fgets
result. Prompted by change by Ray Lai of OpenBSD via Björn
Sandell.
2006-11-30 Love Hörnquist Åstrand <[email protected]>
* lib/krb5/krbhst.c (plugin_get_hosts): be more paranoid and pass
in a NULLed plugin list
2006-11-29 Love Hörnquist Åstrand <[email protected]>
* lib/krb5/verify_krb5_conf.c: add more pkinit options.
* lib/krb5/pkinit.c: Store what PK-INIT type we used to know reply
to expect, this avoids overwriting the real PK-INIT error from
just a failed requeat with a Windows PK-INIT error (that always
failes).
* kdc/Makefile.am: Add LIB_pkinit to pacify AIX
* lib/hdb/Makefile.am: Add LIB_com_err to pacify AIX
2006-11-28 Love Hörnquist Åstrand <[email protected]>
* lib/hdb/hdb-ldap.c: Make build again from the hdb_entry
wrapping. Patch from Andreas Hasenack.
* kdc/pkinit.c: Need better code in the DH parameter rejection
case, add comment to that effect.
2006-11-27 Love Hörnquist Åstrand <[email protected]>
* kdc/krb5tgs.c: Reply KRB5KRB_ERR_RESPONSE_TOO_BIG for too large
packets when using datagram based transports.
* kdc/process.c: Pass down datagram_reply to _kdc_tgs_rep.
* lib/krb5/pkinit.c (build_auth_pack): set supportedCMSTypes.
2006-11-26 Love Hörnquist Åstrand <[email protected]>
* lib/krb5/pkinit.c: Pass down hx509_peer_info.
* kdc/pkinit.c (_kdc_pk_rd_padata): Pick up supportedCMSTypes and
pass in into hx509_cms_create_signed_1 via hx509_peer_info blob.
* kdc/pkinit.c (_kdc_pk_rd_padata): Pick up supportedCMSTypes and
pass in into hx509_cms_create_signed_1 via hx509_peer_info blob.
2006-11-24 Love Hörnquist Åstrand <[email protected]>
* lib/krb5/send_to_kdc.c: Set the large_msg_size to 1400, lets not
fragment packets and avoid stupid linklayers that doesn't allow
fragmented packets (unix dgram sockets on Mac OS X)
2006-11-23 Love Hörnquist Åstrand <[email protected]>
* lib/krb5/pkinit.c (_krb5_pk_create_sign): stuff down the users
certs in the pool to make sure a path is returned, without this
proxy certificates wont work.
2006-11-21 Love Hörnquist Åstrand <[email protected]>
* kdc/config.c: Make all pkinit options prefixed with pkinit_
* lib/krb5/log.c (krb5_get_warn_dest): return warn_dest from
krb5_context
* lib/krb5/krb5_warn.3: document krb5_[gs]et_warn_dest
* lib/krb5/krb5.h: Drop KRB5_KU_TGS_IMPERSONATE.
* kdc/krb5tgs.c: Use KRB5_KU_OTHER_CKSUM for the impersonate
checksum.
* lib/krb5/get_cred.c: Use KRB5_KU_OTHER_CKSUM for the impersonate
checksum.
2006-11-20 Love Hörnquist Åstrand <[email protected]>
* lib/krb5/verify_user.c: Make krb5_get_init_creds_opt_free take a
context argument.
* lib/krb5/krb5_get_init_creds.3: Make
krb5_get_init_creds_opt_free take a context argument.
* lib/krb5/init_creds_pw.c: Make krb5_get_init_creds_opt_free take
a context argument.
* kuser/kinit.c: Make krb5_get_init_creds_opt_free take a context
argument.
* kpasswd/kpasswd.c: Make krb5_get_init_creds_opt_free take a
context argument.
* kpasswd/kpasswd-generator.c: Make krb5_get_init_creds_opt_free
take a context argument.
* kdc/hprop.c: Make krb5_get_init_creds_opt_free take a context
argument.
* lib/krb5/init_creds.c: Make krb5_get_init_creds_opt_free take a
context argument.
* appl/gssmask/gssmask.c: Make krb5_get_init_creds_opt_free take a
context argument.
2006-11-19 Love Hörnquist Åstrand <[email protected]>
* doc/setup.texi: fix pkinit option (s/-/_/)
* kdc/config.c: revert the enable-pkinit change, and make it
consistant with all other other enable- options
2006-11-17 Love Hörnquist Åstrand <[email protected]>
* doc/setup.texi: Make all pkinit options prefixed with pkinit_
* kdc/config.c: Make all pkinit options prefixed with pkinit_
* kdc/pkinit.c: Make app pkinit options prefixed with pkinit_
* lib/krb5/pkinit.c: Make app pkinit options prefixed with pkinit_
* lib/krb5/mit_glue.c (krb5_c_keylengths): make compile again.
* lib/krb5/mit_glue.c (krb5_c_keylengths): rename.
* lib/krb5/mit_glue.c (krb5_c_keylength): mit changed the api,
deal.
2006-11-13 Love Hörnquist Åstrand <[email protected]>
* lib/krb5/pac.c (fill_zeros): stop using MIN.
* kuser/kinit.c: Forward decl
* lib/krb5/test_plugin.c: Use NOTHERE.H5L.SE.
* lib/krb5/krbhst.c: Fill in hints for picky getaddrinfo()s.
* lib/krb5/test_plugin.c: Set sin_len if it exists.
* lib/krb5/krbhst.c: Use plugin for the other realm locate types
too.
2006-11-12 Love Hörnquist Åstrand <[email protected]>
* lib/krb5/krb5_locl.h: Add plugin api
* lib/krb5/Makefile.am: Add plugin api.
* lib/krb5/krbhst.c: Use the resolve plugin interface.
* lib/krb5/locate_plugin.h: Add plugin interface for resolving
that is API compatible with MITs version.
* lib/krb5/plugin.c: Add first version of the plugin interface.
* lib/krb5/test_pac.c: Test signing.
* lib/krb5/pac.c: Add code to sign PACs, only arcfour for now.
* lib/krb5/krb5.h: Add struct krb5_pac.
2006-11-09 Love Hörnquist Åstrand <[email protected]>
* lib/krb5/test_pac.c: PAC testing.
* lib/krb5/pac.c: Sprinkle error strings.
* lib/krb5/pac.c: Verify LOGON_NAME.
* kdc/pkinit.c (_kdc_pk_check_client): drop client_princ as an
argument
* kdc/kerberos5.c (_kdc_as_rep): drop client_princ from
_kdc_pk_check_client since its not valid in canonicalize case
* lib/krb5/krb5_c_make_checksum.3: Document krb5_c_keylength.
* lib/krb5/mit_glue.c: Add krb5_c_keylength.
2006-11-08 Love Hörnquist Åstrand <[email protected]>
* lib/krb5/pac.c: Almost enough code to do PAC parsing and
verification, missing in the unix2NTTIME and ucs2 corner. The
later will be addressed by finally adding libwind.
* lib/krb5/krb5_init_context.3: document krb5_[gs]et_max_time_skew
* kdc/hpropd.c: Remove support dumping to a kerberos 4 database.
2006-11-07 Love Hörnquist Åstrand <[email protected]>
* lib/krb5/context.c: rename krb5_[gs]et_time_wrap to
krb5_[gs]et_max_time_skew
* kdc/pkinit.c: Catch error string from hx509_cms_verify_signed.
Check for id-pKKdcEkuOID and warn if its not there.
* lib/krb5/rd_req.c: Add more krb5_rd_req_out_get functions.
2006-11-06 Love Hörnquist Åstrand <[email protected]>
* lib/krb5/krb5.h: krb5_rd_req{,_in,_out}_ctx.
* lib/krb5/rd_req.c (krb5_rd_req_ctx): Add context all singing-all
dancing version of the krb5_rd_req and implement krb5_rd_req and
krb5_rd_req_with_keyblock using it.
2006-11-04 Love Hörnquist Åstrand <[email protected]>
* kdc/kerberos5.c (_kdc_as_rep): More verbose time skew logging.
2006-11-03 Love Hörnquist Åstrand <[email protected]>
* lib/krb5/expand_hostname.c: Rename various routines and
constants from canonize to canonicalize. From Andrew Bartlett
* lib/krb5/context.c: Add krb5_[gs]et_time_wrap
* lib/krb5/krb5_locl.h: Rename various routines and constants from
canonize to canonicalize. From Andrew Bartlett
* appl/gssmask/common.c (add_list): fix alloc statement.
From Alex Deiter
2006-10-25 Love Hörnquist Åstrand <[email protected]>
* include/Makefile.am: Move version.h and version.h.in to
DISTCLEANFILES.
2006-10-24 Love Hörnquist Åstrand <[email protected]>
* appl/gssmask/gssmask.c: Only log when there are resources left.
* appl/gssmask/gssmask.c: make compile
* appl/gssmask/gssmask.c (AcquireCreds): free
krb5_get_init_creds_opt
2006-10-23 Love Hörnquist Åstrand <[email protected]>
* configure.in: heimdal 0.8-RC1
2006-10-22 Love Hörnquist Åstrand <[email protected]>
* lib/krb5/digest.c: Try to not leak memory.
* kdc/digest.c: Try to not leak memory.
* Makefile.am: remove valgrind target, it doesn't belong here.
* kuser/kinit.c: Try to not leak memory.
* kuser/kgetcred.c: Try to not leak memory.
* kdc/krb5tgs.c (check_KRB5SignedPath): free KRB5SignedPath on
successful completion too, not just the error cases.
* fix-export: Make make fix-export less verbose.
* kuser/kgetcred.c: Try to not leak memory.
* lib/hdb/keys.c (hdb_generate_key_set): free list of enctype when
done.
* lib/krb5/crypto.c: Allocate the memory we later use.
* lib/krb5/test_princ.c: Try to not leak memory.
* lib/krb5/test_crypto_wrapping.c: Try to not leak memory.
* lib/krb5/test_cc.c: Try to not leak memory.
* lib/krb5/addr_families.c (arange_free): Try to not leak memory.
* lib/krb5/crypto.c (AES_string_to_key): Try to not leak memory.
2006-10-21 Love Hörnquist Åstrand <[email protected]>
* tools/heimdal-build.sh: Add --test-environment
* tools/heimdal-build.sh: Add --ccache-dir
* lib/hdb/Makefile.am: remove dependency on et files covert_db
that now is removed
2006-10-20 Love Hörnquist Åstrand <[email protected]>
* include/Makefile.am: add gssapi to subdirs
* lib/hdb/hdb-ldap.c: Make compile.
* configure.in: add include/gssapi/Makefile.
* include/Makefile.am: clean more files
* include/make_crypto.c: Avoid creating a file called --version.
* include/bits.c: Avoid creating a file called --version.
* appl/test/Makefile.am: add nt_gss_common.h
* doc/Makefile.am: Disable TEXI2DVI for now.
* tools/Makefile.am: more files
* lib/krb5/context.c (krb5_free_context): free send_to_kdc context
* doc/heimdal.texi: Put Heimdal in the dircategory Security.
* lib/krb5/send_to_kdc.c: Add sent_to_kdc hook, from Andrew
Bartlet.
* lib/krb5/krb5_locl.h: Add send_to_kdc hook.
* lib/krb5/krb5.h: Add krb5_send_to_kdc_func prototype.
* kcm/Makefile.am: more files
* kdc/Makefile.am: more files
* lib/hdb/Makefile.am: more files
* lib/krb5/Makefile.am: add more files
2006-10-19 Love Hörnquist Åstrand <[email protected]>
* tools/Makefile.am: Add heimdal-build.sh to EXTRA_DIST.
* configure.in: Don't check for timegm, libroken provides it for
us.
* lib/krb5/acache.c: Does function typecasts instead of void *
type-casts.
* lib/krb5/krb5.h: Remove bonus , that Love sneeked in.
* configure.in: make --disable-pk-init help text also negative
2006-10-18 Love Hörnquist Åstrand <[email protected]>
* kuser/kgetcred.c: Avoid memory leak.
* tools/heimdal-build.sh: Add more verbose logging, add version of
script and heimdal to the mail.
* lib/hdb/db3.c: Wrap function call pointer calls in (*func) to
avoid macros rewriting open and close.
* lib/krb5/Makefile.am: Add test_princ.
* lib/krb5/principal.c: More error strings, handle realm-less
printing.
* lib/krb5/test_princ.c: Test principal parsing and unparsing.
2006-10-17 Love Hörnquist Åstrand <[email protected]>
* lib/krb5/get_host_realm.c (krb5_get_host_realm): make sure we
don't recurse
* lib/krb5/get_host_realm.c (krb5_get_host_realm): no components
-> no dns. no mapping, try local realm and hope KDC knows better.
* lib/krb5/krb5.h: Add flags for krb5_unparse_name_flags
* lib/krb5/krb5_principal.3: Document
krb5_unparse_name{_fixed,}_flags.
* lib/krb5/principal.c: Add krb5_unparse_name_flags and
krb5_unparse_name_fixed_flags.
* lib/krb5/krb5_principal.3: Document krb5_parse_name_flags.
* lib/krb5/principal.c: Add krb5_parse_name_flags.
* lib/krb5/principal.c: Add krb5_parse_name_flags.
* lib/krb5/krb5.h: Add krb5_parse_name_flags flags.
* lib/krb5/krb5_locl.h: Hide krb5_context_data from public
exposure.
* lib/krb5/krb5.h: Hide krb5_context_data from public exposure.
* kuser/klist.c: Use krb5_get_kdc_sec_offset.
* lib/krb5/context.c: Document krb5_get_kdc_sec_offset()
* lib/krb5/krb5_init_context.3: Add krb5_get_kdc_sec_offset()
* lib/krb5/krb5_init_context.3: Add krb5_set_dns_canonize_hostname
and krb5_get_dns_canonize_hostname
* lib/krb5/verify_krb5_conf.c:
add [libdefaults]dns_canonize_hostname
* lib/krb5/expand_hostname.c: use dns_canonize_hostname to
determin if we should talk to dns to find the canonical name of
the host.
* lib/krb5/krb5.h (krb5_context): add dns_canonize_hostname.
* tools/heimdal-build.sh: Set status.
* appl/gssmask/gssmask.c: handle more bits
* kdc/kerberos5.c: Prefix asn1 primitives with der_.
2006-10-16 Love Hörnquist Åstrand <[email protected]>
* fix-export: Build lib/asn1/der-protos.h.
2006-10-14 Love Hörnquist Åstrand <[email protected]>
* appl/gssmask/Makefile.am: Add explit depenency on libroken.
* kdc/krb5tgs.c: Prefix der primitives with der_.
* kdc/pkinit.c: Prefix der primitives with der_.
* lib/hdb/ext.c: Prefix der primitives with der_.
* lib/hdb/ext.c: Prefix der primitives with der_.
* lib/krb5/crypto.c: Remove workaround from when there wasn't
always aes.
* lib/krb5/ticket.c: Prefix der primitives with der_.
* lib/krb5/digest.c: Prefix der primitives with der_.
* lib/krb5/crypto.c: Prefix der primitives with der_.
* lib/krb5/data.c: Prefix der primitives with der_.
2006-10-12 Love Hörnquist Åstrand <[email protected]>
* kdc/pkinit.c (pk_mk_pa_reply_enckey): add missing break. From
Olga Kornievskaia.
* kdc/kdc.8: document max-kdc-datagram-reply-length
* include/bits.c: Include Xint64 types.
2006-10-10 Love Hörnquist Åstrand <[email protected]>
* tools/heimdal-build.sh: Add socketwrapper and cputime limit.
* kdc/connect.c (loop): Log that the kdc have started.
2006-10-09 Love Hörnquist Åstrand <[email protected]>
* kdc/connect.c (do_request): tell krb5_kdc_process_request if its
a datagram reply or not
* kdc/kerberos5.c: Reply KRB5KRB_ERR_RESPONSE_TOO_BIG error if its
a datagram reply and the datagram reply length limit is reached.
* kdc/process.c: Rename krb5_kdc_process_generic_request to
krb5_kdc_process_request Add datagram_reply argument.
* kdc/config.c: check for [kdc]max-kdc-datagram-reply-length
* kdc/kdc.h (krb5_kdc_config): Add max_datagram_reply_length.
* lib/hdb/keytab.c: Change || to |, From metze.
* lib/hdb/keytab.c: Add back :file to sample format.
* lib/hdb/keytab.c: Add more HDB_F flags to hdb_fetch. Pointed out
by Andrew Bartlet.
* kdc/krb5tgs.c (tgs_parse_request): set cusec, not csec from
auth->cusec.
2006-10-08 Love Hörnquist Åstrand <[email protected]>
* fix-export: dist_-ify libkadm5clnt_la_SOURCES too
* doc/heimdal.texi: Update (c) years.
* appl/gssmask/protocol.h: Clarify protocol.
* kdc/hpropd.c: Adapt to signature change of
_krb5_principalname2krb5_principal.
* kdc/kerberos4.c: Adapt to signature change of
_krb5_principalname2krb5_principal.
* kdc/connect.c (handle_vanilla_tcp): shorten length when we
shorten the buffer, this matter im the PK-INIT encKey case where a
checksum is done over the whole packet. Reported by Olga
Kornievskaia
2006-10-07 Love Hörnquist Åstrand <[email protected]>
* include/Makefile.am: crypto-headers.h is a nodist header
* lib/krb5/aes-test.c: Make argument to PKCS5_PBKDF2_HMAC_SHA1
unsigned char to make OpenSSL happy.
* appl/kf/Makefile.am: Add man_MANS to EXTRA_DIST
* kuser/Makefile.am: split build files into dist_ and noinst_
SOURCES
* lib/hdb/Makefile.am: split build files into dist_ and noinst_
SOURCES
* lib/krb5/Makefile.am: split build files into dist_ and noinst_
SOURCES
* kdc/kerberos5.c: Adapt to signature change of
_krb5_principalname2krb5_principal.
2006-10-06 Love Hörnquist Åstrand <[email protected]>
* lib/krb5/krbhst.c (common_init): don't try DNS when there is
realm w/o a dot.
* kdc/524.c: Adapt to signature change of
_krb5_principalname2krb5_principal.
* kdc/krb5tgs.c: Adapt to signature change of
_krb5_principalname2krb5_principal.
* lib/krb5/get_in_tkt.c: Adapt to signature change of
_krb5_principalname2krb5_principal.
* lib/krb5/rd_cred.c: Adapt to signature change of
_krb5_principalname2krb5_principal.
* lib/krb5/rd_req.c: Adapt to signature change of
_krb5_principalname2krb5_principal.
* lib/krb5/asn1_glue.c (_krb5_principalname2krb5_principal): add
krb5_context to signature.
* kdc/524.c (_krb5_principalname2krb5_principal): adapt to
signature change
* lib/hdb/keytab.c (hdb_get_entry): close and destroy the database
later, the hdb_entry_ex might still contain links to the database
that it expects to use.
* kdc/digest.c: Make digest argument o MD5_final unsigned char to
help OpenSSL.
* kuser/kdigest.c: Make digest argument o MD5_final unsigned char
to help OpenSSL.
* appl/gssmask/common.h: Maybe include <sys/wait.h>.
2006-10-05 Love Hörnquist Åstrand <[email protected]>
* appl/gssmask/common.h: disable ENABLE_PTHREAD_SUPPORT and
explain why
* tools/heimdal-build.sh: Another mail header.
* tools/heimdal-build.sh: small fixes
* fix-export: More liberal parsing of AC_INIT
* tools/heimdal-build.sh: first cut
2006-10-04 Love Hörnquist Åstrand <[email protected]>
* configure.in: Call AB_INIT.
* kuser/kinit.c: Add flag --pk-use-enckey.
* kdc/pkinit.c: Sign the request in the encKey case. Bug reported
by Olga Kornievskaia of Umich.
* lib/krb5/Makefile.am: man_MANS += krb5_digest.3
* lib/krb5/krb5_digest.3: Add all protos
2006-10-03 Love Hörnquist Åstrand <[email protected]>
* lib/krb5/krb5_digest.3: Basic krb5_digest manpage.
2006-10-02 Love Hörnquist Åstrand <[email protected]>
* fix-export: build gssapi mech private files
* lib/krb5/init_creds_pw.c: minimize layering and remove
krb5_kdc_flags
* lib/krb5/get_in_tkt.c: Always use the kdc_flags in the right bit
order.
* lib/krb5/init_creds_pw.c: Always use the kdc_flags in the right
bit order.
* kuser/kdigest.c: Don't require --kerberos-realm.
* lib/krb5/digest.c (digest_request): if NULL is passed in as
realm, use default realm.
* fix-export: build gssapi mech private files
2006-09-26 Love Hörnquist Åstrand <[email protected]>
* appl/gssmask/gssmaestro.c: Handle FIRST_CALL in the context
building, better error handling.
* appl/gssmask/gssmaestro.c: switch from wrap/unwrap to
encrypt/decrypt
* appl/gssmask/gssmask.c: Don't announce spn if there is none.
* appl/gssmask/gssmaestro.c: Check that the pre-wrapped data is
the same as afterward.
2006-09-25 Love Hörnquist Åstrand <[email protected]>
* appl/gssmask/gssmaestro.c: Remove stray GSS_C_DCE_STYLE.
* appl/gssmask/gssmaestro.c: Add logsocket support.
2006-09-22 Love Hörnquist Åstrand <[email protected]>
* appl/gssmask/gssmaestro.c (build_context): print the step the
context exchange.
2006-09-21 Love Hörnquist Åstrand <[email protected]>
* appl/gssmask/gssmaestro.c: Add GSS_C_INTEG_FLAG|GSS_C_CONF_FLAG
to all context flags
* appl/gssmask/gssmaestro.c: Add wrap and mic tests for all
elements
* appl/gssmask/gssmask.c: Add mic tests
* appl/gssmask/gssmaestro.c: dont exit early then when context
is half built.
* lib/krb5/rd_req.c: disable ETypeList parsing usage for now, cfx
seems broken and its not good to upgrade to a broken enctype.
2006-09-20 Love Hörnquist Åstrand <[email protected]>
* appl/gssmask/gssmask.c: Add wrap/unwrap ops
* appl/gssmask/protocol.h: Add eGetVersionAndCapabilities flags
* appl/gssmask/common.c: Add permutate_all (and support
functions).
* appl/gssmask/common.h: Add permutate_all
* appl/gssmask/gssmask.c: use new flags, return moniker
* appl/gssmask/gssmaestro.c: test self context building and all
permutation of clients
2006-09-19 Love Hörnquist Åstrand <[email protected]>
* appl/gssmask/gssmask.c: add --logfile option, use htons() on
port number
* appl/gssmask/gssmaestro.c: Log port in connection message.
* configure.in: Make pk-init turned on by default.
2006-09-18 Love Hörnquist Åstrand <[email protected]>
* fix-export: Build lib/hx509/{hx509-protos.h,hx509-private.h}.
* kuser/Makefile.am: Add tool for printing tickets.
* kuser/kimpersonate.1: Add tool for printing tickets.
* kuser/kimpersonate.c: Add tool for printing tickets.
* kdc/krb5tgs.c: Check the adtkt in the constrained delegation
case too.
2006-09-16 Love Hörnquist Åstrand <[email protected]>
* kdc/main.c (sigterm): don't _exit, let loop() catch the signal
instead.
* lib/krb5/krb5_timeofday.3: Fixes from Björn Sandell.
* lib/krb5/krb5_get_init_creds.3: Fixes from Björn Sandell.
2006-09-15 Love Hörnquist Åstrand <[email protected]>
* tools/krb5-config.in: Add "kafs" option.
2006-09-12 Love Hörnquist Åstrand <[email protected]>
* lib/hdb/db.c: By using full function calling conversion (*func)
we avoid problem when close(fd) is overridden using a macro.
* lib/krb5/cache.c: By using full function calling
conversion (*func) we avoid problem when close(fd) is overridden
using a macro.
2006-09-11 Love Hörnquist Åstrand <[email protected]>
* kdc/kerberos5.c: Signing outgoing tickets.
* kdc/krb5tgs.c: Add signing and checking of tickets to s4u2self
works securely.
* lib/krb5/pkinit.c: Adapt to new signature of
hx509_cms_unenvelope.
2006-09-09 Love Hörnquist Åstrand <[email protected]>
* lib/krb5/pkinit.c (pk_verify_host): set errorstrings in a
sensable way
2006-09-08 Love Hörnquist Åstrand <[email protected]>
* lib/krb5/krb5_init_context.3: Prevent a font generation warning,
from Jason McIntyre.
2006-09-06 Love Hörnquist Åstrand <[email protected]>
* lib/krb5/context.c (krb5_init_ets): Add the hx errortable
* lib/krb5/krb5_locl.h: Include hx509_err.h.
* lib/krb5/pkinit.c (_krb5_pk_verify_sign): catch the error string
from the hx509 lib
2006-09-04 Love Hörnquist Åstrand <[email protected]>
* lib/krb5/init_creds.c (krb5_get_init_creds_opt_set_default_flags):
fix argument to krb5_get_init_creds_opt_set_addressless.
* lib/krb5/init_creds_pw.c (init_cred_loop): try to catch the
error when we actually have an error to catch.
* lib/krb5/init_creds_pw.c: Remove debug printfs.
* kuser/kinit.c: Remove debug printf
* lib/krb5/krb5_get_init_creds.3: Document
krb5_get_init_creds_opt_set_addressless.
* kuser/kinit.c: Use new function
krb5_get_init_creds_opt_set_addressless.
* lib/krb5/krb5_locl.h: use new addressless, convert pa-pac option
to use the same tri-state option as the new addressless option.
* lib/krb5/init_creds_pw.c: use new addressless, convert pa-pac
option to use the same tri-state option as the new addressless
option.
* lib/krb5/init_creds.c (krb5_get_init_creds_opt_set_addressless):
used to control the address-lessness of the initial tickets
instead of passing in the empty set of address into
krb5_get_init_creds_opt_set_addresses.
2006-09-01 Love Hörnquist Åstrand <[email protected]>
* kuser/kinit.c (renew_validate): inherit the proxiable and
forwardable from the orignal ticket, pointed out by Bernard
Antoine of CERN.
* doc/setup.texi: More text about the acl_file entry and
hdb-ldap-structural-object. From Rüdiger Ranft.
* lib/krb5/krbhst.c (fallback_get_hosts): limit the fallback
lookups to 5. Patch from Wesley Craig, umich.edu
* configure.in: Add special tests for <sys/ucred.h>, include test
for sys/param.h and sys/types.h
* appl/test/tcp_server.c (proto): use keytab for krb5_recvauth
Patch from Ingemar Nilsson <[email protected]>
2006-08-28 Love Hörnquist Åstrand <[email protected]>
* kuser/kdigest.c (help): use sl_slc_help().
* kdc/digest.c: Catch more error, add SASL DIGEST MD5.
* lib/krb5/digest.c: Catch more error.
2006-08-25 Love Hörnquist Åstrand <[email protected]>
* doc/setup.texi: language.
* doc/heimdal.texi: Add last updated text.
* doc/heimdal.css: make box around heimdal title
* doc/heimdal.css: Inital Heimdal css for the info manual
* lib/krb5/digest.c: In the case where we get a DigestError back,
save the error string and code.
2006-08-24 Love Hörnquist Åstrand <[email protected]>
* kdc/kerberos5.c: Remove _kdc_find_etype(), its no longer used.
* kdc/digest.c: Remove local error label and have just one exit
label, set error strings properly.
* kdc/digest.c: Simply the disabled-service case. Check the
allow-digest flag in the HDB entry for the client.
* kdc/process.c (krb5_kdc_process_generic_request): check if we
got a digest request and process it.
* kdc/main.c: Register hdb keytab operations.