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

Q: syntax attribute in schema



Hi!

This is probably a stupid question, but I wonder:
In the schema definitions, neither "gn" nor "sn" have a "syntax" attribute. So I wonder: If an attribute has a "sup", is the syntax inherited from the "sup" ("name" in this special case)?

In Perilish:
  DB<27> x $s->attribute('sn')
0  HASH(0xd89e88)
   'aliases' => ARRAY(0xd87a40)
      0  'surname'
   'desc' => 'RFC2256: last (family) name(s) for which the entity is known by'
   'name' => 'sn'
   'oid' => '2.5.4.4'
   'sup' => ARRAY(0xd89fc0)
      0  'name'
   'type' => 'at'
  DB<28> x $s->attribute('surname')
0  HASH(0xd89e88)
   'aliases' => ARRAY(0xd87a40)
      0  'surname'
   'desc' => 'RFC2256: last (family) name(s) for which the entity is known by'
   'name' => 'sn'
   'oid' => '2.5.4.4'
   'sup' => ARRAY(0xd89fc0)
      0  'name'
   'type' => 'at'
  DB<29> x $s->attribute('gn')
0  HASH(0x14e25d0)
   'aliases' => ARRAY(0xd8b508)
      0  'gn'
   'desc' => 'RFC2256: first name(s) for which the entity is known by'
   'name' => 'givenName'
   'oid' => '2.5.4.42'
   'sup' => ARRAY(0x14e2738)
      0  'name'
   'type' => 'at'
  DB<30> x $s->attribute('givenname')
0  HASH(0x14e25d0)
   'aliases' => ARRAY(0xd8b508)
      0  'gn'
   'desc' => 'RFC2256: first name(s) for which the entity is known by'
   'name' => 'givenName'
   'oid' => '2.5.4.42'
   'sup' => ARRAY(0x14e2738)
      0  'name'
   'type' => 'at'
  DB<31> x $s->attribute('name')
0  HASH(0x1476008)
   'aliases' => ARRAY(0x1475ff0)
        empty array
   'desc' => 'RFC4519: common supertype of name attributes'
   'equality' => 'caseIgnoreMatch'
   'max_length' => 32768
   'name' => 'name'
   'oid' => '2.5.4.41'
   'substr' => 'caseIgnoreSubstringsMatch'
   'syntax' => '1.3.6.1.4.1.1466.115.121.1.15'
   'type' => 'at'


Regards,
Ulrich