-
Notifications
You must be signed in to change notification settings - Fork 6
/
BindResponse.h
99 lines (86 loc) · 3.2 KB
/
BindResponse.h
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
/*
* Generated by asn1c-0.9.23 (http://lionet.info/asn1c)
* From ASN.1 module "Lightweight-Directory-Access-Protocol-V3"
* found in "Lightweight-Directory-Access-Protocol-V3.asn1"
* `asn1c -fcompound-names`
*/
#ifndef _BindResponse_H_
#define _BindResponse_H_
#include <asn_application.h>
/* Including external dependencies */
#include <ENUMERATED.h>
#include "LDAPDN.h"
#include "LDAPString.h"
#include <OCTET_STRING.h>
#include <constr_SEQUENCE.h>
#ifdef __cplusplus
extern "C" {
#endif
/* Dependencies */
typedef enum BindResponse__resultCode {
BindResponse__resultCode_success = 0,
BindResponse__resultCode_operationsError = 1,
BindResponse__resultCode_protocolError = 2,
BindResponse__resultCode_timeLimitExceeded = 3,
BindResponse__resultCode_sizeLimitExceeded = 4,
BindResponse__resultCode_compareFalse = 5,
BindResponse__resultCode_compareTrue = 6,
BindResponse__resultCode_authMethodNotSupported = 7,
BindResponse__resultCode_strongerAuthRequired = 8,
BindResponse__resultCode_referral = 10,
BindResponse__resultCode_adminLimitExceeded = 11,
BindResponse__resultCode_unavailableCriticalExtension = 12,
BindResponse__resultCode_confidentialityRequired = 13,
BindResponse__resultCode_saslBindInProgress = 14,
BindResponse__resultCode_noSuchAttribute = 16,
BindResponse__resultCode_undefinedAttributeType = 17,
BindResponse__resultCode_inappropriateMatching = 18,
BindResponse__resultCode_constraintViolation = 19,
BindResponse__resultCode_attributeOrValueExists = 20,
BindResponse__resultCode_invalidAttributeSyntax = 21,
BindResponse__resultCode_noSuchObject = 32,
BindResponse__resultCode_aliasProblem = 33,
BindResponse__resultCode_invalidDNSyntax = 34,
BindResponse__resultCode_aliasDereferencingProblem = 36,
BindResponse__resultCode_inappropriateAuthentication = 48,
BindResponse__resultCode_invalidCredentials = 49,
BindResponse__resultCode_insufficientAccessRights = 50,
BindResponse__resultCode_busy = 51,
BindResponse__resultCode_unavailable = 52,
BindResponse__resultCode_unwillingToPerform = 53,
BindResponse__resultCode_loopDetect = 54,
BindResponse__resultCode_namingViolation = 64,
BindResponse__resultCode_objectClassViolation = 65,
BindResponse__resultCode_notAllowedOnNonLeaf = 66,
BindResponse__resultCode_notAllowedOnRDN = 67,
BindResponse__resultCode_entryAlreadyExists = 68,
BindResponse__resultCode_objectClassModsProhibited = 69,
BindResponse__resultCode_affectsMultipleDSAs = 71,
BindResponse__resultCode_other = 80
} e_BindResponse__resultCode;
/* Forward declarations */
struct Referral;
/* BindResponse */
typedef struct BindResponse {
ENUMERATED_t resultCode;
LDAPDN_t matchedDN;
LDAPString_t diagnosticMessage;
struct Referral *referral /* OPTIONAL */;
OCTET_STRING_t *serverSaslCreds /* OPTIONAL */;
/*
* This type is extensible,
* possible extensions are below.
*/
/* Context for parsing across buffer boundaries */
asn_struct_ctx_t _asn_ctx;
} BindResponse_t;
/* Implementation */
/* extern asn_TYPE_descriptor_t asn_DEF_resultCode_2; // (Use -fall-defs-global to expose) */
extern asn_TYPE_descriptor_t asn_DEF_BindResponse;
#ifdef __cplusplus
}
#endif
/* Referred external types */
#include "Referral.h"
#endif /* _BindResponse_H_ */
#include <asn_internal.h>