From: Danilo Almeida Date: Thu, 20 Jul 2000 06:07:34 +0000 (+0000) Subject: * memcache.c: Add krb_in_tkt() function to initialize ticket for a X-Git-Tag: krb5-1.3-alpha1~1966 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=87980c32495c28957873abda692e5df288eaaa05;p=krb5.git * memcache.c: Add krb_in_tkt() function to initialize ticket for a given principal. It is like in_tkt() but it is public and also takes a realm for credentials caches that require a full principal name (e.g., CCAPI). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12574 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/krb4/ChangeLog b/src/lib/krb4/ChangeLog index e2f10196f..65719dedd 100644 --- a/src/lib/krb4/ChangeLog +++ b/src/lib/krb4/ChangeLog @@ -1,3 +1,10 @@ +2000-07-20 Danilo Almeida + + * memcache.c: Add krb_in_tkt() function to initialize ticket for a + given principal. It is like in_tkt() but it is public and also + takes a realm for credentials caches that require a full + principal name (e.g., CCAPI). + 2000-07-19 Danilo Almeida * in_tkt.c: Add krb_in_tkt() function to initialize ticket for a diff --git a/src/lib/krb4/memcache.c b/src/lib/krb4/memcache.c index a7eccc809..9d7950497 100644 --- a/src/lib/krb4/memcache.c +++ b/src/lib/krb4/memcache.c @@ -279,6 +279,15 @@ in_tkt(pname,pinst) } +KRB5_DLLIMP int KRB5_CALLCONV +krb_in_tkt(pname, pinst, prealm) + char *pname; + char *pinst; + char *prealm; +{ + return in_tkt(pname, pinst); +} + /* * dest_tkt() is used to destroy the ticket store upon logout. * If the ticket file does not exist, dest_tkt() returns RET_TKFIL.