Love Hörnquist Åstrand
4f875a4a85
sqlite
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22803 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-04-07 11:45:14 +00:00
Love Hörnquist Åstrand
ab73d921f4
Make the storing credential an atomic write(2) to avoid signal races,
...
bug traced by Harald Bart and Lars Malinowsky.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22792 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-26 14:43:11 +00:00
Love Hörnquist Åstrand
56663c51c4
Make erase_file() to locking too.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22789 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-25 20:56:02 +00:00
Love Hörnquist Åstrand
e9764e31f4
more verbose info.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22784 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-25 13:33:38 +00:00
Love Hörnquist Åstrand
e28ac4acd9
Test krb5_cc_move().
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22783 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-25 13:33:34 +00:00
Love Hörnquist Åstrand
adb952d840
Return KRB5_CC_NOSUPP on no kcm daemon in other end.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22782 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-25 13:33:31 +00:00
Love Hörnquist Åstrand
51feb996d3
add back k, its needed by consumers.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22781 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-25 13:33:26 +00:00
Love Hörnquist Åstrand
bdfb8e33c6
Drop unused variable krb5_kcmcache *k.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22778 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-25 12:21:00 +00:00
Love Hörnquist Åstrand
a760147457
first implementation of kcm-move-cache
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22777 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-25 12:20:55 +00:00
Love Hörnquist Åstrand
3394928100
Move _krb5_pk_copy_error() within #ifdef (from Björn Schlögl) and
...
rename to pk_copy_error
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22775 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-25 10:03:31 +00:00
Love Hörnquist Åstrand
811319445f
warnings on platforms where sig_atomic_t is not a int, from netbsd via Michael van Elst, Havard Eidnes and T K Spindler
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22773 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-24 19:13:46 +00:00
Love Hörnquist Åstrand
e46ef6c72a
Try both kdc server referral and the old client chasing mode.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22770 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-24 12:09:29 +00:00
Love Hörnquist Åstrand
2523a24965
Don't do canonicalize by default, make add_cred() sane, make loop
...
detection in credential fetching better.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22768 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-24 12:09:21 +00:00
Love Hörnquist Åstrand
20b3e07a73
Add flag EXTRACT_TICKET_AS_REQ.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22764 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-24 12:09:06 +00:00
Love Hörnquist Åstrand
fbae90e671
Tell _krb5_extract_ticket that this is an AS-REQ.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22763 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-24 12:09:02 +00:00
Love Hörnquist Åstrand
2dd8a03423
Make server referral work.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22761 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-24 12:08:55 +00:00
Love Hörnquist Åstrand
090f16f717
better error message, try to handle server referrals slightly better.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22760 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-24 12:08:51 +00:00
Love Hörnquist Åstrand
526b428c75
Make work for constrained delegation and impersonation.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22758 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-24 12:08:43 +00:00
Love Hörnquist Åstrand
5d35e96f9f
check no server referral, don't use stringent length tests since
...
encryption layer does padding for us...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22755 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-24 12:08:32 +00:00
Love Hörnquist Åstrand
967fc11320
(_krb5_principal_compare_PrincipalName): new function to compare a
...
principal to a PrincipalName.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22751 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-24 12:08:17 +00:00
Love Hörnquist Åstrand
fb540c9646
Move client referral checking to _krb5_extract_ticket().
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22749 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-24 12:08:09 +00:00
Love Hörnquist Åstrand
d3d7661043
More bits for server referral.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22748 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-24 12:08:05 +00:00
Love Hörnquist Åstrand
e1cb28d159
Make working with client referrals.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22747 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-24 12:08:01 +00:00
Love Hörnquist Åstrand
07479ebcde
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22746 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-24 12:07:57 +00:00
Love Hörnquist Åstrand
e27db7b9b4
Match name in ClientCanonicalizedNames with -10
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22745 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-24 12:07:54 +00:00
Love Hörnquist Åstrand
e33ec47aaf
Try moving referrals checking into _krb5_extract_ticket().
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22743 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-24 12:07:46 +00:00
Love Hörnquist Åstrand
940435a608
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22742 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-24 12:07:43 +00:00
Love Hörnquist Åstrand
eca9feff87
add referral-valid-until
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22741 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-24 12:07:39 +00:00
Love Hörnquist Åstrand
c3e55c1f54
Try moving referrals checking into _krb5_extract_ticket().
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22740 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-24 12:07:34 +00:00
Love Hörnquist Åstrand
1da2a3782e
Add code to check PA_ServerReferralData.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22737 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-24 12:07:22 +00:00
Love Hörnquist Åstrand
d6845ca8a4
kill trailing whitespace
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22734 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-24 12:07:09 +00:00
Love Hörnquist Åstrand
0fd74cc5e4
remove lost bits from using krb5_principal_set_realm
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22731 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-24 12:06:57 +00:00
Love Hörnquist Åstrand
3d935af61d
use krb5_principal_set_realm
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22727 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-24 12:06:42 +00:00
Love Hörnquist Åstrand
457dbdfb8b
use krb5_principal_set_realm
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22726 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-24 12:06:38 +00:00
Love Hörnquist Åstrand
ba287b247d
add krb5_principal_set_realm
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22725 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-24 12:06:34 +00:00
Love Hörnquist Åstrand
de57423148
add krb5_principal_set_realm
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22724 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-24 12:06:30 +00:00
Love Hörnquist Åstrand
a86c4ec9ab
Insecure tgs referrals.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22723 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-24 12:06:26 +00:00
Love Hörnquist Åstrand
756ead1cd9
Find_cred to try krb5_cc_retrieve_cred first, remove comment.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22719 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-24 12:06:08 +00:00
Love Hörnquist Åstrand
1e5e118bcf
Fix error message to match function called.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22718 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-24 12:06:04 +00:00
Love Hörnquist Åstrand
92e7251a36
Refactor code to flatten the call-tree.
...
Make the ticket request in the TGS-REQ inherit the address-ness of the
krbtgt if the address is not specified in the function call.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22717 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-24 12:06:00 +00:00
Love Hörnquist Åstrand
e5baf09800
Dont try key usage KRB5_KU_AP_REQ_AUTH for TGS-REQ. This drop
...
compatibility with pre 0.3d KDCs.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22714 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-24 12:05:49 +00:00
Love Hörnquist Åstrand
ecd4be81f0
set KRB5_GC_CANONICALIZE.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22710 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-24 12:05:34 +00:00
Love Hörnquist Åstrand
829360b3f6
Catch KRB5_GC_CANONICALIZE.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22708 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-24 12:05:26 +00:00
Love Hörnquist Åstrand
b9f88cce4c
first version of the tgs referrals pathcheck
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22703 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-24 12:05:02 +00:00
Love Hörnquist Åstrand
18fde62022
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22697 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-19 19:46:04 +00:00
Love Hörnquist Åstrand
3eaa53c066
Try to find unzip.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22696 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-19 19:45:49 +00:00
Love Hörnquist Åstrand
f47edf11f2
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22695 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-19 16:00:51 +00:00
Love Hörnquist Åstrand
bdcafc6d2d
Drop unused defined that originates from aes.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22694 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-19 15:58:50 +00:00
Love Hörnquist Åstrand
23895f4fb9
Check for dup aliases before overwriting, pointed out by Johanna Mannung
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22691 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-18 10:14:02 +00:00
Love Hörnquist Åstrand
3a7287955f
x
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22690 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-16 14:30:58 +00:00