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

defining my own schema



Hi
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
in my local.schema file this is how i m trying to add new
attribute types and object class

/*
attributetype ( 1.1.2.1.1 NAME 'myExtensionNumber'
               DESC 'Telephone Extension Number'
               EQUALITY caseIgnoreMatch
               SUBSTR caseIgnoreSubstringsMatch
               SYNTAX 1.3.6.1.4.1.12257.115.121.1.15
               SINGLE-VALUE )


objectclass ( 1.1.2.2.2 NAME 'Extclass' DESC 'My Extension' SUP inetOrgPerson MAY ('myExtensionNumber')) */

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"


ny suggestion
Thanx
Puneet


_________________________________________________________________ Send and receive Hotmail on your mobile device: http://mobile.msn.com