schrieb Francesco Sordi <
f_sordi_1@yahoo.it>:
> Hi,I am trying to define into a custom schema the
> organizationIdentifier attribute, as defined in the doc of ITU x.520
> standards: organizationIdentifier ATTRIBUTE ::= { WITH
> SYNTAX UnboundedDirectoryString EQUALITY MATCHING
> RULE caseIgnoreMatch SUBSTRINGS MATCHING RULE
> caseIgnoreSubstringsMatch SINGLE VALUE TRUE
> LDAP-SYNTAX directoryString.&id
> LDAP-NAME {"organizationIdentifier"}
> ID id-at-organizationIdentifier
> }I managed to start slapd by inserting into a custom schema this:
>
> objectidentifier id-at-organizationIdentifier 2.5.4.97
> attributeType ( id-at-organizationIdentifier NAME
> 'organizationIdentifier' DESC 'X520 attribute Organization
> Identifier' SUP name EQUALITY caseIgnoreMatch
> SUBSTR caseIgnoreSubstringsMatch SINGLE-VALUE ) But i cannot
> understand which objectclass can use this attribute and how to add an
> object using it.
You are referring to ITU-X.520, but you did not mention the version. I
organizationIdentifier. But anyhow, you may create a subclass of
organization with organizationIdentifier as a 'must' attribute.