Commit Graph

11720 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
97b31c3d2d document -v, --verbose
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11591 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-01-16 19:10:55 +00:00
Love Hörnquist Åstrand
925e4bc27d x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11590 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-01-16 19:03:46 +00:00
Love Hörnquist Åstrand
8d721d0bb4 (kt_get): make getarg usage consistent with other other parts of ktutil
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11589 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-01-16 19:03:23 +00:00
Love Hörnquist Åstrand
22e0de2087 (kt_copy): remove adding verbose_flag to args struct, since it will
overrun the args array (from Sumit Bose)


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11588 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-01-16 18:59:03 +00:00
Love Hörnquist Åstrand
c3ba9c00a7 *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11587 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-01-15 05:01:56 +00:00
Love Hörnquist Åstrand
6644351873 *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11586 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-01-15 04:37:10 +00:00
Love Hörnquist Åstrand
1c9d1873ae write more about [realms] REALM = { kdc = ... }
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11585 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-01-15 04:36:40 +00:00
Love Hörnquist Åstrand
5d66fae756 add aes-test.c
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11584 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-01-15 04:26:29 +00:00
Love Hörnquist Åstrand
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.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11583 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-01-15 04:24:05 +00:00
Love Hörnquist Åstrand
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


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11582 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-01-15 03:54:51 +00:00
Love Hörnquist Åstrand
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


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11581 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-01-15 03:26:46 +00:00
Love Hörnquist Åstrand
078600e67d soon replaced draft
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11580 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-01-15 03:16:20 +00:00
Love Hörnquist Åstrand
0924412e58 add checksum and enctype for AES from draft-raeburn-krb-rijndael-krb-02.txt
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11579 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-01-15 03:13:47 +00:00
Love Hörnquist Åstrand
0c14ee0c21 (krb5_keytype): add KEYTYPE_AES128, KEYTYPE_AES256
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11578 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-01-15 03:12:13 +00:00
Love Hörnquist Åstrand
04f52bfc79 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11577 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-01-14 07:10:19 +00:00
Love Hörnquist Åstrand
d943f8b219 (_hdb_fetch): handle error code from hdb_value2entry
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11576 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-01-14 06:54:32 +00:00
Love Hörnquist Åstrand
a2806e6536 *** empty log message ***
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11575 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-01-14 05:47:24 +00:00
Love Hörnquist Åstrand
2d078d467a always include kerberos4.c and 524.c in kdc_SOURCES to support 524
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11574 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-01-14 05:47:06 +00:00
Love Hörnquist Åstrand
ec1a8d0763 always compile in support for 524
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11573 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-01-14 05:45:11 +00:00
Love Hörnquist Åstrand
ccdf3df70e move out krb/524 protos from under #ifdef KRB4
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11572 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-01-14 05:44:38 +00:00
Love Hörnquist Åstrand
146162e8c5 export encode_v4_ticket() and get_des_key() even when we build without
kerberos 4, 524 needs them


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11571 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-01-14 05:36:34 +00:00
Love Hörnquist Åstrand
eef39a201d Split out Kerberos 4 help functions/structures so other parts of the
source tree can use it (like the KDC)


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11570 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-01-14 05:22:35 +00:00
Jacques A. Vidrine
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.

NOTE: OpenSSL 0.9.7 currently has a bug that breaks des_read_pw_string,
so we can't really use it yet.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11569 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-01-12 18:54:46 +00:00
Johan Danielsson
6b00957c10 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11568 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-01-02 15:32:56 +00:00
Johan Danielsson
139a3ada5e considerable clean up
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11567 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-01-02 15:32:50 +00:00
Johan Danielsson
f8ad3be608 make VERSIONLIST a string instead of an array of strings
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11566 ec53bebd-3082-4978-b11e-865c3cabbd6b
2003-01-02 15:31:38 +00:00
Johan Danielsson
047e9bb741 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11565 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-12-19 13:31:16 +00:00
Johan Danielsson
4b2a8a83d2 free allocated storage; reported by Howard Chu
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11564 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-12-19 13:30:36 +00:00
Johan Danielsson
049ae555d0 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11563 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-12-18 17:34:42 +00:00
Johan Danielsson
73675329ab res_nsearch takes 6 parameters; spotted by Howard Chu
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11562 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-12-18 17:34:25 +00:00
Johan Danielsson
5b0d95688c x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11561 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-12-11 15:00:51 +00:00
Johan Danielsson
9c64357fd7 (connect_host): pass size of thisaddr_ss to getsockname
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11560 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-12-11 15:00:42 +00:00
Johan Danielsson
a2434c987d remove old encrypt_v4_ticket prototype
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11559 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-12-08 18:27:40 +00:00
Johan Danielsson
7f955379c6 (get_response): print a newline if interrupted
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11558 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-12-03 14:14:51 +00:00
Johan Danielsson
3deaf3a146 (mod_entry): check return value from edit_entry
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11557 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-12-03 14:12:30 +00:00
Johan Danielsson
4fcac6e9be (add_one_principal): check return value from edit_entry
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11556 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-12-03 14:11:24 +00:00
Johan Danielsson
5807150c8b (add_one_principal): don't continue if create_principal fails
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11555 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-12-03 14:10:30 +00:00
Johan Danielsson
0949f5042e check return value from edit_deltat
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11554 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-12-03 14:08:17 +00:00
Johan Danielsson
99b7bcc31d add --help
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11553 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-12-03 14:04:50 +00:00
Johan Danielsson
c90799e68b x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11552 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-12-02 14:32:07 +00:00
Johan Danielsson
d021221027 (doit): initialise sa_size to size of sockaddr_storage
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11551 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-12-02 14:31:52 +00:00
Johan Danielsson
bcfd1e0ca0 (init_socket): initialise sa_size to size of sockaddr_storage
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11550 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-12-02 14:31:01 +00:00
Johan Danielsson
5889b5c09f x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11549 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-11-26 17:42:38 +00:00
Johan Danielsson
9960ddd14e remove plural form in help string
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11548 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-11-26 17:42:31 +00:00
Johan Danielsson
cc299b65fc x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11547 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-11-26 17:40:53 +00:00
Johan Danielsson
7ba7fa6824 add afslog manpage
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11546 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-11-26 17:40:48 +00:00
Johan Danielsson
777efb3f3d manpage
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11545 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-11-26 17:40:01 +00:00
Johan Danielsson
e181dcb248 try more files when trying to expand a cell name
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11544 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-11-26 17:11:58 +00:00
Johan Danielsson
83a9e52059 x
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11543 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-11-26 16:54:47 +00:00
Johan Danielsson
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.


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@11542 ec53bebd-3082-4978-b11e-865c3cabbd6b
2002-11-26 16:54:36 +00:00