diff options
author | Kevin Wasserman <kevin.wasserman@painless-security.com> | 2012-07-16 11:48:55 -0400 |
---|---|---|
committer | Ben Kaduk <kaduk@mit.edu> | 2012-08-24 12:23:11 -0400 |
commit | c654e9c7436cdd57cb61c0bd29b26c79e3675a01 (patch) | |
tree | cdfd1b87b407ddd2a4e867c178b4de08c6e69a4b /src/lib/krb5/ccache/cc_mslsa.c | |
parent | 8020c64554dd25a4f09df8a28dca924c6ecb5608 (diff) | |
download | krb5-c654e9c7436cdd57cb61c0bd29b26c79e3675a01.tar.gz krb5-c654e9c7436cdd57cb61c0bd29b26c79e3675a01.tar.xz krb5-c654e9c7436cdd57cb61c0bd29b26c79e3675a01.zip |
Set fCachesTicket=TRUE when no credentials
It is not really clear this is correct, but neither was the
previous behavior.
Signed-off-by: Kevin Wasserman <kevin.wasserman@painless-security.com>
ticket: 7255 (new)
queue: kfw
target_version: 1.10.4
tags: pullup
Diffstat (limited to 'src/lib/krb5/ccache/cc_mslsa.c')
-rw-r--r-- | src/lib/krb5/ccache/cc_mslsa.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/lib/krb5/ccache/cc_mslsa.c b/src/lib/krb5/ccache/cc_mslsa.c index f25658ebf..39d78e78e 100644 --- a/src/lib/krb5/ccache/cc_mslsa.c +++ b/src/lib/krb5/ccache/cc_mslsa.c @@ -655,7 +655,8 @@ does_retrieve_ticket_cache_ticket (void) LsaDeregisterLogonProcess(LogonHandle); if (FAILED(Status) || FAILED(SubStatus)) { - if ( SubStatus == STATUS_NOT_SUPPORTED ) + if (SubStatus == STATUS_NOT_SUPPORTED || + SubStatus == SEC_E_NO_CREDENTIALS) /* The combination of the two CacheOption flags * is not supported; therefore, the new flag is supported */ |