Commit Graph

520 Commits

Author SHA1 Message Date
Assar Westerlund
93c798134c update prototypes
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9034 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-09-10 14:18:44 +00:00
Assar Westerlund
735d459976 (tgs_rep2): try to avoid leaking auth_context
use free_ent


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9033 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-09-10 14:17:36 +00:00
Assar Westerlund
edd9d8dd4d new calls for free_ent
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9032 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-09-10 14:16:41 +00:00
Assar Westerlund
0ca8aae650 (valid_princ): check return value of functions
(encode_v4_ticket): add some const
new calls for free_ent


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9031 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-09-10 14:15:52 +00:00
Assar Westerlund
2032126e34 (db_fetch): check malloc
(free_ent): new function


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9030 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-09-10 14:13:51 +00:00
Johan Danielsson
27bc543586 update manual page
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9022 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-09-01 16:37:52 +00:00
Johan Danielsson
e181b0b525 fix typo, and remove unused option
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9021 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-09-01 16:30:25 +00:00
Assar Westerlund
2fc8e73137 (find_type): make sure of always setting `ret_etype' correctly.
clean-up structure some


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8990 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-08-23 20:25:06 +00:00
Assar Westerlund
35e473a5f9 fix typo in mdoc markup
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8983 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-08-20 10:33:14 +00:00
Assar Westerlund
accdd87f82 check return value from krb5_crypto_init
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8975 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-08-18 06:50:26 +00:00
Assar Westerlund
5a4cc9eff1 re-write search for keys code. loop over all supported enctypes in
order, looping over all keys of each type, and picking the one with
the v5 default salt preferably


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8938 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-08-13 01:55:59 +00:00
Assar Westerlund
7e4da1415d use socklen_t where appropriate instead of int. From <thorpej@netbsd.org>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8920 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-08-09 20:44:30 +00:00
Johan Danielsson
fe0b167c46 handle all sorts of weird MIT salt types
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8916 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-08-09 09:57:37 +00:00
Johan Danielsson
418e11ca5e link with pidfile library
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8898 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-08-04 11:24:51 +00:00
Johan Danielsson
f16a83d105 util.h
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8896 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-08-04 11:23:40 +00:00
Johan Danielsson
bfb5ec5f4e write a pid file
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8895 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-08-04 11:23:03 +00:00
Assar Westerlund
d6ac67fda3 (check_tgs_flags): set endtime correctly when renewing, From Derrick J
Brashear <shadow@dementia.org>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8872 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-07-29 05:19:37 +00:00
Assar Westerlund
7750091bd7 un-conditionalize local_realm
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8848 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-07-27 05:26:58 +00:00
Assar Westerlund
0669d5eeaa (dump_database): write an empty message to signal end of dump
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8841 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-07-27 03:11:55 +00:00
Assar Westerlund
b1564c84c3 (main): check that the ticket was for `hprop/' for paranoid reasons
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8790 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-07-23 21:32:42 +00:00
Johan Danielsson
cc932ff022 braino
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8776 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-07-22 14:26:42 +00:00
Johan Danielsson
e489313932 ifdef KRB4
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8749 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-07-22 00:52:25 +00:00
Johan Danielsson
ef6c5d89d3 nuke extra definitions of krb5_read_priv_message et.al
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8735 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-07-21 23:08:06 +00:00
Assar Westerlund
0e7861671e note that the keytab used by default is HDB
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8731 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-07-21 03:56:30 +00:00
Assar Westerlund
7d066bb1fd remove --realm
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8729 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-07-21 01:54:25 +00:00
Assar Westerlund
dd770bed63 don't care what principal we recvauth as
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8728 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-07-21 01:53:36 +00:00
Assar Westerlund
8a54d901a0 (HPROP_KEYTAB): use HDB for the keytab
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8723 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-07-20 20:47:53 +00:00
Assar Westerlund
7e41ef4f8b something about kadmin/hprop
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8719 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-07-20 13:03:34 +00:00
Assar Westerlund
584629ce14 remove --port, and add to host description
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8717 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-07-20 07:11:42 +00:00
Assar Westerlund
f57e127e7b update
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8716 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-07-20 07:03:31 +00:00
Assar Westerlund
b32eab5560 add --keytab
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8715 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-07-20 06:53:42 +00:00
Assar Westerlund
63d826a6eb (as_rep): cut-n-pasto
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8666 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-07-11 23:37:17 +00:00
Assar Westerlund
f3dc554555 (ALLOC_SEQ): undef
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8617 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-07-08 16:12:03 +00:00
Assar Westerlund
ff9e42ae48 hdb-private.h: remove
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8616 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-07-08 16:09:27 +00:00
Assar Westerlund
65cc7dfab9 (INCLUDES): add ../lib/krb5
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8608 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-07-08 15:56:43 +00:00
Johan Danielsson
b6d34dc1a8 remove writing of old keyfile, and treat --convert-file as just
reading and writing the keyfile without asking for a new key


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8604 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-07-08 15:01:13 +00:00
Assar Westerlund
ce213089dc update to new hdb_seal_keys_mkey
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8593 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-07-08 13:39:54 +00:00
Johan Danielsson
ba7f090fdf document mit-dump
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8589 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-07-08 13:20:40 +00:00
Assar Westerlund
b1fb1c997a add krb5_locl.h (since we just use some stuff from there)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8575 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-07-08 11:05:05 +00:00
Assar Westerlund
d2db791403 (get_des_key): rewrite some, be more paranoid
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8571 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-07-07 21:52:02 +00:00
Assar Westerlund
2068afa985 (as_rep): be careful as to now overflowing when calculating the end of
lifetime of a ticket.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8566 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-07-06 22:43:04 +00:00
Johan Danielsson
3fd56c78fb protos
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8561 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-07-06 16:31:04 +00:00
Johan Danielsson
fbd08fd057 add mit_dump.c
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8559 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-07-05 21:05:42 +00:00
Johan Danielsson
b50c8c78a8 set initial master key version number to 0 instead of 1; if we lated
bump the mkvno we don't risk using the wrong key to decrypt


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8556 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-07-05 19:44:34 +00:00
Johan Danielsson
d3c2873bcf read MIT krb5 dump files
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8554 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-07-05 19:30:46 +00:00
Johan Danielsson
c7b49a1830 only get master key if we're actually going to use it; enable reading
of MIT krb5 dump files


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8553 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-07-05 19:29:32 +00:00
Johan Danielsson
bb90aecaee pass context to seal/unseal_keys
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8551 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-07-05 13:17:32 +00:00
Johan Danielsson
8e922c962d make this work with the new mkey code
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8550 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-07-05 13:16:35 +00:00
Assar Westerlund
21427e64d6 (get_des_key): fix thinkos/typos
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8482 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-06-29 03:58:13 +00:00
Assar Westerlund
179186f843 (get_des_key): add missing []
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8481 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-06-29 03:51:55 +00:00