x
[heimdal.git] / ChangeLog
blob1b2ae50616e480a740e690cd08d3cd2fbc47a662
1 2008-01-18  Love Hörnquist Åstrand  <lha@it.su.se>
3         * lib/krb5/version-script.map: Add krb5_digest_probe.
4         
5 2008-01-13  Love Hörnquist Åstrand  <lha@it.su.se>
6         
7         * lib/krb5/pkinit.c: Replace hx509_name_to_der_name with
8         hx509_name_binary.
10 2008-01-12  Love Hörnquist Åstrand  <lha@it.su.se>
12         * lib/krb5/Makefile.am: add missing files
14 2007-12-28  Love Hörnquist Åstrand  <lha@it.su.se>
16         * kdc/digest.c: Log probe message, add NTLM_TARGET_DOMAIN to the
17         type2 message.
19 2007-12-14  Love Hörnquist Åstrand  <lha@it.su.se>
21         * lib/hdb/dbinfo.c: Add hdb_default_db().
23         * Makefile.am: Add some extra cf/*.
25 2007-12-12  Love Hörnquist Åstrand  <lha@it.su.se>
26         
27         * kuser/kgetcred.c: Fix type of name-type. From Andy Polyakov.
29 2007-12-09  Love Hörnquist Åstrand  <lha@it.su.se>
31         * kdc/log.c: Use hdb_db_dir().
33         * kpasswd/kpasswdd.c: Use hdb_db_dir().
35 2007-12-08  Love Hörnquist Åstrand  <lha@it.su.se>
36         
37         * kdc/config.c: Use hdb_db_dir().
39         * kdc/kdc_locl.h: add KDC_LOG_FILE
41         * kdc/hpropd.c: Use hdb_default_db().
43         * kdc/kstash.c: Use hdb_db_dir().
45         * kdc/pkinit.c: Adapt to hx509 changes, use hdb_db_dir().
47         * lib/krb5/rd_req.c: Document krb5_rd_req_in_set_pac_check.
49         * lib/krb5/verify_krb5_conf.c: Check check_pac.
51         * lib/krb5/rd_req.c: use KRB5_CTX_F_CHECK_PAC to init check_pac
52         field in the krb5_rd_req_in_ctx
54         * lib/krb5/expand_hostname.c: Adapt to changing
55         dns_canonicalize_hostname into flags field.
57         * lib/krb5/context.c: Adapt to changing dns_canonicalize_hostname
58         into flags field, add check-pac as an libdefaults option.
60         * lib/krb5/pkinit.c: Adapt to changes in hx509 interface.
62         * doc: add doxygen documentation to hcrypto
64         * doc/doxytmpl.dxy: generate links
65         
66 2007-12-07  Love Hörnquist Åstrand  <lha@it.su.se>
68         * lib/krb5/Makefile.am: build_HEADERZ += heim_threads.h
70         * lib/hdb/dbinfo.c (hdb_db_dir): Return the directory where the
71         hdb database resides.
73         * configure.in: Add --with-hdbdir to specify where the database is
74         stored.
76         * lib/krb5/crypto.c: revert previous patch, the problem is located
77         in the RAND_file_name() function that will cause recursive nss
78         lookups, can't fix that here.
80 2007-12-06  Love Hörnquist Åstrand  <lha@it.su.se>
82         * lib/krb5/crypto.c (krb5_generate_random_block): try to avoid the
83         dead-lock in by not holding the lock while running
84         RAND_file_name. Prompted by Hai Zaar.
86         * lib/krb5/n-fold.c: spelling
87         
88 2007-12-04  Love Hörnquist Åstrand  <lha@it.su.se>
90         * kuser/kdigest.c (digest-probe): implement command.
92         * kuser/kdigest-commands.in (digest-probe): new command
93         
94         * kdc/digest.c: Implement supportedMechs request.
96         * lib/krb5/error_string.c: Make krb5_get_error_string return an
97         allocated string to make the function indempotent. From
98         Zeqing (Fred) Xia.
100 2007-12-03  Love Hörnquist Åstrand  <lha@it.su.se>
102         * lib/krb5/krb5_locl.h (krb5_context_data): Flag if
103         default_cc_name was set by the user.
105         * lib/krb5/fcache.c (fcc_move): make sure ->version is uptodate.
107         * kcm/acquire.c: use krb5_free_cred_contents
109         * kuser/kimpersonate.c: use krb5_free_cred_contents
110         
111         * kuser/kinit.c: Use krb5_cc_move to make an atomic switch of the
112         cred cache.
114         * lib/krb5/cache.c: Put back code that was needed, move gen_new
115         into new_unique.
117         * lib/krb5/mcache.c (mcc_default_name): Remove const
119         * lib/krb5/krb5_locl.h: Add KRB5_DEFAULT_CCNAME_KCM, redefine
120         KRB5_DEFAULT_CCNAME to KRB5_DEFAULT_CCTYPE
122         * lib/krb5/cache.c: Use krb5_cc_ops->default_name to get the
123         default name.
125         * lib/krb5/kcm.c: Implement krb5_cc_ops->default_name.
127         * lib/krb5/mcache.c: Implement krb5_cc_ops->default_name.
129         * lib/krb5/fcache.c: Implement krb5_cc_ops->default_name.
131         * lib/krb5/krb5.h: Add krb5_cc_ops->default_name.
133         * lib/krb5/acache.c: Free context when done, implement
134         krb5_cc_ops->default_name.
136         * lib/krb5/kcm.c: implement dummy kcm_move
138         * lib/krb5/mcache.c: Implement the move operation.
140         * lib/krb5/version-script.map: export krb5_cc_move
142         * lib/krb5/cache.c: New function krb5_cc_move().
144         * lib/krb5/fcache.c: Implement the move operation.
146         * lib/krb5/krb5.h: Add move to the krb5_cc_ops, causes major
147         version bump.
149         * lib/krb5/acache.c: Implement the move operation. Avoid using
150         cc_set_principal() since it broken on Mac OS X 10.5.0.
151         
152 2007-12-02  Love Hörnquist Åstrand  <lha@it.su.se>
154         * lib/krb5/krb5_ccapi.h: Drop variable names to avoid -Wshadow.
155         
156 2007-11-14  Love Hörnquist Åstrand  <lha@it.su.se>
158         * kdc/krb5tgs.c: Should pass different key usage constants
159         depending on whether or not optional sub-session key was passed by
160         the client for the check of authorization data. The constant is
161         used to derive "specific key" and its values are specified in
162         7.5.1 of RFC4120.
163         
164         Patch from Andy Polyakov.
166         * kdc/krb5tgs.c: Don't send auth data in referrals, microsoft
167         clients have started to not like that. Thanks to Andy Polyakov for
168         excellent research.
170 2007-11-11  Love Hörnquist Åstrand  <lha@it.su.se>
172         * lib/krb5/creds.c: use krb5_data_cmp
174         * lib/krb5/acache.c: use krb5_free_cred_contents
176         * lib/krb5/test_renew.c: use krb5_free_cred_contents
177         
178 2007-11-10  Love Hörnquist Åstrand  <lha@it.su.se>
180         * lib/krb5/acl.c: doxygen documentation
182         * lib/krb5/addr_families.c: doxygen documentation
184         * doc: add doxygen
186         * lib/krb5/plugin.c: doxygen documentation
188         * lib/krb5/kcm.c: doxygen documentation
190         * lib/krb5/fcache.c: doxygen documentation
192         * lib/krb5/cache.c: doxygen documentations
193         
194         * lib/krb5/doxygen.c: doxygen introduction
196         * lib/krb5/error_string.c: Doxygen documentation.
198 2007-11-03  Love Hörnquist Åstrand  <lha@it.su.se>
200         * lib/krb5/test_plugin.c: expose krb5_plugin_register
202         * lib/krb5/plugin.c: expose krb5_plugin_register
204         * lib/krb5/version-script.map: sort, expose krb5_plugin_register
206 2007-10-24  Love Hörnquist Åstrand  <lha@it.su.se>
208         * kdc/kerberos5.c: Adding same enctype is enough one time. From
209         Andy Polyakov and Bjorn Sandell.
210         
211 2007-10-18  Love  <lha@stacken.kth.se>
213         * lib/krb5/cache.c (krb5_cc_retrieve_cred): check return value
214         from krb5_cc_start_seq_get. From Zeqing (Fred) Xia
215         
216         * lib/krb5/fcache.c (init_fcc): provide better error codes
218         * kdc/kerberos5.c (get_pa_etype_info2): more paranoia, avoid
219         sending warning about pruned etypes.
221         * kdc/kerberos5.c (older_enctype): old windows enctypes (arcfour
222         based) "old", this to support windows 2000 clients (unjoined to a
223         domain). From Andy Polyakov.
225 2007-10-07  Love Hörnquist Åstrand  <lha@it.su.se>
227         * doc/setup.texi: Spelling, from Mark Peoples via Bjorn Sandell.
228         
229 2007-10-04  Love Hörnquist Åstrand  <lha@it.su.se>
231         * kdc/krb5tgs.c: More prettier printing of enctype, from KAMADA
232         Ken'ichi.
234         * lib/krb5/crypto.c (krb5_enctype_to_string): make sure string is
235         NULL on failure.
237 2007-10-03  Love Hörnquist Åstrand  <lha@it.su.se>
239         * kdc/kdc-replay.c: Catch KRB5_PROG_ATYPE_NOSUPP from
240         krb5_addr2sockaddr and igore thte test is that case.
241         
242 2007-09-29  Love Hörnquist Åstrand  <lha@it.su.se>
244         * lib/krb5/context.c (krb5_free_context): free
245         default_cc_name_env, from Gunther Deschner.
247 2007-08-27  Love Hörnquist Åstrand  <lha@it.su.se>
249         * lib/krb5/{krb5.h,pac.c,test_pac.c,send_to_kdc.c,rd_req.c}: Make
250         work with c++, reported by Hai Zaar
252         * lib/krb5/{digest.c,krb5.h}: Make work with c++, reported by Hai Zaar
254 2007-08-20  Love Hörnquist Åstrand  <lha@it.su.se>
256         * lib/hdb/Makefile.am: EXTRA_DIST += hdb.schema
258 2007-07-31  Love Hörnquist Åstrand  <lha@it.su.se>
260         * check return value of alloc functions, from Charles Longeau
262         * lib/krb5/principal.c: spelling.
264         * kadmin/kadmin.8: spelling
266         * lib/krb5/crypto.c: Check return values from alloc
267         functions. Prompted by patch of Charles Longeau.
269         * lib/krb5/n-fold.c: Make _krb5_n_fold return a error
270         code. Prompted by patch of Charles Longeau.
272 2007-07-27  Love Hörnquist Åstrand  <lha@it.su.se>
274         * lib/krb5/init_creds.c: Always set the ticket options, use
275         KRB5_ADDRESSLESS_DEFAULT as the default value, this make the unset
276         tri-state not so useful.
278 2007-07-24  Love Hörnquist Åstrand  <lha@it.su.se>
280         * tools/heimdal-gssapi.pc.in: Add LIB_pkinit to the list of
281         libraries.
283         * tools/heimdal-gssapi.pc.in: pkg-config file for libgssapi in
284         heimdal.
286         * tools/Makefile.am: Add heimdal-gssapi.pc and install it into
287         $(libdir)/pkgconfig
289 2007-07-23  Love Hörnquist Åstrand  <lha@it.su.se>
291         * lib/krb5/pkinit.c: Add RFC3526 modp group14 as a default.
293 2007-07-22  Love Hörnquist Åstrand  <lha@it.su.se>
295         * lib/hdb/dbinfo.c (get_dbinfo): use dbname instead of realm as
296         key if the entry is a correct entry.
298         * lib/krb5/get_cred.c: Make krb5_get_renewed_creds work, from
299         Gunther Deschner.
301         * lib/krb5/Makefile.am: Add test_renew to noinst_PROGRAMS.
303         * lib/krb5/test_renew.c: Test for krb5_get_renewed_creds.
305 2007-07-21  Love Hörnquist Åstrand  <lha@it.su.se>
307         * lib/hdb/keys.c: Make parse_key_set handle key set string "v5",
308         from Peter Meinecke.
310         * kdc/kaserver.c: Don't ovewrite the error code, from Peter
311         Meinecke.
313 2007-07-18  Love Hörnquist Åstrand  <lha@it.su.se>
315         * TODO-1.0: remove 
317         * Makefile.am: remove TODO-1.0
319 2007-07-17  Love Hörnquist Åstrand  <lha@it.su.se>
321         * Heimdal 1.0 release branch cut here
322         
323         * doc/hx509.texi: use version.texi
324         
325         * doc/heimdal.texi: use version.texi
326         
327         * doc/version.texi: version.texi
329         * lib/hdb/db3.c: avoid type-punned pointer warning.
331         * kdc/kx509.c: Use unsigned char * as argument to HMAC_Update to
332         please OpenSSL and gcc.
334         * kdc/digest.c: Use unsigned char * as argument to MD5_Update to
335         please OpenSSL and gcc.
337 2007-07-16  Love Hörnquist Åstrand  <lha@it.su.se>
339         * include/Makefile.am: Add krb_err.h.
341         * kdc/set_dbinfo.c: Print acl file too.
343         * kdc/kerberos4.c: Error codes are just fine, remove XXX now.
345         * lib/krb5/krb5-v4compat.h: Drop duplicate error codes.
347         * kdc/kerberos4.c: switch to ET errors.
349         * lib/krb5/Makefile.am: Add krb_err.h to build_HEADERZ.
351         * lib/krb5/v4_glue.c: If its a Kerberos 4 error-code, remove the
352         et BASE.
354 2007-07-15  Love Hörnquist Åstrand  <lha@it.su.se>
356         * lib/krb5/krb5-v4compat.h: Include "krb_err.h".
358         * lib/krb5/v4_glue.c: return more interesting error codes.
360         * lib/krb5/plugin.c: Prefix enum plugin_type.
362         * lib/krb5/krb5_locl.h: Expose plugin structures.
363         
364         * lib/krb5/krb5.h: Add plugin structures.
366         * lib/krb5/krb_err.et: V4 errors.
368         * lib/krb5/version-script.map: First version of version script.
370 2007-07-13  Love Hörnquist Åstrand  <lha@it.su.se>
372         * kdc/kerberos5.c: Java 1.6 expects the name to be the same type,
373         lets allow that for uncomplicated name-types.
375 2007-07-12  Love Hörnquist Åstrand  <lha@it.su.se>
377         * lib/krb5/v4_glue.c (_krb5_krb_rd_req): if ticket contains
378         address 0, its ticket less and don't really care about
379         from_addr. return better error codes.
381         * kpasswd/kpasswdd.c: Fix pointer vs strict alias rules.
383 2007-07-11  Love Hörnquist Åstrand  <lha@it.su.se>
385         * lib/hdb/hdb-ldap.c: When using sambaNTPassword, avoid adding
386         more then one enctype 23 to krb5EncryptionType.
388         * lib/krb5/cache.c: Spelling.
390         * kdc/kerberos5.c: Don't send newer enctypes in ETYPE-INFO.
391         (get_pa_etype_info2): return the enctypes as sorted in the
392         database
394 2007-07-10  Love Hörnquist Åstrand  <lha@it.su.se>
396         * kuser/kinit.c: krb5-v4compat.h defines prototypes for
397         v4 (semiprivate functions) in libkrb5, don't include
398         krb5-private.h any longer.
400         * lib/krb5/krbhst.c: Set error string when there is no KDC for a
401         realm.
403         * lib/krb5/Makefile.am: New library version.
405         * kdc/Makefile.am: New library version.
407         * lib/krb5/krb5_locl.h: Add default_cc_name_env.
409         * lib/krb5/cache.c (enviroment_changed): return non-zero if
410         enviroment that will determine default krb5cc name has changed.
411         (krb5_cc_default_name): also check if cached value is uptodate.
413         * lib/krb5/krb5_locl.h: Drop pkinit_flags.
415 2007-07-05  Love Hörnquist Åstrand  <lha@it.su.se>
417         * configure.in: add tests/java/Makefile
419         * lib/hdb/dbinfo.c: Add hdb_dbinfo_get_log_file.
421 2007-07-04  Love Hörnquist Åstrand  <lha@it.su.se>
423         * kdc/kerberos5.c: Improve the default salt detection to avoid
424         returning v4 password salting to java that doesn't look at the
425         returning padata for salting.
427         * kdc: Split out krb5_kdc_set_dbinfo, From Andrew Bartlett
429 2007-07-02  Love Hörnquist Åstrand  <lha@it.su.se>
431         * kdc/digest.c: Try harder to provide better error message for
432         digest messages.
434         * lib/krb5/Makefile.am: verify_krb5_conf_OBJECTS depends on
435         krb5-pr*.h, make -j finds this.
436         
437 2007-06-28  Love Hörnquist Åstrand  <lha@it.su.se>
439         * kdc/digest.c: On success, print username, not ip-adress.
441 2007-06-26  Love Hörnquist Åstrand  <lha@it.su.se>
443         * lib/krb5/get_cred.c: Add krb5_get_renewed_creds.
445         * lib/krb5/krb5_get_credentials.3: add krb5_get_renewed_creds
447         * lib/krb5/pkinit.c: Use hx509_cms_unwrap_ContentInfo.
448         
449 2007-06-25  Love Hörnquist Åstrand  <lha@it.su.se>
451         * doc/setup.texi: Add example for pkinit_win2k_require_binding
452         in [kdc] section.
454         * kdc/default_config.c: Rename require_binding to
455         win2k_require_binding to match client configuration.
457         * kdc/default_config.c: Add [kdc]pkinit_require_binding option.
459         * kdc/pkinit.c (pk_mk_pa_reply_enckey): only allow non-bound reply
460         if its not required.
462         * kdc/default_config.c: rename pkinit_princ_in_cert and add
463         pkinit_require_binding
465         * kdc/kdc.h: rename pkinit_princ_in_cert and add
466         pkinit_require_binding
468         * kdc/pkinit.c: rename pkinit_princ_in_cert
470 2007-06-24  Love Hörnquist Åstrand  <lha@it.su.se>
472         * lib/krb5/pkinit.c: Adapt to hx509_verify_hostname change.
474 2007-06-21  Love Hörnquist Åstrand  <lha@it.su.se>
476         * kdc/krb5tgs.c: Drop unused variable.
478         * kdc/krb5tgs.c: disable anonyous tgs requests
480         * kdc/krb5tgs.c: Don't check PAC on cross realm for now.
482         * kuser/kgetcred.c: Set KRB5_GC_CONSTRAINED_DELEGATION and parse
483         nametypes.
485         * lib/krb5/krb5_principal.3: Document krb5_parse_nametype.
487         * lib/krb5/principal.c (krb5_parse_nametype): parse nametype and
488         return their integer values.
490         * lib/krb5/krb5.h (krb5_get_creds): Add
491         KRB5_GC_CONSTRAINED_DELEGATION.
493         * lib/krb5/get_cred.c (krb5_get_creds): if
494         KRB5_GC_CONSTRAINED_DELEGATION is set, set both request_anonymous
495         and constrained_delegation.
497 2007-06-20  Love Hörnquist Åstrand  <lha@it.su.se>
499         * kdc/digest.c: Return an error message instead of dropping the
500         packet for more failure cases.
502         * lib/krb5/krb5_principal.3: Add KRB5_PRINCIPAL_UNPARSE_DISPLAY.
504         * appl/gssmask/gssmask.c (AcquirePKInitCreds): fail more
505         gracefully
506         
507 2007-06-18  Love Hörnquist Åstrand  <lha@it.su.se>
509         * lib/krb5/pac.c: make compile.
510         
511         * lib/krb5/pac.c (verify_checksum): memset cksum to avoid using
512         pointer from stack.
514         * lib/krb5/plugin.c: Don't expose free pointer.
516         * lib/krb5/pkinit.c (_krb5_pk_load_id): fail directoy for first
517         calloc.
518         
519         * lib/krb5/pkinit.c (get_reply_key*): don't expose freed memory
521         * lib/krb5/krbhst.c: Host is static memory, don't free.
523         * lib/krb5/crypto.c (decrypt_internal_derived): make sure length
524         is longer then confounder + checksum.
526         * kdc: export get_dbinfo as krb5_kdc_set_dbinfo and call from
527         users. This to allows libkdc users to to specify their own
528         databases
530         * lib/krb5/pkinit.c (pk_rd_pa_reply_enckey): simplify handling of
531         content data (and avoid leaking memory).
533         * kdc/misc.c (_kdc_db_fetch): set error string for failures.
534         
535 2007-06-15  Love Hörnquist Åstrand  <lha@it.su.se>
537         * kdc/pkinit.c: Use KRB5_AUTHDATA_INITIAL_VERIFIED_CAS.
539 2007-06-13  Love Hörnquist Åstrand  <lha@it.su.se>
541         * kdc/pkinit.c: tell user when they got a pk-init request with
542         pkinit disabled.
544 2007-06-12  Love Hörnquist Åstrand  <lha@it.su.se>
545         
546         * lib/krb5/principal.c: Rename UNPARSE_NO_QUOTE to
547         UNPARSE_DISPLAY.
549         * lib/krb5/krb5.h: Rename UNPARSE_NO_QUOTE to UNPARSE_DISPLAY.
551         * lib/krb5/principal.c: Make no-quote mean replace strange chars
552         with space.
554         * lib/krb5/principal.c: Support KRB5_PRINCIPAL_UNPARSE_NO_QUOTE.
556         * lib/krb5/krb5.h: Add KRB5_PRINCIPAL_UNPARSE_NO_QUOTE.
558         * lib/krb5/test_princ.c: Test quoteing.
560         * lib/krb5/pkinit.c: update (c)
561         
562         * lib/krb5/get_cred.c: use krb5_sendto_context to talk to the KDC.
564         * lib/krb5/send_to_kdc.c (_krb5_kdc_retry): check if the whole
565         process needs to restart or just skip this KDC.
567         * lib/krb5/init_creds_pw.c: Use krb5_sendto_context to talk to
568         KDC.
570         * lib/krb5/krb5.h: Add sendto hooks and opaque structure.
572         * lib/krb5/krb5_rd_error.3: Update prototype.
574         * lib/krb5/send_to_kdc.c: Add hooks for processing the reply from
575         the server.
576         
577 2007-06-11  Love Hörnquist Åstrand  <lha@it.su.se>
579         * lib/krb5/krb5_err.et: Some new error codes from RFC 4120.
580         
581 2007-06-09  Love Hörnquist Åstrand  <lha@it.su.se>
583         * kdc/krb5tgs.c: Constify.
585         * kdc/kerberos5.c: Constify.
587         * kdc/pkinit.c: Check for KRB5-PADATA-PK-AS-09-BINDING. Constify.
589 2007-06-08  Love Hörnquist Åstrand  <lha@it.su.se>
591         * include/Makefile.am: Make krb5-types.h nodist_include_HEADERS.
593         * kdc/Makefile.am: EXTRA_DIST += version-script.map.
594         
595 2007-06-07  Love Hörnquist Åstrand  <lha@it.su.se>
596         
597         * Makefile.am (print-distdir): print name of dist
599         * kdc/pkinit.c: Break out loading of mappings file to a separate
600         function and remove warning that it can't open the mapping file,
601         there are now mappings in the db, maybe the users uses that
602         instead...
604         * lib/krb5/crypto.c: Require the raw key have the correct size and
605         do away with the minsize.  Minsize was a thing that originated
606         from RC2, but since RC2 is done in the x509/cms subsystem now
607         there is no need to keep that around.
609         * lib/hdb/dbinfo.c: If there is no default dbname, also check for
610         unset mkey_file and set it default mkey name, make backward compat
611         stuff work.
613         * kdc/version-script.map: add new symbols
615         * kdc/kdc-replay.c: Also update krb5_context view of what the time
616         is.
618         * configure.in: add tests/can/Makefile
620         * kdc/kdc-replay.c: Add --[version|help].
622         * kdc/pkinit.c: Push down the kdc time into the x509 library.
624         * kdc/connect.c: Move up krb5_kdc_save_request so we can catch the
625         reply data too.
627         * kdc/kdc-replay.c: verify reply by checking asn1 class, type and
628         tag of the reply if there is one.
630         * kdc/process.c: Save asn1 class, type and tag of the reply if
631         there is one. Used to verify the reply in kdc-replay.
633 2007-06-06  Love Hörnquist Åstrand  <lha@it.su.se>
635         * kdc/kdc_locl.h: extern for request_log.
637         * kdc/Makefile.am: Add kdc-replay.
639         * kdc/kdc-replay.c: Replay kdc messages to the KDC library.
641         * kdc/config.c: Pick up request_log from [kdc]kdc-request-log.
643         * kdc/connect.c: Option to save the request to disk.
645         * kdc/process.c (krb5_kdc_save_request): save request to file.
647         * kdc/process.c (krb5_kdc_process*): dont update _kdc_time
648         automagicly.
649         (krb5_kdc_update_time): set or get current kdc-time.
651         * kdc/pkinit.c (_kdc_pk_rd_padata): accept both pkcs-7 and
652         pkauthdata as the signeddata oid
653         
654         * kdc/pkinit.c (_kdc_pk_rd_padata): Try to log what went wrong.
656 2007-06-05  Love Hörnquist Åstrand  <lha@it.su.se>
657         
658         * kdc/pkinit.c: Use oid_id_pkcs7_data for pkinit-9 encKey reply to
659         match windows DC behavior better.
660         
661 2007-06-04  Love Hörnquist Åstrand  <lha@it.su.se>
663         * configure.in: use test for -framework Security
665         * appl/test/uu_server.c: Print status to stdout.
667         * kdc/digest.c (digest ntlm): provide log entires by setting ret
668         to an error.
669         
670 2007-06-03  Love Hörnquist Åstrand  <lha@it.su.se>
672         * doc/hx509.texi: Indent crl-sign.
674         * doc/hx509.texi: One more crl-sign example.
676         * lib/krb5/test_princ.c: plug memory leaks.
678         * lib/krb5/pac.c: plug memory leaks.
680         * lib/krb5/test_pac.c: plug memory leaks.
682         * lib/krb5/test_prf.c: plug memory leak.
684         * lib/krb5/test_cc.c: plug memory leaks.
686         * doc/hx509.texi: Simple blob about publishing CRLs.
688         * doc/win2k.texi: drop text about enctypes.
689         
690 2007-06-02  Love Hörnquist Åstrand  <lha@it.su.se>
692         * kdc/pkinit.c: In case of OCSP verification failure, referash
693         every 5 min. In case of success, refreash 2 min before expiring or
694         faster.
695         
696 2007-05-31  Love Hörnquist Åstrand  <lha@it.su.se>
697         
698         * lib/krb5/krb5_err.et: add error 68, WRONG_REALM
700         * kdc/pkinit.c: Handle the ms san in a propper way, still cheat
701         with the realm name.
703         * kdc/kerberos5.c: If _kdc_pk_check_client failes, bail out
704         directly and hand the error back to the client.
706         * lib/krb5/krb5_err.et: Add missing REVOCATION_STATUS_UNAVAILABLE
707         and fix error message for CLIENT_NAME_MISMATCH.
709         * kdc/pkinit.c: More logging for pk-init client mismatch.
711         * kdc/kerberos5.c: Also add a KRB5_PADATA_PK_AS_REQ_WIN for
712         windows pk-init (-9) to make MIT clients happy.
713         
714 2007-05-30  Love Hörnquist Åstrand  <lha@it.su.se>
715         
716         * kdc/pkinit.c: Force des3 for win2k.
718         * kdc/pkinit.c: Add wrapping to ContentInfo wrapping to
719         COMPAT_WIN2K.
721         * lib/krb5/keytab_keyfile.c: Spelling.
723         * kdc/pkinit.c: Allow matching by MS UPN SAN, note that this delta
724         doesn't deal with case of realm.
725         
726 2007-05-16  Love Hörnquist Åstrand  <lha@it.su.se>
728         * lib/krb5/crypto.c (krb5_crypto_overhead): return static overhead
729         of encryption.
730         
731 2007-05-10  Dave Love  <fx@gnu.org>
732         
733         * doc/win2k.texi: Update some URLs.
735 2007-05-13  Love Hörnquist Åstrand  <lha@it.su.se>
737         * kuser/kimpersonate.c: Fix version number of ticket, it should be
738         5 not the kvno.
739         
740 2007-05-08  Love Hörnquist Åstrand  <lha@it.su.se>
742         * doc/setup.texi: Salting is really Encryption types and salting.
743         
744 2007-05-07  Love Hörnquist Åstrand  <lha@it.su.se>
745         
746         * doc/setup.texi: spelling, from Ronny Blomme
748         * doc/win2k.texi: Fix ksetup /SetComputerPassword, from Ronny
749         Blomme
750         
751 2007-05-02  Love Hörnquist Åstrand  <lha@it.su.se>
753         * lib/hdb/dbinfo.c (hdb_get_dbinfo) If there are no database
754         specified, create one and let it use the defaults.
755         
756 2007-04-27  Love Hörnquist Åstrand  <lha@it.su.se>
757         
758         * lib/hdb/test_dbinfo.c: test acl file
760         * lib/hdb/test_dbinfo.c: test acl file
762         * lib/hdb/dbinfo.c: add acl file
764         * etc: ignore Makefile.in
766         * Makefile.am: SUBDIRS += etc
768         * configure.in: Add etc/Makefile.
770         * etc/Makefile.am: make sure services.append is distributed
772 2007-04-24  Love Hörnquist Åstrand  <lha@it.su.se>
774         * kdc: rename windc_init to krb5_kdc_windc_init
776         * kdc/version-script.map: version script for libkdc
777         
778         * kdc/Makefile.am: version script for libkdc
779         
780 2007-04-23  Love Hörnquist Åstrand  <lha@it.su.se>
782         * lib/krb5/init_creds.c (krb5_get_init_creds_opt_get_error):
783         correct the order of the arguments.
785         * lib/hdb/Makefile.am: Add and test dbinfo.
787         * lib/hdb/hdb.h: Forward declaration for struct hdb_dbinfo;
789         * kdc/config.c: Use krb5_kdc_get_config and just fill in what the
790         users wanted differently.
792         * kdc/default_config.c: Make the default configuration fetch info
793         from the krb5.conf.
794         
795 2007-04-22  Love Hörnquist Åstrand  <lha@it.su.se>
797         * lib/krb5/store.c (krb5_store_creds_tag): use session.keytype to
798         determine if to send the session-key, for the second place in the
799         function.
801         * tools/krb5-config.in: rename des to hcrypto
803         * kuser/Makefile.am: depend on libheimntlm
805         * kuser/kinit.c: Add --ntlm-domain that store the ntlm cred for
806         this domain if the Kerberos password auth worked.
808         * kuser/klist.c: add new option --hidden that doesn't display
809         principal that starts with @
811         * tools/krb5-config.in: Add heimntlm when we use gssapi.
813         * lib/krb5/krb5_ccache.3 (krb5_cc_retrieve_cred): document what to
814         free 'cred' with.
816         * lib/krb5/cache.c (krb5_cc_retrieve_cred): document what to free
817         'cred' with.
818         
819 2007-04-21  Love Hörnquist Åstrand  <lha@it.su.se>
821         * lib/krb5/store.c (krb5_store_creds_tag): use session.keytype to
822         determine if to send the session-key.
824         * kcm/client.c (kcm_ccache_new_client): make root be able to pass
825         the name constraints, not the opposite. From Bryan Jacobs.
826         
827 2007-04-20  Love Hörnquist Åstrand  <lha@it.su.se>
829         * kcm/acl.c: make compile again.
831         * kcm/client.c: fix warning.
832         
833         * kcm: First, it allows root to ignore the naming conventions.
834         Second, it allows root to always perform any operation on any
835         ccache.  Note that root could do this anyway with FILE ccaches.
836         From Bryan Jacobs.
838         * Rename libdes to libhcrypto.
840 2007-04-19  Love Hörnquist Åstrand  <lha@it.su.se>
842         * kinit: remove code that depend on kerberos 4 library
843         
844         * kdc: remove code that depend on kerberos 4 library
845         
846         * configure.in: Drop kerberos 4 support.
848         * kdc/hpropd.c (main): free the message when done with it.
850         * lib/krb5/pkinit.c (_krb5_get_init_creds_opt_free_pkinit):
851         remember to free memory too.
853         * lib/krb5/pkinit.c (pk_rd_pa_reply_dh): free content-type when
854         done.
856         * configure.in: test rk_VERSIONSCRIPT
857         
858 2007-04-18  Love Hörnquist Åstrand  <lha@it.su.se>
860         * fix-export: remove, all done by make dist now
862 2007-04-15  Love Hörnquist Åstrand  <lha@it.su.se>
864         * lib/krb5/krb5_get_credentials.3: spelling, from Jason McIntyre
866 2007-04-11  Love Hörnquist Åstrand  <lha@it.su.se>
868         * kdc/kstash.8: Spelling, from raga <raga@comcast.net> 
869         via Bjorn Sandell.
871         * lib/krb5/store_mem.c: indent.
873         * lib/krb5/recvauth.c: Set error string.
875         * lib/krb5/rd_req.c: clear error strings.
877         * lib/krb5/rd_cred.c: clear error string.
879         * lib/krb5/pkinit.c: Set error strings.
881         * lib/krb5/get_cred.c: Tell what principal we are not finding for
882         all KRB5_CC_NOTFOUND.
883         
884 2007-02-22  Love Hörnquist Åstrand  <lha@it.su.se>
885         
886         * kdc/kerberos5.c: Return the same error codes as a windows KDC.
888         * kuser/kinit.c: KRB5KDC_ERR_PREAUTH_FAILED is also a password
889         failed.
890         
891         * kdc/kerberos5.c: Make handling of replying e_data more generic,
892         from metze.
894         * kdc/kerberos5.c: Fix (string const and shadow) warnings, from
895         metze.
897         * lib/krb5/pac.c: Create the PAC element in the same order as
898         w2k3, maybe there's some broken code in windows which relies on
899         this... From metze.
901         * kdc/kerberos5.c: Select a session enctype from the list of the
902         crypto systems supported enctype, is supported by the client and
903         is one of the enctype of the enctype of the krbtgt.
904         
905         The later is used as a hint what enctype all KDC are supporting to
906         make sure a newer version of KDC wont generate a session enctype
907         that and older version of a KDC in the same realm can't decrypt.
908         
909         But if the KDC admin is paranoid and doesn't want to have "no the
910         best" enctypes on the krbtgt, lets save the best pick from the
911         client list and hope that that will work for any other KDCs.
912         
913         Reported by metze.
915         * kdc/hprop.c (propagate_database): on any failure, drop the
916         connection to the peer and try next one.
917         
918 2007-02-18  Love Hörnquist Åstrand  <lha@it.su.se>
920         * lib/krb5/krb5_get_init_creds.3: document new options.
922         * kdc/krb5tgs.c: Only check service key for cross realm PACs.
924         * lib/krb5/init_creds.c: use the new merged flags field.
925         (krb5_get_init_creds_opt_set_win2k): new function, turn on all w2k
926         compat flags.
928         * lib/krb5/init_creds_pw.c: use the new merged flags field.
930         * lib/krb5/krb5_locl.h: merge all flags into one entity
931         
932 2007-02-11  Dave Love  <fx@gnu.org>
933         
934         * lib/krb5/krb5_aname_to_localname.3: Small fixes
935         
936         * lib/krb5/krb5_digest.3: Small fixes
937         
938         * kuser/kimpersonate.1: Small fixes
940 2007-02-17  Love Hörnquist Åstrand  <lha@it.su.se>
942         * lib/krb5/init_creds_pw.c (find_pa_data): if there is no list,
943         there is no entry.
945         * kdc/krb5tgs.c: Don't check PACs on cross realm requests.
947         * lib/krb5/krb5.h: add KRB5_KU_CANONICALIZED_NAMES.
949         * lib/krb5/init_creds_pw.c: Verify client referral data.
951         * kdc/kerberos5.c: switch some "return ret" to "goto out".
952         
953         * kdc/kerberos5.c: Pass down canonicalize request to hdb layer,
954         sign client referrals.
955         
956         * lib/hdb/hdb.h: Add HDB_F_CANON.
958         * lib/hdb: add simple alias support to the database backends
960 2007-02-16  Love Hörnquist Åstrand  <lha@it.su.se>
962         * kuser/kinit.c: Add canonicalize flag.
964         * lib/krb5/init_creds_pw.c: Use EXTRACT_TICKET_* flags, support
965         canonicalize.
967         * lib/krb5/init_creds.c (krb5_get_init_creds_opt_set_canonicalize):
968         new function.
969         
970         * lib/krb5/get_cred.c: Use EXTRACT_TICKET_* flags.
972         * lib/krb5/get_in_tkt.c: Use EXTRACT_TICKET_* flags.
974         * lib/krb5/krb5_locl.h: Add EXTRACT_TICKET_* flags.
975         
976 2007-02-15  Love Hörnquist Åstrand  <lha@it.su.se>
978         * lib/krb5/test_princ.c: test parsing enterprise-names.
980         * lib/krb5/principal.c: Add support for parsing enterprise-names.
982         * lib/krb5/krb5.h: Add KRB5_PRINCIPAL_PARSE_ENTERPRISE.
984         * lib/hdb/hdb-ldap.c: Make work again.
985         
986 2007-02-11  Dave Love  <fx@gnu.org>
988         * kcm/client.c (kcm_ccache_new_client): Cast snprintf'ed value.
989         
990 2007-02-10  Love Hörnquist Åstrand  <lha@it.su.se>
991         
992         * doc/setup.texi: prune trailing space
994         * lib/hdb/db.c: Be better at setting and clearing error string.
996         * lib/hdb/hdb.c: Be better at setting and clearing error string.
998 2007-02-09  Love Hörnquist Åstrand  <lha@it.su.se>
1000         * lib/krb5/keytab.c (krb5_kt_get_entry): Use krb5_kt_get_full_name
1001         to print out the keytab name.
1003         * doc/setup.texi: Spelling, from Guido Guenther
1004         
1005 2007-02-08  Love Hörnquist Åstrand  <lha@it.su.se>
1007         * lib/krb5/rd_cred.c: Plug memory leak, from Michael B Allen.
1009 2007-02-06  Love Hörnquist Åstrand  <lha@it.su.se>
1011         * lib/krb5/test_store.c (test_uint16): unsigned ints can't be
1012         negative
1013         
1014 2007-02-03  Love Hörnquist Åstrand  <lha@it.su.se>
1016         * kdc/pkinit.c: pass extra flags for detached signatures.
1018         * lib/krb5/pkinit.c: pass extra flags for detached signatures.
1020         * kdc/digest.c: Remove debug output.
1022         * kuser/kdigest.c: Add support for ms-chap-v2 client.
1023         
1024 2007-02-02  Love Hörnquist Åstrand  <lha@it.su.se>
1025                 
1026         * kdc/digest.c: Fix ms-chap-v2 get_masterkey
1028         * kdc/digest.c: Fix ms-chap-v2 mutual response auth code.
1030         * kuser/kdigest.c: Print session key if there is one.
1032         * lib/krb5/digest.c: rename hash-a1 to session key
1034         * kdc/digest.c: Add get_master from RFC 3079 3.4 for MS-CHAP-V2
1036         * kuser/kdigest.c: print rsp if there is one, from Klas.
1038         * kdc/digest.c: Use right size, from Klas Lindfors.
1040         * kuser/kdigest.c: Set client nonce if avaible, from Klas.
1042         * kdc/digest.c: First version from kllin.
1044         * kuser/kdigest.c: Don't restrict the type.
1045         
1046 2007-02-01  Love Hörnquist Åstrand  <lha@it.su.se>
1047         
1048         * kuser/kdigest-commands.in: add --client-response
1050         * kuser/kdigest.c: Print status instead of response.
1052         * kdc/digest.c: Better logging and return status = FALSE when
1053         checksum doesn't match.
1055         * kdc/digest.c: Check the digest response in the KDC.
1057         * lib/krb5/digest.c: New functions to send in requestResponse to
1058         KDC and get status of the request.
1060         * kdc/digest.c: Add support for MS-CHAP v2.
1062         * lib/hdb/hdb-ldap.c: Set hdb->hdb_db for ldap.
1063         
1064 2007-01-31  Love Hörnquist Åstrand  <lha@it.su.se>
1066         * fix-export: Make hx509.info too
1068         * kdc/digest.c: don't verify identifier in CHAP, its the client
1069         that chooses it.
1070         
1071 2007-01-23  Love Hörnquist Åstrand  <lha@it.su.se>
1073         * lib/krb5/Makefile.am: Basic test of prf.
1075         * lib/krb5/test_prf.c: Basic test of prf.
1077         * lib/krb5/mit_glue.c: Add MIT glue for Kerberos RFC 3961 PRF
1078         functions.
1080         * lib/krb5/crypto.c: Add Kerberos RFC 3961 PRF functions.
1082         * lib/krb5/krb5_data.3: Document krb5_data_cmp.
1084         * lib/krb5/data.c: Add krb5_data_cmp.
1085         
1086 2007-01-20  Love Hörnquist Åstrand  <lha@it.su.se>
1088         * kdc/kx509.c: Don't use C99 syntax.
1089         
1090 2007-01-17  Love Hörnquist Åstrand  <lha@it.su.se>
1091         
1092         * configure.in: its LIBADD_roken (and shouldn't really exist, our
1093         libtool usage it broken)
1095         * configure.in: Add an extra variable for roken, LIBADD, that
1096         should be used for library depencies.
1098         * lib/krb5/send_to_kdc.c (krb5_sendto): zero out receive buffer.
1100         * lib/krb5/krb5_init_context.3: fix mdoc errors
1102         * Heimdal 0.8 branch cut today
1104         * doc/hx509.texi: Spelling and more about proxy certificates.
1106         * configure.in: check for arc4random
1107         
1108 2007-01-16  Love Hörnquist Åstrand  <lha@it.su.se>
1109         
1110         * lib/krb5/send_to_kdc.c (krb5_sendto): zero receive krb5_data
1111         before starting
1113         * tools/heimdal-build.sh: make cvs keep quiet
1115         * kuser/kverify.c: Use argument as principal if passed an
1116         argument. Bug report from Douglas E. Engert
1117         
1118 2007-01-15  Love Hörnquist Åstrand  <lha@it.su.se>
1119         
1120         * lib/krb5/rd_req.c (krb5_rd_req_ctx): The code failed to consider
1121         the enc_tkt_in_skey case, from Douglas E. Engert.
1123         * kdc/kx509.c: Issue certificates.
1125         * kdc/config.c: Parse kx509/kca configuration.
1127         * kdc/kdc.h: add kx509 config
1128         
1129 2007-01-14  Love Hörnquist Åstrand  <lha@it.su.se>
1130         
1131         * kdc/kerberos5.c (_kdc_find_padata): if there is not padata,
1132         there is nothing find.
1134         * doc/hx509.texi: Examples for pk-init.
1136         * doc/hx509.texi: About extending ca lifetime and sub cas.
1137         
1138 2007-01-13  Love Hörnquist Åstrand <lha@it.su.se>
1139         
1140         * doc/hx509.texi: More about certificates.
1141         
1142 2007-01-12  Love Hörnquist Åstrand  <lha@it.su.se>
1144         * doc/hx509.texi: add Application requirements and write about
1145         xmpp/jabber.
1146         
1147 2007-01-11  Love Hörnquist Åstrand  <lha@it.su.se>
1149         * doc/hx509.texi: More about issuing certificates.
1151         * doc/hx509.texi: Start of a x.509 manual.
1153         * include/Makefile.am: remove install headerfiles
1155         * lib/krb5/test_pac.c: Use more interesting data to cause more
1156         errors.
1158         * include/Makefile.am: remove install headerfiles
1160         * lib/krb5/mcache.c: MCC_CURSOR not used, remove.
1162         * lib/krb5/crypto.c: macro kcrypto_oid_enc now longer used
1164         * lib/krb5/rd_safe.c (krb5_rd_safe): set length before trying to
1165         allocate data
1166         
1167 2007-01-10  Love Hörnquist Åstrand  <lha@it.su.se>
1168         
1169         * doc/setup.texi: Hint about hxtool validate.
1171         * appl/test/uu_server.c: print both "server" and "client"
1173         * kdc/krb5tgs.c: Rename keys to be more obvious what they do.
1175         * kdc/kerberos5.c: Use other keys to sign PAC with. From Andrew
1176         Bartlett
1177         
1178         * kdc/windc.c: ident, spelling.
1180         * kdc/windc_plugin.h: indent.
1182         * kdc/krb5tgs.c: Pass down server entry to verify_pac function.
1183         from Andrew Bartlett
1185         * kdc/windc.c: pass down server entry to verify_pac function, from
1186         Andrew Bartlett
1188         * kdc/windc_plugin.h: pass down server entry to verify_pac
1189         function, from Andrew Bartlett
1191         * configure.in: Provide a automake symbol ENABLE_SHARED if shared
1192         libraries are built.
1194         * lib/krb5/rd_req.c (krb5_rd_req_ctx): Use the correct keyblock
1195         when verifying the PAC.  From Andrew Bartlett.
1196         
1197 2007-01-09  Love Hörnquist Åstrand  <lha@it.su.se>
1199         * lib/krb5/test_pac.c: move around to code test on real PAC.
1201         * lib/krb5/pac.c: A tiny 2 char diffrence that make the code work
1202         for real.
1204         * lib/krb5/test_pac.c: Test more PAC (note that the values used in
1205         this test is wrong, they have to be fixed when the pac code is
1206         fixed).
1208         * doc/setup.texi: Update to new hxtool issue-certificate usage
1210         * lib/krb5/init_creds_pw.c: Make sure we don't sent both ENC-TS
1211         and PK-INIT pa data, no need to expose our password protecting our
1212         PKCS12 key.
1214         * kuser/klist.c (print_cred_verbose): include ticket length in the
1215         verbose output
1216         
1217 2007-01-08  Love Hörnquist Åstrand  <lha@it.su.se>
1218         
1219         * lib/krb5/acache.c (loadlib): pass RTLD_LAZY to dlopen, without
1220         it linux is unhappy.
1222         * lib/krb5/plugin.c (loadlib): pass RTLD_LAZY to dlopen, without
1223         it linux is unhappy.
1225         * lib/krb5/name-45-test.c: One of the hosts I sometimes uses is
1226         named "bar.domain", this make one of the tests pass when it
1227         shouldn't.
1229 2007-01-05  Love Hörnquist Åstrand  <lha@it.su.se>
1231         * doc/setup.texi: Change --key argument to --out-key.
1233         * kuser/kimpersonate.1: mangle my name
1234         
1235 2007-01-04  Love Hörnquist Åstrand  <lha@it.su.se>
1236         
1237         * doc/setup.texi: describe how to use hx509 to create
1238         certificates.
1240         * tools/heimdal-build.sh: Add --distcheck.
1242         * kdc/kerberos5.c: Check for KRB5_PADATA_PA_PAC_REQUEST to check
1243         if we should include the PAC in the krbtgt.
1245         * kdc/pkinit.c (_kdc_as_rep): check if
1246         krb5_generate_random_keyblock failes.
1248         * kdc/kerberos5.c (_kdc_as_rep): check if
1249         krb5_generate_random_keyblock failes.
1251         * kdc/krb5tgs.c (tgs_build_reply): check if
1252         krb5_generate_random_keyblock failes.
1254         * kdc/krb5tgs.c: Scope etype.
1256         * lib/krb5/rd_req.c: Make it possible to turn off PAC check, its
1257         default on.
1259         * lib/krb5/rd_req.c (krb5_rd_req_ctx): If there is a PAC, verify
1260         its server signature.
1262         * kdc/kerberos5.c (_kdc_as_rep): call windc client access hook.
1263         (_kdc_tkt_add_if_relevant_ad): constify in data argument.
1265         * kdc/windc_plugin.h: More comments add a client_access hook.
1267         * kdc/windc.c: Add _kdc_windc_client_access.
1269         * kdc/krb5tgs.c: rename functions after export some more pac
1270         functions.
1272         * lib/krb5/test_pac.c: export some more pac functions.
1274         * lib/krb5/pac.c: export some more pac functions.
1276         * kdc/krb5tgs.c: Resign the PAC in tgsreq if we have a PAC.
1278         * configure.in: add tests/plugin/Makefile
1279         
1280 2007-01-03  Love Hörnquist Åstrand  <lha@it.su.se>
1282         * kdc/krb5tgs.c: Get right key for PAC krbtgt verification.
1284         * kdc/config.c: spelling
1286         * lib/krb5/krb5.h: typedef for krb5_pac.
1288         * kdc/headers.h: Include <windc_plugin.h>.
1290         * kdc/Makefile.am: Include windc.c and use windc_plugin.h
1292         * kdc/krb5tgs.c: Call callbacks for emulating a Windows Domain
1293         Controller.
1295         * kdc/kerberos5.c: Call callbacks for emulating a Windows Domain
1296         Controller.  Move the some of the log related stuff to its own
1297         function.
1299         * kdc/config.c: Init callbacks for emulating a Windows Domain
1300         Controller.
1302         * kdc/windc.c: Rename the init function to windc instead of pac.
1304         * kdc/windc.c: Callbacks specific to emulating a Windows Domain
1305         Controller.
1307         * kdc/windc_plugin.h: Callbacks specific to emulating a Windows
1308         Domain Controller.
1310         * lib/krb5/Makefile.am: add krb5_HEADERS to build_HEADERZ
1312         * lib/krb5/pac.c: Support all keyed checksum types.
1313         
1314 2007-01-02  Love Hörnquist Åstrand  <lha@it.su.se>
1315         
1316         * lib/krb5/pac.c (krb5_pac_get_types): Return list of types.
1317         
1318         * lib/krb5/test_pac.c: test krb5_pac_get_types
1320         * lib/krb5/krbhst.c: Add KRB5_KRBHST_KCA.
1322         * lib/krb5/krbhst.c: Add KRB5_KRBHST_KCA.
1324         * lib/krb5/krb5.h: Add KRB5_KRBHST_KCA.
1326         * lib/krb5/test_pac.c: test Add/remove pac buffer functions.
1328         * lib/krb5/pac.c: Add/remove pac buffer functions.
1330         * lib/krb5/pac.c: sprinkle const
1332         * lib/krb5/pac.c: rename DCHECK to CHECK
1333         
1334         * Happy New Year.