Net-LDAP-Gateway

 view release on metacpan or  search on metacpan

docs/ldap.asn1  view on Meta::CPAN


RelativeLDAPDN ::= LDAPString -- Constrained to <name-component>
			      -- [RFC4514]

AttributeDescription ::= LDAPString
-- Constrained to <attributedescription>
-- [RFC4512]

AttributeValue ::= OCTET STRING

AttributeValueAssertion ::= SEQUENCE {
  attributeDesc   AttributeDescription,
  assertionValue  AssertionValue }

AssertionValue ::= OCTET STRING

PartialAttribute ::= SEQUENCE {
  type       AttributeDescription,
  vals       SET OF value AttributeValue }

Attribute ::= PartialAttribute(WITH COMPONENTS {
  ...,
  vals (SIZE(1..MAX))})

MatchingRuleId ::= LDAPString

LDAPResult ::= SEQUENCE {
  resultCode         ENUMERATED {
    success                      (0),
    operationsError              (1),
    protocolError                (2),
    timeLimitExceeded            (3),
    sizeLimitExceeded            (4),
    compareFalse                 (5),
    compareTrue                  (6),
    authMethodNotSupported       (7),
    strongerAuthRequired         (8),
    -- 9 reserved --
    referral                     (10),
    adminLimitExceeded           (11),
    unavailableCriticalExtension (12),
    confidentialityRequired      (13),
    saslBindInProgress           (14),

    noSuchAttribute              (16),
    undefinedAttributeType       (17),
    inappropriateMatching        (18),
    constraintViolation          (19),
    attributeOrValueExists       (20),
    invalidAttributeSyntax       (21),
    -- 22-31 unused --
    noSuchObject                 (32),
    aliasProblem                 (33),
    invalidDNSyntax              (34),
    -- 35 reserved for undefined isLeaf --
    aliasDereferencingProblem    (36),
    -- 37-47 unused --
    inappropriateAuthentication  (48),
    invalidCredentials           (49),
    insufficientAccessRights     (50),
    busy                         (51),
    unavailable                  (52),
    unwillingToPerform           (53),
    loopDetect                   (54),
    -- 55-63 unused --
    namingViolation              (64),
    objectClassViolation         (65),
    notAllowedOnNonLeaf          (66),
    notAllowedOnRDN              (67),
    entryAlreadyExists           (68),
    objectClassModsProhibited    (69),
    -- 70 reserved for CLDAP --
    affectsMultipleDSAs          (71),
    -- 72-79 unused --
    other                        (80),
    ...  },
  matchedDN          LDAPDN,
  diagnosticMessage  LDAPString,
  referral           [3] Referral OPTIONAL }

Referral ::= SEQUENCE SIZE (1..MAX) OF uri URI

URI ::= LDAPString     -- limited to characters permitted in
		       -- URIs

Controls ::= SEQUENCE OF control Control

Control ::= SEQUENCE {
  controlType             LDAPOID,
  criticality             BOOLEAN DEFAULT FALSE,
  controlValue            OCTET STRING OPTIONAL }

BindRequest ::= [APPLICATION 0] SEQUENCE {
  version                 INTEGER (1 ..  127),
  name                    LDAPDN,
  authentication          AuthenticationChoice }

AuthenticationChoice ::= CHOICE {
  simple                  [0] OCTET STRING,
  -- 1 and 2 reserved
  sasl                    [3] SaslCredentials,
  ...  }

SaslCredentials ::= SEQUENCE {
  mechanism               LDAPString,
  credentials             OCTET STRING OPTIONAL }

BindResponse ::= [APPLICATION 1] SEQUENCE {
  COMPONENTS OF LDAPResult,
  serverSaslCreds    [7] OCTET STRING OPTIONAL }

UnbindRequest ::= [APPLICATION 2] NULL

SearchRequest ::= [APPLICATION 3] SEQUENCE {
  baseObject      LDAPDN,
  scope           ENUMERATED {
    baseObject              (0),
    singleLevel             (1),
    wholeSubtree            (2),
    ...  },
  derefAliases    ENUMERATED {



( run in 2.464 seconds using v1.01-cache-2.11-cpan-39bf76dae61 )