Commit Graph

6791 Commits

Author SHA1 Message Date
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
f0e33ca291 *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6935 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-09-12 20:32:27 +00:00
Assar Westerlund
60e1f685c5 revert back awk test, not worked around in roken.awk
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6934 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-09-12 20:32:16 +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
3f82f4faf1 *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6931 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-09-10 20:06:07 +00:00
Assar Westerlund
b288f8b8f6 add `ktutil copy'
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6930 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-09-10 20:01:57 +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
ab374023d2 (srvconv): move common code
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6925 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-09-10 16:49:11 +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
880e8ad0a7 *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6920 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-09-10 14:13:04 +00:00
Assar Westerlund
608c73311d *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6919 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-09-10 13:10:43 +00:00
Assar Westerlund
031dacdae9 (init): also create `changepw/kerberos'
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6918 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-09-10 13:10:35 +00:00
Assar Westerlund
df81f93b21 *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6917 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-09-10 13:06:35 +00:00
Assar Westerlund
a753c13a19 only create you loose packets when we fail decoding and not when an
operation is not performed for some reason
(decode_packet): read the service key from the hdb
(dispatch, decode_packet): return proper error messages


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6916 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-09-10 13:06:25 +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
5e0b1e89c7 move out password quality functions
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6914 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-09-10 10:20:42 +00:00
Assar Westerlund
6702fc4ce1 (kadm_ser_cpw): add password quality functions
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6913 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-09-10 10:20:15 +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
e057a8d0fe moved to lib/kadm5
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6908 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-09-10 10:10:34 +00:00
Assar Westerlund
56f37e6a79 something about password quality assurance
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6907 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-09-07 08:46:07 +00:00
Assar Westerlund
8fe4d5ef61 *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6906 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-09-07 04:31:13 +00:00
Assar Westerlund
cf36aefd22 admin doesn't need any keytab any longer
mention kpasswdd


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6905 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-09-07 02:20:10 +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
42332d2eea *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6901 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-09-05 19:18:35 +00:00
Assar Westerlund
70daae2bd7 (ttloop): make it return 1 if interrupted by a signal, which must have
been what was meant from the beginning


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6900 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-09-05 19:16:53 +00:00
Assar Westerlund
d376fa6a08 (ttloop): update prototype
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6899 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-09-05 19:15:21 +00:00
Assar Westerlund
881cb26cc3 (telnet_spin): actually return the value from ttloop (otherwise it's
kind of bogus)


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6898 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-09-05 19:14:50 +00:00
Assar Westerlund
a702301bc9 (handle_tcp): try to print warning `TCP data of strange type' less
often


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6897 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-09-05 17:16:01 +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
Assar Westerlund
bcd4c9a351 *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6895 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-09-02 19:09:37 +00:00
Assar Westerlund
37af8f3e75 (childhandler): watch for child `wait_on_pid' to die.
(recv_conn): set `wait_on_pid' instead of looping on waitpid here
also.  This should solve the problem of kxd looping which was caused
by the signal handler getting invoked before this waitpid and reaping
the child leaving this poor loop without any child


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6894 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-09-02 19:09:25 +00:00
Johan Danielsson
bb532116f7 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6893 ec53bebd-3082-4978-b11e-865c3cabbd6b
1999-09-01 11:04:03 +00:00