Commit Graph

1562 Commits

Author SHA1 Message Date
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
Assar Westerlund
dcac4bde92 (encrypt_internal_derived): free the checksum after use
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8946 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-08-16 07:39:10 +00:00
Assar Westerlund
88dd6a31de (_warnerr): initialize args to make third, purify et al happy
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8945 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-08-16 07:37:41 +00:00
Assar Westerlund
d453380cdb (heimdal_version, heimdal_long_version): make const
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8930 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-08-10 20:16:09 +00:00
Assar Westerlund
725515efbb (krb5_mk_req_internal): add comment on checksum type selection
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8929 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-08-10 20:15:41 +00:00
Assar Westerlund
5329d54302 (krb5_init_context): do not leak memory on failure
(default_etypes): prefer arcfour-hmac-md5 to des-cbc-md5


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8928 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-08-10 20:14:03 +00:00
Assar Westerlund
18bc0640ce add fnmatch.h
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8927 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-08-10 20:11:58 +00:00
Assar Westerlund
5f648d3799 use socklen_t where appropriate instead of int
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8923 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-08-09 20:53:11 +00:00
Johan Danielsson
ffd71fd396 ,
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8918 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-08-09 10:05:51 +00:00
Johan Danielsson
0a18f91d26 krb5_principal_match
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8913 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-08-08 01:53:16 +00:00
Assar Westerlund
f17785a56c some documentation on [kadmin] configuration. From
<lha@stacken.kth.se>


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8888 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-08-04 02:41:45 +00:00
Assar Westerlund
f7f48c3859 (krb5_425_conv_principal_ext): always put hostnames in lower case
(default_v4_name_convert): add imap


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8887 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-08-04 02:11:45 +00:00
Assar Westerlund
3ed2beb9a1 (_krb5_crc_update): const-ize (finally)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8883 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-08-03 01:45:14 +00:00
Assar Westerlund
304c87a172 (krb5_mk_req): remove unused variable
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8851 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-07-27 05:33:50 +00:00
Assar Westerlund
1f76dd87f2 (get_cred_from_kdc_flags): remove unused variable
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8850 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-07-27 05:31:16 +00:00
Assar Westerlund
97817f4b13 extra braces
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8849 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-07-27 05:30:22 +00:00
Assar Westerlund
057e1e2be4 (krb5_change_password): try to be more careful when not to resend
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8829 ec53bebd-3082-4978-b11e-865c3cabbd6b
2000-07-26 11:31:06 +00:00