mirror of
https://git.openafs.org/openafs.git
synced 2025-01-19 15:30:14 +00:00
Windows: afslogon MapAuthError
return WN_NET_ERROR (ERROR_UNEXP_NET_ERR) to indicate a problem with this network provider when an error occurs instead of returning WN_NET_SUCCESS. Change-Id: Ideaab8b5043e9033adc19efa158c95415f561d0e Reviewed-on: http://gerrit.openafs.org/7629 Tested-by: BuildBot <buildbot@rampaginggeek.com> Reviewed-by: Jeffrey Altman <jaltman@your-file-system.com> Tested-by: Jeffrey Altman <jaltman@your-file-system.com>
This commit is contained in:
parent
43d53bed6f
commit
7adb93cf51
@ -226,14 +226,17 @@ DWORD MapAuthError(DWORD code)
|
||||
switch (code) {
|
||||
/* Unfortunately, returning WN_NO_NETWORK results in the MPR abandoning
|
||||
* logon scripts for all credential managers, although they will still
|
||||
* receive logon notifications. Since we don't want this, we return
|
||||
* WN_SUCCESS. This is highly undesirable, but we also don't want to
|
||||
* break other network providers.
|
||||
* receive logon notifications.
|
||||
*
|
||||
* Instead return WN_NET_ERROR (ERROR_UNEXP_NET_ERR) to indicate a
|
||||
* problem with this network.
|
||||
*/
|
||||
/* case KTC_NOCM:
|
||||
case KTC_NOCM:
|
||||
case KTC_NOCMRPC:
|
||||
return WN_NO_NETWORK; */
|
||||
default: return WN_SUCCESS;
|
||||
return WN_NET_ERROR;
|
||||
|
||||
default:
|
||||
return WN_SUCCESS;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user