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

Re: (ITS#3713) Invalid syntax definition in nis.schema




--On Friday, May 06, 2005 7:04 PM -0700 "Kurt D. Zeilenga" 
<Kurt@OpenLDAP.org> wrote:

> Though RFC 2307 does not provide RFC 2252 conformant schema
> descriptions, it does provide:
>
>         ( nisSchema.1.14 NAME 'nisNetgroupTriple'
>           DESC 'Netgroup triple'
>           SYNTAX 'nisNetgroupTripleSyntax' )
>
>         ( nisSchema.0.0 NAME 'nisNetgroupTripleSyntax'
>              DESC 'NIS netgroup triple' )
>
> (where nisSchema is 1.3.6.1.1.1) which clearly indicates that
> the nisNetgroupTriple attribute has a syntax nisNetgroupTripleSyntax,
> whose OID is 1.3.6.1.1.1.0.0.
>
> I see no prose or formal schema description in RFC 2307
> that implies the syntax of this attribute type is IA5String
> (1.3.6.1.4.1.1466.115.121.1.26).
>
> Kurt

Yet when I look at the RFC, I see:

   The following syntax definitions [RFC2252] are used by this schema.
   The nisNetgroupTripleSyntax represents NIS netgroup triples:

           ( nisSchema.0.0 NAME 'nisNetgroupTripleSyntax'
             DESC 'NIS netgroup triple' )

   Values in this syntax are represented by the following:

        nisnetgrouptriple = "(" hostname "," username "," domainname ")"
        hostname          = "" / "-" / keystring
        username          = "" / "-" / keystring
        domainname        = "" / "-" / keystring

   X.500 servers may use the following representation of the above
   syntax:

        nisNetgroupTripleSyntax ::= SEQUENCE {
         hostname  [0] IA5String OPTIONAL,
         username  [1] IA5String OPTIONAL,
         domainname  [2] IA5String OPTIONAL
        }


That looks like IA5 string to me.

I will note that OpenLDAP cannot handle the 1.3.6.1.1.1.0.0 SYNTAX, and 
reports this as an undefined attribute.

--Quanah

--
Quanah Gibson-Mount
Principal Software Developer
ITSS/Shared Services
Stanford University
GnuPG Public Key: http://www.stanford.edu/~quanah/pgp.html

"These censorship operations against schools and libraries are stronger
than ever in the present religio-political climate. They often focus on
fantasy and sf books, which foster that deadly enemy to bigotry and blind
faith, the imagination." -- Ursula K. Le Guin