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
Assar Westerlund
633782864b
(main): handle krb5_init_context failure consistently
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9443 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-12-31 08:05:03 +00:00
Assar Westerlund
f33d7d5bac
(tgs_rep2): adapt to new krb5_verify_ap_req2
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9191 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-11-15 23:09:02 +00:00
Assar Westerlund
baebf953a8
use LIB_des
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9176 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-11-15 22:51:14 +00:00
Johan Danielsson
7c3f84a25d
remove extra .Xc
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9151 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-11-12 15:37:33 +00:00
Johan Danielsson
de36c5eb53
fix log messge
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9117 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-10-10 06:53:58 +00:00
Assar Westerlund
5d25e7e3ef
(add_new_tcp): check for the socket fd being too large to selct on
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9112 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-10-08 21:36:29 +00:00
Assar Westerlund
21c29c4974
(loop): check that the socket fd is not too large to select on
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9111 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-10-08 18:37:08 +00:00
Assar Westerlund
8c87a006a4
(do_authenticate): check for time skew
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9110 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-10-08 18:35:19 +00:00
Assar Westerlund
620646d0f7
(set_address): allocate memory for storing addresses in if the
...
original request had an empty set of addresses
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9087 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-10-01 00:38:18 +00:00
Assar Westerlund
67693d72ed
(set_address): fix bad return of pointer to automatic data
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9082 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-09-23 18:04:49 +00:00
Johan Danielsson
f9825804e7
use DEFAULT_LOG_DEST
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9050 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-09-10 19:27:29 +00:00
Johan Danielsson
9a352cb0f8
use _PATH_KDC_CONF
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9049 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-09-10 19:27:17 +00:00
Johan Danielsson
5793cb0646
add macro constants for kdc.conf, and kdc.log
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9048 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-09-10 19:27:04 +00:00
Assar Westerlund
5a0952ca19
re-organize
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9036 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-09-10 14:48:23 +00:00
Assar Westerlund
66a76923b5
add printf attributes on kdc_log*
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9035 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-09-10 14:45:06 +00:00
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