[Date Prev][Date Next] [Chronological] [Thread] [Top]

RE: ASN.1 definitions in draft-ietf-ldapbis-syntaxes-01.txt



Jim,

Jim Sermersheim wrote:
> Also, there are many multipart syntaxes that lack an ASN.1 definition,
> do we plan to define the ASN.1 for these?

In reviewing the LDAP syntaxes some time ago I found ASN.1 type
definitions for all but three syntaxes. These were:

	LDAP Syntax Description - 1.3.6.1.4.1.1466.115.121.1.54
	LDAP Schema Definition  - 1.3.6.1.4.1.1466.115.121.1.56
	LDAP Schema Description - 1.3.6.1.4.1.1466.115.121.1.57

I proposed this ASN.1 type for LDAP Syntax Description:

    LDAPSyntaxDescription ::= SEQUENCE {
        identifier       OBJECT IDENTIFIER,
        description      DirectoryString { ub-schema } OPTIONAL
    }

I proposed this ASN.1 type for LDAP Schema Definition:

    LDAPSchemaDefinition ::= SEQUENCE {
        identifier      OBJECT IDENTIFIER,
        name            SET OF DirectoryString { ub-schema } OPTIONAL,
        obsolete        BOOLEAN DEFAULT FALSE,
        information     LDAPSchemaInformation
    }

    LDAPSchemaInformation ::= SEQUENCE {
        imports         [0] SET SIZE (1..MAX) OF OBJECT IDENTIFIER OPTIONAL,
        classes         [1] SET SIZE (1..MAX) OF OBJECT-CLASS.&id OPTIONAL,
        attributes      [2] SET SIZE (1..MAX) OF ATTRIBUTE.&id OPTIONAL,
        matching-rules  [3] SET SIZE (1..MAX) OF MATCHING-RULE.&id OPTIONAL,
        syntaxes        [4] SET SIZE (1..MAX) OF OBJECT IDENTIFIER OPTIONAL
    }

If the group agrees, Kathy and I can put these definitions, plus all the
others I've found, into the syntaxes I-D.

Consensus on LDAP Schema Description was to remove it since it has no
defined native or binary encoding, and no-one implements it.

Regards,
Steven