Johan Danielsson
fb0b98c204
We don't really need to include krb.h here, since we only use the
...
principal size macros, so define these here. Theoretically someone
could have a krb4 system where these values are != 40, but this is
unlikely, and krb5_524_conv_principal also assume they are 40.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9399 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-12-15 17:10:40 +00:00
Johan Danielsson
388825f02a
s/krb5_donot_reply/krb5_donot_replay/
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9384 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-12-13 22:42:09 +00:00
Johan Danielsson
8881626dd9
fix query-replace-o from MD5 API change, and the struct is called
...
krb5_donot_replay
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9383 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-12-13 22:40:57 +00:00
Assar Westerlund
d0e4e7b1b5
(libkrb5_la_LDFLAGS): set version to 14:0:0
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9349 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-12-11 00:40:35 +00:00
Assar Westerlund
5aff696bc7
(libkrb5_la_LIBADD): add library dependencies
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9341 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-12-10 23:14:07 +00:00
Assar Westerlund
60ca2dc113
(str2data): add __attribute__
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9339 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-12-10 23:10:10 +00:00
Assar Westerlund
060aec09a8
(find_all_addresses): initialize `ret'
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9334 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-12-10 20:07:05 +00:00
Assar Westerlund
189d4db6ce
(krb5_auth_con_genaddrs): fix parameter confusion
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9333 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-12-10 20:01:05 +00:00
Johan Danielsson
e189571626
implement krb5_auth_con_{get,set}rcache
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9328 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-12-10 19:02:46 +00:00
Assar Westerlund
58b5fb62dd
(str2data): const-ify
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9326 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-12-09 05:00:46 +00:00
Assar Westerlund
e6e28560ab
(krb5_enctype): add ETYPE_DES3_CBC_NONE_IVEC as a new pseudo-type
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9311 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-12-08 05:03:54 +00:00
Assar Westerlund
978cb24ac3
(DES_AFS3_CMU_string_to_key): always treat cell names as lower case
...
(krb5_encrypt_ivec, krb5_decrypt_ivec): new functions that allow an
explicit ivec to be specified. fix all sub-functions.
(DES3_CBC_encrypt_ivec): new function that takes an explicit ivec
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9310 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-12-08 05:01:31 +00:00
Johan Danielsson
f6b970c809
remove trailing comma
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9302 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-12-06 22:16:31 +00:00
Johan Danielsson
835f8fc8e0
de-pointerise auth_context parameter to krb5_mk_rep
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9290 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-12-06 21:03:34 +00:00
Johan Danielsson
4633427291
actually build replay cache code
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9289 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-12-06 21:01:35 +00:00
Johan Danielsson
9fc7fc0aad
implement krb5_get_server_rcache
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9288 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-12-06 21:00:55 +00:00
Johan Danielsson
68b83a6eb0
auth_context should not be a pointer
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9287 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-12-06 20:57:23 +00:00
Johan Danielsson
14aeed4a0c
implement krb5_auth_con_genaddrs, and make setaddrs_from_fd use that
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9286 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-12-06 20:53:01 +00:00
Johan Danielsson
b7a49c755a
add some more KRB5_AUTH_CONTEXT_* flags
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9285 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-12-06 20:52:11 +00:00
Johan Danielsson
a127fb2e9d
add kerberos.8 manpage
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9275 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-12-05 09:19:20 +00:00
Johan Danielsson
0aa7857674
check for NULL remove_cred function
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9274 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-12-05 09:18:29 +00:00
Johan Danielsson
652ab82f80
pretend that empty files are non-existant
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9273 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-12-05 09:15:10 +00:00
Johan Danielsson
a1366b4974
(find_all_addresses): use getifaddrs, from Jason Thorpe <thorpej@netbsd.org>
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9263 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-12-05 05:42:18 +00:00
Assar Westerlund
fd1fa8bd77
(decrypt_authenticator): add an encryption `usage'. also try the old
...
(and wrong) usage of KRB5_KU_AP_REQ_AUTH for backwards compatibility
(krb5_verify_ap_req2): new function for specifying the usage different
from the default (KRB5_KU_AP_REQ_AUTH)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9199 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-11-15 23:16:28 +00:00
Assar Westerlund
dadda4470a
(krb5_change_password): check for fd's being too large to select on
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9198 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-11-15 23:14:07 +00:00
Assar Westerlund
f54138e6a4
(make_pa_tgs_req): update to new krb5_mk_req_internal
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9170 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-11-15 07:03:03 +00:00
Assar Westerlund
931a0e0c03
(krb5_mk_req_internal): allow different usages for the encryption.
...
change callers
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9169 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-11-15 07:01:26 +00:00
Assar Westerlund
ba3301b422
(krb5_build_authenticator): add a `usage' parameter to permit the
...
generation of authenticators with different crypto usage
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9168 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-11-15 06:58:51 +00:00
Assar Westerlund
9c35b05242
(krb5_mk_req_exact): new function that takes a krb5_principal
...
(krb5_mk_req): use krb5_mk_req_exact
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9167 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-11-15 06:50:53 +00:00
Assar Westerlund
cd3d6b4191
(mcc_close): free data
...
(mcc_destroy): don't free data
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9166 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-11-15 02:12:51 +00:00
Assar Westerlund
bda56c4d59
(recv_loop): check `fd' for being too big
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9164 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-11-15 01:48:23 +00:00
Johan Danielsson
ff3d751327
rcsid
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9137 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-11-05 16:46:15 +00:00
Assar Westerlund
90986d1e78
use MAXHOSTNAMELEN
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9122 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-10-16 03:42:14 +00:00
Assar Westerlund
cdeb6c38cd
(libkrb5_la_LDFLAGS): bump version to 13:1:0
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9071 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-09-19 13:09:26 +00:00
Assar Westerlund
20173f77c5
(krb5_decrypt_ticket): plug some memory leak
...
(krb5_rd_req): try not to return an allocated auth_context on error
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9058 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-09-17 21:47:37 +00:00
Assar Westerlund
b1c3af9c5c
(krb5_vlog_msg): fix const-ness
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9057 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-09-17 21:46:07 +00:00
Assar Westerlund
e97f681ee5
(krb5_vlog_msg): log just the format string it we fail to allocate the
...
actual string to log, should at least provide some hint as to where
things went wrong
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9029 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-09-10 14:11:41 +00:00
Assar Westerlund
be8dcb7ae5
(_key_schedule): re-use an existing schedule
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9027 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-09-09 16:49:06 +00:00
Johan Danielsson
89074fae06
short kerberos intro page
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@9019 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-09-01 15:52:24 +00:00
Assar Westerlund
cedc89c0f3
remove trailing commas
...
(KRB5_KU_USAGE_SEQ): renamed from KRB5_KU_USAGE_MIC
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8998 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-08-27 03:32:31 +00:00
Assar Westerlund
c5e89e6e73
(send_via_proxy): handle `http://' at the beginning of the proxy
...
specification. use getaddrinfo correctly
(krb5_sendto): always return a return code
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8996 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-08-26 11:46:16 +00:00
Assar Westerlund
ed5f821871
(KRB5_KU_USAGE_MIC): rename to KRB5_KU_USAGE_SEQ
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8995 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-08-26 11:44:55 +00:00
Assar Westerlund
e81dac9b62
(krb5_auth_con_free): handle auth_context == NULL
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8994 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-08-26 11:43:30 +00:00
Assar Westerlund
ce07d85131
(syslogvals): static-ize
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8992 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-08-24 22:23:30 +00:00
Johan Danielsson
5f30519a1d
implement resolve
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8987 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-08-23 09:52:46 +00:00
Assar Westerlund
7f672b1580
*** empty log message ***
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8976 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-08-18 06:51:10 +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
9d750adf3e
update the database portion
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8968 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-08-17 00:53:05 +00:00
Assar Westerlund
b3d0de2cb6
bump version to 13:0:0
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8955 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-08-16 11:21:47 +00:00
Assar Westerlund
8f93d0ede7
(krb5_config_parse_file_debug): make sure of closing the file on error
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8947 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-08-16 07:40:36 +00:00