925e4bc27d
x
Love Hörnquist Åstrand
2003-01-16 19:03:46 +00:00
8d721d0bb4
(kt_get): make getarg usage consistent with other other parts of ktutil
Love Hörnquist Åstrand
2003-01-16 19:03:23 +00:00
22e0de2087
(kt_copy): remove adding verbose_flag to args struct, since it will overrun the args array (from Sumit Bose)
Love Hörnquist Åstrand
2003-01-16 18:59:03 +00:00
1c9d1873ae
write more about [realms] REALM = { kdc = ... }
Love Hörnquist Åstrand
2003-01-15 04:36:40 +00:00
5d66fae756
add aes-test.c
Love Hörnquist Åstrand
2003-01-15 04:26:29 +00:00
7a2c854c80
Add support for AES (draft-raeburn-krb-rijndael-krb-02), not enabled by default. (HMAC_SHA1_DES3_checksum): rename to SP_HMAC_SHA1_checksum and modify to support checksumtype that are have a shorter wireformat then their output block size.
Love Hörnquist Åstrand
2003-01-15 04:24:05 +00:00
1f6debd562
(struct encryption_type): split the blocksize into blocksize and padsize, padsize is the minimum padding size. they are the same for now (enctype_*): add padsize (encrypt_internal): use padsize (encrypt_internal_derived): use padsize (wrapped_length): use padsize (wrapped_length_dervied): use padsize
Love Hörnquist Åstrand
2003-01-15 03:54:51 +00:00
e96bdba80d
add extra opaque' argument to string_to_key function for each enctype in preparation enctypes that uses Encryption and Checksum Specifications for Kerberos 5' draft
Love Hörnquist Åstrand
2003-01-15 03:26:46 +00:00
078600e67d
soon replaced draft
Love Hörnquist Åstrand
2003-01-15 03:16:20 +00:00
0924412e58
add checksum and enctype for AES from draft-raeburn-krb-rijndael-krb-02.txt
Love Hörnquist Åstrand
2003-01-15 03:13:47 +00:00
2d078d467a
always include kerberos4.c and 524.c in kdc_SOURCES to support 524
Love Hörnquist Åstrand
2003-01-14 05:47:06 +00:00
ec1a8d0763
always compile in support for 524
Love Hörnquist Åstrand
2003-01-14 05:45:11 +00:00
ccdf3df70e
move out krb/524 protos from under #ifdef KRB4
Love Hörnquist Åstrand
2003-01-14 05:44:38 +00:00
146162e8c5
export encode_v4_ticket() and get_des_key() even when we build without kerberos 4, 524 needs them
Love Hörnquist Åstrand
2003-01-14 05:36:34 +00:00
eef39a201d
Split out Kerberos 4 help functions/structures so other parts of the source tree can use it (like the KDC)
Love Hörnquist Åstrand
2003-01-14 05:22:35 +00:00
3ff0ae6bfe
We need to define OPENSSL_DES_LIBDES_COMPATIBILITY in order to use OpenSSL 0.9.7. It does no harm to define it for earlier versions.
Jacques A. Vidrine
2003-01-12 18:54:46 +00:00
6b00957c10
x
Johan Danielsson
2003-01-02 15:32:56 +00:00
139a3ada5e
considerable clean up
Johan Danielsson
2003-01-02 15:32:50 +00:00
f8ad3be608
make VERSIONLIST a string instead of an array of strings
Johan Danielsson
2003-01-02 15:31:38 +00:00
047e9bb741
x
Johan Danielsson
2002-12-19 13:31:16 +00:00
4b2a8a83d2
free allocated storage; reported by Howard Chu
Johan Danielsson
2002-12-19 13:30:36 +00:00
049ae555d0
x
Johan Danielsson
2002-12-18 17:34:42 +00:00
73675329ab
res_nsearch takes 6 parameters; spotted by Howard Chu
Johan Danielsson
2002-12-18 17:34:25 +00:00
5b0d95688c
x
Johan Danielsson
2002-12-11 15:00:51 +00:00
9c64357fd7
(connect_host): pass size of thisaddr_ss to getsockname
Johan Danielsson
2002-12-11 15:00:42 +00:00
a2434c987d
remove old encrypt_v4_ticket prototype
Johan Danielsson
2002-12-08 18:27:40 +00:00
7f955379c6
(get_response): print a newline if interrupted
Johan Danielsson
2002-12-03 14:14:51 +00:00
3deaf3a146
(mod_entry): check return value from edit_entry
Johan Danielsson
2002-12-03 14:12:30 +00:00
4fcac6e9be
(add_one_principal): check return value from edit_entry
Johan Danielsson
2002-12-03 14:11:24 +00:00
5807150c8b
(add_one_principal): don't continue if create_principal fails
Johan Danielsson
2002-12-03 14:10:30 +00:00
0949f5042e
check return value from edit_deltat
Johan Danielsson
2002-12-03 14:08:17 +00:00
99b7bcc31d
add --help
Johan Danielsson
2002-12-03 14:04:50 +00:00
c90799e68b
x
Johan Danielsson
2002-12-02 14:32:07 +00:00
d021221027
(doit): initialise sa_size to size of sockaddr_storage
Johan Danielsson
2002-12-02 14:31:52 +00:00
bcfd1e0ca0
(init_socket): initialise sa_size to size of sockaddr_storage
Johan Danielsson
2002-12-02 14:31:01 +00:00
5889b5c09f
x
Johan Danielsson
2002-11-26 17:42:38 +00:00
9960ddd14e
remove plural form in help string
Johan Danielsson
2002-11-26 17:42:31 +00:00
cc299b65fc
x
Johan Danielsson
2002-11-26 17:40:53 +00:00
7ba7fa6824
add afslog manpage
Johan Danielsson
2002-11-26 17:40:48 +00:00
777efb3f3d
manpage
Johan Danielsson
2002-11-26 17:40:01 +00:00
e181dcb248
try more files when trying to expand a cell name
Johan Danielsson
2002-11-26 17:11:58 +00:00
83a9e52059
x
Johan Danielsson
2002-11-26 16:54:47 +00:00
d14590bb8b
create a list of cells to get tokens for, before actually doing anything, and try to get tokens via krb4 if krb5 fails, and give it a chance to work with krb4-only; also some bug fixes, partially from Tomas Olsson.
Johan Danielsson
2002-11-26 16:54:36 +00:00
7c739c25a2
x
Johan Danielsson
2002-11-22 15:07:40 +00:00
b00559f3da
clarify -x and kerberos 5
Johan Danielsson
2002-11-22 15:05:23 +00:00
d0ec42bfdf
remove trailing comma in enum
Johan Danielsson
2002-11-15 14:16:42 +00:00
669fa4d24c
implement crude b2 style (non-)conversion for use with afs
Johan Danielsson
2002-11-07 10:07:55 +00:00
fa0524600b
move encrypt_v4_ticket to 524.c, since that's where it's used
Johan Danielsson
2002-11-07 10:05:23 +00:00
66f643bf70
x
Johan Danielsson
2002-11-01 12:36:22 +00:00
5ca65b1c73
bump COMMAND_SZ to NCARGS+1
Johan Danielsson
2002-11-01 12:36:03 +00:00
14d8cdb894
check return value from gssapi_krb5_init
Johan Danielsson
2002-10-31 16:06:35 +00:00
2f7a5f8aae
x
Johan Danielsson
2002-10-31 16:06:29 +00:00
c70d871a1b
(gssapi_krb5_verify_8003_checksum): check size of input
Johan Danielsson
2002-10-31 14:38:49 +00:00
820be02837
speling (from Tomas Olsson)
Johan Danielsson
2002-10-29 10:33:23 +00:00
5158baef17
speling
Johan Danielsson
2002-10-29 10:32:44 +00:00
365c472f26
x
Johan Danielsson
2002-10-29 09:47:58 +00:00
a40d984a8c
reinstate -n flag (from Torbjörn Granlund)
Johan Danielsson
2002-10-29 09:47:51 +00:00
f5f6c6ac68
x
Johan Danielsson
2002-10-25 18:37:52 +00:00
c1f77c3cd6
do a better job at matching headers to libraries
Johan Danielsson
2002-10-25 18:37:42 +00:00
03917e91a0
(decode_packet): check the length of the version string and that rlen has a reasonable value
Assar Westerlund
2002-10-23 06:20:26 +00:00
d0f1b9e464
x
Johan Danielsson
2002-10-21 15:52:06 +00:00
1c74114ff4
(from Derrick Brashear): Propagating a large database without this means the slave kdcs can get erroneous HDB_NOENTRY and return the resulting errors. This creates a new db handle, populates it, and moves it into place.
Johan Danielsson
2002-10-21 15:51:44 +00:00
27cc22110f
more strcspn
Johan Danielsson
2002-10-21 15:42:06 +00:00
5ee773037f
(emem_store): limit how much we allocate (from Olaf Kirch)
Johan Danielsson
2002-10-21 15:36:23 +00:00
cf87a976ce
don't allow trailing backslashes in components
Johan Danielsson
2002-10-21 15:30:53 +00:00
345023512b
x
Johan Danielsson
2002-10-21 15:13:09 +00:00
6dc8410423
check that %-quotes are followed by two hex digits
Johan Danielsson
2002-10-21 15:12:59 +00:00
b411502ebe
properly close the open keytabs (from Larry Greenfield)
Johan Danielsson
2002-10-21 13:36:59 +00:00
fed79b33b9
add option to disable kerberos 4 kadmin
Johan Danielsson
2002-10-21 13:21:24 +00:00
34f20b4fef
x
Johan Danielsson
2002-10-21 12:59:59 +00:00
73f54b2e7f
make sure life is positive (from John Godehn)
Johan Danielsson
2002-10-21 12:59:41 +00:00
f4421e9152
x
Johan Danielsson
2002-10-21 12:40:57 +00:00
d38d9a490c
check size of rlen
Johan Danielsson
2002-10-21 12:35:07 +00:00
90ae3b7af8
x
Johan Danielsson
2002-10-17 12:00:03 +00:00
f8c722fc0d
(display_tokens): allow tokens up to size of buffer (from Magnus Holmberg)
Johan Danielsson
2002-10-17 11:59:51 +00:00
926dfea5a0
x
Johan Danielsson
2002-10-16 16:24:32 +00:00
5948f454c6
fix parsing of epsv ports (from Love)
Johan Danielsson
2002-10-16 15:46:43 +00:00
c39b674c7c
x
Johan Danielsson
2002-10-16 14:44:03 +00:00
5da8d732fb
more quoting
Johan Danielsson
2002-10-16 14:42:13 +00:00
f4c03bdee8
x
Johan Danielsson
2002-10-15 16:50:05 +00:00
c0a3a2220c
some ipv6 support (from Love)
Johan Danielsson
2002-10-15 16:48:46 +00:00
c9a930b1c7
x
Johan Danielsson
2002-10-15 15:20:47 +00:00
82a11004de
check length of txt records
Johan Danielsson
2002-10-15 15:20:40 +00:00
0585bb4a1f
x
Johan Danielsson
2002-09-29 11:48:53 +00:00
77c4778b71
(process_reply): fix reply length check calculation (reported by various people)
Johan Danielsson
2002-09-29 11:48:34 +00:00
2cf4b93b21
x
Johan Danielsson
2002-09-24 16:43:38 +00:00
242db364ce
(fkt_remove_entry): check return value from start_seq_get (from Wynn Wilkes)
Johan Danielsson
2002-09-24 16:43:30 +00:00
549c2f9d5f
also try to use the session key (if this is really correct is beyond me, RFC2942 in unclear on this point)
Johan Danielsson
2002-09-20 14:37:46 +00:00
d0f02062c7
(kerberos5_is): check that the subkey is non-NULL
Johan Danielsson
2002-09-20 14:12:57 +00:00
77b977bd7d
x
Johan Danielsson
2002-09-19 19:50:05 +00:00
89a75e551c
(krb5_set_config_files): return ENXIO instead of ENOENT when "unconfigured"
Johan Danielsson
2002-09-19 19:49:52 +00:00
42b2d71b55
x
Johan Danielsson
2002-09-19 19:29:50 +00:00
dfb7c49d51
check the processed string for closing ), not the source
Johan Danielsson
2002-09-19 19:29:42 +00:00