aboutsummaryrefslogtreecommitdiff
path: root/include/ELDAPv3.hrl
blob: 41d698cfcc8851f7c1094fc562bb8d3442be029d (plain) (blame)
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
%% Generated by the Erlang ASN.1 compiler version:2.0.1
%% Purpose: Erlang record definitions for each named and unnamed
%% SEQUENCE and SET, and macro definitions for each value
%% definition,in module ELDAPv3



-record('LDAPMessage',{
messageID, protocolOp, controls = asn1_NOVALUE}).

-record('AttributeValueAssertion',{
attributeDesc, assertionValue}).

-record('Attribute',{
type, vals}).

-record('LDAPResult',{
resultCode, matchedDN, errorMessage, referral = asn1_NOVALUE}).

-record('Control',{
controlType, criticality = asn1_DEFAULT, controlValue = asn1_NOVALUE}).

-record('BindRequest',{
version, name, authentication}).

-record('SaslCredentials',{
mechanism, credentials = asn1_NOVALUE}).

-record('BindResponse',{
resultCode, matchedDN, errorMessage, referral = asn1_NOVALUE, serverSaslCreds = asn1_NOVALUE}).

-record('SearchRequest',{
baseObject, scope, derefAliases, sizeLimit, timeLimit, typesOnly, filter, attributes}).

-record('SubstringFilter',{
type, substrings}).

-record('MatchingRuleAssertion',{
matchingRule = asn1_NOVALUE, type = asn1_NOVALUE, matchValue, dnAttributes = asn1_DEFAULT}).

-record('SearchResultEntry',{
objectName, attributes}).

-record('PartialAttributeList_SEQOF',{
type, vals}).

-record('ModifyRequest',{
object, modification}).

-record('ModifyRequest_modification_SEQOF',{
operation, modification}).

-record('AttributeTypeAndValues',{
type, vals}).

-record('AddRequest',{
entry, attributes}).

-record('AttributeList_SEQOF',{
type, vals}).

-record('ModifyDNRequest',{
entry, newrdn, deleteoldrdn, newSuperior = asn1_NOVALUE}).

-record('CompareRequest',{
entry, ava}).

-record('ExtendedRequest',{
requestName, requestValue = asn1_NOVALUE}).

-record('ExtendedResponse',{
resultCode, matchedDN, errorMessage, referral = asn1_NOVALUE, responseName = asn1_NOVALUE, response = asn1_NOVALUE}).

-record('PasswdModifyRequestValue',{
userIdentity = asn1_NOVALUE, oldPasswd = asn1_NOVALUE, newPasswd = asn1_NOVALUE}).

-record('PasswdModifyResponseValue',{
genPasswd = asn1_NOVALUE}).

-define('maxInt', 2147483647).
-define('passwdModifyOID', [49,46,51,46,54,46,49,46,52,46,49,46,52,50,48,51,46,49,46,49,49,46,49]).