-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathresultcode.go
60 lines (57 loc) · 2.41 KB
/
resultcode.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
package ldap
// LDAP Result Codes
type ResultCode uint8
// go:generate stringer -type=ResultCode
const (
ResultSuccess ResultCode = 0
ResultOperationsError ResultCode = 1
ResultProtocolError ResultCode = 2
ResultTimeLimitExceeded ResultCode = 3
ResultSizeLimitExceeded ResultCode = 4
ResultCompareFalse ResultCode = 5
ResultCompareTrue ResultCode = 6
ResultAuthMethodNotSupported ResultCode = 7
ResultStrongAuthRequired ResultCode = 8
ResultReferral ResultCode = 10
ResultAdminLimitExceeded ResultCode = 11
ResultUnavailableCriticalExtension ResultCode = 12
ResultConfidentialityRequired ResultCode = 13
ResultSaslBindInProgress ResultCode = 14
ResultNoSuchAttribute ResultCode = 16
ResultUndefinedAttributeType ResultCode = 17
ResultInappropriateMatching ResultCode = 18
ResultConstraintViolation ResultCode = 19
ResultAttributeOrValueExists ResultCode = 20
ResultInvalidAttributeSyntax ResultCode = 21
ResultNoSuchObject ResultCode = 32
ResultAliasProblem ResultCode = 33
ResultInvalidDNSyntax ResultCode = 34
ResultAliasDereferencingProblem ResultCode = 36
ResultInappropriateAuthentication ResultCode = 48
ResultInvalidCredentials ResultCode = 49
ResultInsufficientAccessRights ResultCode = 50
ResultBusy ResultCode = 51
ResultUnavailable ResultCode = 52
ResultUnwillingToPerform ResultCode = 53
ResultLoopDetect ResultCode = 54
ResultNamingViolation ResultCode = 64
ResultObjectClassViolation ResultCode = 65
ResultNotAllowedOnNonLeaf ResultCode = 66
ResultNotAllowedOnRDN ResultCode = 67
ResultEntryAlreadyExists ResultCode = 68
ResultObjectClassModsProhibited ResultCode = 69
ResultAffectsMultipleDSAs ResultCode = 71
ResultOther ResultCode = 80
ErrorNetwork = 201
ErrorFilterCompile = 202
ErrorFilterDecompile = 203
ErrorDebugging = 204
ErrorEncoding = 205
ErrorDecoding = 206
ErrorMissingControl = 207
ErrorInvalidArgument = 208
ErrorLDIFRead = 209
ErrorLDIFWrite = 210
ErrorClosing = 211
ErrorUnknown = 212
)