Commit Graph

585 Commits

Author SHA1 Message Date
Johan Danielsson
f18cc03cc0 missed to commit these
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10227 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-07-02 19:14:58 +00:00
Johan Danielsson
0e956aef0c formatting changes
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10217 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-07-02 18:02:34 +00:00
Johan Danielsson
2b67390d1d always include kaserver support
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10215 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-07-02 16:32:19 +00:00
Assar Westerlund
ae46eb241e (do_524): fix typo
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10205 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-06-29 17:38:31 +00:00
Johan Danielsson
b1f6a2dd75 don't send more data than required
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10199 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-06-29 16:27:55 +00:00
Assar Westerlund
2b908e60eb add a define for des_new_random_key when using openssl
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10185 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-06-24 00:04:11 +00:00
Assar Westerlund
2fb88a72e0 update to new krb5_auth_con* names
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10107 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-06-18 04:08:37 +00:00
Assar Westerlund
dfdc3fd8f8 writes -> write
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10105 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-06-18 03:26:51 +00:00
Johan Danielsson
776835b929 fix for broken mdoc.old grog test
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@10030 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-06-08 21:35:32 +00:00
Assar Westerlund
32975edd28 (tgs_rep2): alloc and free csec and cusec properly
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9996 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-05-22 20:16:22 +00:00
Johan Danielsson
cb475ef9b2 actually check the ticket addresses
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9986 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-05-17 07:13:43 +00:00
Johan Danielsson
7becb13b02 pass context to krb5_domain_x500_decode
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9948 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-05-14 11:33:19 +00:00
Assar Westerlund
22a4752877 adapt to changing address functions
use LR_TYPE


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9943 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-05-14 06:18:25 +00:00
Assar Westerlund
3b36617ac6 adapt to changing address functions
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9942 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-05-14 06:18:11 +00:00
Assar Westerlund
49abdf5d33 new krb5_config_parse_file
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9941 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-05-14 06:17:58 +00:00
Assar Westerlund
f45a473448 new krb5_sockaddr2address
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9940 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-05-14 06:17:47 +00:00
Assar Westerlund
b507b4516a (tsg_rep): fix typo in variable name
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9933 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-05-12 15:19:40 +00:00
Johan Danielsson
3c09910254 don't use NULL where we mean 0
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9906 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-05-11 11:52:06 +00:00
Johan Danielsson
0cf3d16107 put referral test code in separate function, and test for
KRB5_NT_SRV_INST


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9904 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-05-11 11:30:11 +00:00
Assar Westerlund
0cf2f48820 (configure): call free_getarg_strings
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9881 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-05-10 15:34:33 +00:00
Assar Westerlund
25ad02d691 mdoc fixes from ru@freebsd.org
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9830 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-05-02 08:59:23 +00:00
Assar Westerlund
06d2baa47b (tgs_rep2): return a reference to a krbtgt for the right realm if we
fail to find a non-krbtgt service in the database and the second
component does a succesful non-dns lookup to get the real realm (which
has to be different from the originally-supplied realm).  this should
help windows 2000 clients that always start their lookups in `their'
realm and do not have any idea of how to map hostnames into realms


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9824 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-04-29 11:02:49 +00:00
Assar Westerlund
b06fd720d9 (is_krbtgt): rename to get_krbtgt_realm
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9823 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-04-29 10:41:48 +00:00
Assar Westerlund
63b7a66e28 (tgs_rep): call tgs_rep2 properly
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9768 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-03-26 03:01:58 +00:00
Assar Westerlund
dd38d687f6 (tgs_rep2): try to set sec and usec in error replies
(*): update callers of krb5_km_error
(check_tgs_flags): handle renews requesting non-renewable tickets


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9763 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-03-26 00:55:15 +00:00
Assar Westerlund
67422a6b02 s/[gs]et_progname/[gs]etprogname/
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9704 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-02-20 01:44:56 +00:00
Assar Westerlund
594fe33695 fix a few kdc_log format types
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9684 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-02-15 04:29:18 +00:00
Assar Westerlund
2aefcf796c try to use handle using openssl instead of libdes better. based on patches from GOMBAS Gabor <gombasg@inf.elte.hu> and Brian May <bam@snoopy.apana.org.au>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9681 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-02-15 04:20:54 +00:00
Assar Westerlund
28160c99b9 printf format fixes
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9672 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-02-12 17:13:13 +00:00
Assar Westerlund
8aac280e14 update to new db_fetch4
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9636 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-02-05 10:49:43 +00:00
Assar Westerlund
9451280638 (v4_get_masterkey): check kdb_verify_master_key properly
(kdb_prop): decrypt key properly


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9629 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-02-05 03:40:00 +00:00
Assar Westerlund
d2ae43cdc4 handle building with KRB4
always try to decrypt v4 data with the master key
leave it up to the v5 how to encrypt with that master key


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9628 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-02-05 03:05:31 +00:00
Assar Westerlund
74fd83ce59 include file name in error messages
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9621 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-01-30 17:08:35 +00:00
Assar Westerlund
57de673572 fix a typo and check some more return values
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9620 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-01-30 17:07:39 +00:00
Assar Westerlund
5e2632d9dc spelling
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9617 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-01-30 04:18:41 +00:00
Assar Westerlund
91be6656d6 (main): check for file being specified
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9616 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-01-30 04:15:50 +00:00
Assar Westerlund
4f287022ce (db_fetch): return better error code
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9615 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-01-30 03:54:21 +00:00
Assar Westerlund
ddb37f32c6 (db_fetch): HDB_ERR_NOENTRY makes more sense than ENOENT
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9614 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-01-30 03:27:09 +00:00
Assar Westerlund
d4263fdf0d adapt to new db_fetch, and try to print useful error messages when it fails
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9600 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-01-30 01:44:08 +00:00
Assar Westerlund
fbfc71a0b6 not used
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9599 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-01-30 01:43:43 +00:00
Assar Westerlund
03056efa09 (db_fetch): return an error code. change callers to look at this and
try to print it in log messages


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9598 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-01-30 01:43:07 +00:00
Assar Westerlund
e6daaae55c (v5_prop): adapt to new hdb_seal_keys and hdb_unseal_keys
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9596 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-01-30 01:25:19 +00:00
Assar Westerlund
8b46590eac (realm_buf): move it so it becomes properly conditional on KRB4
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9580 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-01-29 21:21:50 +00:00
Assar Westerlund
81fbeb826f (as_rep): be paranoid and check krb5_enctype_to_string for failure,
noted by <lha@stacken.kth.se>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9553 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-01-28 22:57:47 +00:00
Assar Westerlund
7a63c28b48 (do_getticket): check length of ticket. noted by <lha@stacken.kth.se>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9542 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-01-28 21:51:05 +00:00
Assar Westerlund
123f083d26 mdoc fixed from ru@freebsd.org
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9512 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-01-26 22:46:29 +00:00
Johan Danielsson
5cc4b6ccf4 make it possible to convert a v4 dump file without having any v4
libraries; the kdb backend still require them


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9507 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-01-26 15:57:46 +00:00
Johan Danielsson
1d71425d11 include shadow definition of kdb Principal, so we don't have to depend
on any v4 libraries


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9506 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-01-26 15:55:07 +00:00
Assar Westerlund
49eff91b5b (main): initalize fd_out for extra clarity
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9494 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-01-25 12:37:39 +00:00
Assar Westerlund
b912d83410 (main): handle EOF when reading from stdin
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9445 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-01-03 01:49:36 +00:00