#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 . ' /********************************************************************************/ ' Summaries: ' Enum auth_stat ' ' ' ' ' ' ' ' /********************************************************************************/ #End Region Imports System Namespace Rpc.MessageProtocol ''' ''' Cause of authentication failed ''' http://tools.ietf.org/html/rfc5531#section-9 ''' Public Enum auth_stat As Integer ''' ''' success ''' AUTH_OK = 0 ''' ''' failed at remote end - bad credential (seal broken) ''' AUTH_BADCRED = 1 ''' ''' failed at remote end - client must begin new session ''' AUTH_REJECTEDCRED = 2 ''' ''' failed at remote end - bad verifier (seal broken) ''' AUTH_BADVERF = 3 ''' ''' failed at remote end - verifier expired or replayed ''' AUTH_REJECTEDVERF = 4 ''' ''' failed at remote end - rejected for security reasons ''' AUTH_TOOWEAK = 5 ''' ''' failed locally - bogus response verifier ''' AUTH_INVALIDRESP = 6 ''' ''' failed locally - reason unknown ''' AUTH_FAILED = 7 ''' ''' kerberos generic error ''' AUTH_KERB_GENERIC = 8 ''' ''' time of credential expired ''' AUTH_TIMEEXPIRE = 9 ''' ''' problem with ticket file ''' AUTH_TKT_FILE = 10 ''' ''' can't decode authenticator ''' AUTH_DECODE = 11 ''' ''' wrong net address in ticket ''' AUTH_NET_ADDR = 12 ''' ''' GSS related errors - no credentials for user ''' RPCSEC_GSS_CREDPROBLEM = 13 ''' ''' GSS related errors - problem with context ''' RPCSEC_GSS_CTXPROBLEM = 14 End Enum End Namespace