MIT Information Systems

Macintosh Development


[Home] [About Us] [People] [Applications] [MIT Support Library]
[MIT Kerberos] [Mac OS X] [Developer Documentation] [Information Systems]


Kerberos v5 Globals Library API Functions
OSStatus Krb5GlobalsSetDefaultCacheName (char* inName);
Krb5GlobalsSetDefaultCacheName sets the systemwide default cache for the Kerberos 5 library to inName.

If successful, the function returns noErr. If it fails to allocate memory for the cache name, it returns memFullErr.

UInt32 Krb5GlobalsGetDefaultCacheName (char* inName, UInt32 inLength);
Krb5GlobalsGetDefaultCacheName returns the name of the current systemwide default credentials cache for the Kerberos v5 library. inName should point to at least inLength bytes of memory. Actual length of the cache name is returned.

If inName is nil, the length of the cache name is returned.

OSStatus Krb5GlobalsSetUniqueDefaultCacheName ();
Krb5GlobalsSetUniqueDefaultCacheName sets the systemwide default credentials cache name for Kerberos v5 library to a unique string (i.e., one that is not the name of any of the existing credentials caches).

If successful, the function returns noErr. If it fails to allocate memory for the cache name, it returns memFullErr.

UInt32 Krb5GlobalsGetDefaultCacheNameModification ();
Krb5GlobalsGetDefaultCacheNameModification returns modification counter for the systemwide default credentials cache name for the Kerberos v5 library. If result of two calls to Krb5GlobalsGetDefaultCacheNameModification is different, the default cache name has changed between them.


Questions or comments? Send mail to macdev@mit.edu
Last updated on $Date: 1999/09/14 16:24:51 $
Last modified by $Author: meeroh $