Commit Graph

3332 Commits

Author SHA1 Message Date
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
Björn Groenvall
b59b7d272e Although Cray's may want to have their #:s double quoted other machines don't.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6933 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-09-12 17:23:13 +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
89e4ffd144 *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6915 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-09-10 10:21:13 +00:00
Assar Westerlund
867ebdec52 password quality checking functions
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6912 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-09-10 10:19:28 +00:00
Assar Westerlund
df26baa39c (kadm5_setup_passwd_quality_check,kadm5_check_password_quality): add
prototypes


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6911 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-09-10 10:18:54 +00:00
Assar Westerlund
b8e4dd0c87 (S_SOURCES): add password_quality.c
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6910 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-09-10 10:18:23 +00:00
Assar Westerlund
f776ee158e sample password quality checker moved here from ../../kpasswd
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6909 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-09-10 10:11:03 +00:00
Assar Westerlund
ec2ad9e149 (libhdb_la_SOURCES): add keytab.c. From Love <lha@e.kth.se>
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6904 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-09-07 02:18:12 +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
Johan Danielsson
687ee5906c x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6887 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-30 10:54:44 +00:00
Johan Danielsson
cc4fc0d381 link with res_search/dn_expand libraries
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6886 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-27 11:32:43 +00:00
Johan Danielsson
4cb8288a25 add dump_config
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6882 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-27 09:06:17 +00:00
Johan Danielsson
e0a403da20 print contents of krb5.conf
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6881 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-27 09:06:03 +00:00
Johan Danielsson
5196926ac0 (rr13): handle zero length bit strings
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6880 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-27 09:03:41 +00:00
Johan Danielsson
92c4c345c6 krb5_get_all_server_addrs shouldn't return extra addresses
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6879 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-27 09:02:23 +00:00
Johan Danielsson
5ac5a33197 (krb5_append_addresses): remove duplicates
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6876 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-27 08:26:49 +00:00
Johan Danielsson
c1f10df5f7 (hdb_get_entry): give some more useful return codes
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6874 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-26 13:24:05 +00:00
Johan Danielsson
819529b1c0 hdb_kt_ops
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6872 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-26 13:08:16 +00:00
Johan Danielsson
799b01fd88 HDB keytab backend
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6871 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-26 13:07:30 +00:00
Johan Danielsson
74efd057cb (krb5_kt_{start_seq_get,next_entry,end_seq_get}): check for NULL
pointer


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6869 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-25 21:10:10 +00:00
Johan Danielsson
77899b77db add OPNOTSUPP
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6868 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-25 20:49:17 +00:00
Assar Westerlund
8a0a53244b (IN6_ADDR_V6_TO_V4): use `s6_addr' instead of the non-standard
`s6_addr32'.  From Yoshinobu Inoue <shin@kame.net> by way of the KAME
repository


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6860 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-23 21:05:37 +00:00
Assar Westerlund
2b961fe97f (hdb_set_master_key): don't call des_set_random_generator_seed
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6857 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-21 12:42:26 +00:00
Assar Westerlund
00498d48e2 (etypes): remove NEW_DES3_CODE, enable des3-cbc-sha1 and keep
old-des3-cbc-sha1 for backwards compatability


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6834 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-18 19:33:31 +00:00
Assar Westerlund
927defabec (krb5_enctype): des3-cbc-sha1 (with key derivation) just got assigned
etype 16 by <bcn@isi.edu>.  keep the old etype at 7.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6833 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-18 19:32:02 +00:00
Assar Westerlund
365486cd15 *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6830 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-16 12:50:22 +00:00
Assar Westerlund
dc2265338a (krb5_sendauth): only look at errno if krb5_net_read actually returns
-1


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6829 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-16 12:46:52 +00:00
Assar Westerlund
5381567d9b (krb5_recvauth): only look at errno if krb5_net_read actually returns
-1


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6828 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-16 12:46:22 +00:00
Assar Westerlund
f5cb31ea9d ifdef away
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6824 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-16 12:42:40 +00:00
Johan Danielsson
517b8fee56 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6823 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-16 12:29:19 +00:00
Johan Danielsson
f0140254c2 protect from db-less systems
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6822 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-16 12:29:14 +00:00
Johan Danielsson
a8ecc8b4f5 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6816 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-14 19:59:58 +00:00
Johan Danielsson
d5fb7c51c7 (crypt_md5): don't use snprintf
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6815 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-14 19:59:54 +00:00
Assar Westerlund
5d2796564b unsigned char makes everything better
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6814 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-13 17:38:38 +00:00
Assar Westerlund
b4ff1ca26f *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6812 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-13 03:48:31 +00:00
Assar Westerlund
1a13864869 add md5crypt_test
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6811 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-08-13 03:48:15 +00:00