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
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
0968e71694
Try searchin the key by to use by first looking for for PK-INIT
...
EKU, then the Microsoft smart card EKU and last, no special EKU at all.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22673 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-10 15:00:05 +00:00
Love Hörnquist Åstrand
aff5c9adc4
Create a new credential cache is ->get_name is called, make
...
acc_initialize() reset the existing credential cache if needed.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22669 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-09 23:39:25 +00:00
Love Hörnquist Åstrand
32809668a9
(acc_get_name): just return the cache_name directly instead of trying
...
to resolve it.
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22667 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-03-09 23:08:32 +00:00
Love Hörnquist Åstrand
9ab98baf5b
(krb5_add_et_list): doxygen.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22603 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-02-21 18:44:57 +00:00
Love Hörnquist Åstrand
c06fcf7329
Remove extra ;, From Dennis Davis.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22575 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-02-05 20:33:12 +00:00
Love Hörnquist Åstrand
ad1bddbf1d
Make compile on-pre c99 compilers. From Dennis Davis.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22574 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-02-05 20:31:55 +00:00
Love Hörnquist Åstrand
8a85ac3736
libkrb5_la_LIBADD: depend on libwind.la
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22563 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-02-03 17:39:10 +00:00
Love Hörnquist Åstrand
69c1f4ee7b
Use libwind.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22562 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-02-03 17:38:35 +00:00
Love Hörnquist Åstrand
0fe3af6d65
doxygenify
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22550 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-01-29 09:38:39 +00:00
Love Hörnquist Åstrand
52d38ed2ad
doxygenify
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22549 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-01-29 09:37:25 +00:00
Love Hörnquist Åstrand
ce8c0da847
doxygen-ify
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22548 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-01-29 09:19:27 +00:00
Love Hörnquist Åstrand
f911165af9
update (c)
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22546 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-01-29 08:59:32 +00:00
Love Hörnquist Åstrand
318a685f57
break out fileformat to a separate page.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22544 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-01-29 08:51:45 +00:00
Love Hörnquist Åstrand
73921a33d9
Add introtext.
...
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@22541 ec53bebd-3082-4978-b11e-865c3cabbd6b
2008-01-29 08:46:05 +00:00