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