Do not generate LDAP's ASN.1 code when compiling ejabberd.

We need ASN.1 codec to decode messages into binaries, so we
fixed generated ELDAPv3.erl. A better solution is needed to be found.
This commit is contained in:
Evgeniy Khramtsov 2013-06-22 03:18:38 +10:00
parent 109ed1a8b1
commit a3354f5dc4
4 changed files with 3417 additions and 0 deletions

include/ELDAPv3.hrl Normal file
View File

@ -0,0 +1,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
messageID, protocolOp, controls = asn1_NOVALUE}).
attributeDesc, assertionValue}).
type, vals}).
resultCode, matchedDN, errorMessage, referral = asn1_NOVALUE}).
controlType, criticality = asn1_DEFAULT, controlValue = asn1_NOVALUE}).
version, name, authentication}).
mechanism, credentials = asn1_NOVALUE}).
resultCode, matchedDN, errorMessage, referral = asn1_NOVALUE, serverSaslCreds = asn1_NOVALUE}).
baseObject, scope, derefAliases, sizeLimit, timeLimit, typesOnly, filter, attributes}).
type, substrings}).
matchingRule = asn1_NOVALUE, type = asn1_NOVALUE, matchValue, dnAttributes = asn1_DEFAULT}).
objectName, attributes}).
type, vals}).
object, modification}).
operation, modification}).
type, vals}).
entry, attributes}).
type, vals}).
entry, newrdn, deleteoldrdn, newSuperior = asn1_NOVALUE}).
entry, ava}).
requestName, requestValue = asn1_NOVALUE}).
resultCode, matchedDN, errorMessage, referral = asn1_NOVALUE, responseName = asn1_NOVALUE, response = asn1_NOVALUE}).
userIdentity = asn1_NOVALUE, oldPasswd = asn1_NOVALUE, newPasswd = asn1_NOVALUE}).
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]).

src/ELDAPv3.asn1db Normal file

Binary file not shown.

src/ELDAPv3.erl Normal file

File diff suppressed because it is too large Load Diff