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

Re: Schemasearches for syntax fails on sn and cn. (ITS#3261)

> Full_Name: Tarjei Huse
> Version: 2.2.6 / 2.1.30.
> OS: SuSe
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (
> I tried to look at the scemaentries for the attributes sn and cn (amongst
> others) when I saw that they don't report their own syntax.
> This is what a schemasearch returns on the attribute:
> attributeTypes: ( NAME ( 'cn' 'commonName' ) DESC 'RFC2256: common
> nam
>  e(s) for which the entity is known by' SUP name )

I do not understand where the problem is: the attributeType "cn", aka
"commonName", inherits the syntax from "name", as stated by the "SUP name"
part of the specification:

ldapsearch -x -b 'cn=subschema' -s base -E'mv=(attributeTypes=name)'
'cn=subschema' attributetypes -LLL
dn: cn=Subschema
attributeTypes: ( NAME 'name' DESC 'RFC2256: common supertype of
  attributes' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch
SYNTAX{32768} )


Pierangelo Masarati

    SysNet - via Dossi,8 27100 Pavia Tel: +390382573859 Fax: +390382476497