Johan Danielsson
548fd18bcc
(akf_start_seq_get): return KT_NOTFOUND if the file is empty
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9857 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-05-07 19:41:41 +00:00
Assar Westerlund
13758276e2
(krb5_get_in_cred): set some sensible error strings for errors
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9848 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-05-07 05:28:34 +00:00
Assar Westerlund
0e9894aa70
(krb5_context_data): add error_string and error_buf
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9846 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-05-06 23:08:41 +00:00
Assar Westerlund
be3d6f9d7b
(libkrb5_la_SOURCES): add error_string.c
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9845 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-05-06 23:08:06 +00:00
Assar Westerlund
7dfef55e4a
new functions for setting error string
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9844 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-05-06 23:07:22 +00:00
Johan Danielsson
ac0386017d
krb5_string_to_deltat
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9834 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-05-02 10:06:11 +00:00
Johan Danielsson
c6ba95904c
one less data copy
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9833 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-05-02 09:30:17 +00:00
Johan Danielsson
bb5afef553
conversion function for h_errno's
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9832 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-05-02 09:29:44 +00:00
Johan Danielsson
b7a0cebddc
change this slightly
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9831 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-05-02 09:04:38 +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
Johan Danielsson
3937ac0261
make checksum_types into an array of pointers
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9829 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-05-02 08:58:14 +00:00
Johan Danielsson
6b37d5399a
make sure we always use a des-cbc-crc ticket
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9827 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-05-02 08:55:31 +00:00
Johan Danielsson
0f4c560614
(krb5_get_host_realm_int): add extra parameter to request use of dns
...
or not
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9821 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-04-27 18:26:00 +00:00
Assar Westerlund
869c258bcf
(krb5_verify_init_creds): do not try to close an unopened ccache,
...
noted by <marc@mit.edu >
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9814 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-04-25 05:12:37 +00:00
Assar Westerlund
4601e074ad
asn1.h -> krb5_asn1.h
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9813 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-04-25 05:12:00 +00:00
Assar Westerlund
de4381db3c
(krb5_any_ops): add declaration
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9812 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-04-25 05:09:57 +00:00
Assar Westerlund
b5d10caa39
(init_context_from_config_file): add krb5_any_ops
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9811 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-04-25 05:09:23 +00:00
Assar Westerlund
456f8a7c9b
new file
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9810 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-04-25 05:08:49 +00:00
Assar Westerlund
de30b1bca6
(libkrb5_la_SOURCES): add keytab_any.c
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9809 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-04-25 05:08:37 +00:00
Assar Westerlund
900bbe269a
(get_init_creds_common): handle options == NULL. noted by
...
<marc@mit.edu >
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9808 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-04-25 00:48:10 +00:00
Johan Danielsson
499f690a38
set ret_creds to NULL before doing anything else, from Jacques Vidrine
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9794 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-04-19 16:36:03 +00:00
Johan Danielsson
7bfa737be1
adapt to asn1 changes
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9787 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-04-18 13:13:32 +00:00
Assar Westerlund
7779a4a109
handle new krb5_mk_error
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9767 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-03-26 01:40:07 +00:00
Assar Westerlund
a1e438f351
(krb5_mk_error): allow specifying both ctime and cusec
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9762 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-03-26 00:51:44 +00:00
Assar Westerlund
08af8561a0
(krb5_checksum, krb5_keyusage): add compatibility names
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9761 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-03-26 00:50:58 +00:00
Assar Westerlund
b201faa9a6
(create_checksum): change so that `type == 0' means pick from the
...
`crypto' (context) and otherwise use that type. this is not a large
change in practice and allows callers to specify the exact checksum
algorithm to use
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9760 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-03-26 00:49:12 +00:00
Assar Westerlund
414594d275
(get_cred_kdc): add support for falling back to KRB5_KU_AP_REQ_AUTH
...
when KRB5_KU_TGS_REQ_AUTH gives `bad integrity'. this helps for
talking to old (pre 0.3d) KDCs
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9749 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-03-13 04:29:36 +00:00
Assar Westerlund
dc52d6bfd6
add documentation for forwardable, proxiable, date_format, srv_lookup,
...
srv_try_txt, scan_interfaces, fcache_version. from thorpej@netbsd.org
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9748 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-03-12 08:11:48 +00:00
Assar Westerlund
d915d3228e
add derived-key-test
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9746 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-03-12 07:45:20 +00:00
Assar Westerlund
b189bcf5fe
new tests on key derivation
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9745 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-03-12 07:44:52 +00:00
Assar Westerlund
42a66c6903
(krb5_derive_key): new function, used by derived-key-test.c
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9744 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-03-12 07:44:05 +00:00
Assar Westerlund
7fa065136e
more test vectors from same source
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9743 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-03-12 07:42:30 +00:00
Assar Westerlund
028f806fc1
add new test vectors posted by Ken Raeburn <raeburn@mit.edu> in
...
<tx1bsra8919.fsf@raeburn.org > to ietf-krb-wg@anl.gov
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9742 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-03-12 07:42:05 +00:00
Assar Westerlund
293dc11acc
(krb5_enctype): remove trailing comma
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9735 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-03-06 20:26:49 +00:00
Assar Westerlund
81aa7f506c
(krb5_enctype): add ENCTYPE_* aliases for compatibility with MIT krb5
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9730 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-03-04 02:13:14 +00:00
Johan Danielsson
ef9185aa47
(krb5_init_ets): use krb5_add_et_list
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9726 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-02-28 20:03:47 +00:00
Johan Danielsson
528de21014
implement krb5_get_cred_from_kdc_opt
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9722 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-02-27 20:52:03 +00:00
Assar Westerlund
3ec01acc28
add blank lines to make make-proto happier
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9708 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-02-20 01:51:48 +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
7eb8627661
(_warnerr): add printf attributes
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9689 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-02-15 04:36:00 +00:00
Assar Westerlund
00c631c64b
(krb5_sendto): loop over all address returned by getaddrinfo before
...
trying the next kdc. from thorpej@netbsd.org
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9688 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-02-15 04:35:22 +00:00
Assar Westerlund
59b418d21a
fix default_realm in example
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9687 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-02-15 04:32:58 +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
94e0e02022
add krb5_keytab.3, from <lha@stacken.kth.se>
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9640 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-02-05 18:17:46 +00:00
Assar Westerlund
5761d220bb
(decrypt_internal_derived): check that there's enough data
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9622 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-01-30 17:10:55 +00:00
Assar Westerlund
f2fb74821c
(libkrb5_la_LDFLAGS): bump version to 15:0:0
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9604 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-01-30 01:50:52 +00:00
Assar Westerlund
68f0dcb65c
(fd_fetch, fd_store): use net_{read,write} to make sure of not
...
dropping data when doing it over a socket. (this might break when
used with ordinary files on win32)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9564 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-01-29 02:32:35 +00:00
Assar Westerlund
59a594bad4
use the openssl api for md4/md5/sha. handle openssl/*.h
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9559 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-01-29 02:09:01 +00:00
Assar Westerlund
5108851012
add krb5_context.3 and krb5_init_context.3, from <lha@stacken.kth.se>
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9540 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-01-28 21:39:29 +00:00
Assar Westerlund
110867f97a
add krb5_auth_context.3, from <lha@stacken.kth.se>
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9538 ec53bebd-3082-4978-b11e-865c3cabbd6b
2001-01-28 19:47:33 +00:00