forked from heimdal/heimdal
-
Notifications
You must be signed in to change notification settings - Fork 1
/
ChangeLog.2005
2004 lines (1213 loc) · 60.3 KB
/
ChangeLog.2005
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
2005-12-15 Love Hörnquist Åstrand <lha@it.su.se>
* kdc/kerberos5.c (tgs_make_reply): less const on hdb_entry_ex to
make samba happy
* fix-export: Build kdc-private.h.
2005-12-14 Love Hörnquist Åstrand <lha@it.su.se>
* kdc/kerberos5.c (tgs_rep2): also print the principal for which
the enctype was missing
2005-12-13 Love Hörnquist Åstrand <lha@it.su.se>
* kdc/kaserver.c: Finish up transition from hdb_entry to
hdb_entry_ex.
* kdc/kerberos4.c: Finish up transition from hdb_entry to
hdb_entry_ex.
* kdc/524.c: Finish up transition from hdb_entry to hdb_entry_ex.
* kdc/kerberos5.c: Finish up transition from hdb_entry with
hdb_entry_ex.
* lib/krb5/cache.c (krb5_cc_set_default_name): use
KRB5_DEFAULT_CCNAME.
* lib/krb5/krb5_locl.h: Add KRB5_DEFAULT_CCNAME, pointer to
default credential cache.
* lib/hdb/ndbm.c: memset hdb_entry_ex before use
* lib/hdb/db3.c: memset hdb_entry_ex before use
* lib/hdb/db.c: memset hdb_entry_ex before use
2005-12-12 Love Hörnquist Åstrand <lha@it.su.se>
* lib/krb5/krb5.3: Add some more entrypoints.
* lib/krb5/changepw.c: If there is a target principal, use the
realm of the realm to change the password with,
* kuser/kinit.c: Default to use DH when fetching keys.
* lib/hdb, kdc, kadmin/load.c: Wrap hdb_entry with hdb_entry_ex, patch
originally from Andrew Bartlet
* lib/hdb/hdb-ldap.c: Wrap hdb_entry with hdb_entry_ex, add url
support, add ldapi support.
* kdc/kerberos5.c (tgs_make_reply): there are no such things a
keytypes any more, just use enctypes.
* kdc/kdc_locl.h: Remove private prototypes and instead include
<kdc-private.h>.
* kdc/Makefile.am: Build kdc-private.h and depend on it.
* kdc/config.c (configure): wrap line
* doc/kerberos4.texi: KDC 4 support is always compiled in.
* TODO: Remove some stuff that have been done.
* Makefile.am: Split long line
* doc/apps.texi: Spelling, From Måns Nilsson.
* doc/install.texi: spelling, From Måns Nilsson
2005-12-11 Love Hörnquist Åstrand <lha@it.su.se>
* lib/krb5/krb5_principal.3: Constify principal argument to on
krb5_principal_get_ functions.
* lib/krb5/principal.c: Constify principal argument to on
krb5_principal_get_ functions.
2005-12-08 Love Hörnquist Åstrand <lha@it.su.se>
* lib/hdb: drop convert_db, 0.0 to 0.1 transition was a long long
time ago
2005-12-05 Love Hörnquist Åstrand <lha@it.su.se>
* lib/krb5/test_keytab.c: more tests, From Andrew Bartlet
* lib/krb5/keytab_memory.c (mkt_remove_entry): realloc can return
NULL on success in the case 0 entries are allocated, From Andrew
Bartlet
2005-12-02 Love Hörnquist Åstrand <lha@it.su.se>
* lib/krb5/acl.c (acl_parse_format): tmp needs to be freed too on
failure to parse format specifier.
* lib/krb5/store-test.c: Free more of the allocated memory.
* lib/krb5/crypto.c (krb5_derive_key): Free more of the allocated
memory, this function is only used by the test program.
* lib/krb5/parse-name-test.c: Free more of the allocated memory.
* lib/krb5/derived-key-test.c: Free more of the allocated memory.
2005-12-01 Love Hörnquist Åstrand <lha@it.su.se>
* doc/setup.texi: spelling, From Måns Nilsson
* lib/krb5/krb5_keytab.3: Memory keytab are now named and
refcounted.
* lib/krb5/test_keytab.c: Test that memory keytab are refcounted.
* lib/krb5/keytab_memory.c: Index by name and start reference
counting on entries.
2005-11-30 Love Hörnquist Åstrand <lha@it.su.se>
* lib/krb5/krb5.h (krb5_address_type): add
KRB5_ADDRESS_NETBIOS (20)
* lib/hdb/hdb.c (find_method): accept relative paths as old db
format too.
* lib/krb5/aes-test.c: Remove usage of krb5_enctype_to_keytype.
2005-11-29 Dave Love <fx@gnu.org>
* kcm/connect.c (kcm_loop): Use HAVE_DOOR_CREATE, not HAVE_DOORS.
2005-11-29 Love Hörnquist Åstrand <lha@it.su.se>
* lib/krb5/verify_krb5_conf.c (libdefaults_entries): add
default_cc_name
* lib/hdb/hdb.c: Only match db databases on filename starting with
'/'.
* lib/krb5/rd_req.c (krb5_verify_ap_re2): check timestamp in
authenticator
* lib/krb5/rd_req.c (check_transited): explain the TR-type 0
better and why it matters.
* lib/krb5/test_cc.c: test krb5_cc_get_prefix_ops
* lib/krb5/cache.c (krb5_cc_get_prefix_ops): change the behavior
to return NULL when its not found, and fcc when the name starts
with a '/'. Almost matches behavior in other parts of the code,
but can't really do that since the name passed in to this function
may only contain the prefix itself without the colon.
* lib/krb5/cache.c (krb5_cc_get_prefix_ops): if there are not
colon (:) in the name, its a file credential cache
* lib/hdb/db3.c (hdb_db_create): use calloc to callocate memory
* lib/hdb/ndbm.c (hdb_ndbm_create): use calloc to allocate memory
* lib/hdb/db.c (hdb_db_create): use calloc to allocate memory
2005-11-28 Love Hörnquist Åstrand <lha@it.su.se>
* lib/krb5/get_for_creds.c (krb5_get_forwarded_creds): use session
key for delegated credentials
* kdc/kerberos5.c (_kdc_as_rep): add comment when we send
ETYPE-INFO and ETYPE-INFO2, from Andrew Bartlett
2005-11-25 Love Hörnquist Åstrand <lha@it.su.se>
* lib/krb5/keytab.c (krb5_kt_get_full_name): new function
2005-11-24 Love Hörnquist Åstrand <lha@it.su.se>
* lib/krb5/test_crypto.c: Split encryption and s2k iterations to
diffrent counters, 38seconds of aes256 s2k is way too long.
* lib/krb5/test_crypto.c: Add timing code for s2k function.
2005-11-07 Love Hörnquist Åstrand <lha@it.su.se>
* kdc/kerberos5.c: Print the time the principal expired, based on
patch from Andrew Bartlett.
2005-11-01 Love Hörnquist Åstrand <lha@it.su.se>
* lib/krb5/cache.c (krb5_cc_get_full_name): Add
2005-11-01 Love Hörnquist Åstrand <lha@it.su.se>
* configure.in: Spelling, From Michael Banck <mbanck@debian.org>
2005-10-30 Love Hörnquist Åstrand <lha@it.su.se>
* kcm/headers.h: Maybe include <sys/param.h>.
2005-10-27 Love Hörnquist Åstrand <lha@it.su.se>
* lib/krb5/ticket.c (krb5_ticket_get_authorization_data_type):
understand KRB5_AUTHDATA_IF_RELEVANT and KRB5_AUTHDATA_AND_OR (but
have KRB5_AUTHDATA_KDC_ISSUED commented out for now)
2005-10-26 Love Hörnquist Åstrand <lha@it.su.se>
* kuser/klist.c: In the list caches view, rename the Status field
to Expires.
* lib/krb5/krb5_encrypt.3: Fix mdoc for
krb5_encrypt_EncryptedData, Johnny Lam <jlam@pkgsrc.org>
2005-10-25 Love Hörnquist Åstrand <lha@it.su.se>
* appl/test/gssapi_client.c: Check return value from asprintf
instead of string != NULL since it undefined behavior on
Linux. From Björn Sandell
2005-10-21 Love Hörnquist Åstrand <lha@it.su.se>
* lib/krb5/pkinit.c (_krb5_dh_group_ok): if not enough bits are
generated from the DH groups, fail.
* kdc/pkinit.c (get_dh_param): Pass down config so this function
can check pkinit_dh_min_bits
* kdc/config.c: Fill in pkinit_dh_min_bits from configuration
file.
* kdc/kdc.h: Add pkinit_dh_min_bits to krb5_kdc_configuration.
2005-10-20 Love Hörnquist Åstrand <lha@it.su.se>
* lib/krb5/pkinit.c: Add option to require binding between reply
and response for the win2k version of the protocol.
2005-10-19 Love Hörnquist Åstrand <lha@it.su.se>
* doc/programming.texi: Text about Kerberos errors.
* lib/krb5/pkinit.c: Try both ReplyKey and ReplyKey-Win2k for the
Windows case to support the updated -09 protocol (using
asChecksum). Tell KDC we support this by sending
KRB5-PADATA-PK-AS-09-BINDING in the pa-data.
* lib/krb5/test_cc.c: Test copy FILE -> FILE, and MEMORY -> MEMORY
too.
* lib/krb5/test_cc.c: Test krb5_cc_copy_cache and
krb5_cc_cache_match.
* lib/krb5/cache.c (krb5_cc_cache_match): add function that
iterates over all credential caches for a user and returns a
match.
* lib/krb5/krb5_ccache.3: Add krb5_cc_start_seq_get and an
example.
2005-10-18 Love Hörnquist Åstrand <lha@it.su.se>
* doc/programming.texi: Try to explain krb5_ccache, krb5_principal
and errors.
2005-10-13 Love Hörnquist Åstrand <lha@it.su.se>
* lib/krb5/krb5_get_credentials.3: Add example how to use
krb5_get_credentials.
2005-10-12 Love Hörnquist Åstrand <lha@it.su.se>
* lib/krb5/init_creds.c: Rename private to opt_private.
* lib/krb5/init_creds_pw.c: Rename private to opt_private.
* lib/krb5/pkinit.c: rename element private to opt_private to make
c++ picky compilers less upset.
* lib/krb5/krb5.h (krb5_get_init_creds_opt): rename element
private to opt_private to make c++ picky compilers less upset.
2005-10-08 Love Hörnquist Åstrand <lha@it.su.se>
* lib/krb5/krbhst.c (_krb5_krbhost_info_move): new function
(_krb5_free_krbhst_info): expose to internal use
* lib/krb5/init_creds_pw.c: Prepare to pass down a
krb5_krbhst_info into the pre-auth mechs
* lib/krb5/pkinit.c: Inline short functions, share more code,
rename COMPAT_27 to COMPAT_IETF, pass down a krb5_krbhst_info for
verification of KDC info, and general cleaning up.
2005-10-07 Love Hörnquist Åstrand <lha@it.su.se>
* lib/krb5/Makefile.am: Install krb5.moduli in sysconfdir.
* lib/krb5/krb5_locl.h: rename moduli file to SYSCONFDIR
"/krb5.moduli"
* lib/krb5/krb5_locl.h: Add forward declaration for
krb5_dh_moduli. Add define for MODULI_FILE.
* kdc/pkinit.c: Removing PK-INIT-19 support.
* lib/krb5/pkinit.c: Removing PK-INIT-19 support.
* lib/krb5/pkinit.c (_krb5_dh_group_ok): return DH group name on
success.
(krb5_get_init_creds_opt_set_pkinit): use moduli file if it exists
* kdc/pkinit.c: Save DH group name and print it on success.
* lib/krb5/pkinit.c (_krb5_dh_group_ok): if q is zero, ignore it.
* kdc/pkinit.c: Check dh group parameters from client.
* lib/krb5/krb5_err.et: Match error code with pk-init-27.
* lib/krb5/pkinit.c: Update error codes. Add name to group. Change
return value of _krb5_dh_group_ok.
* lib/krb5/pkinit.c: Add support for reading a moduli-file for DH
parameters.
2005-10-06 Love Hörnquist Åstrand <lha@it.su.se>
* kuser/klist.1: Document --list-caches
* kuser/klist.c: Change short flag of --list-caches to -l (-v is
already used).
2005-10-03 Love Hörnquist Åstrand <lha@it.su.se>
* lib/krb5/kerberos.8: RFC 1510 was obsoleted by 4120.
* lib/krb5/acache.c (init_ccapi): return kerberos errors, callers
expect it
(acc_get_cache_first): don't leak memory or abort on malloc
failure
2005-10-02 Love Hörnquist Åstrand <lha@it.su.se>
* lib/krb5/kerberos.8: Update text about Kerberos RFC's.
2005-10-01 Love Hörnquist Åstrand <lha@it.su.se>
* kuser/klist.c: Add option --list-caches that lists the avaible
caches and their status.
$ klist --list-caches
Principal Cache name Status
lha@E.KTH.SE 2 Valid
lha@SU.SE 1 Expired
lha/root@SU.SE 0 Expired
lha@N.L.NXS.SE Initial default ccache Expired
2005-09-30 Love Hörnquist Åstrand <lha@it.su.se>
* lib/krb5/keytab_keyfile.c: Use all DES keys, not just
des-cbc-md5, verify that they all are the same.
* lib/krb5/mcache.c Implement the cache iteration functions.
* lib/krb5/acache.c: Implement the cache iteration functions.
* lib/krb5/test_cc.c: Test the new cache iteration functions.
* lib/krb5/cache.c: Add cache iteration funcations. Add internal
allocation function for the memory of a krb5_ccache, and use it.
* lib/krb5/krb5.h (krb5_cc_ops): add cache iteration functions
2005-09-25 Love Hörnquist Åstrand <lha@it.su.se>
* lib/krb5/krb5_mk_req.3: Remove leftovers, remove extra space.
* kdc/kerberos5.c: More verbose PK-INIT logging.
* kdc/pkinit.c: The public DH key is encoded as an INTEGER in
subjectPublicKey. Don't verify OID's for now.
* lib/krb5/pkinit.c: Support cached DH variable (still need to
store it though), don't check the oid of the DH signedData for
now.
2005-09-22 Love Hörnquist Åstrand <lha@it.su.se>
* lib/krb5/rd_cred.c (krb5_rd_cred): try both the session key and
the sender subkey. Both RFC1510 and RFC4120 say that you have to
use the session key, Heimdal uses subkey.
2005-09-21 Love Hörnquist Åstrand <lha@it.su.se>
* lib/krb5/pkinit.c: Don't check oid's too closely, they change in
Windows Vista.
2005-09-20 Love Hörnquist Åstrand <lha@it.su.se>
* lib/krb5/pkinit.c: Disable sending -19, fix parsing -27 of the
protocol.
* kdc/pkinit.c: Support PK-INIT-27 DH (and remove -19)
* lib/krb5/pkinit.c (pk_verify_chain_standard): set cert to NULL
to make sure its not freed.
2005-09-19 Love Hörnquist Åstrand <lha@it.su.se>
* lib/krb5/crypto.c (krb5_DES_string_to_key): If the opaque length
it set to 1, and content is 0x01, use the afs3 string-to-key.
* kdc/kerberos5.c (make_etype_info2_entry): When its a afs3-salted
key, use send the opaque, length 1 (with content set to 0x01) in
ETYPE-INFO2-ENTRY.
* lib/krb5/kcm.c: Remove signedness warnings.
2005-09-15 Love Hörnquist Åstrand <lha@it.su.se>
* configure.in: Use libtool's default values for building
shared/static libaries, ie remove AC_ENABLE_SHARED(no), solves
building problems users have on Mac OS X.
2005-09-08 Love Hörnquist Åstrand <lha@it.su.se>
* lib/krb5/changepw.c: Constify password.
2005-09-05 Love Hörnquist Åstrand <lha@it.su.se>
* lib/krb5/krb5_mk_req.3: Document krb5_rd_req.
* lib/krb5/Makefile.am: MAN_mans+= krb5_mk_req.3
* lib/krb5/krb5_mk_req.3: Document krb5_mk_req, krb5_mk_req_exact,
krb5_mk_req_extended, krb5_rd_req, krb5_rd_req_with_keyblock,
krb5_mk_rep, krb5_mk_rep_exact, krb5_mk_rep_extended, krb5_rd_rep,
krb5_build_ap_req, krb5_verify_ap_req.
2005-09-01 Love Hörnquist Åstrand <lha@it.su.se>
* kdc/kerberos5.c (make_etype_info_entry): Dont send salttype at
all, use KRB5-PADATA-AFS3-SALT
2005-08-31 Love Hörnquist Åstrand <lha@it.su.se>
* kdc/kerberos5.c (log_timestamp): endtime, not endtype
2005-08-30 Love Hörnquist Åstrand <lha@it.su.se>
* configure.in: Check for <sys/ucred.h>.
* kcm/connect.c (update_client_creds): in case there is no
UCRED_VERSION, skip LOCAL_PEERCRED
* kcm/headers.h: include <sys/ucred.h>
2005-08-27 Love Hörnquist Åstrand <lha@it.su.se>
* lib/krb5/rd_req.c (check_transited): Allow empty content of type
0 because that is was Microsoft generates in their TGT.
* kdc/kerberos5.c (fix_transited_encoding): Allow empty content of
type 0 because that is was Microsoft enerates in their TGT.
2005-08-26 Love Hörnquist Åstrand <lha@it.su.se>
* doc/intro.texi: RFC 4120 replaces RFC 1510
2005-08-25 Love Hörnquist Åstrand <lha@it.su.se>
* configure.in: Add --disable-afs-support.
2005-08-23 Love Hörnquist Åstrand <lha@it.su.se>
* lib/krb5/Makefile.am: Add test_hostname to check_PROGRAMS but
not TESTS, I have no same dns to use.
* lib/krb5/test_hostname.c: Testprogram for krb5_expand_hostname()
and krb5_expand_hostname_realms().
* configure.in: Build KCM if we have doors or unix sockets.
* lib/krb5/principal.c (krb5_425_conv_principal_ex2): Remove
shadowing variable.
* lib/krb5/get_host_realm.c (dns_find_realm): Fix const warnings,
plug memory leak. From: Stefan Metzmacher <metze@samba.org>
* lib/krb5/krb5_config.3: Document what happens with NULL to
krb5_config_free_strings
(nothing). Mdoc nit.
2005-08-22 Love Hörnquist Åstrand <lha@it.su.se>
* kuser/klist.c (check_for_tgt): Re-order code so it only free the
credential if one was returned.
* lib/krb5/test_crypto_wrapping.c: Fix printing of size_t.
2005-08-19 Love Hörnquist Åstrand <lha@it.su.se>
* lib/hdb/dbinfo.c: provide interface to find databases
* lib/hdb/mkey.c: hdb_seal_key_mkey): dont double encrypt keys
2005-08-15 Love Hörnquist Åstrand <lha@it.su.se>
* kdc/kdc_locl.h: Update prototype for _kdc_pk_mk_pa_reply.
2005-08-13 Love Hörnquist Åstrand <lha@it.su.se>
* lib/krb5/init_creds_pw.c: Save the request buffer so that
pre-auth mechanism that needs it can verify the reply.
2005-08-12 Love Hörnquist Åstrand <lha@it.su.se>
* lib/krb5/test_mem.c: Rename logf to avoid shadowing.
* lib/krb5/krb5_keytab.3: Fix the version number for
fcc-mit-ticketflags.
* lib/krb5/fcache.c: Revert previous, I was confused.
* lib/krb5/krb5_keytab.3: Document fcc-mit-ticketflags in
COMPATIBILITY section.
* lib/krb5/fcache.c (fcc_store_cred): default to MIT style ticket
flags.
* kdc/pkinit.c (pk_mk_pa_reply_enckey): add missing break;
* lib/krb5/krb5_create_checksum.3: Update prototype for
krb5_create_checksum.
* kdc/pkinit.c: Make compile.
* lib/krb5/pkinit.c: Implement verification of asChecksum, now
client side code is using -27 of the pk-init draft.
* kdc/kdc_locl.h: update prototype for _kdc_as_rep
* kdc/pkinit.c: Fill in asChecksum, we now implements -27 in the KDC.
* kdc/process.c: Pass down the request buffer to _kdc_as_rep().
* kdc/kerberos5.c (_kdc_as_rep): Pass down the request buffer to
_kdc_pk_mk_pa_reply.
2005-08-11 Love Hörnquist Åstrand <lha@it.su.se>
* lib/hdb/ext.c: HDB extensions access glue.
* kcm/acquire.c: Use krb5_set_password instead of
krb5_change_password.
* configure.in: Add tests/Makefile and tests/db/Makefile.
* NEWS: New ASN.1 compiler
* lib/hdb/Makefile.am: Build extensions.
* lib/hdb/print.c: Print extensions.
* lib/hdb/hdb_err.et: Add error "Entry contains unknown mandatory
extension".
* lib/hdb/hdb.h: Update interface version (and indent).
* lib/hdb/hdb.asn1: Add support for HDB-extension.
2005-08-10 Love Hörnquist Åstrand <lha@it.su.se>
* lib/krb5/test_pkinit_dh2key.c: add tests vectors from
"Liqiang(Larry) Zhu" <lzhu@windows.microsoft.com>
* lib/hdb/mkey.c: Expose the crypto operations on the master key.
* lib/krb5/test_pkinit_dh2key.c: even more bits, not done yet
2005-08-09 Love Hörnquist Åstrand <lha@it.su.se>
* kdc/kerberos5.c (_kdc_as_rep): preserve the error code in the
ENC-TS case. From: Andrew Bartlett <abartlet@samba.org>
* kdc/kerberos5.c (tgs_rep2): only needs to log "Failed to verify
authenticator" once, its already done by
tgs_check_authenticator().
* kdc/kerberos5.c: Indent strings.
* kdc/kerberos5.c (log_timestamp): avoid shadow warnings From:
Andrew Bartlett <abartlet@samba.org>
* lib/krb5/verify_user.c: Add krb5_verify_opt_alloc and
krb5_verify_opt_free.
* lib/krb5/krb5_verify_user.3: Document krb5_verify_opt_alloc and
krb5_verify_opt_free.
* lib/hdb/db3.c (DB_open): catch errors from the d->open calls
instead of letting them slip though to d->cursor. Bug repport from
Andrew Bartlett <abartlet@samba.org>
2005-07-29 Love Hörnquist Åstrand <lha@it.su.se>
* kdc/Makefile.am (kdc_LDADD): add LDADD
2005-07-28 Love Hörnquist Åstrand <lha@it.su.se>
* kdc/kerberos5.c (_kdc_as_rep): log what enctypes was using in
ENC-TS preauth, both for failure and success.
* kdc/hprop.c: Use the _krb5_krb_life_to_time function from
libkrb5 instead of including our own here too.
* kdc/kerberos5.c: indent printf strings
* lib/hdb/mkey.c (hdb_unseal_key_mkey): try to unseal key with
keyusage 0 in case the key was encrypted with MIT Kerberos (old
patch from Johan)
2005-07-26 Love Hörnquist Åstrand <lha@it.su.se>
* kdc/pkinit.c: update to pkinit-27
2005-07-23 Love Hörnquist Åstrand <lha@it.su.se>
* lib/krb5/pkinit.c: Adapt to IMPLICIT changes in CMS module.
2005-07-20 Love Hörnquist Åstrand <lha@it.su.se>
* lib/krb5/test_pkinit_dh2key.c: framework for testing
_krb5_pk_octetstring2key
* kpasswd/kpasswdd.c (doit): krb5_addr2sockaddr takes a
krb5_socklen_t
* kdc/connect.c (de_http): sscanf takes a char *, not unsigned
ditto, cast approriately
* lib/krb5/crypto.c (_krb5_pk_octetstring2key): make sha1 output
unsigned char to match openssl
2005-07-14 Love Hörnquist Åstrand <lha@it.su.se>
* lib/hdb/common.c: Check encoder lengths from ASN1_MALLOC_ENCODE.
2005-07-13 Love Hörnquist Åstrand <lha@it.su.se>
* lib/krb5/rd_cred.c (krb5_rd_cred): don't leak memory
* lib/krb5/get_cred.c (krb5_get_credentials_with_flags): only call
krb5_cc_retrieve_cred once, and plug memory leak.
2005-07-13 Love Hörnquist Åstrand <lha@it.su.se>
* lib/hdb/Makefile.am: the new asn.1 compiler includes the modules
name in the depend file
* lib/krb5/keytab_file.c (fkt_start_seq_get_int): check return
value from krb5_storage_from_fd
* lib/krb5/pkinit.c (pk_rd_pa_reply_dh): client do not contribute
to the DH when the server doesn't support the cached DH request.
* lib/krb5/crypto.c (_krb5_pk_octetstring2key): fix arguments
2005-07-12 Love Hörnquist Åstrand <lha@it.su.se>
* lib/krb5/pkinit.c: clean up pk-init DH support, not finished
yet; improve error reporting
* lib/krb5/crypto.c (_krb5_pk_octetstring2key): string2key
function used in pk-init-25
* configure.in: Use a configure switch to turn on PK-INIT, not by
detecting existence of the new ASN.1 library.
* lib/asn1: Much improved ASN.1 compiler from joda-choice-branch.
Highlighs for the compiler is support for CHOICE and in general better
support for tags. This compiler support most of what is needed for
PK-INIT, LDAP, X.509, PKCS-12 and many other protocols.
2005-07-10 Love Hörnquist Åstrand <lha@it.su.se>
* lib/asn1: make scope variables unique to avoid shadow warnings
2005-07-09 Love Hörnquist Åstrand <lha@it.su.se>
* lib/krb5/krb5.h: comment out paramenter name in typedef
functions to avoid shadow warnings
* lib/krb5/crypto.c: make input data to krb5_encrypt{,_ivec} const
* kuser/klist.c: If there are no addresses, print addressless
instead of nothing.
* lib/krb5/Makefile.am (TESTS): add test_crypto_wrapping
* lib/krb5/crypto.c (wrapped_length): the underived encrypted
types checksum are all unkeyed (matches the code in
encrypt_internal() and encrypt_internal_special())
* lib/krb5/test_crypto_wrapping.c: ETYPE_ARCFOUR_HMAC_MD5_56 isn't
not supported
* lib/krb5/test_crypto_wrapping.c: test encryption wrapping
* lib/krb5/test_crypto.c (time_encryption): free cleartext buffer
2005-07-08 Love Hörnquist Åstrand <lha@it.su.se>
* configure.in: run AM_INIT_AUTOMAKE before AM_PROG_CC_C_O
otherwise am_aux_dir will be expanded using ac_aux_dir before the
later is set.
* configure.in: check for strings.h explicitly instead of
depending on AC_HEADER_STDC to check it for us
2005-07-07 Assar Westerlund <assar@kth.se>
* configure.in: add AM_PROG_CC_C_O for automake 1.9
2005-07-06 Love Hörnquist Åstrand <lha@it.su.se>
* lib/krb5/keytab.c (krb5_kt_get_entry): clear error string when
returning a new error
* lib/krb5/keytab.c: krb5_kt_close frees all resources, even on
error.
* lib/krb5/verify_init.c (krb5_verify_init_creds): `entry' unused,
remove From: "Henry B. Hotz" <hotz@jpl.nasa.gov>
2005-07-05 Love Hörnquist Åstrand <lha@it.su.se>
* doc/win2k.texi: arcfour-hmac-md5 support for windows cross was
added in w2k3-sp1 From David Love
* doc/setup.texi: document kadmin command password-quality instead
of the not installed test_pw_quality
* lib/krb5/krb5_get_init_creds.3: Spelling, from David Love
* fix-export: build kdc-protos.h
2005-07-01 Love Hörnquist Åstrand <lha@it.su.se>
* kdc: prefix pkinit symbols with _kdc
* kuser/kinit.c: avoid shadowing variables
* kuser: s/optind/optidx/
* kdc: adapt pkinit code to libkdc split
2005-06-30 Love Hörnquist Åstrand <lha@it.su.se>
* tools/Makefile.am: add depency on LIB_dlopen and LIB_door_create
* tools/krb5-config.in: add depency on LIB_dlopen and LIB_door_create
* kdc/kdc_locl.h: indent, remove dup prototypes
* kdc/libkdc: don't pollute namespace, generate public headerfile
* lib/krb5/principal.c: add krb5_425_conv_principal_ext2 that work
just like krb5_425_conv_principal_ext but takes a context variable
for the verification function
* kdc/Makefile.am: there is no export script, not pretend there is
* kdc: Merge in the libkdc/kdc configuration split from Andrew
Bartlet <abartlet@samba.org>
* lib/krb5/crypto.c: optionally compile in support for afs string2key
* configure.in: add --disable-afs-string-to-key to allow removal
of support for afs string2key (and dependency on crypt)
2005-06-29 Love Hörnquist Åstrand <lha@it.su.se>
* kdc/kerberos5.c: Add logging of all timestamps in AS-REQ and
TGS-REQ, for auditing
* kdc/kerberos5.c (as_req): print the supported encryption types
so its possible to know what clients to update.
(find_rpath): return const char * and update callers.
2005-06-28 Luke Howard <lukeh@padl.com>
* kcm/connect.c: fix arguments to kcm_log() when reporting
sendmsg() error
* kcm/connect.c: don't send socket address in msghdr, it
returns an already connected error on Linux
2005-06-24 Love Hörnquist Åstrand <lha@it.su.se>
* kdc/524.c: Always include <krb5-v4compat.h>.
2005-06-23 Love Hörnquist Åstrand <lha@it.su.se>
* doc/intro.texi: no more libdes, gssapi lib is complete
* lib/krb5/krb5.conf.5: Documentation for password quality
control. From: "James F. Hranicky" <jfh@cise.ufl.edu>
* lib/krb5/verify_krb5_conf.c (password_quality_entries): add
min_length and min_classes
* kdc/kaserver.c: log the kaserver requests, avoid shadowing
variables
* lib/hdb/db3.c (DB_open): in case of error, close database
* lib/hdb/ndbm.c (NDBM_open): in case of error, close database
* lib/hdb/db.c (DB_open): in case of error, close database
2005-06-20 Love Hörnquist Åstrand <lha@it.su.se>
* kcm/kcm.8: fix example
2005-06-17 Love Hörnquist Åstrand <lha@it.su.se>
* lib/krb5/rd_rep.c: indent
* lib/krb5/rd_rep.c (krb5_rd_rep): check if
KRB5_AUTH_CONTEXT_DO_TIME set and use that as a que that timestamp
should be checked, DCE-STYLE gssapi needs to be able to tweek this
* kdc/string2key.c: rename optind to optidx
* lib/hdb/convert_db.c: rename optind to optidx
* lib/hdb/keytab.c: const poison, add a unconst where needed
* lib/krb5/crypto.c (krb5_string_to_key): unconst password
* lib/asn1/k5.asn1: rename pvno to krb5-pvno
* lib/krb5/get_in_tkt_with_keytab.c (krb5_keytab_key_proc):
unconst argument
* lib/krb5/verify_krb5_conf.c: rename optind to optidx
* lib/krb5/transited.c: rename the temporary string variable to
`str'
* lib/krb5/test_crypto.c: rename optind to optidx
* lib/krb5/test_alname.c: rename optind to optidx
* lib/krb5/store.c: unconst argument to krb5_store (XXX this
should be fixed, krb5_store doesn't need to modify its argument)
* lib/krb5/send_to_kdc.c (krb5_sendto): remove shadowing
unnessecery variable ret
* lib/krb5/rd_cred.c (krb5_rd_cred): remove shadowing unnessecery
variable len
* lib/krb5/prog_setup.c: rename optind to optidx
* lib/krb5/padata.c: rename variable index to idx
* lib/krb5/log.c: rename variable time to timestr to avoid
shadowing
* lib/krb5/krbhst.c (krb5_krbhst_init_flags): rename variable to
avoid shadowing
* lib/krb5/krbhst-test.c: rename optind to optidx
* lib/krb5/kcm.c: unconst argumen to connect, unconst argument to
krb5_store (XXX this should be fixed, krb5_store doesn't need to
modify its argument)
* lib/krb5/init_creds_pw.c (default_s2k_func): unconst password
* lib/krb5/crypto.c: rename `encrypt' to avoid shadow warning
2005-06-16 Love Hörnquist Åstrand <lha@it.su.se>
* lib/krb5/principal.c: rename index to idx
* lib/krb5/mk_error.c: use rk_UNCONST
* lib/krb5/fcache.c: rename to avoid shadowing
* lib/krb5/config_file.c: rename to avoid shadowing
* lib/krb5/cache.c (_krb5_expand_default_cc_name): just copy the
string instead of losing const
* lib/krb5/addr_families.c: use rk_UNCONST to silence const
warning
* lib/krb5/addr_families.c: rename sin to sin4
* lib/asn1/asn1_print.c: rename optind to optidx, remove shadowed
variables
* lib/asn1/main.c: rename optind to optidx
* lib/asn1/gen_copy.c: rename to avoid shadowing
* lib/asn1/gen_locl.h: rename function filename to get_filename
* lib/asn1/lex.l: use get_filename
* lib/asn1/gen.c: rename function filename to get_filename
* lib/krb5/acache.c: use HAVE_DLOPEN around cc_handle
* configure.in: add headers and prototypes to logwtmp, logout and
openpty checks
* configure.in: include headerfiles and set prototype for tgetent
* kdc/kerberos5.c (make_etype_info2_entry): NUL terminate the
string
* kdc/kerberos5.c: replace strndup with inline copy, free data on
failure
* lib/krb5/cache.c (_krb5_expand_default_cc_name): replace strndup
with inline copy
* lib/krb5/log.c: rename close and log to avoid shadow warnings
* lib/krb5/get_in_tkt.c: rename index to i to avoid shadowing
* lib/krb5/get_for_creds.c (krb5_get_forwarded_creds): rename two
of the local `realm' to srealm to avoid shadowing
* kdc/kerberos5.c (tgs_rep2): rename one of the tkey to uukey to
avoid shadow warning
* kdc/kerberos5.c (tgs_rep2): rename loop to nloop to avoid shadow
warning
2005-06-15 Love Hörnquist Åstrand <lha@it.su.se>
* Release 0.7, see branch
2005-06-14 Love Hörnquist Åstrand <lha@it.su.se>
* lib/krb5/Makefile.am: TESTS += test_mem libkrb5_la_SOURCES +=
kcm.h
* kuser/kinit.c (main): catch KRB5_CONFIG_BADFORMAT from
krb5_init_context
* kdc/main.c (main): catch KRB5_CONFIG_BADFORMAT from
krb5_init_context
* lib/krb5/verify_krb5_conf.c (main): catch KRB5_CONFIG_BADFORMAT
from krb5_init_context From: Mathias Feiler
<feiler@uni-hohenheim.de>
* lib/krb5/verify_krb5_conf.c: Add more missig entires, from
Mathias Feiler <feiler@uni-hohenheim.de>
2005-06-11 Love Hörnquist Åstrand <lha@it.su.se>
* kdc/pkinit.c (pk_principal_from_X509): remember to free
KRB5PrincipalName
* lib/krb5/log.c (krb5_closelog): free all content in
krb5_log_facility
2005-06-08 Love Hörnquist Åstrand <lha@it.su.se>
* kdc/524.c: init kvno to please gcc
* kdc/kaserver.c (do_authenticate): check return value from
unparse_auth_args
2005-06-07 Dave Love <fx@gnu.org>
* doc/setup.texi: Spelling.
* doc/programming.texi: Spelling.
2005-06-02 Dave Love <fx@gnu.org>
* kcm/connect.c (kcm_door_server): Make static.
* kcm/kcm_locl.h (disallow_getting_krbtgt): Declare.
2005-06-02 Love Hörnquist Åstrand <lha@it.su.se>
* kdc/mit_dump.c (mit_prop_dump): cast argument to
krb5_parse_principal to avoid warning