Map NT_STATUS_INVALID_PARAMETER to most likely error cause: clock skew

When we get NT_STATUS_INVALID_PARAMETER in response to establish
DCE RPC pipe with Kerberos, the most likely reason is clock skew.
Suggest that it is so in the error message.

https://fedorahosted.org/freeipa/ticket/4024
This commit is contained in:
Alexander Bokovoy 2013-11-12 11:36:22 +02:00 committed by Martin Kosek
parent f9a8a30b27
commit 3693b8e51a

View File

@ -82,6 +82,9 @@ dcerpc_error_codes = {
-1073741614: access_denied_error,
-1073741603:
errors.ValidationError(name=_('AD domain controller'), error=_('unsupported functional level')),
-1073741811: # NT_STATUS_INVALID_PARAMETER
errors.RemoteRetrieveError(
reason=_('AD domain controller complains about communication sequence. It may mean unsynchronized time on both sides, for example')),
}
dcerpc_error_messages = {