From: Theodore Tso Date: Sat, 26 Sep 1998 02:34:56 +0000 (+0000) Subject: We shouldn't try to use the CCache API on Unix systems. (The maze of X-Git-Tag: krb5-1.1-beta1~532 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=1dfed1c1bd2801ea34005c320612ad6130f4759c;p=krb5.git We shouldn't try to use the CCache API on Unix systems. (The maze of #ifdef's was confusing.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10939 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/krb5/os/ChangeLog b/src/lib/krb5/os/ChangeLog index 48beadbf8..0ee4a7192 100644 --- a/src/lib/krb5/os/ChangeLog +++ b/src/lib/krb5/os/ChangeLog @@ -1,3 +1,8 @@ +Fri Sep 25 22:32:16 1998 Theodore Y. Ts'o + + * ccdefname.c: We shouldn't try to use the CCache API on Unix + systems. (The maze of #ifdef's was confusing.) + Tue Sep 1 15:44:11 1998 Theodore Y. Ts'o * ccdefname.c (krb5_cc_default_name): Changed the PC version to diff --git a/src/lib/krb5/os/ccdefname.c b/src/lib/krb5/os/ccdefname.c index 0f90135ac..d782f94be 100644 --- a/src/lib/krb5/os/ccdefname.c +++ b/src/lib/krb5/os/ccdefname.c @@ -152,8 +152,8 @@ krb5_cc_default_name(context) #endif } #else - sprintf(name_buf, "API:default_cache_name"); - //sprintf(name_buf, "FILE:/tmp/krb5cc_%d", getuid()); + /* Default for Unix systems */ + sprintf(name_buf, "FILE:/tmp/krb5cc_%d", getuid()); #endif #endif name = name_buf;