mirror of
https://git.openafs.org/openafs.git
synced 2025-01-19 15:30:14 +00:00
darwin: minimal afsbackgrounder ticket fix
avoid the "default" API since it's broken. this will at least prompt for tickets. Change-Id: Iee566d5f5502b7dce900d833f5711038c984cf37 Reviewed-on: http://gerrit.openafs.org/5408 Tested-by: BuildBot <buildbot@rampaginggeek.com> Reviewed-by: Derrick Brashear <shadow@dementix.org>
This commit is contained in:
parent
8d939c08f6
commit
11b6f9f003
@ -24,6 +24,7 @@
|
||||
@throw [NSException exceptionWithName:@"Krb5Util"
|
||||
reason:@"getNewTicketIfNotPresent"
|
||||
userInfo:nil];
|
||||
#if !(defined(MAC_OS_X_VERSION_10_7) && (MAC_OS_X_VERSION_MAX_ALLOWED > MAC_OS_X_VERSION_10_6))
|
||||
else {
|
||||
KLLifetime valuel;
|
||||
KLSize sizel = sizeof (valuel);
|
||||
@ -72,7 +73,7 @@
|
||||
kstatus = KLLoginOptionsSetAddressless
|
||||
(inLoginOptions, value);
|
||||
}
|
||||
|
||||
#endif
|
||||
if (kstatus == noErr)
|
||||
kstatus = KLAcquireNewInitialTickets(nil,
|
||||
inLoginOptions,
|
||||
|
Loading…
Reference in New Issue
Block a user