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

Re: organizationIdentifier ATTRIBUTE mapping



Am Wed, 18 Jan 2017 10:59:56 +0000 (UTC)
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
have got ITU-X.520 (08/2005), which doesn't mention
organizationIdentifier. But anyhow, you may create a subclass of 
organization with organizationIdentifier as a 'must' attribute.

-Dieter

-- 
Dieter Klünter | Systemberatung
http://sys4.de
GPG Key ID: E9ED159B
53°37'09,95"N
10°08'02,42"E