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
0d22dfad5f
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24943 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-25 15:37:08 +00:00
Love Hörnquist Åstrand
f4f623e7d8
comment on what to add
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24942 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-25 15:36:58 +00:00
Love Hörnquist Åstrand
033c14110f
simplify
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24941 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-25 15:36:47 +00:00
Love Hörnquist Åstrand
3aa4a14ef3
move generation of session key to preauth hook.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24940 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-25 15:36:36 +00:00
Love Hörnquist Åstrand
eb32e1f0ff
add generation of session key here
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24939 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-25 15:36:26 +00:00
Love Hörnquist Åstrand
26c1af7c93
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24938 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-25 15:36:14 +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
72f134d145
add change-defaults
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24934 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-25 15:35:31 +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
bfa631b1cb
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24927 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-22 17:24:46 +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
1747257c60
don't set j to 0, since it never read again
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24924 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-22 17:24:15 +00:00
Love Hörnquist Åstrand
54d8d8504c
Freeglob is not read again, just free.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24923 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-22 17:24:05 +00:00
Love Hörnquist Åstrand
7665dbc0be
openlog failed, exit
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24922 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-22 17:23:54 +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
Love Hörnquist Åstrand
38c844cbaa
return instad of break out to return
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24916 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-22 17:22:50 +00:00
Love Hörnquist Åstrand
bc8666ab5a
nkeys not used any more, don't increment
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24915 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-22 17:22:40 +00:00
Love Hörnquist Åstrand
cf5cc3cb81
argc/argv not used, don't increment
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24914 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-22 17:22:30 +00:00
Love Hörnquist Åstrand
1ba2a45b7b
ep not use, don't increment
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24913 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-22 17:22:20 +00:00
Love Hörnquist Åstrand
736d3d7e03
argc not use, don't increment
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24912 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-22 17:22:10 +00:00
Love Hörnquist Åstrand
4fbab16b41
If data == NULL, not store the config.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24911 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-22 17:22:00 +00:00
Love Hörnquist Åstrand
83595c6202
Add support for setting and getting kdc offset
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24910 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-22 17:21:50 +00:00
Love Hörnquist Åstrand
3bbe9c48e1
Adapt to time skew in KRB-ERROR.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24909 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-22 17:21:40 +00:00
Love Hörnquist Åstrand
6e8a595828
Try adapt to timeskrew when we are using pre-auth, and if there was a
...
time skew, try again.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24908 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-22 17:21:29 +00:00
Love Hörnquist Åstrand
07ab75b5f9
added newline
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24907 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-22 17:21:19 +00:00
Love Hörnquist Åstrand
43ce9bdc01
first draft of gss_store_cred
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24906 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-22 17:21:08 +00:00
Love Hörnquist Åstrand
52878d9adb
add store_cred
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24905 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-22 17:20:57 +00:00
Love Hörnquist Åstrand
d6a0a48ce7
add hdb_keyset
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24904 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-22 17:20:47 +00:00
Love Hörnquist Åstrand
95f39b1cc0
add hdb_keyset and opaque
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24903 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-22 17:20:37 +00:00
Love Hörnquist Åstrand
d6fcbc45f9
spelling
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24902 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-22 17:20:28 +00:00
Love Hörnquist Åstrand
164c99a4b4
Do locking around file descriptor, this allows caching of the file
...
descriptor in the module.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24901 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-22 17:20:18 +00:00
Love Hörnquist Åstrand
59e499f32f
Prefer /dev/random on MacOS since it's always there and have good performance.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24900 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-22 17:20:07 +00:00
Love Hörnquist Åstrand
5cdbc62e05
include 524 if not smaller
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24899 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-22 17:19:57 +00:00
Love Hörnquist Åstrand
7beaa0b4f7
disable 425 functions and include 524 if not smaller
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24898 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-22 17:19:47 +00:00
Love Hörnquist Åstrand
99196c113e
dns: switch to rk types, prefix types with rk_
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24897 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-22 17:19:36 +00:00
Love Hörnquist Åstrand
b7db794723
provide glue for classes too
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24896 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-22 17:19:26 +00:00
Love Hörnquist Åstrand
9697d2a91c
stop using Bind4 types
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@24895 ec53bebd-3082-4978-b11e-865c3cabbd6b
2009-03-22 17:19:15 +00:00