forked from heimdal/heimdal
-
Notifications
You must be signed in to change notification settings - Fork 1
/
ChangeLog.1999
2194 lines (1313 loc) · 62.1 KB
/
ChangeLog.1999
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
1999-12-30 Assar Westerlund <assar@sics.se>
* configure.in (krb4): use `-ldes' in tests
1999-12-26 Assar Westerlund <assar@sics.se>
* lib/hdb/print.c (event2string): handle events without principal.
From Luke Howard <lukeh@PADL.COM>
1999-12-25 Assar Westerlund <assar@sics.se>
* Release 0.2j
Tue Dec 21 18:03:17 1999 Assar Westerlund <assar@sics.se>
* lib/hdb/Makefile.am (asn1_files): add $(EXEEXT) for cygwin and
related systems
* lib/asn1/Makefile.am (asn1_files): add $(EXEEXT) for cygwin and
related systems
* include/Makefile.am (krb5-types.h): add $(EXEEXT) for cygwin and
related systems
1999-12-20 Assar Westerlund <assar@sics.se>
* Release 0.2i
1999-12-20 Assar Westerlund <assar@sics.se>
* lib/krb5/Makefile.am (libkrb5_la_LDFLAGS): bump version to 6:3:1
* lib/krb5/send_to_kdc.c (send_via_proxy): free data
* lib/krb5/send_to_kdc.c (send_via_proxy): new function use
getaddrinfo instead of gethostbyname{,2}
* lib/krb5/get_for_creds.c: use getaddrinfo instead of
getnodebyname{,2}
1999-12-17 Assar Westerlund <assar@sics.se>
* Release 0.2h
1999-12-17 Assar Westerlund <assar@sics.se>
* Release 0.2g
1999-12-16 Assar Westerlund <assar@sics.se>
* lib/krb5/Makefile.am: bump version to 6:2:1
* lib/krb5/principal.c (krb5_sname_to_principal): handle
ai_canonname not being set
* lib/krb5/expand_hostname.c (krb5_expand_hostname): handle
ai_canonname not being set
* appl/test/uu_server.c: print messages to stderr
* appl/test/tcp_server.c: print messages to stderr
* appl/test/nt_gss_server.c: print messages to stderr
* appl/test/gssapi_server.c: print messages to stderr
* appl/test/tcp_client.c (proto): remove shadowing `context'
* appl/test/common.c (client_doit): add forgotten ntohs
1999-12-13 Assar Westerlund <assar@sics.se>
* configure.in (VERISON): bump to 0.2g-pre
1999-12-12 Assar Westerlund <assar@sics.se>
* lib/krb5/principal.c (krb5_425_conv_principal_ext): be more
robust and handle extra dot at the beginning of default_domain
1999-12-12 Assar Westerlund <assar@sics.se>
* Release 0.2f
1999-12-12 Assar Westerlund <assar@sics.se>
* lib/krb5/Makefile.am: bump version to 6:1:1
* lib/krb5/changepw.c (get_kdc_address): use
`krb5_get_krb_changepw_hst'
* lib/krb5/krbhst.c (krb5_get_krb_changepw_hst): add
* lib/krb5/get_host_realm.c: add support for _kerberos.domain
(according to draft-ietf-cat-krb-dns-locate-01.txt)
1999-12-06 Assar Westerlund <assar@sics.se>
* Release 0.2e
1999-12-06 Assar Westerlund <assar@sics.se>
* lib/krb5/changepw.c (krb5_change_password): use the correct
address
* lib/krb5/Makefile.am: bump version to 6:0:1
* lib/asn1/Makefile.am: bump version to 1:4:0
1999-12-04 Assar Westerlund <assar@sics.se>
* configure.in: move AC_KRB_IPv6 to make sure it's performed
before AC_BROKEN
(el_init): use new feature of AC_FIND_FUNC_NO_LIBS
* appl/test/uu_client.c: use client_doit
* appl/test/test_locl.h (client_doit): add prototype
* appl/test/tcp_client.c: use client_doit
* appl/test/nt_gss_client.c: use client_doit
* appl/test/gssapi_client.c: use client_doit
* appl/test/common.c (client_doit): move identical code here and
start using getaddrinfo
* appl/kf/kf.c (doit): rewrite to use getaddrinfo
* kdc/hprop.c: re-write to use getaddrinfo
* lib/krb5/principal.c (krb5_sname_to_principal): use getaddrinfo
* lib/krb5/expand_hostname.c (krb5_expand_hostname): use
getaddrinfo
* lib/krb5/changepw.c: re-write to use getaddrinfo
* lib/krb5/addr_families.c (krb5_parse_address): use getaddrinfo
1999-12-03 Assar Westerlund <assar@sics.se>
* configure.in (BROKEN): check for freeaddrinfo, getaddrinfo,
getnameinfo, gai_strerror
(socklen_t): check for
1999-12-02 Johan Danielsson <joda@pdc.kth.se>
* lib/krb5/crypto.c: ARCFOUR_set_key -> RC4_set_key
1999-11-23 Assar Westerlund <assar@sics.se>
* lib/krb5/crypto.c (ARCFOUR_string_to_key): change order of bytes
within unicode characters. this should probably be done in some
arbitrarly complex way to do it properly and you would have to
know what character encoding was used for the password and salt
string.
* lib/krb5/addr_families.c (ipv4_uninteresting): ignore 0.0.0.0
(INADDR_ANY)
(ipv6_uninteresting): remove unused macro
1999-11-22 Johan Danielsson <joda@pdc.kth.se>
* lib/krb5/krb5.h: rc4->arcfour
* lib/krb5/crypto.c: rc4->arcfour
1999-11-17 Assar Westerlund <assar@sics.se>
* lib/krb5/krb5_locl.h: add <rc4.h>
* lib/krb5/krb5.h (krb5_keytype): add KEYTYPE_RC4
* lib/krb5/crypto.c: some code for doing RC4/MD5/HMAC which might
not be totally different from some small company up in the
north-west corner of the US
* lib/krb5/get_addrs.c (find_all_addresses): change code to
actually increment buf_size
1999-11-14 Assar Westerlund <assar@sics.se>
* lib/krb5/krb5.h (krb5_context_data): add `scan_interfaces'
* lib/krb5/get_addrs.c (krb5_get_all_client_addrs): make interaces
scanning optional
* lib/krb5/context.c (init_context_from_config_file): set
`scan_interfaces'
* lib/krb5/Makefile.am (libkrb5_la_SOURCES): add add_et_list.c
* lib/krb5/add_et_list.c (krb5_add_et_list): new function
1999-11-12 Assar Westerlund <assar@sics.se>
* lib/krb5/get_default_realm.c (krb5_get_default_realm,
krb5_get_default_realms): set realms if they were unset
* lib/krb5/context.c (init_context_from_config_file): don't
initialize default realms here. it's done lazily instead.
* lib/krb5/krb5.h (KRB5_TC_*): make constants unsigned
* lib/asn1/gen_glue.c (generate_2int, generate_units): make sure
bit constants are unsigned
* lib/asn1/gen.c (define_type): make length in sequences be
unsigned.
* configure.in: remove duplicate test for setsockopt test for
struct tm.tm_isdst
* lib/krb5/get_in_tkt.c (krb5_get_in_cred): generate
preauthentication information if we get back ERR_PREAUTH_REQUIRED
* lib/krb5/init_creds_pw.c (krb5_get_init_creds_password): remove
preauthentication generation code. it's now in krb5_get_in_cred
* configure.in (AC_BROKEN_SNPRINTF): add strptime check for struct
tm.tm_gmtoff and timezone
1999-11-11 Johan Danielsson <joda@pdc.kth.se>
* kdc/main.c: make this work with multi-db
* kdc/kdc_locl.h: make this work with multi-db
* kdc/config.c: make this work with multi-db
1999-11-09 Johan Danielsson <joda@pdc.kth.se>
* kdc/misc.c: update for multi-database code
* kdc/main.c: update for multi-database code
* kdc/kdc_locl.h: update
* kdc/config.c: allow us to have more than one database
1999-11-04 Assar Westerlund <assar@sics.se>
* Release 0.2d
* lib/krb5/Makefile.am: bump version to 5:0:0 to be safe
(krb5_context_data has changed and some code do (might) access
fields directly)
* lib/krb5/krb5.h (krb5_context_data): add `etypes_des'
* lib/krb5/get_cred.c (init_tgs_req): use
krb5_keytype_to_enctypes_default
* lib/krb5/crypto.c (krb5_keytype_to_enctypes_default): new
function
* lib/krb5/context.c (set_etypes): new function
(init_context_from_config_file): set both `etypes' and `etypes_des'
1999-11-02 Assar Westerlund <assar@sics.se>
* configure.in (VERSION): bump to 0.2d-pre
1999-10-29 Assar Westerlund <assar@sics.se>
* lib/krb5/principal.c (krb5_parse_name): check memory allocations
1999-10-28 Assar Westerlund <assar@sics.se>
* Release 0.2c
* lib/krb5/dump_config.c (print_tree): check for empty tree
* lib/krb5/string-to-key-test.c (tests): update the test cases
with empty principals so that they actually use an empty realm and
not the default. use the correct etype for 3DES
* lib/krb5/Makefile.am: bump version to 4:1:0
* kdc/config.c (configure): more careful with the port string
1999-10-26 Assar Westerlund <assar@sics.se>
* Release 0.2b
1999-10-20 Assar Westerlund <assar@sics.se>
* lib/krb5/Makefile.am: bump version to 4:0:0
(krb524_convert_creds_kdc and potentially some other functions
have changed prototypes)
* lib/hdb/Makefile.am: bump version to 4:0:1
* lib/asn1/Makefile.am: bump version to 1:3:0
* configure.in (LIB_roken): add dbopen. getcap in roken
references dbopen and with shared libraries we need to add this
dependency.
* lib/krb5/verify_krb5_conf.c (main): support speicifying the
configuration file to test on the command line
* lib/krb5/config_file.c (parse_binding): handle line with no
whitespace before =
(krb5_config_parse_file_debug): set lineno earlier so that we don't
use it unitialized
* configure.in (AM_INIT_AUTOMAKE): bump to 0.2b-pre opt*: need
more include files for these tests
* lib/krb5/set_default_realm.c (krb5_set_default_realm): use
krb5_config_get_strings, which means that your configuration file
should look like:
[libdefaults]
default_realm = realm1 realm2 realm3
* lib/krb5/set_default_realm.c (config_binding_to_list): fix
copy-o. From Michal Vocu <michal@karlin.mff.cuni.cz>
* kdc/config.c (configure): add a missing strdup. From Michal
Vocu <michal@karlin.mff.cuni.cz>
1999-10-17 Assar Westerlund <assar@sics.se>
* Release 0.2a
* configure.in: only test for db.h with using berkeley_db. remember
to link with LIB_tgetent when checking for el_init. add xnlock
* appl/Makefile.am: add xnlock
* kdc/kerberos5.c (find_etype): support null keys
* kdc/kerberos4.c (get_des_key): support null keys
* lib/krb5/crypto.c (krb5_get_wrapped_length): more correct
calculation
1999-10-16 Johan Danielsson <joda@pdc.kth.se>
* kuser/kinit.c (main): pass ccache to krb524_convert_creds_kdc
1999-10-12 Johan Danielsson <joda@pdc.kth.se>
* lib/krb5/crypto.c (krb5_enctype_to_keytype): remove warning
1999-10-10 Assar Westerlund <assar@sics.se>
* lib/krb5/mk_req.c (krb5_mk_req): use krb5_free_host_realm
* lib/krb5/krb5.h (krb5_ccache_data): make `ops' const
* lib/krb5/crypto.c (krb5_string_to_salttype): new function
* **/*.[ch]: const-ize
1999-10-06 Assar Westerlund <assar@sics.se>
* lib/krb5/creds.c (krb5_compare_creds): const-ify
* lib/krb5/cache.c: clean-up and comment-up
* lib/krb5/copy_host_realm.c (krb5_copy_host_realm): copy all the
strings
* lib/krb5/verify_user.c (krb5_verify_user_lrealm): free the
correct realm part
* kdc/connect.c (handle_tcp): things work much better when ret is
initialized
1999-10-03 Assar Westerlund <assar@sics.se>
* lib/krb5/convert_creds.c (krb524_convert_creds_kdc): look at the
type of the session key
* lib/krb5/crypto.c (krb5_enctypes_compatible_keys): spell
correctly
* lib/krb5/creds.c (krb5_compare_creds): fix spelling of
krb5_enctypes_compatible_keys
* lib/krb5/convert_creds.c (krb524_convert_creds_kdc): get new
credentials from the KDC if the existing one doesn't have a DES
session key.
* lib/45/get_ad_tkt.c (get_ad_tkt): update to new
krb524_convert_creds_kdc
1999-10-03 Johan Danielsson <joda@pdc.kth.se>
* lib/krb5/keytab_keyfile.c: make krb5_akf_ops const
* lib/krb5/keytab_memory.c: make krb5_mkt_ops const
* lib/krb5/keytab_file.c: make krb5_fkt_ops const
1999-10-01 Assar Westerlund <assar@sics.se>
* lib/krb5/config_file.c: rewritten to allow error messages
* lib/krb5/Makefile.am (bin_PROGRAMS): add verify_krb5_conf
(libkrb5_la_SOURCES): add config_file_netinfo.c
* lib/krb5/verify_krb5_conf.c: new program for verifying that
krb5.conf is corret
* lib/krb5/config_file_netinfo.c: moved netinfo code here from
config_file.c
1999-09-28 Assar Westerlund <assar@sics.se>
* kdc/hpropd.c (dump_krb4): kludge default_realm
* lib/asn1/check-der.c: add test cases for Generalized time and
make sure we return the correct value
* lib/asn1/der_put.c: simplify by using der_put_length_and_tag
* lib/krb5/verify_user.c (krb5_verify_user_lrealm): ariant of
krb5_verify_user that tries in all the local realms
* lib/krb5/set_default_realm.c: add support for having several
default realms
* lib/krb5/kuserok.c (krb5_kuserok): use `krb5_get_default_realms'
* lib/krb5/get_default_realm.c (krb5_get_default_realms): add
* lib/krb5/krb5.h (krb5_context_data): change `default_realm' to
`default_realms'
* lib/krb5/context.c: change from `default_realm' to
`default_realms'
* lib/krb5/aname_to_localname.c (krb5_aname_to_localname): use
krb5_get_default_realms
* lib/krb5/Makefile.am (libkrb5_la_SOURCES): add copy_host_realm.c
* lib/krb5/copy_host_realm.c: new file
1999-09-27 Johan Danielsson <joda@pdc.kth.se>
* lib/asn1/der_put.c (encode_generalized_time): encode length
* lib/krb5/recvauth.c: new function `krb5_recvauth_match_version'
that allows more intelligent matching of the application version
1999-09-26 Assar Westerlund <assar@sics.se>
* lib/asn1/asn1_print.c: add err.h
* kdc/config.c (configure): use parse_bytes
* appl/test/nt_gss_common.c: use the correct header file
1999-09-24 Johan Danielsson <joda@pdc.kth.se>
* kuser/klist.c: add a `--cache' flag
* kuser/kinit.c (main): only get default value for `get_v4_tgt' if
it's explicitly set in krb5.conf
1999-09-23 Assar Westerlund <assar@sics.se>
* lib/asn1/asn1_print.c (tag_names); add another univeral tag
* lib/asn1/der.h: update universal tags
1999-09-22 Assar Westerlund <assar@sics.se>
* lib/asn1/asn1_print.c (loop): print length of octet string
1999-09-21 Johan Danielsson <joda@pdc.kth.se>
* admin/ktutil.c (kt_get): add `--help'
1999-09-21 Assar Westerlund <assar@sics.se>
* kuser/Makefile.am: add kdecode_ticket
* kuser/kdecode_ticket.c: new debug program
* appl/test/nt_gss_server.c: new program to test against `Sample *
SSPI Code' in Windows 2000 RC1 SDK.
* appl/test/Makefile.am: add nt_gss_client and nt_gss_server
* lib/asn1/der_get.c (decode_general_string): remember to advance
ret over the length-len
* lib/asn1/Makefile.am: add asn1_print
* lib/asn1/asn1_print.c: new program for printing DER-structures
* lib/asn1/der_put.c: make functions more consistent
* lib/asn1/der_get.c: make functions more consistent
1999-09-20 Johan Danielsson <joda@pdc.kth.se>
* kdc/kerberos5.c: be more informative in pa-data error messages
1999-09-16 Assar Westerlund <assar@sics.se>
* configure.in: test for strlcpy, strlcat
1999-09-14 Assar Westerlund <assar@sics.se>
* lib/krb5/init_creds_pw.c (krb5_get_init_creds_password): return
KRB5_LIBOS_PWDINTR when interrupted
* lib/krb5/get_in_tkt_pw.c (krb5_password_key_proc): check return
value from des_read_pw_string
* kuser/kinit.c (main): don't print any error if reading the
password was interrupted
* kpasswd/kpasswd.c (main): don't print any error if reading the
password was interrupted
* kdc/string2key.c (main): check the return value from fgets
* kdc/kstash.c (main): check return value from des_read_pw_string
* admin/ktutil.c (kt_add): check the return-value from fgets and
overwrite the password for paranoid reasons
* lib/krb5/keytab_keyfile.c (get_cell_and_realm): only remove the
newline if it's there
1999-09-13 Assar Westerlund <assar@sics.se>
* kdc/hpropd.c (main): remove bogus error with `--print'. remove
sysloging of number of principals transferred
* kdc/hprop.c (ka_convert): set flags correctly for krbtgt/CELL
principals
(main): get rid of bogus opening of hdb database when propagating
ka-server database
1999-09-12 Assar Westerlund <assar@sics.se>
* lib/krb5/krb5_locl.h (O_BINARY): add fallback definition
* lib/krb5/krb5.h (krb5_context_data): add keytab types
* configure.in: revert back awk test, not worked around in
roken.awk
* lib/krb5/keytab_krb4.c: remove O_BINARY
* lib/krb5/keytab_keyfile.c: some support for AFS KeyFile's. From
Love <lha@e.kth.se>
* lib/krb5/keytab_file.c: remove O_BINARY
* lib/krb5/keytab.c: move the list of keytab types to the context
* lib/krb5/fcache.c: remove O_BINARY
* lib/krb5/context.c (init_context_from_config_file): register all
standard cache and keytab types
(krb5_free_context): free `kt_types'
* lib/krb5/cache.c (krb5_cc_resolve): move the registration of the
standard types of credential caches to context
* lib/krb5/Makefile.am (libkrb5_la_SOURCES): add keytab_keyfile.c
1999-09-10 Assar Westerlund <assar@sics.se>
* lib/krb5/keytab.c: add comments and clean-up
* admin/ktutil.c: add `ktutil copy'
* lib/krb5/keytab_krb4.c: new file
* lib/krb5/krb5.h (krb5_kt_cursor): add a `data' field
* lib/krb5/Makefile.am: add keytab_krb4.c
* lib/krb5/keytab.c: add krb4 and correct some if's
* admin/srvconvert.c (srvconv): move common code
* lib/krb5/krb5.h (krb5_fkt_ops, krb5_mkt_ops): new variables
* lib/krb5/keytab.c: move out file and memory functions
* lib/krb5/Makefile.am (libkrb5_la_SOURCES): add keytab_file.c,
keytab_memory.c
* lib/krb5/keytab_memory.c: new file
* lib/krb5/keytab_file.c: new file
* kpasswd/kpasswdd.c: move out password quality functions
1999-09-07 Assar Westerlund <assar@sics.se>
* lib/hdb/Makefile.am (libhdb_la_SOURCES): add keytab.c. From
Love <lha@e.kth.se>
* lib/krb5/convert_creds.c (krb524_convert_creds_kdc): check
return value from `krb5_sendto_kdc'
1999-09-06 Assar Westerlund <assar@sics.se>
* lib/krb5/send_to_kdc.c (send_and_recv): rename to recv_loop and
remove the sending of data. add a parameter `limit'. let callers
send the date themselves (and preferably with net_write on tcp
sockets)
(send_and_recv_tcp): read first the length field and then only that
many bytes
1999-09-05 Assar Westerlund <assar@sics.se>
* kdc/connect.c (handle_tcp): try to print warning `TCP data of
strange type' less often
* lib/krb5/send_to_kdc.c (send_and_recv): handle EINTR properly.
return on EOF. always free data. check return value from
realloc.
(send_and_recv_tcp, send_and_recv_http): check advertised length
against actual length
1999-09-01 Johan Danielsson <joda@pdc.kth.se>
* configure.in: check for sgi capabilities
1999-08-27 Johan Danielsson <joda@pdc.kth.se>
* lib/krb5/get_addrs.c: krb5_get_all_server_addrs shouldn't return
extra addresses
* kpasswd/kpasswdd.c: use HDB keytabs; change some error messages;
add --realm flag
* lib/krb5/address.c (krb5_append_addresses): remove duplicates
1999-08-26 Johan Danielsson <joda@pdc.kth.se>
* lib/hdb/keytab.c: HDB keytab backend
1999-08-25 Johan Danielsson <joda@pdc.kth.se>
* lib/krb5/keytab.c
(krb5_kt_{start_seq_get,next_entry,end_seq_get}): check for NULL
pointer
1999-08-24 Johan Danielsson <joda@pdc.kth.se>
* kpasswd/kpasswdd.c: add `--keytab' flag
1999-08-23 Assar Westerlund <assar@sics.se>
* lib/krb5/addr_families.c (IN6_ADDR_V6_TO_V4): use `s6_addr'
instead of the non-standard `s6_addr32'. From Yoshinobu Inoue
<shin@kame.net> by way of the KAME repository
1999-08-18 Assar Westerlund <assar@sics.se>
* configure.in (--enable-new-des3-code): remove check for `struct
addrinfo'
* lib/krb5/crypto.c (etypes): remove NEW_DES3_CODE, enable
des3-cbc-sha1 and keep old-des3-cbc-sha1 for backwards
compatability
* lib/krb5/krb5.h (krb5_enctype): des3-cbc-sha1 (with key
derivation) just got assigned etype 16 by <bcn@isi.edu>. keep the
old etype at 7.
1999-08-16 Assar Westerlund <assar@sics.se>
* lib/krb5/sendauth.c (krb5_sendauth): only look at errno if
krb5_net_read actually returns -1
* lib/krb5/recvauth.c (krb5_recvauth): only look at errno if
krb5_net_read actually returns -1
* appl/kf/kf.c (proto): don't trust errno if krb5_net_read hasn't
returned -1
* appl/test/tcp_server.c (proto): only trust errno if
krb5_net_read actually returns -1
* appl/kf/kfd.c (proto): be more careful with the return value
from krb5_net_read
1999-08-13 Assar Westerlund <assar@sics.se>
* lib/krb5/get_addrs.c (get_addrs_int): try the different ways
sequentially instead of just one. this helps if your heimdal was
built with v6-support but your kernel doesn't have it, for
example.
1999-08-12 Assar Westerlund <assar@sics.se>
* kdc/hpropd.c: add inetd flag. default means try to figure out
if stdin is a socket or not.
* Makefile.am (ACLOCAL): just use `cf', this variable is only used
when the current directory is $(top_srcdir) anyways and having
$(top_srcdir) there breaks if it's a relative path
1999-08-09 Johan Danielsson <joda@pdc.kth.se>
* configure.in: check for setproctitle
1999-08-05 Assar Westerlund <assar@sics.se>
* lib/krb5/principal.c (krb5_sname_to_principal): remember to call
freehostent
* appl/test/tcp_client.c: call freehostent
* appl/kf/kf.c (doit): call freehostent
* appl/kf/kf.c: make v6 friendly and simplify
* appl/kf/kfd.c: make v6 friendly and simplify
* appl/test/tcp_server.c: simplify by using krb5_err instead of
errx
* appl/test/tcp_client.c: simplify by using krb5_err instead of
errx
* appl/test/tcp_server.c: make v6 friendly and simplify
* appl/test/tcp_client.c: make v6 friendly and simplify
1999-08-04 Assar Westerlund <assar@sics.se>
* Release 0.1m
1999-08-04 Assar Westerlund <assar@sics.se>
* kuser/kinit.c (main): some more KRB4-conditionalizing
* lib/krb5/get_in_tkt.c: type correctness
* lib/krb5/get_for_creds.c (krb5_fwd_tgs_creds): set forwarded in
flags. From Miroslav Ruda <ruda@ics.muni.cz>
* kuser/kinit.c (main): add config file support for forwardable
and krb4 support. From Miroslav Ruda <ruda@ics.muni.cz>
* kdc/kerberos5.c (as_rep): add an empty X500-compress string as
transited.
(fix_transited_encoding): check length.
From Miroslav Ruda <ruda@ics.muni.cz>
* kdc/hpropd.c (dump_krb4): check the realm so that we don't dump
principals in some other realm. From Miroslav Ruda
<ruda@ics.muni.cz>
(main): rename sa_len -> sin_len, sa_lan is a define on some
platforms.
* appl/kf/kfd.c: add regpag support. From Miroslav Ruda
<ruda@ics.muni.cz>
* appl/kf/kf.c: add `-G' and forwardable option in krb5.conf.
From Miroslav Ruda <ruda@ics.muni.cz>
* lib/krb5/config_file.c (parse_list): don't run past end of line
* appl/test/gss_common.h: new prototypes
* appl/test/gssapi_client.c: use gss_err instead of abort
* appl/test/gss_common.c (gss_verr, gss_err): add
1999-08-03 Assar Westerlund <assar@sics.se>
* lib/krb5/Makefile.am (n_fold_test_LDADD): need to set this
otherwise it doesn't build with shared libraries
* kdc/hpropd.c: v6-ify
* kdc/hprop.c: v6-ify
1999-08-01 Assar Westerlund <assar@sics.se>
* lib/krb5/mk_req.c (krb5_mk_req): use krb5_expand_hostname
1999-07-31 Assar Westerlund <assar@sics.se>
* lib/krb5/get_host_realm.c (krb5_get_host_realm_int): new
function that takes a FQDN
* lib/krb5/Makefile.am (libkrb5_la_SOURCES): add exapnd_hostname.c
* lib/krb5/expand_hostname.c: new file
1999-07-28 Assar Westerlund <assar@sics.se>
* Release 0.1l
1999-07-28 Assar Westerlund <assar@sics.se>
* lib/asn1/Makefile.am: bump version to 1:2:0
* lib/krb5/Makefile.am: bump version to 3:1:0
* configure.in: more inet_pton to roken
* lib/krb5/principal.c (krb5_sname_to_principal): use
getipnodebyname
1999-07-26 Assar Westerlund <assar@sics.se>
* Release 0.1k
1999-07-26 Johan Danielsson <joda@pdc.kth.se>
* lib/krb5/Makefile.am: bump version number (changed function
signatures)
* lib/hdb/Makefile.am: bump version number (changes to some
function signatures)
1999-07-26 Assar Westerlund <assar@sics.se>
* lib/krb5/Makefile.am: bump version to 3:0:2
* lib/hdb/Makefile.am: bump version to 2:1:0
* lib/asn1/Makefile.am: bump version to 1:1:0
1999-07-26 Assar Westerlund <assar@sics.se>
* Release 0.1j
1999-07-26 Assar Westerlund <assar@sics.se>
* configure.in: rokenize inet_ntop
* lib/krb5/store_fd.c: lots of changes from size_t to ssize_t
* lib/krb5/store_mem.c: lots of changes from size_t to ssize_t
* lib/krb5/store_emem.c: lots of changes from size_t to ssize_t
* lib/krb5/store.c: lots of changes from size_t to ssize_t
(krb5_ret_stringz): check return value from realloc
* lib/krb5/mk_safe.c: some type correctness
* lib/krb5/mk_priv.c: some type correctness
* lib/krb5/krb5.h (krb5_storage): change return values of
functions from size_t to ssize_t
1999-07-24 Assar Westerlund <assar@sics.se>
* Release 0.1i
* configure.in (AC_PROG_AWK): disable. mawk seems to mishandle \#
in lib/roken/roken.awk
* lib/krb5/get_addrs.c (find_all_addresses): try to use SA_LEN to
step over addresses if there's no `sa_lan' field
* lib/krb5/sock_principal.c (krb5_sock_to_principal): simplify by
using `struct sockaddr_storage'
* lib/krb5/send_to_kdc.c (krb5_sendto_kdc): simplify by using
`struct sockaddr_storage'
* lib/krb5/changepw.c (krb5_change_password): simplify by using
`struct sockaddr_storage'
* lib/krb5/auth_context.c (krb5_auth_con_setaddrs_from_fd):
simplify by using `struct sockaddr_storage'
* kpasswd/kpasswdd.c (*): simplify by using `struct
sockaddr_storage'
* kdc/connect.c (*): simplify by using `struct sockaddr_storage'
* configure.in (sa_family_t): just test for existence
(sockaddr_storage): also specify include file
* configure.in (AM_INIT_AUTOMAKE): bump version to 0.1i
(sa_family_t): test for
(struct sockaddr_storage): test for
* kdc/hprop.c (propagate_database): typo, NULL should be
auth_context
* lib/krb5/get_addrs.c: conditionalize on HAVE_IPV6 instead of
AF_INET6
* appl/kf/kf.c (main): use warnx
* appl/kf/kf.c (proto): remove shadowing context
* lib/krb5/get_addrs.c (find_all_addresses): try to handle the
case of getting back an `sockaddr_in6' address when sizeof(struct
sockaddr_in6) > sizeof(struct sockaddr) and we have no sa_len to
tell us how large the address is. This obviously doesn't work
with unknown protocol types.
1999-07-24 Assar Westerlund <assar@sics.se>
* Release 0.1h
1999-07-23 Assar Westerlund <assar@sics.se>
* appl/kf/kfd.c: clean-up and more paranoia
* etc/services.append: add kf
* appl/kf/kf.c: rename tk_file to ccache for consistency. clean-up
1999-07-22 Assar Westerlund <assar@sics.se>
* lib/krb5/n-fold-test.c (main): print the correct data
* appl/Makefile.am (SUBDIRS): add kf
* appl/kf: new program. From Miroslav Ruda <ruda@ics.muni.cz>
* kdc/hprop.c: declare some variables unconditionally to simplify
things
* kpasswd/kpasswdd.c: initialize kadm5 connection for every change
(otherwise the modifier in the database doesn't get set)
* kdc/hpropd.c: clean-up and re-organize
* kdc/hprop.c: clean-up and re-organize
* configure.in (SunOS): define to xy for SunOS x.y
1999-07-19 Assar Westerlund <assar@sics.se>
* configure.in (AC_BROKEN): test for copyhostent, freehostent,
getipnodebyaddr, getipnodebyname
1999-07-15 Assar Westerlund <assar@sics.se>
* lib/asn1/check-der.c: more test cases for integers
* lib/asn1/der_length.c (length_int): handle the case of the
largest negative integer by not calling abs
1999-07-14 Assar Westerlund <assar@sics.se>
* lib/asn1/check-der.c (generic_test): check malloc return value
properly
* lib/krb5/Makefile.am: add string_to_key_test
* lib/krb5/prog_setup.c (krb5_program_setup): always initialize
the context
* lib/krb5/n-fold-test.c (main): return a relevant return value
* lib/krb5/krbhst.c: do SRV lookups for admin server as well.
some clean-up.
1999-07-12 Assar Westerlund <assar@sics.se>
* configure.in: handle not building X programs
1999-07-06 Assar Westerlund <assar@sics.se>
* lib/krb5/addr_families.c (ipv6_parse_addr): remove duplicate
variable
(ipv6_sockaddr2port): fix typo
* etc/services.append: beginning of a file with services
* lib/krb5/cache.c (krb5_cc_resolve): fall-back to files if
there's no prefix. also clean-up a little bit.
* kdc/hprop.c (--kaspecials): new flag for handling special KA
server entries. From "Brandon S. Allbery KF8NH"
<allbery@kf8nh.apk.net>
1999-07-05 Assar Westerlund <assar@sics.se>
* kdc/connect.c (handle_tcp): make sure we have data before
starting to look for HTTP
* kdc/connect.c (handle_tcp): always do getpeername, we can't
trust recvfrom to return anything sensible
1999-07-04 Assar Westerlund <assar@sics.se>
* lib/krb5/get_in_tkt.c (add_padat): encrypt pre-auth data with
all enctypes
* kpasswd/kpasswdd.c (change): fetch the salt-type from the entry
* admin/srvconvert.c (srvconv): better error messages
1999-07-03 Assar Westerlund <assar@sics.se>
* lib/krb5/principal.c (unparse_name): error check malloc properly
* lib/krb5/get_in_tkt.c (krb5_init_etype): error check malloc
properly
* lib/krb5/crypto.c (*): do some malloc return-value checks
properly
* lib/hdb/hdb.c (hdb_process_master_key): simplify by using
krb5_data_alloc
* lib/hdb/hdb.c (hdb_process_master_key): check return value from
malloc
* lib/asn1/gen_decode.c (decode_type): fix generation of decoding
information for TSequenceOf.
* kdc/kerberos5.c (get_pa_etype_info): check return value from
malloc