[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) (80.203.197.118)
>
>
> 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: ( 2.5.4.3 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: ( 2.5.4.41 NAME 'name' DESC 'RFC2256: common supertype of
name
  attributes' EQUALITY caseIgnoreMatch SUBSTR caseIgnoreSubstringsMatch
SYNTAX
  1.3.6.1.4.1.1466.115.121.1.15{32768} )

p.

-- 
Pierangelo Masarati
mailto:pierangelo.masarati@sys-net.it


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