[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: Custom Schema & Use of OID.
On Thu, 1 May 2003, Andrew McCall wrote:
> As a few of who follow he list will know, I am designing my own schema.
> I have been given an OID from IANA which is 16878. I am a little unsure
> how to actually use this in my schema! I presume that I use the whole
> tree, then add digits after this from the "Table 6.2: Example OID
> hierarchy" depending on what I am creating. For example, my curent
> schema file is:
>
> attributetype ( 1.3.6.1.4.1.16878.2.1 NAME ( 'departmentShortName' 'dsn'
> )
> DESC 'Short name for the department'
> SUP name )
>
> attributetype ( 1.3.6.1.4.1.16878.2.1 NAME ( 'departmentLongName' 'dln')
> DESC 'Long name for the department'
> SUP name )
>
> objectClass ( 1.3.6.1.4.1.16878.2 NAME 'ombcPerson'
> DESC 'OMBC Person' SUP person STUCTURAL
> MAY ( departmentShortName $ departmentLongName )
> )
>
> Can anyone tell me if this is correct??
Not sure about your numeric suffixes; here we use:
attributetype ( 1.3.6.1.4.1.7866.1.1 NAME 'ciPrinterName'
EQUALITY caseIgnoreMatch
SUBSTR caseIgnoreSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{32768} )
...
objectclass ( 1.3.6.1.4.1.7866.2.1 NAME 'ciEmployee' SUP inetOrgPerson
STRUCTURAL
MUST ( employeeNumber $ sn )
MAY ( ciDomainName $ ciApp $ ciDefPrinter $ ciPrinterName ))
--
Dave Horsfall DTM VK2KFU daveh@ci.com.au Ph: +61 2 9906-7866 Fx: 9906-1556
Corinthian Engineering, Level 1, 401 Pacific Hwy, Artarmon, NSW 2064, Australia