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

extending schema



Hello,

We are running OpenLDAP 2.0.27 on RedHat 8 and I'd like to create a few 
custom entries in the schema for us to store some information about users. 
So far after reading up, I have created the following schema and included 
it in slapd.conf. Slapd happily starts up, however the attributes 
specified are not available. I'm sure I'm missing something simple here, 
but I'm not sure why it's not working.

Is it ok to use the 'private' OID's? We can't get a free one as we're not 
a private company, and my search to find out who around here knows what 
our universities OID is has so far failed. So I'm hoping I can get by with 
a non-reserved one.

Here is my schema:

attributeType ( 1.1.2.1.1
        NAME 'expiration'
        DESC 'expiration date for user'
        EQUALITY caseIgnoreMatch
        SUBSTR caseIgnoreSubstringsMatch
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{32768} )

attributeType ( 1.1.2.1.2
        NAME 'sponsor'
        DESC 'sponsor for user'
        EQUALITY caseIgnoreMatch
        SUBSTR caseIgnoreSubstringsMatch
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{32768} )

attributeType ( 1.1.2.1.3
        NAME 'comment'
        DESC 'comment'
        EQUALITY caseIgnoreMatch
        SUBSTR caseIgnoreSubstringsMatch
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{32768} )

objectclass ( 1.1.2.2
        NAME 'mathPerson'
        DESC 'Math Person'
        AUXILIARY
        MAY ( expiration $ sponsor $ comment ) )