1 2008-01-21 Love Hörnquist Åstrand <lha@it.su.se>
3 * lib/hdb/Makefile.am: drop CHECK_SYMBOLS
5 * kdc/Makefile.am: drop CHECK_SYMBOLS
7 2008-01-18 Love Hörnquist Åstrand <lha@it.su.se>
9 * lib/krb5/version-script.map: Add krb5_digest_probe.
11 2008-01-13 Love Hörnquist Åstrand <lha@it.su.se>
13 * lib/krb5/pkinit.c: Replace hx509_name_to_der_name with
16 2008-01-12 Love Hörnquist Åstrand <lha@it.su.se>
18 * lib/krb5/Makefile.am: add missing files
20 2007-12-28 Love Hörnquist Åstrand <lha@it.su.se>
22 * kdc/digest.c: Log probe message, add NTLM_TARGET_DOMAIN to the
25 2007-12-14 Love Hörnquist Åstrand <lha@it.su.se>
27 * lib/hdb/dbinfo.c: Add hdb_default_db().
29 * Makefile.am: Add some extra cf/*.
31 2007-12-12 Love Hörnquist Åstrand <lha@it.su.se>
33 * kuser/kgetcred.c: Fix type of name-type. From Andy Polyakov.
35 2007-12-09 Love Hörnquist Åstrand <lha@it.su.se>
37 * kdc/log.c: Use hdb_db_dir().
39 * kpasswd/kpasswdd.c: Use hdb_db_dir().
41 2007-12-08 Love Hörnquist Åstrand <lha@it.su.se>
43 * kdc/config.c: Use hdb_db_dir().
45 * kdc/kdc_locl.h: add KDC_LOG_FILE
47 * kdc/hpropd.c: Use hdb_default_db().
49 * kdc/kstash.c: Use hdb_db_dir().
51 * kdc/pkinit.c: Adapt to hx509 changes, use hdb_db_dir().
53 * lib/krb5/rd_req.c: Document krb5_rd_req_in_set_pac_check.
55 * lib/krb5/verify_krb5_conf.c: Check check_pac.
57 * lib/krb5/rd_req.c: use KRB5_CTX_F_CHECK_PAC to init check_pac
58 field in the krb5_rd_req_in_ctx
60 * lib/krb5/expand_hostname.c: Adapt to changing
61 dns_canonicalize_hostname into flags field.
63 * lib/krb5/context.c: Adapt to changing dns_canonicalize_hostname
64 into flags field, add check-pac as an libdefaults option.
66 * lib/krb5/pkinit.c: Adapt to changes in hx509 interface.
68 * doc: add doxygen documentation to hcrypto
70 * doc/doxytmpl.dxy: generate links
72 2007-12-07 Love Hörnquist Åstrand <lha@it.su.se>
74 * lib/krb5/Makefile.am: build_HEADERZ += heim_threads.h
76 * lib/hdb/dbinfo.c (hdb_db_dir): Return the directory where the
79 * configure.in: Add --with-hdbdir to specify where the database is
82 * lib/krb5/crypto.c: revert previous patch, the problem is located
83 in the RAND_file_name() function that will cause recursive nss
84 lookups, can't fix that here.
86 2007-12-06 Love Hörnquist Åstrand <lha@it.su.se>
88 * lib/krb5/crypto.c (krb5_generate_random_block): try to avoid the
89 dead-lock in by not holding the lock while running
90 RAND_file_name. Prompted by Hai Zaar.
92 * lib/krb5/n-fold.c: spelling
94 2007-12-04 Love Hörnquist Åstrand <lha@it.su.se>
96 * kuser/kdigest.c (digest-probe): implement command.
98 * kuser/kdigest-commands.in (digest-probe): new command
100 * kdc/digest.c: Implement supportedMechs request.
102 * lib/krb5/error_string.c: Make krb5_get_error_string return an
103 allocated string to make the function indempotent. From
106 2007-12-03 Love Hörnquist Åstrand <lha@it.su.se>
108 * lib/krb5/krb5_locl.h (krb5_context_data): Flag if
109 default_cc_name was set by the user.
111 * lib/krb5/fcache.c (fcc_move): make sure ->version is uptodate.
113 * kcm/acquire.c: use krb5_free_cred_contents
115 * kuser/kimpersonate.c: use krb5_free_cred_contents
117 * kuser/kinit.c: Use krb5_cc_move to make an atomic switch of the
120 * lib/krb5/cache.c: Put back code that was needed, move gen_new
123 * lib/krb5/mcache.c (mcc_default_name): Remove const
125 * lib/krb5/krb5_locl.h: Add KRB5_DEFAULT_CCNAME_KCM, redefine
126 KRB5_DEFAULT_CCNAME to KRB5_DEFAULT_CCTYPE
128 * lib/krb5/cache.c: Use krb5_cc_ops->default_name to get the
131 * lib/krb5/kcm.c: Implement krb5_cc_ops->default_name.
133 * lib/krb5/mcache.c: Implement krb5_cc_ops->default_name.
135 * lib/krb5/fcache.c: Implement krb5_cc_ops->default_name.
137 * lib/krb5/krb5.h: Add krb5_cc_ops->default_name.
139 * lib/krb5/acache.c: Free context when done, implement
140 krb5_cc_ops->default_name.
142 * lib/krb5/kcm.c: implement dummy kcm_move
144 * lib/krb5/mcache.c: Implement the move operation.
146 * lib/krb5/version-script.map: export krb5_cc_move
148 * lib/krb5/cache.c: New function krb5_cc_move().
150 * lib/krb5/fcache.c: Implement the move operation.
152 * lib/krb5/krb5.h: Add move to the krb5_cc_ops, causes major
155 * lib/krb5/acache.c: Implement the move operation. Avoid using
156 cc_set_principal() since it broken on Mac OS X 10.5.0.
158 2007-12-02 Love Hörnquist Åstrand <lha@it.su.se>
160 * lib/krb5/krb5_ccapi.h: Drop variable names to avoid -Wshadow.
162 2007-11-14 Love Hörnquist Åstrand <lha@it.su.se>
164 * kdc/krb5tgs.c: Should pass different key usage constants
165 depending on whether or not optional sub-session key was passed by
166 the client for the check of authorization data. The constant is
167 used to derive "specific key" and its values are specified in
170 Patch from Andy Polyakov.
172 * kdc/krb5tgs.c: Don't send auth data in referrals, microsoft
173 clients have started to not like that. Thanks to Andy Polyakov for
176 2007-11-11 Love Hörnquist Åstrand <lha@it.su.se>
178 * lib/krb5/creds.c: use krb5_data_cmp
180 * lib/krb5/acache.c: use krb5_free_cred_contents
182 * lib/krb5/test_renew.c: use krb5_free_cred_contents
184 2007-11-10 Love Hörnquist Åstrand <lha@it.su.se>
186 * lib/krb5/acl.c: doxygen documentation
188 * lib/krb5/addr_families.c: doxygen documentation
192 * lib/krb5/plugin.c: doxygen documentation
194 * lib/krb5/kcm.c: doxygen documentation
196 * lib/krb5/fcache.c: doxygen documentation
198 * lib/krb5/cache.c: doxygen documentations
200 * lib/krb5/doxygen.c: doxygen introduction
202 * lib/krb5/error_string.c: Doxygen documentation.
204 2007-11-03 Love Hörnquist Åstrand <lha@it.su.se>
206 * lib/krb5/test_plugin.c: expose krb5_plugin_register
208 * lib/krb5/plugin.c: expose krb5_plugin_register
210 * lib/krb5/version-script.map: sort, expose krb5_plugin_register
212 2007-10-24 Love Hörnquist Åstrand <lha@it.su.se>
214 * kdc/kerberos5.c: Adding same enctype is enough one time. From
215 Andy Polyakov and Bjorn Sandell.
217 2007-10-18 Love <lha@stacken.kth.se>
219 * lib/krb5/cache.c (krb5_cc_retrieve_cred): check return value
220 from krb5_cc_start_seq_get. From Zeqing (Fred) Xia
222 * lib/krb5/fcache.c (init_fcc): provide better error codes
224 * kdc/kerberos5.c (get_pa_etype_info2): more paranoia, avoid
225 sending warning about pruned etypes.
227 * kdc/kerberos5.c (older_enctype): old windows enctypes (arcfour
228 based) "old", this to support windows 2000 clients (unjoined to a
229 domain). From Andy Polyakov.
231 2007-10-07 Love Hörnquist Åstrand <lha@it.su.se>
233 * doc/setup.texi: Spelling, from Mark Peoples via Bjorn Sandell.
235 2007-10-04 Love Hörnquist Åstrand <lha@it.su.se>
237 * kdc/krb5tgs.c: More prettier printing of enctype, from KAMADA
240 * lib/krb5/crypto.c (krb5_enctype_to_string): make sure string is
243 2007-10-03 Love Hörnquist Åstrand <lha@it.su.se>
245 * kdc/kdc-replay.c: Catch KRB5_PROG_ATYPE_NOSUPP from
246 krb5_addr2sockaddr and igore thte test is that case.
248 2007-09-29 Love Hörnquist Åstrand <lha@it.su.se>
250 * lib/krb5/context.c (krb5_free_context): free
251 default_cc_name_env, from Gunther Deschner.
253 2007-08-27 Love Hörnquist Åstrand <lha@it.su.se>
255 * lib/krb5/{krb5.h,pac.c,test_pac.c,send_to_kdc.c,rd_req.c}: Make
256 work with c++, reported by Hai Zaar
258 * lib/krb5/{digest.c,krb5.h}: Make work with c++, reported by Hai Zaar
260 2007-08-20 Love Hörnquist Åstrand <lha@it.su.se>
262 * lib/hdb/Makefile.am: EXTRA_DIST += hdb.schema
264 2007-07-31 Love Hörnquist Åstrand <lha@it.su.se>
266 * check return value of alloc functions, from Charles Longeau
268 * lib/krb5/principal.c: spelling.
270 * kadmin/kadmin.8: spelling
272 * lib/krb5/crypto.c: Check return values from alloc
273 functions. Prompted by patch of Charles Longeau.
275 * lib/krb5/n-fold.c: Make _krb5_n_fold return a error
276 code. Prompted by patch of Charles Longeau.
278 2007-07-27 Love Hörnquist Åstrand <lha@it.su.se>
280 * lib/krb5/init_creds.c: Always set the ticket options, use
281 KRB5_ADDRESSLESS_DEFAULT as the default value, this make the unset
282 tri-state not so useful.
284 2007-07-24 Love Hörnquist Åstrand <lha@it.su.se>
286 * tools/heimdal-gssapi.pc.in: Add LIB_pkinit to the list of
289 * tools/heimdal-gssapi.pc.in: pkg-config file for libgssapi in
292 * tools/Makefile.am: Add heimdal-gssapi.pc and install it into
295 2007-07-23 Love Hörnquist Åstrand <lha@it.su.se>
297 * lib/krb5/pkinit.c: Add RFC3526 modp group14 as a default.
299 2007-07-22 Love Hörnquist Åstrand <lha@it.su.se>
301 * lib/hdb/dbinfo.c (get_dbinfo): use dbname instead of realm as
302 key if the entry is a correct entry.
304 * lib/krb5/get_cred.c: Make krb5_get_renewed_creds work, from
307 * lib/krb5/Makefile.am: Add test_renew to noinst_PROGRAMS.
309 * lib/krb5/test_renew.c: Test for krb5_get_renewed_creds.
311 2007-07-21 Love Hörnquist Åstrand <lha@it.su.se>
313 * lib/hdb/keys.c: Make parse_key_set handle key set string "v5",
316 * kdc/kaserver.c: Don't ovewrite the error code, from Peter
319 2007-07-18 Love Hörnquist Åstrand <lha@it.su.se>
323 * Makefile.am: remove TODO-1.0
325 2007-07-17 Love Hörnquist Åstrand <lha@it.su.se>
327 * Heimdal 1.0 release branch cut here
329 * doc/hx509.texi: use version.texi
331 * doc/heimdal.texi: use version.texi
333 * doc/version.texi: version.texi
335 * lib/hdb/db3.c: avoid type-punned pointer warning.
337 * kdc/kx509.c: Use unsigned char * as argument to HMAC_Update to
338 please OpenSSL and gcc.
340 * kdc/digest.c: Use unsigned char * as argument to MD5_Update to
341 please OpenSSL and gcc.
343 2007-07-16 Love Hörnquist Åstrand <lha@it.su.se>
345 * include/Makefile.am: Add krb_err.h.
347 * kdc/set_dbinfo.c: Print acl file too.
349 * kdc/kerberos4.c: Error codes are just fine, remove XXX now.
351 * lib/krb5/krb5-v4compat.h: Drop duplicate error codes.
353 * kdc/kerberos4.c: switch to ET errors.
355 * lib/krb5/Makefile.am: Add krb_err.h to build_HEADERZ.
357 * lib/krb5/v4_glue.c: If its a Kerberos 4 error-code, remove the
360 2007-07-15 Love Hörnquist Åstrand <lha@it.su.se>
362 * lib/krb5/krb5-v4compat.h: Include "krb_err.h".
364 * lib/krb5/v4_glue.c: return more interesting error codes.
366 * lib/krb5/plugin.c: Prefix enum plugin_type.
368 * lib/krb5/krb5_locl.h: Expose plugin structures.
370 * lib/krb5/krb5.h: Add plugin structures.
372 * lib/krb5/krb_err.et: V4 errors.
374 * lib/krb5/version-script.map: First version of version script.
376 2007-07-13 Love Hörnquist Åstrand <lha@it.su.se>
378 * kdc/kerberos5.c: Java 1.6 expects the name to be the same type,
379 lets allow that for uncomplicated name-types.
381 2007-07-12 Love Hörnquist Åstrand <lha@it.su.se>
383 * lib/krb5/v4_glue.c (_krb5_krb_rd_req): if ticket contains
384 address 0, its ticket less and don't really care about
385 from_addr. return better error codes.
387 * kpasswd/kpasswdd.c: Fix pointer vs strict alias rules.
389 2007-07-11 Love Hörnquist Åstrand <lha@it.su.se>
391 * lib/hdb/hdb-ldap.c: When using sambaNTPassword, avoid adding
392 more then one enctype 23 to krb5EncryptionType.
394 * lib/krb5/cache.c: Spelling.
396 * kdc/kerberos5.c: Don't send newer enctypes in ETYPE-INFO.
397 (get_pa_etype_info2): return the enctypes as sorted in the
400 2007-07-10 Love Hörnquist Åstrand <lha@it.su.se>
402 * kuser/kinit.c: krb5-v4compat.h defines prototypes for
403 v4 (semiprivate functions) in libkrb5, don't include
404 krb5-private.h any longer.
406 * lib/krb5/krbhst.c: Set error string when there is no KDC for a
409 * lib/krb5/Makefile.am: New library version.
411 * kdc/Makefile.am: New library version.
413 * lib/krb5/krb5_locl.h: Add default_cc_name_env.
415 * lib/krb5/cache.c (enviroment_changed): return non-zero if
416 enviroment that will determine default krb5cc name has changed.
417 (krb5_cc_default_name): also check if cached value is uptodate.
419 * lib/krb5/krb5_locl.h: Drop pkinit_flags.
421 2007-07-05 Love Hörnquist Åstrand <lha@it.su.se>
423 * configure.in: add tests/java/Makefile
425 * lib/hdb/dbinfo.c: Add hdb_dbinfo_get_log_file.
427 2007-07-04 Love Hörnquist Åstrand <lha@it.su.se>
429 * kdc/kerberos5.c: Improve the default salt detection to avoid
430 returning v4 password salting to java that doesn't look at the
431 returning padata for salting.
433 * kdc: Split out krb5_kdc_set_dbinfo, From Andrew Bartlett
435 2007-07-02 Love Hörnquist Åstrand <lha@it.su.se>
437 * kdc/digest.c: Try harder to provide better error message for
440 * lib/krb5/Makefile.am: verify_krb5_conf_OBJECTS depends on
441 krb5-pr*.h, make -j finds this.
443 2007-06-28 Love Hörnquist Åstrand <lha@it.su.se>
445 * kdc/digest.c: On success, print username, not ip-adress.
447 2007-06-26 Love Hörnquist Åstrand <lha@it.su.se>
449 * lib/krb5/get_cred.c: Add krb5_get_renewed_creds.
451 * lib/krb5/krb5_get_credentials.3: add krb5_get_renewed_creds
453 * lib/krb5/pkinit.c: Use hx509_cms_unwrap_ContentInfo.
455 2007-06-25 Love Hörnquist Åstrand <lha@it.su.se>
457 * doc/setup.texi: Add example for pkinit_win2k_require_binding
460 * kdc/default_config.c: Rename require_binding to
461 win2k_require_binding to match client configuration.
463 * kdc/default_config.c: Add [kdc]pkinit_require_binding option.
465 * kdc/pkinit.c (pk_mk_pa_reply_enckey): only allow non-bound reply
468 * kdc/default_config.c: rename pkinit_princ_in_cert and add
469 pkinit_require_binding
471 * kdc/kdc.h: rename pkinit_princ_in_cert and add
472 pkinit_require_binding
474 * kdc/pkinit.c: rename pkinit_princ_in_cert
476 2007-06-24 Love Hörnquist Åstrand <lha@it.su.se>
478 * lib/krb5/pkinit.c: Adapt to hx509_verify_hostname change.
480 2007-06-21 Love Hörnquist Åstrand <lha@it.su.se>
482 * kdc/krb5tgs.c: Drop unused variable.
484 * kdc/krb5tgs.c: disable anonyous tgs requests
486 * kdc/krb5tgs.c: Don't check PAC on cross realm for now.
488 * kuser/kgetcred.c: Set KRB5_GC_CONSTRAINED_DELEGATION and parse
491 * lib/krb5/krb5_principal.3: Document krb5_parse_nametype.
493 * lib/krb5/principal.c (krb5_parse_nametype): parse nametype and
494 return their integer values.
496 * lib/krb5/krb5.h (krb5_get_creds): Add
497 KRB5_GC_CONSTRAINED_DELEGATION.
499 * lib/krb5/get_cred.c (krb5_get_creds): if
500 KRB5_GC_CONSTRAINED_DELEGATION is set, set both request_anonymous
501 and constrained_delegation.
503 2007-06-20 Love Hörnquist Åstrand <lha@it.su.se>
505 * kdc/digest.c: Return an error message instead of dropping the
506 packet for more failure cases.
508 * lib/krb5/krb5_principal.3: Add KRB5_PRINCIPAL_UNPARSE_DISPLAY.
510 * appl/gssmask/gssmask.c (AcquirePKInitCreds): fail more
513 2007-06-18 Love Hörnquist Åstrand <lha@it.su.se>
515 * lib/krb5/pac.c: make compile.
517 * lib/krb5/pac.c (verify_checksum): memset cksum to avoid using
520 * lib/krb5/plugin.c: Don't expose free pointer.
522 * lib/krb5/pkinit.c (_krb5_pk_load_id): fail directoy for first
525 * lib/krb5/pkinit.c (get_reply_key*): don't expose freed memory
527 * lib/krb5/krbhst.c: Host is static memory, don't free.
529 * lib/krb5/crypto.c (decrypt_internal_derived): make sure length
530 is longer then confounder + checksum.
532 * kdc: export get_dbinfo as krb5_kdc_set_dbinfo and call from
533 users. This to allows libkdc users to to specify their own
536 * lib/krb5/pkinit.c (pk_rd_pa_reply_enckey): simplify handling of
537 content data (and avoid leaking memory).
539 * kdc/misc.c (_kdc_db_fetch): set error string for failures.
541 2007-06-15 Love Hörnquist Åstrand <lha@it.su.se>
543 * kdc/pkinit.c: Use KRB5_AUTHDATA_INITIAL_VERIFIED_CAS.
545 2007-06-13 Love Hörnquist Åstrand <lha@it.su.se>
547 * kdc/pkinit.c: tell user when they got a pk-init request with
550 2007-06-12 Love Hörnquist Åstrand <lha@it.su.se>
552 * lib/krb5/principal.c: Rename UNPARSE_NO_QUOTE to
555 * lib/krb5/krb5.h: Rename UNPARSE_NO_QUOTE to UNPARSE_DISPLAY.
557 * lib/krb5/principal.c: Make no-quote mean replace strange chars
560 * lib/krb5/principal.c: Support KRB5_PRINCIPAL_UNPARSE_NO_QUOTE.
562 * lib/krb5/krb5.h: Add KRB5_PRINCIPAL_UNPARSE_NO_QUOTE.
564 * lib/krb5/test_princ.c: Test quoteing.
566 * lib/krb5/pkinit.c: update (c)
568 * lib/krb5/get_cred.c: use krb5_sendto_context to talk to the KDC.
570 * lib/krb5/send_to_kdc.c (_krb5_kdc_retry): check if the whole
571 process needs to restart or just skip this KDC.
573 * lib/krb5/init_creds_pw.c: Use krb5_sendto_context to talk to
576 * lib/krb5/krb5.h: Add sendto hooks and opaque structure.
578 * lib/krb5/krb5_rd_error.3: Update prototype.
580 * lib/krb5/send_to_kdc.c: Add hooks for processing the reply from
583 2007-06-11 Love Hörnquist Åstrand <lha@it.su.se>
585 * lib/krb5/krb5_err.et: Some new error codes from RFC 4120.
587 2007-06-09 Love Hörnquist Åstrand <lha@it.su.se>
589 * kdc/krb5tgs.c: Constify.
591 * kdc/kerberos5.c: Constify.
593 * kdc/pkinit.c: Check for KRB5-PADATA-PK-AS-09-BINDING. Constify.
595 2007-06-08 Love Hörnquist Åstrand <lha@it.su.se>
597 * include/Makefile.am: Make krb5-types.h nodist_include_HEADERS.
599 * kdc/Makefile.am: EXTRA_DIST += version-script.map.
601 2007-06-07 Love Hörnquist Åstrand <lha@it.su.se>
603 * Makefile.am (print-distdir): print name of dist
605 * kdc/pkinit.c: Break out loading of mappings file to a separate
606 function and remove warning that it can't open the mapping file,
607 there are now mappings in the db, maybe the users uses that
610 * lib/krb5/crypto.c: Require the raw key have the correct size and
611 do away with the minsize. Minsize was a thing that originated
612 from RC2, but since RC2 is done in the x509/cms subsystem now
613 there is no need to keep that around.
615 * lib/hdb/dbinfo.c: If there is no default dbname, also check for
616 unset mkey_file and set it default mkey name, make backward compat
619 * kdc/version-script.map: add new symbols
621 * kdc/kdc-replay.c: Also update krb5_context view of what the time
624 * configure.in: add tests/can/Makefile
626 * kdc/kdc-replay.c: Add --[version|help].
628 * kdc/pkinit.c: Push down the kdc time into the x509 library.
630 * kdc/connect.c: Move up krb5_kdc_save_request so we can catch the
633 * kdc/kdc-replay.c: verify reply by checking asn1 class, type and
634 tag of the reply if there is one.
636 * kdc/process.c: Save asn1 class, type and tag of the reply if
637 there is one. Used to verify the reply in kdc-replay.
639 2007-06-06 Love Hörnquist Åstrand <lha@it.su.se>
641 * kdc/kdc_locl.h: extern for request_log.
643 * kdc/Makefile.am: Add kdc-replay.
645 * kdc/kdc-replay.c: Replay kdc messages to the KDC library.
647 * kdc/config.c: Pick up request_log from [kdc]kdc-request-log.
649 * kdc/connect.c: Option to save the request to disk.
651 * kdc/process.c (krb5_kdc_save_request): save request to file.
653 * kdc/process.c (krb5_kdc_process*): dont update _kdc_time
655 (krb5_kdc_update_time): set or get current kdc-time.
657 * kdc/pkinit.c (_kdc_pk_rd_padata): accept both pkcs-7 and
658 pkauthdata as the signeddata oid
660 * kdc/pkinit.c (_kdc_pk_rd_padata): Try to log what went wrong.
662 2007-06-05 Love Hörnquist Åstrand <lha@it.su.se>
664 * kdc/pkinit.c: Use oid_id_pkcs7_data for pkinit-9 encKey reply to
665 match windows DC behavior better.
667 2007-06-04 Love Hörnquist Åstrand <lha@it.su.se>
669 * configure.in: use test for -framework Security
671 * appl/test/uu_server.c: Print status to stdout.
673 * kdc/digest.c (digest ntlm): provide log entires by setting ret
676 2007-06-03 Love Hörnquist Åstrand <lha@it.su.se>
678 * doc/hx509.texi: Indent crl-sign.
680 * doc/hx509.texi: One more crl-sign example.
682 * lib/krb5/test_princ.c: plug memory leaks.
684 * lib/krb5/pac.c: plug memory leaks.
686 * lib/krb5/test_pac.c: plug memory leaks.
688 * lib/krb5/test_prf.c: plug memory leak.
690 * lib/krb5/test_cc.c: plug memory leaks.
692 * doc/hx509.texi: Simple blob about publishing CRLs.
694 * doc/win2k.texi: drop text about enctypes.
696 2007-06-02 Love Hörnquist Åstrand <lha@it.su.se>
698 * kdc/pkinit.c: In case of OCSP verification failure, referash
699 every 5 min. In case of success, refreash 2 min before expiring or
702 2007-05-31 Love Hörnquist Åstrand <lha@it.su.se>
704 * lib/krb5/krb5_err.et: add error 68, WRONG_REALM
706 * kdc/pkinit.c: Handle the ms san in a propper way, still cheat
709 * kdc/kerberos5.c: If _kdc_pk_check_client failes, bail out
710 directly and hand the error back to the client.
712 * lib/krb5/krb5_err.et: Add missing REVOCATION_STATUS_UNAVAILABLE
713 and fix error message for CLIENT_NAME_MISMATCH.
715 * kdc/pkinit.c: More logging for pk-init client mismatch.
717 * kdc/kerberos5.c: Also add a KRB5_PADATA_PK_AS_REQ_WIN for
718 windows pk-init (-9) to make MIT clients happy.
720 2007-05-30 Love Hörnquist Åstrand <lha@it.su.se>
722 * kdc/pkinit.c: Force des3 for win2k.
724 * kdc/pkinit.c: Add wrapping to ContentInfo wrapping to
727 * lib/krb5/keytab_keyfile.c: Spelling.
729 * kdc/pkinit.c: Allow matching by MS UPN SAN, note that this delta
730 doesn't deal with case of realm.
732 2007-05-16 Love Hörnquist Åstrand <lha@it.su.se>
734 * lib/krb5/crypto.c (krb5_crypto_overhead): return static overhead
737 2007-05-10 Dave Love <fx@gnu.org>
739 * doc/win2k.texi: Update some URLs.
741 2007-05-13 Love Hörnquist Åstrand <lha@it.su.se>
743 * kuser/kimpersonate.c: Fix version number of ticket, it should be
746 2007-05-08 Love Hörnquist Åstrand <lha@it.su.se>
748 * doc/setup.texi: Salting is really Encryption types and salting.
750 2007-05-07 Love Hörnquist Åstrand <lha@it.su.se>
752 * doc/setup.texi: spelling, from Ronny Blomme
754 * doc/win2k.texi: Fix ksetup /SetComputerPassword, from Ronny
757 2007-05-02 Love Hörnquist Åstrand <lha@it.su.se>
759 * lib/hdb/dbinfo.c (hdb_get_dbinfo) If there are no database
760 specified, create one and let it use the defaults.
762 2007-04-27 Love Hörnquist Åstrand <lha@it.su.se>
764 * lib/hdb/test_dbinfo.c: test acl file
766 * lib/hdb/test_dbinfo.c: test acl file
768 * lib/hdb/dbinfo.c: add acl file
770 * etc: ignore Makefile.in
772 * Makefile.am: SUBDIRS += etc
774 * configure.in: Add etc/Makefile.
776 * etc/Makefile.am: make sure services.append is distributed
778 2007-04-24 Love Hörnquist Åstrand <lha@it.su.se>
780 * kdc: rename windc_init to krb5_kdc_windc_init
782 * kdc/version-script.map: version script for libkdc
784 * kdc/Makefile.am: version script for libkdc
786 2007-04-23 Love Hörnquist Åstrand <lha@it.su.se>
788 * lib/krb5/init_creds.c (krb5_get_init_creds_opt_get_error):
789 correct the order of the arguments.
791 * lib/hdb/Makefile.am: Add and test dbinfo.
793 * lib/hdb/hdb.h: Forward declaration for struct hdb_dbinfo;
795 * kdc/config.c: Use krb5_kdc_get_config and just fill in what the
796 users wanted differently.
798 * kdc/default_config.c: Make the default configuration fetch info
801 2007-04-22 Love Hörnquist Åstrand <lha@it.su.se>
803 * lib/krb5/store.c (krb5_store_creds_tag): use session.keytype to
804 determine if to send the session-key, for the second place in the
807 * tools/krb5-config.in: rename des to hcrypto
809 * kuser/Makefile.am: depend on libheimntlm
811 * kuser/kinit.c: Add --ntlm-domain that store the ntlm cred for
812 this domain if the Kerberos password auth worked.
814 * kuser/klist.c: add new option --hidden that doesn't display
815 principal that starts with @
817 * tools/krb5-config.in: Add heimntlm when we use gssapi.
819 * lib/krb5/krb5_ccache.3 (krb5_cc_retrieve_cred): document what to
822 * lib/krb5/cache.c (krb5_cc_retrieve_cred): document what to free
825 2007-04-21 Love Hörnquist Åstrand <lha@it.su.se>
827 * lib/krb5/store.c (krb5_store_creds_tag): use session.keytype to
828 determine if to send the session-key.
830 * kcm/client.c (kcm_ccache_new_client): make root be able to pass
831 the name constraints, not the opposite. From Bryan Jacobs.
833 2007-04-20 Love Hörnquist Åstrand <lha@it.su.se>
835 * kcm/acl.c: make compile again.
837 * kcm/client.c: fix warning.
839 * kcm: First, it allows root to ignore the naming conventions.
840 Second, it allows root to always perform any operation on any
841 ccache. Note that root could do this anyway with FILE ccaches.
844 * Rename libdes to libhcrypto.
846 2007-04-19 Love Hörnquist Åstrand <lha@it.su.se>
848 * kinit: remove code that depend on kerberos 4 library
850 * kdc: remove code that depend on kerberos 4 library
852 * configure.in: Drop kerberos 4 support.
854 * kdc/hpropd.c (main): free the message when done with it.
856 * lib/krb5/pkinit.c (_krb5_get_init_creds_opt_free_pkinit):
857 remember to free memory too.
859 * lib/krb5/pkinit.c (pk_rd_pa_reply_dh): free content-type when
862 * configure.in: test rk_VERSIONSCRIPT
864 2007-04-18 Love Hörnquist Åstrand <lha@it.su.se>
866 * fix-export: remove, all done by make dist now
868 2007-04-15 Love Hörnquist Åstrand <lha@it.su.se>
870 * lib/krb5/krb5_get_credentials.3: spelling, from Jason McIntyre
872 2007-04-11 Love Hörnquist Åstrand <lha@it.su.se>
874 * kdc/kstash.8: Spelling, from raga <raga@comcast.net>
877 * lib/krb5/store_mem.c: indent.
879 * lib/krb5/recvauth.c: Set error string.
881 * lib/krb5/rd_req.c: clear error strings.
883 * lib/krb5/rd_cred.c: clear error string.
885 * lib/krb5/pkinit.c: Set error strings.
887 * lib/krb5/get_cred.c: Tell what principal we are not finding for
888 all KRB5_CC_NOTFOUND.
890 2007-02-22 Love Hörnquist Åstrand <lha@it.su.se>
892 * kdc/kerberos5.c: Return the same error codes as a windows KDC.
894 * kuser/kinit.c: KRB5KDC_ERR_PREAUTH_FAILED is also a password
897 * kdc/kerberos5.c: Make handling of replying e_data more generic,
900 * kdc/kerberos5.c: Fix (string const and shadow) warnings, from
903 * lib/krb5/pac.c: Create the PAC element in the same order as
904 w2k3, maybe there's some broken code in windows which relies on
907 * kdc/kerberos5.c: Select a session enctype from the list of the
908 crypto systems supported enctype, is supported by the client and
909 is one of the enctype of the enctype of the krbtgt.
911 The later is used as a hint what enctype all KDC are supporting to
912 make sure a newer version of KDC wont generate a session enctype
913 that and older version of a KDC in the same realm can't decrypt.
915 But if the KDC admin is paranoid and doesn't want to have "no the
916 best" enctypes on the krbtgt, lets save the best pick from the
917 client list and hope that that will work for any other KDCs.
921 * kdc/hprop.c (propagate_database): on any failure, drop the
922 connection to the peer and try next one.
924 2007-02-18 Love Hörnquist Åstrand <lha@it.su.se>
926 * lib/krb5/krb5_get_init_creds.3: document new options.
928 * kdc/krb5tgs.c: Only check service key for cross realm PACs.
930 * lib/krb5/init_creds.c: use the new merged flags field.
931 (krb5_get_init_creds_opt_set_win2k): new function, turn on all w2k
934 * lib/krb5/init_creds_pw.c: use the new merged flags field.
936 * lib/krb5/krb5_locl.h: merge all flags into one entity
938 2007-02-11 Dave Love <fx@gnu.org>
940 * lib/krb5/krb5_aname_to_localname.3: Small fixes
942 * lib/krb5/krb5_digest.3: Small fixes
944 * kuser/kimpersonate.1: Small fixes
946 2007-02-17 Love Hörnquist Åstrand <lha@it.su.se>
948 * lib/krb5/init_creds_pw.c (find_pa_data): if there is no list,
951 * kdc/krb5tgs.c: Don't check PACs on cross realm requests.
953 * lib/krb5/krb5.h: add KRB5_KU_CANONICALIZED_NAMES.
955 * lib/krb5/init_creds_pw.c: Verify client referral data.
957 * kdc/kerberos5.c: switch some "return ret" to "goto out".
959 * kdc/kerberos5.c: Pass down canonicalize request to hdb layer,
960 sign client referrals.
962 * lib/hdb/hdb.h: Add HDB_F_CANON.
964 * lib/hdb: add simple alias support to the database backends
966 2007-02-16 Love Hörnquist Åstrand <lha@it.su.se>
968 * kuser/kinit.c: Add canonicalize flag.
970 * lib/krb5/init_creds_pw.c: Use EXTRACT_TICKET_* flags, support
973 * lib/krb5/init_creds.c (krb5_get_init_creds_opt_set_canonicalize):
976 * lib/krb5/get_cred.c: Use EXTRACT_TICKET_* flags.
978 * lib/krb5/get_in_tkt.c: Use EXTRACT_TICKET_* flags.
980 * lib/krb5/krb5_locl.h: Add EXTRACT_TICKET_* flags.
982 2007-02-15 Love Hörnquist Åstrand <lha@it.su.se>
984 * lib/krb5/test_princ.c: test parsing enterprise-names.
986 * lib/krb5/principal.c: Add support for parsing enterprise-names.
988 * lib/krb5/krb5.h: Add KRB5_PRINCIPAL_PARSE_ENTERPRISE.
990 * lib/hdb/hdb-ldap.c: Make work again.
992 2007-02-11 Dave Love <fx@gnu.org>
994 * kcm/client.c (kcm_ccache_new_client): Cast snprintf'ed value.
996 2007-02-10 Love Hörnquist Åstrand <lha@it.su.se>
998 * doc/setup.texi: prune trailing space
1000 * lib/hdb/db.c: Be better at setting and clearing error string.
1002 * lib/hdb/hdb.c: Be better at setting and clearing error string.
1004 2007-02-09 Love Hörnquist Åstrand <lha@it.su.se>
1006 * lib/krb5/keytab.c (krb5_kt_get_entry): Use krb5_kt_get_full_name
1007 to print out the keytab name.
1009 * doc/setup.texi: Spelling, from Guido Guenther
1011 2007-02-08 Love Hörnquist Åstrand <lha@it.su.se>
1013 * lib/krb5/rd_cred.c: Plug memory leak, from Michael B Allen.
1015 2007-02-06 Love Hörnquist Åstrand <lha@it.su.se>
1017 * lib/krb5/test_store.c (test_uint16): unsigned ints can't be
1020 2007-02-03 Love Hörnquist Åstrand <lha@it.su.se>
1022 * kdc/pkinit.c: pass extra flags for detached signatures.
1024 * lib/krb5/pkinit.c: pass extra flags for detached signatures.
1026 * kdc/digest.c: Remove debug output.
1028 * kuser/kdigest.c: Add support for ms-chap-v2 client.
1030 2007-02-02 Love Hörnquist Åstrand <lha@it.su.se>
1032 * kdc/digest.c: Fix ms-chap-v2 get_masterkey
1034 * kdc/digest.c: Fix ms-chap-v2 mutual response auth code.
1036 * kuser/kdigest.c: Print session key if there is one.
1038 * lib/krb5/digest.c: rename hash-a1 to session key
1040 * kdc/digest.c: Add get_master from RFC 3079 3.4 for MS-CHAP-V2
1042 * kuser/kdigest.c: print rsp if there is one, from Klas.
1044 * kdc/digest.c: Use right size, from Klas Lindfors.
1046 * kuser/kdigest.c: Set client nonce if avaible, from Klas.
1048 * kdc/digest.c: First version from kllin.
1050 * kuser/kdigest.c: Don't restrict the type.
1052 2007-02-01 Love Hörnquist Åstrand <lha@it.su.se>
1054 * kuser/kdigest-commands.in: add --client-response
1056 * kuser/kdigest.c: Print status instead of response.
1058 * kdc/digest.c: Better logging and return status = FALSE when
1059 checksum doesn't match.
1061 * kdc/digest.c: Check the digest response in the KDC.
1063 * lib/krb5/digest.c: New functions to send in requestResponse to
1064 KDC and get status of the request.
1066 * kdc/digest.c: Add support for MS-CHAP v2.
1068 * lib/hdb/hdb-ldap.c: Set hdb->hdb_db for ldap.
1070 2007-01-31 Love Hörnquist Åstrand <lha@it.su.se>
1072 * fix-export: Make hx509.info too
1074 * kdc/digest.c: don't verify identifier in CHAP, its the client
1077 2007-01-23 Love Hörnquist Åstrand <lha@it.su.se>
1079 * lib/krb5/Makefile.am: Basic test of prf.
1081 * lib/krb5/test_prf.c: Basic test of prf.
1083 * lib/krb5/mit_glue.c: Add MIT glue for Kerberos RFC 3961 PRF
1086 * lib/krb5/crypto.c: Add Kerberos RFC 3961 PRF functions.
1088 * lib/krb5/krb5_data.3: Document krb5_data_cmp.
1090 * lib/krb5/data.c: Add krb5_data_cmp.
1092 2007-01-20 Love Hörnquist Åstrand <lha@it.su.se>
1094 * kdc/kx509.c: Don't use C99 syntax.
1096 2007-01-17 Love Hörnquist Åstrand <lha@it.su.se>
1098 * configure.in: its LIBADD_roken (and shouldn't really exist, our
1099 libtool usage it broken)
1101 * configure.in: Add an extra variable for roken, LIBADD, that
1102 should be used for library depencies.
1104 * lib/krb5/send_to_kdc.c (krb5_sendto): zero out receive buffer.
1106 * lib/krb5/krb5_init_context.3: fix mdoc errors
1108 * Heimdal 0.8 branch cut today
1110 * doc/hx509.texi: Spelling and more about proxy certificates.
1112 * configure.in: check for arc4random
1114 2007-01-16 Love Hörnquist Åstrand <lha@it.su.se>
1116 * lib/krb5/send_to_kdc.c (krb5_sendto): zero receive krb5_data
1119 * tools/heimdal-build.sh: make cvs keep quiet
1121 * kuser/kverify.c: Use argument as principal if passed an
1122 argument. Bug report from Douglas E. Engert
1124 2007-01-15 Love Hörnquist Åstrand <lha@it.su.se>
1126 * lib/krb5/rd_req.c (krb5_rd_req_ctx): The code failed to consider
1127 the enc_tkt_in_skey case, from Douglas E. Engert.
1129 * kdc/kx509.c: Issue certificates.
1131 * kdc/config.c: Parse kx509/kca configuration.
1133 * kdc/kdc.h: add kx509 config
1135 2007-01-14 Love Hörnquist Åstrand <lha@it.su.se>
1137 * kdc/kerberos5.c (_kdc_find_padata): if there is not padata,
1138 there is nothing find.
1140 * doc/hx509.texi: Examples for pk-init.
1142 * doc/hx509.texi: About extending ca lifetime and sub cas.
1144 2007-01-13 Love Hörnquist Åstrand <lha@it.su.se>
1146 * doc/hx509.texi: More about certificates.
1148 2007-01-12 Love Hörnquist Åstrand <lha@it.su.se>
1150 * doc/hx509.texi: add Application requirements and write about
1153 2007-01-11 Love Hörnquist Åstrand <lha@it.su.se>
1155 * doc/hx509.texi: More about issuing certificates.
1157 * doc/hx509.texi: Start of a x.509 manual.
1159 * include/Makefile.am: remove install headerfiles
1161 * lib/krb5/test_pac.c: Use more interesting data to cause more
1164 * include/Makefile.am: remove install headerfiles
1166 * lib/krb5/mcache.c: MCC_CURSOR not used, remove.
1168 * lib/krb5/crypto.c: macro kcrypto_oid_enc now longer used
1170 * lib/krb5/rd_safe.c (krb5_rd_safe): set length before trying to
1173 2007-01-10 Love Hörnquist Åstrand <lha@it.su.se>
1175 * doc/setup.texi: Hint about hxtool validate.
1177 * appl/test/uu_server.c: print both "server" and "client"
1179 * kdc/krb5tgs.c: Rename keys to be more obvious what they do.
1181 * kdc/kerberos5.c: Use other keys to sign PAC with. From Andrew
1184 * kdc/windc.c: ident, spelling.
1186 * kdc/windc_plugin.h: indent.
1188 * kdc/krb5tgs.c: Pass down server entry to verify_pac function.
1189 from Andrew Bartlett
1191 * kdc/windc.c: pass down server entry to verify_pac function, from
1194 * kdc/windc_plugin.h: pass down server entry to verify_pac
1195 function, from Andrew Bartlett
1197 * configure.in: Provide a automake symbol ENABLE_SHARED if shared
1198 libraries are built.
1200 * lib/krb5/rd_req.c (krb5_rd_req_ctx): Use the correct keyblock
1201 when verifying the PAC. From Andrew Bartlett.
1203 2007-01-09 Love Hörnquist Åstrand <lha@it.su.se>
1205 * lib/krb5/test_pac.c: move around to code test on real PAC.
1207 * lib/krb5/pac.c: A tiny 2 char diffrence that make the code work
1210 * lib/krb5/test_pac.c: Test more PAC (note that the values used in
1211 this test is wrong, they have to be fixed when the pac code is
1214 * doc/setup.texi: Update to new hxtool issue-certificate usage
1216 * lib/krb5/init_creds_pw.c: Make sure we don't sent both ENC-TS
1217 and PK-INIT pa data, no need to expose our password protecting our
1220 * kuser/klist.c (print_cred_verbose): include ticket length in the
1223 2007-01-08 Love Hörnquist Åstrand <lha@it.su.se>
1225 * lib/krb5/acache.c (loadlib): pass RTLD_LAZY to dlopen, without
1226 it linux is unhappy.
1228 * lib/krb5/plugin.c (loadlib): pass RTLD_LAZY to dlopen, without
1229 it linux is unhappy.
1231 * lib/krb5/name-45-test.c: One of the hosts I sometimes uses is
1232 named "bar.domain", this make one of the tests pass when it
1235 2007-01-05 Love Hörnquist Åstrand <lha@it.su.se>
1237 * doc/setup.texi: Change --key argument to --out-key.
1239 * kuser/kimpersonate.1: mangle my name
1241 2007-01-04 Love Hörnquist Åstrand <lha@it.su.se>
1243 * doc/setup.texi: describe how to use hx509 to create
1246 * tools/heimdal-build.sh: Add --distcheck.
1248 * kdc/kerberos5.c: Check for KRB5_PADATA_PA_PAC_REQUEST to check
1249 if we should include the PAC in the krbtgt.
1251 * kdc/pkinit.c (_kdc_as_rep): check if
1252 krb5_generate_random_keyblock failes.
1254 * kdc/kerberos5.c (_kdc_as_rep): check if
1255 krb5_generate_random_keyblock failes.
1257 * kdc/krb5tgs.c (tgs_build_reply): check if
1258 krb5_generate_random_keyblock failes.
1260 * kdc/krb5tgs.c: Scope etype.
1262 * lib/krb5/rd_req.c: Make it possible to turn off PAC check, its
1265 * lib/krb5/rd_req.c (krb5_rd_req_ctx): If there is a PAC, verify
1266 its server signature.
1268 * kdc/kerberos5.c (_kdc_as_rep): call windc client access hook.
1269 (_kdc_tkt_add_if_relevant_ad): constify in data argument.
1271 * kdc/windc_plugin.h: More comments add a client_access hook.
1273 * kdc/windc.c: Add _kdc_windc_client_access.
1275 * kdc/krb5tgs.c: rename functions after export some more pac
1278 * lib/krb5/test_pac.c: export some more pac functions.
1280 * lib/krb5/pac.c: export some more pac functions.
1282 * kdc/krb5tgs.c: Resign the PAC in tgsreq if we have a PAC.
1284 * configure.in: add tests/plugin/Makefile
1286 2007-01-03 Love Hörnquist Åstrand <lha@it.su.se>
1288 * kdc/krb5tgs.c: Get right key for PAC krbtgt verification.
1290 * kdc/config.c: spelling
1292 * lib/krb5/krb5.h: typedef for krb5_pac.
1294 * kdc/headers.h: Include <windc_plugin.h>.
1296 * kdc/Makefile.am: Include windc.c and use windc_plugin.h
1298 * kdc/krb5tgs.c: Call callbacks for emulating a Windows Domain
1301 * kdc/kerberos5.c: Call callbacks for emulating a Windows Domain
1302 Controller. Move the some of the log related stuff to its own
1305 * kdc/config.c: Init callbacks for emulating a Windows Domain
1308 * kdc/windc.c: Rename the init function to windc instead of pac.
1310 * kdc/windc.c: Callbacks specific to emulating a Windows Domain
1313 * kdc/windc_plugin.h: Callbacks specific to emulating a Windows
1316 * lib/krb5/Makefile.am: add krb5_HEADERS to build_HEADERZ
1318 * lib/krb5/pac.c: Support all keyed checksum types.
1320 2007-01-02 Love Hörnquist Åstrand <lha@it.su.se>
1322 * lib/krb5/pac.c (krb5_pac_get_types): Return list of types.
1324 * lib/krb5/test_pac.c: test krb5_pac_get_types
1326 * lib/krb5/krbhst.c: Add KRB5_KRBHST_KCA.
1328 * lib/krb5/krbhst.c: Add KRB5_KRBHST_KCA.
1330 * lib/krb5/krb5.h: Add KRB5_KRBHST_KCA.
1332 * lib/krb5/test_pac.c: test Add/remove pac buffer functions.
1334 * lib/krb5/pac.c: Add/remove pac buffer functions.
1336 * lib/krb5/pac.c: sprinkle const
1338 * lib/krb5/pac.c: rename DCHECK to CHECK