Skip to content

Commit

Permalink
13.7.24
Browse files Browse the repository at this point in the history
  • Loading branch information
5HT committed Jul 24, 2023
1 parent c7807f2 commit ff8c2cc
Show file tree
Hide file tree
Showing 3 changed files with 135 additions and 2 deletions.
132 changes: 132 additions & 0 deletions include/LDAP.hrl
Original file line number Diff line number Diff line change
@@ -0,0 +1,132 @@
%% Generated by the Erlang ASN.1 compiler. Version: 5.0.21
%% Purpose: Erlang record definitions for each named and unnamed
%% SEQUENCE and SET, and macro definitions for each value
%% definition in module LDAP.

-ifndef(_LDAP_HRL_).
-define(_LDAP_HRL_, true).

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

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

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

-record('LDAPResult', {
resultCode,
matchedDN,
diagnosticMessage,
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,
diagnosticMessage,
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('ModifyRequest', {
object,
changes
}).

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

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

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

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

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

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

-record('IntermediateResponse', {
responseName = asn1_NOVALUE,
responseValue = asn1_NOVALUE
}).

-define('maxInt', 2147483647).
-endif. %% _LDAP_HRL_
1 change: 1 addition & 0 deletions lib/ldap.ex
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ defmodule LDAP do
def init([]), do: {:ok, { {:one_for_one, 5, 10}, []} }
def start(_type, _args) do
:logger.add_handlers(:ldap)
LDAP.start
:supervisor.start_link({:local, __MODULE__}, __MODULE__, [])
end

Expand Down
4 changes: 2 additions & 2 deletions mix.exs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ defmodule LDAP.Mixfile do
def project() do
[
app: :ldap,
version: "8.7.20",
version: "13.7.24",
description: "LDAP CXC 138 22 Directory Server",
package: package(),
elixir: "~> 1.7",
Expand All @@ -15,7 +15,7 @@ defmodule LDAP.Mixfile do

def package do
[
files: ~w(doc lib src man priv mix.exs LICENSE index.html README.md),
files: ~w(doc lib include src man priv mix.exs LICENSE index.html README.md),
licenses: ["ISC"],
maintainers: ["Namdak Tonpa"],
name: :ldap,
Expand Down

0 comments on commit ff8c2cc

Please sign in to comment.