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

Re: Schema extensions



quote Samuel GAUTIER (22.2.2002):

> > Hi there,
> > I would like to create my own attributes for the accounts into my
> > openldap directory.
> > like :
> >
> > - Birthday
> > - Prefered Language
> > - ArrivalDate
> >
> > please could you give me some help, i'm a newbee !

you can use this for example. The only thing you need is OIDs. You can
search in newsgroup/faq, where you get this.

attributetype ( x.x.x.x.x.x
        NAME 'birth'
        EQUALITY generalizedTimeMatch
        ORDERING generalizedTimeOrderingMatch
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.24
        SINGLE-VALUE )

attributetype ( x.x.x.x.x.x
        NAME 'arrival'
        EQUALITY generalizedTimeMatch
        ORDERING generalizedTimeOrderingMatch
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.24
        SINGLE-VALUE )


objectclass ( x.x.x.x.x.x NAME 'myPerson'
        SUP inetOrgPerson
        AUXILIARY
        MAY ( birth $ arrival ) )



   Sebastian Dietzold

-- 
Sebastian Dietzold
Content Management / Directory Services
Institute for Medical Informatics,
Statistics and Epidemiology (IMISE)
University of Leipzig
Liebigstr. 27
04103 Leipzig
Phone: +49 341 97 161 14
Fax:   +49 341 97 161 30