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

Re: dns.schema



Hi,

"Asaf Shakarchi" <asaf@asaf.gotdns.com> writes:

> :o="urn:schemas-microsoft-com:office:office"
> xmlns:w="urn:schemas-microsoft-com:office:word"
> xmlns="http://www.w3.org/TR/REC-html40";>
>
> Does anyonw know about this?
> :p>
>
> I have a schema for ldap2dns which is::p>
>
> :p> 
>
> attributetype ( 1.3.6.1.4.1.7222.1.4.12:p>
>
>         NAME 'dnsipaddr' :p>
>
>         EQUALITY numericStringMatch:p>
>
>         SUBSTR numericStringSubstringsMatch:p>
>
>         SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{16} ):p>
>
> :p> 
>
> attributetype ( 1.3.6.1.4.1.7222.1.4.13:p>
>
>         NAME 'dnscipaddr':p>
>
>         EQUALITY numericStringMatch:p>
>
>         SUBSTR numericStringSubstringsMatch:p>
>
>         SYNTAX 1.3.6.1.4.1.1466.115.121.1.26{16} ):p>
>
>         :p>
>
> :p> 
>
> While running slapd I get the following error::p>
>
> usr/local/etc/openldap/schema/dns.schema: line 58: AttributeType inappropriate
> matching rule: "numericStringMatch":p>

Syntax 1.3.6.1.4.1.1466.115.121.1.26 is IA5 String, you should either
use syntax 1.3.6.1.4.1.1466.115.121.1.27 which is INTEGER, or
syntax 1.3.6.1.4.1.1466.115.121.1.36 which is numeric string.

-Dieter

-- 
Dieter Kluenter  | Systemberatung
Tel:040.64861967 | Fax: 040.64891521
mailto: dkluenter(at)dkluenter.de
http://www.avci.de