Commit Graph

13525 Commits

Author SHA1 Message Date
Love Hörnquist Åstrand
6ef65df975 make better conditional for v4_name_convert
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24978 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-28 18:26:01 +00:00
Love Hörnquist Åstrand
1a488a85b7 doxygen
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24977 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-28 17:08:57 +00:00
Love Hörnquist Åstrand
597f9dbdfa make module private functions static
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24976 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-28 17:08:46 +00:00
Love Hörnquist Åstrand
f90c2b8194 don't use hdb_dbc.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24974 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-28 17:08:21 +00:00
Love Hörnquist Åstrand
7cbcadcb21 document
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24973 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-28 17:08:10 +00:00
Love Hörnquist Åstrand
037366a584 document part of hdb.h
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24972 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-28 17:07:58 +00:00
Love Hörnquist Åstrand
8bb6609db6 unexport more internal symbols
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24971 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-28 17:07:42 +00:00
Love Hörnquist Åstrand
a5ee0ef10f unexport hdb_db_create
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24970 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-28 17:07:29 +00:00
Love Hörnquist Åstrand
03e7b2d3a5 add timeout to krb5_send_to_kdc_func, from metze
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24969 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-27 15:01:47 +00:00
Love Hörnquist Åstrand
e7b7dfaae6 add timeout to krb5_send_to_kdc_func, from metze
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24968 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-27 15:01:35 +00:00
Love Hörnquist Åstrand
f4b101544a buildfix on irix, from metze
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24967 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-27 15:01:23 +00:00
Love Hörnquist Åstrand
c3866bd220 add encode_hdb_keyset and length_hdb_keyset
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24966 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-27 14:57:54 +00:00
Love Hörnquist Åstrand
b56096178b add gss_wrap_iov_length and gss_release_iov_buffer
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24965 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-27 14:57:42 +00:00
Love Hörnquist Åstrand
9f90a1b3b6 pull back name_convert array since its used by krb5_524_conv_principal
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24964 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-27 14:56:01 +00:00
Love Hörnquist Åstrand
b347f67b02 use res_ for platforms w/o dns_
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24963 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-27 14:55:46 +00:00
Love Hörnquist Åstrand
3221f51f1c document flags
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24962 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-26 23:12:57 +00:00
Love Hörnquist Åstrand
85c9cf9a76 add allow weak crypto flag
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24961 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-26 23:12:45 +00:00
Love Hörnquist Åstrand
f7a8d0bc32 add allow weak crypto flag
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24960 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-26 23:12:35 +00:00
Love Hörnquist Åstrand
7c796daa23 add allow weak crypto flag
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24959 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-26 23:12:24 +00:00
Love Hörnquist Åstrand
c4c71cc41a switch to sha256
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24958 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-26 23:12:13 +00:00
Love Hörnquist Åstrand
8c81cd83cc switch to sha256
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24957 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-26 23:12:02 +00:00
Love Hörnquist Åstrand
7ffd243eed switch to sha256
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24956 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-26 23:11:48 +00:00
Love Hörnquist Åstrand
f0d769cccb set new filename
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24955 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-26 01:40:44 +00:00
Love Hörnquist Åstrand
27f682668f fix printf
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24954 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-26 01:40:34 +00:00
Love Hörnquist Åstrand
95ab53d314 unlock mutex instead of lock twice
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24953 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-26 01:40:19 +00:00
Love Hörnquist Åstrand
c4892701a6 make homedir work
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24952 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-26 01:09:43 +00:00
Love Hörnquist Åstrand
f6de1a0ed0 make compile (missing implementation)
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24951 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-25 23:29:56 +00:00
Love Hörnquist Åstrand
9ba2b611ef add KRB5_KU_PA_PKINIT_KX
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24950 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-25 15:38:36 +00:00
Love Hörnquist Åstrand
47023f94ff add test_hdbkeys
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24949 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-25 15:38:25 +00:00
Love Hörnquist Åstrand
ad63429ea0 Code to print hdb_keysets.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24948 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-25 15:38:14 +00:00
Love Hörnquist Åstrand
ae945b27d7 Use calloc().
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24947 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-25 15:38:04 +00:00
Love Hörnquist Åstrand
f0616af047 Use blocksize instead of 16.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24946 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-25 15:37:53 +00:00
Love Hörnquist Åstrand
f1a7da6a55 Patch from Riverbed (Derrick Pallas) under the license of the files they are in:
memory leak in krb5_get_creds_opt->ticket

	The function krb5_get_creds_opt_set_ticket copies a Ticket
	into a krb5_get_cred_opt structure. However,
	krb5_get_creds_opt_free does not clean up this Ticket, even
	thought he manual pages indicate that it should.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24945 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-25 15:37:42 +00:00
Love Hörnquist Åstrand
5e4d827e61 Patch from Riverbed (Derrick Pallas) under the license of the files they are in:
Fix resource leak in heimdal/krb5/fcache/fcc_remove_cred
	In fcache, fcc_remove_cred generates a ccache called
	"newfile," which is not cleaned up if the final call
	(krb5_cc_move) fails.

Free of uninitialized value in fcache/fcc_move(...)
	If init_fcc fails to acquire a file handle, sp will be
	uninitialized. If this is the case, the call to
	krb5_storage_free will dereference this uninitialized value,
	which causes undefined behaviour.

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24944 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-25 15:37:21 +00:00
Love Hörnquist Åstrand
ab2a36de97 Add KRB5_CTX_F_HOMEDIR_ACCESS.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24937 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-25 15:36:03 +00:00
Love Hörnquist Åstrand
3f00119ea6 Add krb5_set_home_dir_access.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24936 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-25 15:35:53 +00:00
Love Hörnquist Åstrand
240a220f87 Expand ~ to $HOME or pw_dir.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24935 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-25 15:35:42 +00:00
Love Hörnquist Åstrand
7fe8bc6c00 Parse ~/Library/Preferences/edu.mit.Kerberos too if running on an Apple platform.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24933 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-25 15:35:21 +00:00
Love Hörnquist Åstrand
dad321e230 add krb5_set_home_dir_access
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24932 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-25 15:35:10 +00:00
Love Hörnquist Åstrand
f030017f6f add store-cred
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24931 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-25 15:34:58 +00:00
Love Hörnquist Åstrand
ac45625cb1 basic implementation
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24930 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-25 15:34:42 +00:00
Love Hörnquist Åstrand
ad9ad11485 add store-cred
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24929 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-22 17:25:07 +00:00
Love Hörnquist Åstrand
61b8032de0 add store_cred.c
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24928 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-22 17:24:57 +00:00
Love Hörnquist Åstrand
65353f9173 update documentation
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24926 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-22 17:24:36 +00:00
Love Hörnquist Åstrand
37e726c136 wrap more EC stuff in HAVE_OPENSSL
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24925 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-22 17:24:26 +00:00
Love Hörnquist Åstrand
e2bec18571 checker warning
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24921 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-22 17:23:44 +00:00
Love Hörnquist Åstrand
8c393278a3 make compile
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24920 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-22 17:23:32 +00:00
Love Hörnquist Åstrand
6d0f8eab1d make compile
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24919 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-22 17:23:20 +00:00
Love Hörnquist Åstrand
6bff91ac85 qop_state is not used any more, remove
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24918 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-22 17:23:10 +00:00
Love Hörnquist Åstrand
2bd838c5ac ops is not used any more, remove
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24917 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-22 17:23:00 +00:00