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

Re: defining my own schema



On Thu, 31 Jan 2002, Puneet Walia wrote:

> I m trying to build my own schema file
> i m trying to add new attribute to my slapd, I have got the oid number
> from the IANA
[snip]
> attributetype ( 1.1.2.1.1 NAME 'myExtensionNumber'
[snip]
>                 SYNTAX 1.3.6.1.4.1.12257.115.121.1.15
[snip]
> Im getting the following error when i m running the slapd
> 
> ERROR
> /usr/local/etc/openldap/schema/local.schema: line 19: Syntax not found: 
> "1.3.6.1.4.1.12257.115.121.1.15"

I do believe you've put the attr/obj ID where the syntax ID should be, and
put something else entirely where the attr/obj ID should be.

Something like

attributetype (<your OID here>.1.1.2.1.1 NAME 'myExtensionNumber'

is what it should look like.


-- 
-----------------------------------------------------------------------
#include <disclaimer.h>
Matthew Palmer
mjp16@ieee.uow.edu.au