summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorKevin Wasserman <kevin.wasserman@painless-security.com>2012-05-06 15:14:46 -0400
committerSam Hartman <hartmans@mit.edu>2012-07-11 22:36:12 -0400
commit80097093062822dde3f1140d250023576e52f59c (patch)
tree9e78d8c0c1aafb4a4997a61f9e833266f8ca8f7e /src/include
parent2648a94ea1cf3dec91186dfec59b75de9dac793d (diff)
downloadkrb5-80097093062822dde3f1140d250023576e52f59c.tar.gz
krb5-80097093062822dde3f1140d250023576e52f59c.tar.xz
krb5-80097093062822dde3f1140d250023576e52f59c.zip
Add krb5int_cc_user_set_default_name
Set the default credential cache name for all processes for the current user. Currently implemented, for windows only, by setting HKEY_CURRENT_USER\Software\MIT\Kerberos5:ccname to the specified ccache name. This will not override the environment variable 'KRB5CCNAME'. It will override HKEY_LOCAL_MACHINE and 'indirect' registry values. Signed-off-by: Kevin Wasserman <kevin.wasserman@painless-security.com> ticket: 7199 (new) tags: pullup
Diffstat (limited to 'src/include')
-rw-r--r--src/include/k5-int.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/include/k5-int.h b/src/include/k5-int.h
index c426acad9..6948bad0d 100644
--- a/src/include/k5-int.h
+++ b/src/include/k5-int.h
@@ -2188,6 +2188,9 @@ typedef struct _krb5_donot_replay {
krb5_timestamp ctime;
} krb5_donot_replay;
+krb5_error_code KRB5_CALLCONV
+krb5int_cc_user_set_default_name(krb5_context context, const char *name);
+
krb5_error_code krb5_rc_default(krb5_context, krb5_rcache *);
krb5_error_code krb5_rc_resolve_type(krb5_context, krb5_rcache *,char *);
krb5_error_code krb5_rc_resolve_full(krb5_context, krb5_rcache *,char *);