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
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
*/