Love Hörnquist Åstrand
|
2abf5f2292
|
test remove
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22834 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2008-04-07 11:47:58 +00:00 |
|
Love Hörnquist Åstrand
|
e7cc54f22b
|
Support delete credential.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22833 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2008-04-07 11:47:53 +00:00 |
|
Love Hörnquist Åstrand
|
fd298c28c9
|
Make the remove cred slight more atomic, now it might lose creds, but
there will be no empty cache at any time.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22832 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2008-04-07 11:47:49 +00:00 |
|
Love Hörnquist Åstrand
|
9ec27909a6
|
Implement temporary table for interation of caches too.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22831 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2008-04-07 11:47:46 +00:00 |
|
Love Hörnquist Åstrand
|
ed493c86ae
|
Do credential iteration by temporary table.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22829 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2008-04-07 11:47:38 +00:00 |
|
Love Hörnquist Åstrand
|
5cb55b4baf
|
Make default cache work.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22828 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2008-04-07 11:47:34 +00:00 |
|
Love Hörnquist Åstrand
|
d18af98b63
|
Search backward for :, make sample name not include :
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22827 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2008-04-07 11:47:30 +00:00 |
|
Love Hörnquist Åstrand
|
cdadd5e9ce
|
first try to get the default cache code right
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22826 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2008-04-07 11:47:26 +00:00 |
|
Love Hörnquist Åstrand
|
972ea571f3
|
Translate ccErrInvalidCCache.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22824 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2008-04-07 11:47:18 +00:00 |
|
Love Hörnquist Åstrand
|
dcc5363304
|
no test_init_vs_destroy for API: cache, more tests
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22823 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2008-04-07 11:47:12 +00:00 |
|
Love Hörnquist Åstrand
|
4fa7c09faf
|
Make it pass most of the tests.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22822 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2008-04-07 11:47:07 +00:00 |
|
Love Hörnquist Åstrand
|
3a907b327a
|
test acc and scc
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22820 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2008-04-07 11:46:58 +00:00 |
|
Love Hörnquist Åstrand
|
2e62b79c07
|
Only release context if its in use.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22818 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2008-04-07 11:46:51 +00:00 |
|
Love Hörnquist Åstrand
|
7b897bbaa6
|
Implement cache iteration and clean up modue.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22817 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2008-04-07 11:46:46 +00:00 |
|
Love Hörnquist Åstrand
|
aac08b6b46
|
Implement destroy.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22816 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2008-04-07 11:46:42 +00:00 |
|
Love Hörnquist Åstrand
|
8475d4d2a2
|
Make somewhat more working...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22815 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2008-04-07 11:46:37 +00:00 |
|
Love Hörnquist Åstrand
|
fce1b56ca5
|
Make compile.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22814 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2008-04-07 11:46:33 +00:00 |
|
Love Hörnquist Åstrand
|
703c3751ec
|
Make the cache less broken, not working yet.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22813 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2008-04-07 11:46:28 +00:00 |
|
Love Hörnquist Åstrand
|
6bd01e43fa
|
export SCACHE cc ops.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22812 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2008-04-07 11:46:23 +00:00 |
|
Love Hörnquist Åstrand
|
846471a408
|
register SCACHE.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22811 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2008-04-07 11:46:02 +00:00 |
|
Love Hörnquist Åstrand
|
ebc0843032
|
add libsqlite.al
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22810 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2008-04-07 11:45:55 +00:00 |
|
Love Hörnquist Åstrand
|
cf28ed384b
|
Add scache.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22808 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2008-04-07 11:45:42 +00:00 |
|
Love Hörnquist Åstrand
|
f942098565
|
First implementation.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22804 ec53bebd-3082-4978-b11e-865c3cabbd6b
|
2008-04-07 11:45:23 +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
|
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
|
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
|
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 |
|