From 44e7d1447f48e7d2758c18604c40dbc15a0273a4 Mon Sep 17 00:00:00 2001 From: Miro Jurisic Date: Tue, 16 Mar 1999 18:21:58 +0000 Subject: [PATCH] Fixed krb5globals __initialize to use existing default cache instead of creatinga new one; upped to b11 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11294 dc483132-0cff-0310-8789-dd5450dbe970 --- src/mac/Release notes | 4 +++- src/mac/libraries/Kerberos v5 Globals/Krb5Globals.CFM.c | 6 ++++-- src/mac/version.r | 6 +++--- 3 files changed, 10 insertions(+), 6 deletions(-) diff --git a/src/mac/Release notes b/src/mac/Release notes index 8f2e73769..a6cd5f1ae 100644 --- a/src/mac/Release notes +++ b/src/mac/Release notes @@ -46,4 +46,6 @@ Changes in 1.1a3: 1.1b10 Exported krb5 and gss interfaces to set cache name - \ No newline at end of file + +1.1b11 + Fixed krb5 globals lib to use existing default cache instead of creating a new one \ No newline at end of file diff --git a/src/mac/libraries/Kerberos v5 Globals/Krb5Globals.CFM.c b/src/mac/libraries/Kerberos v5 Globals/Krb5Globals.CFM.c index 7bed7f1ab..923863d15 100644 --- a/src/mac/libraries/Kerberos v5 Globals/Krb5Globals.CFM.c +++ b/src/mac/libraries/Kerberos v5 Globals/Krb5Globals.CFM.c @@ -87,8 +87,10 @@ __initialize_Kerberos5GlobalsLib ( if (ccErr != CC_NOERROR) return memFullErr; - gKerberos5GlobalsRefCount++; - err = Krb5GlobalsSetUniqueDefaultCacheName (); + gKerberos5GlobalsRefCount++; + if (gKerberos5SystemDefaultCacheName == nil) + err = Krb5GlobalsSetUniqueDefaultCacheName (); + return err; } diff --git a/src/mac/version.r b/src/mac/version.r index 58bb509da..52b92627e 100644 --- a/src/mac/version.r +++ b/src/mac/version.r @@ -7,10 +7,10 @@ #endif resource 'vers' (1) { - 0x01, 0x10, beta, 0x10, + 0x01, 0x10, beta, 0x11, verUS, - "1.1b10", - "1.1b10, Copyright 1996-1999 Massachusetts Institute of Technology" + "1.1b11", + "1.1b11, Copyright 1996-1999 Massachusetts Institute of Technology" }; resource 'vers' (2) { -- 2.26.2