Commit Graph

1290 Commits

Author SHA1 Message Date
Assar Westerlund
4170031efa clean-up and comment-up
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7119 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-06 16:28:06 +00:00
Assar Westerlund
5b0e0abca5 (krb5_copy_host_realm): copy all the strings
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7117 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-06 15:02:23 +00:00
Assar Westerlund
95b090b41c (krb5_verify_user_lrealm): free the correct realm part
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7116 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-06 13:18:04 +00:00
Assar Westerlund
2589ecfe9c (krb524_convert_creds_kdc): look at the type of the session key
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7104 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-03 20:42:22 +00:00
Assar Westerlund
4bd83e662f (krb5_enctypes_compatible_keys): spell correctly
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7099 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-03 20:03:14 +00:00
Assar Westerlund
1ec163460b (krb5_compare_creds): fix spelling of krb5_enctypes_compatible_keys
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7098 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-03 20:02:55 +00:00
Assar Westerlund
839720a680 (krb524_convert_creds_kdc): get new credentials from the KDC if the
existing one doesn't have a DES session key.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7097 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-03 20:00:27 +00:00
Johan Danielsson
5766d52355 make krb5_akf_ops const
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7074 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-03 14:46:57 +00:00
Johan Danielsson
46c33ed736 make krb5_mkt_ops const
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7073 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-03 14:45:54 +00:00
Johan Danielsson
6bd5e351bf make krb5_fkt_ops const
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7072 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-10-03 14:45:25 +00:00
Assar Westerlund
04f50d1e48 rewritten to allow error messages
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7066 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-09-30 23:05:45 +00:00
Assar Westerlund
3992f65bce (bin_PROGRAMS): add verify_krb5_conf
(libkrb5_la_SOURCES): add config_file_netinfo.c


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7065 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-09-30 23:05:11 +00:00
Assar Westerlund
873d6f4b29 new file
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7064 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-09-30 23:04:14 +00:00
Assar Westerlund
6b4615e2cb moved netinfo code here
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7063 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-09-30 23:03:42 +00:00
Assar Westerlund
f9120155fd (krb5_verify_user_lrealm): ariant of krb5_verify_user that tries in
all the local realms


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7049 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-09-28 02:27:44 +00:00
Assar Westerlund
341016232c add support for having several default realms
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7048 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-09-28 02:27:16 +00:00
Assar Westerlund
0d3b242182 (krb5_kuserok): use `krb5_get_default_realms'
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7047 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-09-28 02:26:39 +00:00
Assar Westerlund
5d57e42b58 (krb5_get_default_realms): add
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7046 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-09-28 02:25:54 +00:00
Assar Westerlund
3a8440d7db comment
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7045 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-09-28 02:25:35 +00:00
Assar Westerlund
2beb2f683e (krb5_context_data): change default_realm' to default_realms'
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7044 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-09-28 02:25:23 +00:00
Assar Westerlund
a72c74fb27 change from default_realm' to default_realms'
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7043 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-09-28 02:25:00 +00:00
Assar Westerlund
a0e3050071 (krb5_aname_to_localname): use krb5_get_default_realms
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7042 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-09-28 02:24:23 +00:00
Assar Westerlund
c879d60934 (libkrb5_la_SOURCES): add copy_host_realm.c
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7041 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-09-28 02:23:55 +00:00
Assar Westerlund
27df2aab25 new file
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7040 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-09-28 02:23:18 +00:00
Johan Danielsson
eb9b5533bf new function `krb5_recvauth_match_version' that allows more
intelligent matching of the application version


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@7036 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-09-27 12:17:35 +00:00
Assar Westerlund
d3f5d79294 strc{py,at}_truncate -> strlc{py,at}
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6985 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-09-16 21:39:11 +00:00
Assar Westerlund
f64c1278fa (krb5_get_init_creds_password): return KRB5_LIBOS_PWDINTR when interrupted
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6970 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-09-14 21:53:18 +00:00
Assar Westerlund
bcd030454c (krb5_password_key_proc): check return value from des_read_pw_string
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6969 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-09-14 21:50:02 +00:00
Assar Westerlund
d66db0b648 (get_cell_and_realm): only remove the newline if it's there
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6962 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-09-14 15:42:45 +00:00
Assar Westerlund
056c01b6a5 (krb5_cksumtype): comment out CKSUMTYPE_SHA1
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6945 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-09-12 21:02:31 +00:00
Assar Westerlund
38149d931c (O_BINARY): add fallback definition
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6943 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-09-12 20:51:03 +00:00
Assar Westerlund
e3edda4721 (krb5_context_data): add keytab types
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6942 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-09-12 20:50:43 +00:00
Assar Westerlund
c5b93f2925 remove O_BINARY
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6941 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-09-12 20:49:28 +00:00
Assar Westerlund
21eec7e0bc new file
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6940 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-09-12 20:48:50 +00:00
Assar Westerlund
451d70f0af move the list of keytab types to the context
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6939 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-09-12 20:46:31 +00:00
Assar Westerlund
2535b393d3 (init_context_from_config_file): register all standard cache and
keytab types
(krb5_free_context): free `kt_types'


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6938 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-09-12 20:45:35 +00:00
Assar Westerlund
d184e76ce8 (krb5_cc_resolve): move the registration of the standard types of
credential caches to context


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6937 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-09-12 20:44:40 +00:00
Assar Westerlund
789de1490a (libkrb5_la_SOURCES): add keytab_keyfile.c
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6936 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-09-12 20:42:25 +00:00
Assar Westerlund
535b8fb29f add comments and clean-up
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6932 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-09-10 20:36:06 +00:00
Assar Westerlund
f4925c3153 new file
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6929 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-09-10 19:58:18 +00:00
Assar Westerlund
0c2ada5f9e (krb5_kt_cursor): add a `data' field
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6928 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-09-10 19:57:59 +00:00
Assar Westerlund
7bbcb6a8ed add keytab_krb4.c
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6927 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-09-10 19:57:39 +00:00
Assar Westerlund
b66ae18014 add krb4 and correct some if's
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6926 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-09-10 19:57:18 +00:00
Assar Westerlund
6cd4eeba99 (krb5_fkt_ops, krb5_mkt_ops): new variables
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6924 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-09-10 16:24:37 +00:00
Assar Westerlund
18c0b71eb1 move out file and memory functions
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6923 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-09-10 16:24:21 +00:00
Assar Westerlund
1abb8a77d0 (libkrb5_la_SOURCES): add keytab_file.c, keytab_memory.c
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6922 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-09-10 16:24:03 +00:00
Assar Westerlund
e70e38085d new files
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6921 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-09-10 16:22:50 +00:00
Assar Westerlund
86b8927e82 (krb524_convert_creds_kdc): check return value from `krb5_sendto_kdc'
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6903 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-09-07 02:04:57 +00:00
Assar Westerlund
7e382bccde (send_and_recv): rename to recv_loop and remove the sending of data.
add a parameter `limit'.  let callers send the date themselves (and
preferably with net_write on tcp sockets)
(send_and_recv_tcp): read first the length field and then only that
many bytes


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6902 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-09-06 13:57:12 +00:00
Assar Westerlund
747be76abf (send_and_recv): handle EINTR properly. return on EOF. always free
data.  check return value from realloc.
(send_and_recv_tcp, send_and_recv_http): check advertised length
against actual length


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6896 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-09-05 17:14:06 +00:00