forked from heimdal/heimdal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
ChangeLog.1998
3201 lines (1832 loc) · 90.9 KB
/
ChangeLog.1998
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
Sat Dec 5 19:49:34 1998 Johan Danielsson <joda@hella.pdc.kth.se>
* lib/krb5/context.c: remove ktype_is_etype
* lib/krb5/crypto.c, lib/krb5/krb5.h, acconfig.h: NEW_DES3_CODE
* configure.in: fix for AIX install; better tests for AIX dynamic
AFS libs; `--enable-new-des3-code'
Tue Dec 1 14:44:44 1998 Johan Danielsson <joda@hella.pdc.kth.se>
* appl/afsutil/Makefile.am: link with extra libs for aix
* kuser/Makefile.am: link with extra libs for aix
Sun Nov 29 01:56:21 1998 Assar Westerlund <assar@sics.se>
* lib/krb5/get_addrs.c (krb5_get_all_server_addrs): add. almost
the same as krb5_get_all_client_addrs except that it includes
loopback addresses
* kdc/connect.c (init_socket): bind to a particular address
(init_sockets): get all local addresses and bind to them all
* lib/krb5/addr_families.c (addr2sockaddr, print_addr): new
methods
(find_af, find_atype): new functions. use them.
* configure.in: add hesiod
Wed Nov 25 11:37:48 1998 Johan Danielsson <joda@hella.pdc.kth.se>
* lib/krb5/krb5_err.et: add some codes from kerberos-revisions-03
Mon Nov 23 12:53:48 1998 Assar Westerlund <assar@sics.se>
* lib/kadm5/log.c: rename delete -> remove
* lib/kadm5/delete_s.c: rename delete -> remove
* lib/hdb/common.c: rename delete -> remove
Sun Nov 22 12:26:26 1998 Assar Westerlund <assar@sics.se>
* configure.in: check for environ and `struct spwd'
Sun Nov 22 11:42:45 1998 Johan Danielsson <joda@blubb.pdc.kth.se>
* kdc/kerberos5.c (as_rep): set keytype to sess_ktype if
ktype_is_etype
* lib/krb5/encrypt.c (krb5_keytype_to_etypes): zero terminate
etypes
(em): sort entries
Sun Nov 22 06:54:48 1998 Assar Westerlund <assar@sics.se>
* lib/krb5/init_creds_pw.c: more type correctness
* lib/krb5/get_cred.c: re-structure code. remove limits on ASN1
generated bits.
Sun Nov 22 01:49:50 1998 Johan Danielsson <joda@hella.pdc.kth.se>
* kdc/hprop.c (v4_prop): fix bogus indexing
Sat Nov 21 21:39:20 1998 Assar Westerlund <assar@sics.se>
* lib/krb5/verify_init.c (fail_verify_is_ok): new function
(krb5_verify_init_creds): if we cannot get a ticket for
host/`hostname` and fail_verify_is_ok just return. use
krb5_rd_req
Sat Nov 21 23:12:27 1998 Assar Westerlund <assar@sics.se>
* lib/krb5/free.c (krb5_xfree): new function
* lib/krb5/creds.c (krb5_free_creds_contents): new function
* lib/krb5/context.c: more type correctness
* lib/krb5/checksum.c: more type correctness
* lib/krb5/auth_context.c (krb5_auth_con_init): more type
correctness
* lib/asn1/der_get.c (der_get_length): fix test of len
(der_get_tag): more type correctness
* kuser/klist.c (usage): void-ize
* admin/ktutil.c (kt_remove): some more type correctness.
Sat Nov 21 16:49:20 1998 Johan Danielsson <joda@hella.pdc.kth.se>
* kuser/klist.c: try to list enctypes as keytypes
* kuser/kinit.c: remove extra `--cache' option, add `--enctypes'
to set list of enctypes to use
* kadmin/load.c: load strings as hex
* kadmin/dump.c: dump hex as string is possible
* admin/ktutil.c: use print_version()
* configure.in, acconfig.h: test for hesiod
Sun Nov 15 17:28:19 1998 Johan Danielsson <joda@hella.pdc.kth.se>
* lib/krb5/crypto.c: add some crypto debug code
* lib/krb5/get_in_tkt.c (_krb5_extract_ticket): don't use fixed
buffer when encoding ticket
* lib/krb5/auth_context.c (re-)implement `krb5_auth_setenctype'
* kdc/kerberos5.c: allow mis-match of tgt session key, and service
session key
* admin/ktutil.c: keytype -> enctype
Fri Nov 13 05:35:48 1998 Assar Westerlund <assar@sics.se>
* lib/krb5/krb5.h (KRB5_TGS_NAME, KRB5_TGS_NAME_SIZE): added
Sat Nov 7 19:56:31 1998 Assar Westerlund <assar@sics.se>
* lib/krb5/get_cred.c (add_cred): add termination NULL pointer
Mon Nov 2 01:15:06 1998 Assar Westerlund <assar@sics.se>
* lib/krb5/rd_req.c: adapt to new crypto api
* lib/krb5/rd_rep.c: adapt to new crypto api
* lib/krb5/rd_priv.c: adopt to new crypto api
* lib/krb5/rd_cred.c: adopt to new crypto api
* lib/krb5/principal.c: ENOMEM -> ERANGE
* lib/krb5/mk_safe.c: cleanup and adopt to new crypto api
* lib/krb5/mk_req_ext.c: adopt to new crypto api
* lib/krb5/mk_req.c: get enctype from auth_context keyblock
* lib/krb5/mk_rep.c: cleanup and adopt to new crypto api
* lib/krb5/mk_priv.c: adopt to new crypto api
* lib/krb5/keytab.c: adopt to new crypto api
* lib/krb5/get_in_tkt_with_skey.c: adopt to new crypto api
* lib/krb5/get_in_tkt_with_keytab.c: adopt to new crypto api
* lib/krb5/get_in_tkt_pw.c: adopt to new crypto api
* lib/krb5/get_in_tkt.c: adopt to new crypto api
* lib/krb5/get_cred.c: adopt to new crypto api
* lib/krb5/generate_subkey.c: use new crypto api
* lib/krb5/context.c: rename etype functions to enctype ditto
* lib/krb5/build_auth.c: use new crypto api
* lib/krb5/auth_context.c: remove enctype and cksumtype from
auth_context
Mon Nov 2 01:15:06 1998 Assar Westerlund <assar@sics.se>
* kdc/connect.c (handle_udp, handle_tcp): correct type of `n'
Tue Sep 15 18:41:38 1998 Johan Danielsson <joda@hella.pdc.kth.se>
* admin/ktutil.c: fix printing of unrecognized keytypes
Tue Sep 15 17:02:33 1998 Johan Danielsson <joda@hella.pdc.kth.se>
* lib/kadm5/set_keys.c: add KEYTYPE_USE_AFS3_SALT to keytype if
using AFS3 salt
Tue Aug 25 23:30:52 1998 Assar Westerlund <assar@sics.se>
* lib/krb5/send_to_kdc.c (krb5_sendto_kdc): care about
`use_admin_kdc'
* lib/krb5/changepw.c (get_kdc_address): use
krb5_get_krb_admin_hst
* lib/krb5/krbhst.c (krb5_get_krb_admin_hst): new function
* lib/krb5/krb5.h (krb5_context_data): add `use_admin_kdc'
* lib/krb5/context.c (krb5_get_use_admin_kdc,
krb5_set_use_admin_kdc): new functions
Tue Aug 18 22:24:12 1998 Johan Danielsson <joda@emma.pdc.kth.se>
* lib/krb5/crypto.c: remove all calls to abort(); check return
value from _key_schedule;
(RSA_MD[45]_DES_verify): zero tmp and res;
(RSA_MD5_DES3_{verify,checksum}): implement
Mon Aug 17 20:18:46 1998 Assar Westerlund <assar@sics.se>
* kdc/kerberos4.c (swap32): conditionalize
* lib/krb5/mk_req_ext.c (krb5_mk_req_internal): new function
* lib/krb5/get_host_realm.c (krb5_get_host_realm): if the hostname
returned from gethostby*() isn't a FQDN, try with the original
hostname
* lib/krb5/get_cred.c (make_pa_tgs_req): use krb5_mk_req_internal
and correct key usage
* lib/krb5/crypto.c (verify_checksum): make static
* admin/ktutil.c (kt_list): use krb5_enctype_to_string
Sun Aug 16 20:57:56 1998 Assar Westerlund <assar@sics.se>
* kadmin/cpw.c (do_cpw_entry): use asprintf for the prompt
* kadmin/ank.c (ank): print principal name in prompt
* lib/krb5/crypto.c (hmac): always allocate space for checksum.
never trust c.checksum.length
(_get_derived_key): try to return the derived key
Sun Aug 16 19:48:42 1998 Johan Danielsson <joda@emma.pdc.kth.se>
* lib/krb5/crypto.c (hmac): fix some peculiarities and bugs
(get_checksum_key): assume usage is `formatted'
(create_checksum,verify_checksum): moved the guts of the krb5_*
functions here, both take `formatted' key-usages
(encrypt_internal_derived): fix various bogosities
(derive_key): drop key_type parameter (already given by the
encryption_type)
* kdc/kerberos5.c (check_flags): handle case where client is NULL
* kdc/connect.c (process_request): return zero after processing
kerberos 4 request
Sun Aug 16 18:38:15 1998 Johan Danielsson <joda@blubb.pdc.kth.se>
* lib/krb5/crypto.c: merge x-*.[ch] into one file
* lib/krb5/cache.c: remove residual from krb5_ccache_data
Fri Aug 14 16:28:23 1998 Johan Danielsson <joda@emma.pdc.kth.se>
* lib/krb5/x-crypto.c (derive_key): move DES3 specific code to
separate function (will eventually end up someplace else)
* lib/krb5/x-crypto.c (krb5_string_to_key_derived): allocate key
* configure.in, acconfig.h: test for four valued krb_put_int
Thu Aug 13 23:46:29 1998 Assar Westerlund <assar@emma.pdc.kth.se>
* Release 0.0t
Thu Aug 13 22:40:17 1998 Assar Westerlund <assar@sics.se>
* lib/krb5/config_file.c (parse_binding): remove trailing
whitespace
Wed Aug 12 20:15:11 1998 Johan Danielsson <joda@emma.pdc.kth.se>
* lib/krb5/x-checksum.c (krb5_verify_checksum): pass checksum type
to krb5_create_checksum
* lib/krb5/x-key.c: implement DES3_string_to_key_derived; fix a
few typos
Wed Aug 5 12:39:54 1998 Assar Westerlund <assar@emma.pdc.kth.se>
* Release 0.0s
Thu Jul 30 23:12:17 1998 Assar Westerlund <assar@sics.se>
* lib/krb5/mk_error.c (krb5_mk_error): realloc until you die
Thu Jul 23 19:49:03 1998 Johan Danielsson <joda@emma.pdc.kth.se>
* kdc/kdc_locl.h: proto for `get_des_key'
* configure.in: test for four valued el_init
* kuser/klist.c: keytype -> enctype
* kpasswd/kpasswdd.c (change): use new `krb5_string_to_key*'
* kdc/hprop.c (v4_prop, ka_convert): convert to a set of keys
* kdc/kaserver.c: use `get_des_key'
* kdc/524.c: use new crypto api
* kdc/kerberos4.c: use new crypto api
* kdc/kerberos5.c: always treat keytypes as enctypes; use new
crypto api
* kdc/kstash.c: adapt to new crypto api
* kdc/string2key.c: adapt to new crypto api
* admin/srvconvert.c: add keys for all possible enctypes
* admin/ktutil.c: keytype -> enctype
* lib/gssapi/init_sec_context.c: get enctype from auth_context
keyblock
* lib/hdb/hdb.c: remove hdb_*_keytype2key
* lib/kadm5/set_keys.c: adapt to new crypto api
* lib/kadm5/rename_s.c: adapt to new crypto api
* lib/kadm5/get_s.c: adapt to new crypto api
* lib/kadm5/create_s.c: add keys for des-cbc-crc, des-cbc-md4,
des-cbc-md5, and des3-cbc-sha1
* lib/krb5/heim_err.et: error message for unsupported salt
* lib/krb5/codec.c: short-circuit these functions, since they are
not needed any more
* lib/krb5/rd_safe.c: cleanup and adapt to new crypto api
Mon Jul 13 23:00:59 1998 Assar Westerlund <assar@sics.se>
* lib/krb5/send_to_kdc.c (krb5_sendto_kdc): don't advance
hostent->h_addr_list, use a copy instead
Mon Jul 13 15:00:31 1998 Johan Danielsson <joda@emma.pdc.kth.se>
* lib/krb5/config_file.c (parse_binding, parse_section): make sure
everything is ok before adding to linked list
* lib/krb5/config_file.c: skip ws before checking for comment
Wed Jul 8 10:45:45 1998 Johan Danielsson <joda@emma.pdc.kth.se>
* lib/asn1/k5.asn1: hmac-sha1-des3 = 12
Tue Jun 30 18:08:05 1998 Assar Westerlund <assar@sics.se>
* lib/krb5/send_to_kdc.c (krb5_sendto_kdc): do not close the
unopened file
* lib/krb5/mk_priv.c: realloc correctly
* lib/krb5/get_addrs.c (find_all_addresses): init j
* lib/krb5/context.c (krb5_init_context): print error if parsing
of config file produced an error.
* lib/krb5/config_file.c (parse_list, krb5_config_parse_file):
ignore more spaces
* lib/krb5/codec.c (krb5_encode_EncKrbCredPart,
krb5_encode_ETYPE_INFO): initialize `ret'
* lib/krb5/build_auth.c (krb5_build_authenticator): realloc
correctly
* lib/kadm5/set_keys.c (_kadm5_set_keys): initialize `ret'
* lib/kadm5/init_c.c (get_cred_cache): try to do the right thing
with default_client
* kuser/kinit.c (main): initialize `ticket_life'
* kdc/kerberos5.c (get_pa_etype_info): initialize `ret'
(tgs_rep2): initialize `krbtgt'
* kdc/connect.c (do_request): check for errors from `sendto'
* kdc/524.c (do_524): initialize `ret'
* kadmin/util.c (foreach_principal): don't clobber `ret'
* kadmin/del.c (del_entry): don't apply on zeroth argument
* kadmin/cpw.c (do_cpw_entry): initialize `ret'
Sat Jun 13 04:14:01 1998 Assar Westerlund <assar@juguete.sics.se>
* Release 0.0r
Sun Jun 7 04:13:14 1998 Assar Westerlund <assar@sics.se>
* lib/krb5/addr_families.c: fall-back definition of
IN6_ADDR_V6_TO_V4
* configure.in: only set CFLAGS if it wasn't set look for
dn_expand and res_search
Mon Jun 1 21:28:07 1998 Assar Westerlund <assar@sics.se>
* configure.in: remove duplicate seteuid
Sat May 30 00:19:51 1998 Johan Danielsson <joda@emma.pdc.kth.se>
* lib/krb5/convert_creds.c: import _krb_time_to_life, to avoid
runtime dependencies on libkrb with some shared library
implementations
Fri May 29 00:09:02 1998 Johan Danielsson <joda@emma.pdc.kth.se>
* kuser/kinit_options.c: Default options for kinit.
* kuser/kauth_options.c: Default options for kauth.
* kuser/kinit.c: Implement lots a new options.
* kdc/kerberos5.c (check_tgs_flags): make sure kdc-req-body->rtime
is not NULL; set endtime to min of new starttime + old_life, and
requested endtime
* lib/krb5/init_creds_pw.c (get_init_creds_common): if the
forwardable or proxiable flags are set in options, set the
kdc-flags to the value specified, and not always to one
Thu May 28 21:28:06 1998 Johan Danielsson <joda@emma.pdc.kth.se>
* kdc/kerberos5.c: Optionally compare client address to addresses
in ticket.
* kdc/connect.c: Pass client address to as_rep() and tgs_rep().
* kdc/config.c: Add check_ticket_addresses, and
allow_null_ticket_addresses variables.
Tue May 26 14:03:42 1998 Johan Danielsson <joda@emma.pdc.kth.se>
* lib/kadm5/create_s.c: possibly make DES keys version 4 salted
* lib/kadm5/set_keys.c: check config file for kadmin/use_v4_salt
before zapping version 4 salts
Sun May 24 05:22:17 1998 Assar Westerlund <assar@sics.se>
* Release 0.0q
* lib/krb5/aname_to_localname.c: new file
* lib/gssapi/init_sec_context.c (repl_mutual): no output token
* lib/gssapi/display_name.c (gss_display_name): zero terminate
output.
Sat May 23 19:11:07 1998 Assar Westerlund <assar@sics.se>
* lib/gssapi/display_status.c: new file
* Makefile.am: send -I to aclocal
* configure.in: remove duplicate setenv
Sat May 23 04:55:19 1998 Johan Danielsson <joda@emma.pdc.kth.se>
* kadmin/util.c (foreach_principal): Check for expression before
wading through the whole database.
* kadmin/kadmin.c: Pass NULL password to
kadm5_*_init_with_password.
* lib/kadm5/init_c.c: Implement init_with_{skey,creds}*. Make use
of `password' parameter to init_with_password.
* lib/kadm5/init_s.c: implement init_with_{skey,creds}*
* lib/kadm5/server.c: Better arguments for
kadm5_init_with_password.
Sat May 16 07:10:36 1998 Assar Westerlund <assar@sics.se>
* kdc/hprop.c: conditionalize ka-server reading support on
KASERVER_DB
* configure.in: new option `--enable-kaserver-db'
Fri May 15 19:39:18 1998 Johan Danielsson <joda@blubb.pdc.kth.se>
* lib/krb5/get_cred.c: Better error if local tgt couldn't be
found.
Tue May 12 21:11:02 1998 Assar Westerlund <assar@sics.se>
* Release 0.0p
* lib/krb5/mk_req_ext.c (krb5_mk_req_extended): only set
encryption type in auth_context if it's compatible with the type
of the session key
Mon May 11 21:11:14 1998 Johan Danielsson <joda@emma.pdc.kth.se>
* kdc/hprop.c: add support for ka-server databases
* appl/ftp/ftpd: link with -lcrypt, if needed
Fri May 1 07:29:52 1998 Assar Westerlund <assar@sics.se>
* configure.in: don't test for winsock.h
Sat Apr 18 21:43:11 1998 Johan Danielsson <joda@puffer.pdc.kth.se>
* Release 0.0o
Sat Apr 18 00:31:11 1998 Johan Danielsson <joda@blubb.pdc.kth.se>
* lib/krb5/sock_principal.c: Save hostname.
Sun Apr 5 11:29:45 1998 Johan Danielsson <joda@emma.pdc.kth.se>
* lib/krb5/mk_req_ext.c: Use same enctype as in ticket.
* kdc/hprop.c (v4_prop): Check for null key.
Fri Apr 3 03:54:54 1998 Johan Danielsson <joda@blubb.pdc.kth.se>
* lib/krb5/str2key.c: Fix DES3 string-to-key.
* lib/krb5/keytab.c: Get default keytab name from context.
* lib/krb5/context.c: Get `default_keytab_name' value.
* kadmin/util.c (foreach_principal): Print error message if
`kadm5_get_principals' fails.
* kadmin/kadmind.c: Use `kadmind_loop'.
* lib/kadm5/server.c: Replace several other functions with
`kadmind_loop'.
Sat Mar 28 09:49:18 1998 Assar Westerlund <assar@sics.se>
* lib/krb5/keytab.c (fkt_add_entry): use an explicit seek instead
of O_APPEND
* configure.in: generate ftp Makefiles
* kuser/klist.c (print_cred_verbose): print IPv4-address in a
portable way.
* admin/srvconvert.c (srvconv): return 0 if successful
Tue Mar 24 00:40:33 1998 Johan Danielsson <joda@emma.pdc.kth.se>
* lib/krb5/keytab.c: MIT compatible changes: add and use sizes to
keytab entries, and change default keytab to `/etc/krb5.keytab'.
Mon Mar 23 23:43:59 1998 Johan Danielsson <joda@emma.pdc.kth.se>
* lib/gssapi/wrap.c: Use `gss_krb5_getsomekey'.
* lib/gssapi/unwrap.c: Implement and use `gss_krb5_getsomekey'.
Fix bug in checking of pad.
* lib/gssapi/{un,}wrap.c: Add support for just integrity
protecting data.
* lib/gssapi/accept_sec_context.c: Use
`gssapi_krb5_verify_8003_checksum'.
* lib/gssapi/8003.c: Implement `gssapi_krb5_verify_8003_checksum'.
* lib/gssapi/init_sec_context.c: Zero cred, and store session key
properly in auth-context.
Sun Mar 22 00:47:22 1998 Johan Danielsson <joda@emma.pdc.kth.se>
* lib/kadm5/delete_s.c: Check immutable bit.
* kadmin/kadmin.c: Pass client name to kadm5_init.
* lib/kadm5/init_c.c: Get creds for client name passed in.
* kdc/hprop.c (v4_prop): Check for `changepw.kerberos'.
Sat Mar 21 22:57:13 1998 Johan Danielsson <joda@emma.pdc.kth.se>
* lib/krb5/mk_error.c: Verify that error_code is in the range
[0,127].
* kdc/kerberos5.c: Move checking of principal flags to new
function `check_flags'.
Sat Mar 21 14:38:51 1998 Assar Westerlund <assar@sics.se>
* lib/kadm5/get_s.c (kadm5_s_get_principal): handle an empty salt
* configure.in: define SunOS if running solaris
Sat Mar 21 00:26:34 1998 Johan Danielsson <joda@emma.pdc.kth.se>
* lib/kadm5/server.c: Unifdef test for same principal when
changing password.
* kadmin/util.c: If kadm5_get_principals failes, we might still be
able to perform the requested opreration (for instance someone if
trying to change his own password).
* lib/kadm5/init_c.c: Try to get ticket via initial request, if
not possible via tgt.
* lib/kadm5/server.c: Check for principals changing their own
passwords.
* kdc/kerberos5.c (tgs_rep2): check for interesting flags on
involved principals.
* kadmin/util.c: Fix order of flags.
Thu Mar 19 16:54:10 1998 Johan Danielsson <joda@emma.pdc.kth.se>
* kdc/kerberos4.c: Return sane error code if krb_rd_req fails.
Wed Mar 18 17:11:47 1998 Assar Westerlund <assar@sics.se>
* acconfig.h: rename HAVE_STRUCT_SOCKADDR_IN6 to HAVE_IPV6
Wed Mar 18 09:58:18 1998 Johan Danielsson <joda@emma.pdc.kth.se>
* lib/krb5/get_in_tkt_with_keytab.c (krb5_keytab_key_proc): don't
free keyseed; use correct keytab
Tue Mar 10 09:56:16 1998 Assar Westerlund <assar@sics.se>
* acinclude.m4 (AC_KRB_IPV6): rewrote to avoid false positives
Mon Mar 16 23:58:23 1998 Johan Danielsson <joda@emma.pdc.kth.se>
* Release 0.0n
Fri Mar 6 00:41:30 1998 Johan Danielsson <joda@emma.pdc.kth.se>
* lib/gssapi/{accept_sec_context,release_cred}.c: Use
krb5_kt_close/krb5_kt_resolve.
* lib/krb5/principal.c (krb5_425_conv_principal_ext): Use resolver
to lookup hosts, so CNAMEs can be ignored.
* lib/krb5/send_to_kdc.c (krb5_sendto_kdc, send_and_recv_http):
Add support for using proxy.
* lib/krb5/context.c: Initialize `http_proxy' from
`libdefaults/http_proxy'.
* lib/krb5/krb5.h: Add `http_proxy' to context.
* lib/krb5/send_to_kdc.c: Recognize `http/' and `udp/' as protocol
specifications.
Wed Mar 4 01:47:29 1998 Johan Danielsson <joda@emma.pdc.kth.se>
* admin/ktutil.c: Implement `add' and `remove' functions. Make
`--keytab' a global option.
* lib/krb5/keytab.c: Implement remove with files. Add memory
operations.
Tue Mar 3 20:09:59 1998 Johan Danielsson <joda@emma.pdc.kth.se>
* lib/krb5/keytab.c: Use function pointers.
* admin: Remove kdb_edit.
Sun Mar 1 03:28:42 1998 Assar Westerlund <assar@sics.se>
* lib/kadm5/dump_log.c: print operation names
Sun Mar 1 03:04:12 1998 Assar Westerlund <assar@sics.se>
* configure.in: add X-tests, and {bin,...}dir appl/{kx,kauth}
* lib/krb5/build_auth.c,mk_priv.c,rd_safe.c,mk_safe.c,mk_rep.c:
remove arbitrary limit
* kdc/hprop-common.c: use krb5_{read,write}_message
* lib/kadm5/ipropd_master.c (send_diffs): more careful use
krb5_{write,read}_message
* lib/kadm5/ipropd_slave.c (get_creds): get credentials for
`iprop/master' directly.
(main): use `krb5_read_message'
Sun Mar 1 02:05:11 1998 Johan Danielsson <joda@emma.pdc.kth.se>
* kadmin/kadmin.c: Cleanup commands list, and add help strings.
* kadmin/get.c: Add long, short, and terse (equivalent to `list')
output formats. Short is the default.
* kadmin/util.c: Add `include_time' flag to timeval2str.
* kadmin/init.c: Max-life and max-renew can, infact, be zero.
* kadmin/{cpw,del,ext,get}.c: Use `foreach_principal'.
* kadmin/util.c: Add function `foreach_principal', that loops over
all principals matching an expression.
* kadmin/kadmin.c: Add usage string to `privileges'.
* lib/kadm5/get_princs_s.c: Also try to match aganist the
expression appended with `@default-realm'.
* lib/krb5/principal.c: Add `krb5_unparse_name_fixed_short', that
excludes the realm if it's the same as the default realm.
Fri Feb 27 05:02:21 1998 Assar Westerlund <assar@sics.se>
* configure.in: more WFLAGS and WFLAGS_NOUNUSED added missing
headers and functions error -> com_err
(krb5_get_init_creds_keytab): use krb5_keytab_key_proc
* lib/krb5/get_in_tkt_with_keytab.c: make `krb5_keytab_key_proc'
global
* lib/kadm5/marshall.c (ret_principal_ent): set `n_tl_data'
* lib/hdb/ndbm.c: use `struct ndbm_db' everywhere.
Fri Feb 27 04:49:24 1998 Assar Westerlund <assar@sics.se>
* lib/krb5/mk_priv.c (krb5_mk_priv): bump static limit to 10240.
This should be fixed the correct way.
* lib/kadm5/ipropd_master.c (check_acl:) truncate buf correctly
(send_diffs): compare versions correctly
(main): reorder handling of events
* lib/kadm5/log.c (kadm5_log_previous): avoid bad type conversion
Thu Feb 26 02:22:35 1998 Assar Westerlund <assar@sics.se>
* lib/kadm5/ipropd_{slave,master}.c: new files
* lib/kadm5/log.c (kadm5_log_get_version): take an `fd' as
argument
* lib/krb5/krb5.h (krb5_context_data): `et_list' should be `struct
et_list *'
* aux/make-proto.pl: Should work with perl4
Mon Feb 16 17:20:22 1998 Johan Danielsson <joda@emma.pdc.kth.se>
* lib/krb5/krb5_locl.h: Remove <error.h> (it gets included via
{asn1,krb5}_err.h).
Thu Feb 12 03:28:40 1998 Assar Westerlund <assar@sics.se>
* lib/krb5/get_in_tkt.c (_krb5_extract_ticket): if time difference
is larger than max_skew, return KRB5KRB_AP_ERR_SKEW
* lib/kadm5/log.c (get_version): globalize
* lib/kadm5/kadm5_locl.h: include <sys/file.h>
* lib/asn1/Makefile.am: add PA_KEY_INFO and PA_KEY_INFO_ENTRY
* kdc/kerberos5.c (get_pa_etype_info): remove gcc-ism of
initializing local struct in declaration.
Sat Jan 31 17:28:58 1998 Johan Danielsson <joda@emma.pdc.kth.se>
* kdc/524.c: Use krb5_decode_EncTicketPart.
* kdc/kerberos5.c: Check at runtime whether to use enctypes
instead of keytypes. If so use the same value to encrypt ticket,
and kdc-rep as well as `keytype' for session key. Fix some obvious
bugs with the handling of additional tickets.
* lib/krb5/rd_req.c: Use krb5_decode_EncTicketPart, and
krb5_decode_Authenticator.
* lib/krb5/rd_rep.c: Use krb5_decode_EncAPRepPart.
* lib/krb5/rd_cred.c: Use krb5_decode_EncKrbCredPart.
* lib/krb5/mk_rep.c: Make sure enc_part.etype is an encryption
type, and not a key type. Use krb5_encode_EncAPRepPart.
* lib/krb5/init_creds_pw.c: Use krb5_decode_PA_KEY_INFO.
* lib/krb5/get_in_tkt.c: Use krb5_decode_Enc{AS,TGS}RepPart.
* lib/krb5/get_for_creds.c: Use krb5_encode_EncKrbCredPart.
* lib/krb5/get_cred.c: Use krb5_decode_Enc{AS,TGS}RepPart.
* lib/krb5/build_auth.c: Use krb5_encode_Authenticator.
* lib/krb5/codec.c: Enctype conversion stuff.
* lib/krb5/context.c: Ignore KRB5_CONFIG if *not* running
setuid. Get configuration for libdefaults ktype_is_etype, and
default_etypes.
* lib/krb5/encrypt.c: Add krb5_string_to_etype, rename
krb5_convert_etype to krb5_decode_keytype, and add
krb5_decode_keyblock.
Fri Jan 23 00:32:09 1998 Johan Danielsson <joda@emma.pdc.kth.se>
* lib/krb5/{get_in_tkt,rd_req}.c: Use krb5_convert_etype.
* lib/krb5/encrypt.c: Add krb5_convert_etype function - converts
from protocol keytypes (that really are enctypes) to internal
representation.
Thu Jan 22 21:24:36 1998 Johan Danielsson <joda@emma.pdc.kth.se>
* lib/asn1/k5.asn1: Add PA-KEY-INFO structure to hold information
on keys in the database; and also a new `pa-key-info' padata-type.
* kdc/kerberos5.c: If pre-authentication fails, return a list of
keytypes, salttypes, and salts.
* lib/krb5/init_creds_pw.c: Add better support for
pre-authentication, by looking at hints from the KDC.
* lib/krb5/get_in_tkt.c: Add better support for specifying what
pre-authentication to use.
* lib/krb5/str2key.c: Merge entries for KEYTYPE_DES and
KEYTYPE_DES_AFS3.
* lib/krb5/krb5.h: Add pre-authentication structures.
* kdc/connect.c: Don't fail if realloc(X, 0) returns NULL.
Wed Jan 21 06:20:40 1998 Assar Westerlund <assar@sics.se>
* lib/kadm5/init_s.c (kadm5_s_init_with_password_ctx): initialize
`log_context.socket_name' and `log_context.socket_fd'
* lib/kadm5/log.c (kadm5_log_flush): send a unix domain datagram
to inform the possible running ipropd of an update.
Wed Jan 21 01:34:09 1998 Johan Danielsson <joda@emma.pdc.kth.se>
* lib/krb5/get_in_tkt.c: Return error-packet to caller.
* lib/krb5/free.c (krb5_free_kdc_rep): Free krb5_kdc_rep->error.
* kdc/kerberos5.c: Add some support for using enctypes instead of
keytypes.
* lib/krb5/get_cred.c: Fixes to send authorization-data to the
KDC.
* lib/krb5/build_auth.c: Only generate local subkey if there is
none.
* lib/krb5/krb5.h: Add krb5_authdata type.
* lib/krb5/auth_context.c: Add
krb5_auth_con_set{,localsub,remotesub}key.
* lib/krb5/init_creds_pw.c: Return some error if prompter
functions return failure.
Wed Jan 21 01:16:13 1998 Assar Westerlund <assar@sics.se>
* kpasswd/kpasswd.c: detect bad password. use krb5_err.
* kadmin/util.c (edit_entry): remove unused variables
Tue Jan 20 22:58:31 1998 Assar Westerlund <assar@sics.se>
* kuser/kinit.c: rename `-s' to `-S' to be MIT-compatible.
* lib/kadm5/kadm5_locl.h: add kadm5_log_context and
kadm5_log*-functions
* lib/kadm5/create_s.c (kadm5_s_create_principal): add change to
log
* lib/kadm5/rename_s.c (kadm5_s_rename_principal): add change to
log
* lib/kadm5/init_s.c (kadm5_s_init_with_password_ctx): initialize
log_context
* lib/kadm5/delete_s.c (kadm5_s_delete_principal): add change to
log
* lib/kadm5/modify_s.c (kadm5_s_modify_principal): add change to
log
* lib/kadm5/randkey_s.c (kadm5_s_randkey_principal): add change to
log
* lib/kadm5/chpass_s.c (kadm5_s_chpass_principal): add change to
log
* lib/kadm5/Makefile.am: add log.c, dump_log and replay_log
* lib/kadm5/replay_log.c: new file
* lib/kadm5/dump_log.c: new file
* lib/kadm5/log.c: new file
* lib/krb5/str2key.c (get_str): initialize pad space to zero
* lib/krb5/config_file.c (krb5_config_vget_next): handle c == NULL
* kpasswd/kpasswdd.c: rewritten to use the kadm5 API
* kpasswd/Makefile.am: link with kadm5srv
* kdc/kerberos5.c (tgs_rep): initialize `i'
* kadmin/kadmind.c (main): use kadm5_server_{send,recv}_sp
* include/Makefile.am: added admin.h
Sun Jan 18 01:41:34 1998 Johan Danielsson <joda@blubb.pdc.kth.se>
* lib/asn1/gen_copy.c: Don't return ENOMEM if allocating 0 bytes.
* lib/krb5/mcache.c (mcc_store_cred): restore linked list if
copy_creds fails.
Tue Jan 6 04:17:56 1998 Assar Westerlund <assar@sics.se>
* lib/kadm5/server.c: add kadm5_server_{send,recv}{,_sp}
* lib/kadm5/marshall.c: add kadm5_{store,ret}_principal_ent_mask.
* lib/kadm5/init_c.c (kadm5_c_init_with_password_ctx): use
krb5_getportbyname
* kadmin/kadmind.c (main): htons correctly.
moved kadm5_server_{recv,send}
* kadmin/kadmin.c (main): only set admin_server if explicitly
given
Mon Jan 5 23:34:44 1998 Johan Danielsson <joda@emma.pdc.kth.se>
* lib/hdb/ndbm.c: Implement locking of database.
* kdc/kerberos5.c: Process AuthorizationData.
Sat Jan 3 22:07:07 1998 Johan Danielsson <joda@blubb.pdc.kth.se>
* kdc/string2key.c: Use AFS string-to-key from libkrb5.
* lib/krb5/get_in_tkt.c: Handle pa-afs3-salt case.
* lib/krb5/krb5.h: Add value for AFS salts.
* lib/krb5/str2key.c: Add support for AFS string-to-key.
* lib/kadm5/rename_s.c: Use correct salt.
* lib/kadm5/ent_setup.c: Always enable client. Only set max-life
and max-renew if != 0.
* lib/krb5/config_file.c: Add context to all krb5_config_*get_*.
Thu Dec 25 17:03:25 1997 Assar Westerlund <assar@sics.se>
* kadmin/ank.c (ank): don't zero password if --random-key was
given.
Tue Dec 23 01:56:45 1997 Assar Westerlund <assar@sics.se>
* Release 0.0m
* lib/kadm5/ent_setup.c (attr_to_flags): try to set `client'
* kadmin/util.c (edit_time): only set mask if != 0
(edit_attributes): only set mask if != 0
* kadmin/init.c (init): create `default'
Sun Dec 21 09:44:05 1997 Assar Westerlund <assar@sics.se>
* kadmin/util.c (str2deltat, str2attr, get_deltat): return value
as pointer and have return value indicate success.