You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
135 lines
3.6 KiB
135 lines
3.6 KiB
#Region "Microsoft.VisualBasic::7b7a6d0f37de156391c6a901fbf48847, Rpc\MessageProtocol\auth_stat.vb"
|
|
|
|
' Author:
|
|
'
|
|
' asuka (amethyst.asuka@gcmodeller.org)
|
|
' xie (genetics@smrucc.org)
|
|
' xieguigang (xie.guigang@live.com)
|
|
'
|
|
' Copyright (c) 2018 GPL3 Licensed
|
|
'
|
|
'
|
|
' GNU GENERAL PUBLIC LICENSE (GPL3)
|
|
'
|
|
'
|
|
' This program is free software: you can redistribute it and/or modify
|
|
' it under the terms of the GNU General Public License as published by
|
|
' the Free Software Foundation, either version 3 of the License, or
|
|
' (at your option) any later version.
|
|
'
|
|
' This program is distributed in the hope that it will be useful,
|
|
' but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
' GNU General Public License for more details.
|
|
'
|
|
' You should have received a copy of the GNU General Public License
|
|
' along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
|
|
|
' /********************************************************************************/
|
|
|
|
' Summaries:
|
|
|
|
' Enum auth_stat
|
|
'
|
|
'
|
|
'
|
|
'
|
|
'
|
|
'
|
|
'
|
|
' /********************************************************************************/
|
|
|
|
#End Region
|
|
|
|
Imports System
|
|
|
|
Namespace Rpc.MessageProtocol
|
|
''' <summary>
|
|
''' Cause of authentication failed
|
|
''' http://tools.ietf.org/html/rfc5531#section-9
|
|
''' </summary>
|
|
Public Enum auth_stat As Integer
|
|
''' <summary>
|
|
''' success
|
|
''' </summary>
|
|
AUTH_OK = 0
|
|
|
|
''' <summary>
|
|
''' failed at remote end - bad credential (seal broken)
|
|
''' </summary>
|
|
AUTH_BADCRED = 1
|
|
|
|
''' <summary>
|
|
''' failed at remote end - client must begin new session
|
|
''' </summary>
|
|
AUTH_REJECTEDCRED = 2
|
|
|
|
''' <summary>
|
|
''' failed at remote end - bad verifier (seal broken)
|
|
''' </summary>
|
|
AUTH_BADVERF = 3
|
|
|
|
''' <summary>
|
|
''' failed at remote end - verifier expired or replayed
|
|
''' </summary>
|
|
AUTH_REJECTEDVERF = 4
|
|
|
|
''' <summary>
|
|
''' failed at remote end - rejected for security reasons
|
|
''' </summary>
|
|
AUTH_TOOWEAK = 5
|
|
|
|
''' <summary>
|
|
''' failed locally - bogus response verifier
|
|
''' </summary>
|
|
AUTH_INVALIDRESP = 6
|
|
|
|
''' <summary>
|
|
''' failed locally - reason unknown
|
|
''' </summary>
|
|
AUTH_FAILED = 7
|
|
|
|
''' <summary>
|
|
''' kerberos generic error
|
|
''' </summary>
|
|
<Obsolete("http://tools.ietf.org/html/rfc2695")>
|
|
AUTH_KERB_GENERIC = 8
|
|
|
|
''' <summary>
|
|
''' time of credential expired
|
|
''' </summary>
|
|
<Obsolete("http://tools.ietf.org/html/rfc2695")>
|
|
AUTH_TIMEEXPIRE = 9
|
|
|
|
''' <summary>
|
|
''' problem with ticket file
|
|
''' </summary>
|
|
<Obsolete("http://tools.ietf.org/html/rfc2695")>
|
|
AUTH_TKT_FILE = 10
|
|
|
|
''' <summary>
|
|
''' can't decode authenticator
|
|
''' </summary>
|
|
<Obsolete("http://tools.ietf.org/html/rfc2695")>
|
|
AUTH_DECODE = 11
|
|
|
|
''' <summary>
|
|
''' wrong net address in ticket
|
|
''' </summary>
|
|
<Obsolete("http://tools.ietf.org/html/rfc2695")>
|
|
AUTH_NET_ADDR = 12
|
|
|
|
''' <summary>
|
|
''' GSS related errors - no credentials for user
|
|
''' </summary>
|
|
RPCSEC_GSS_CREDPROBLEM = 13
|
|
|
|
''' <summary>
|
|
''' GSS related errors - problem with context
|
|
''' </summary>
|
|
RPCSEC_GSS_CTXPROBLEM = 14
|
|
End Enum
|
|
End Namespace
|