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

example of simple definition of an own object classe with attributes

hi to all,
    Can some one guide me as to how to write my own object classes in
schema's.If any body could give me some links where i can details about
the same(ie what does LDAP mean by MAY,MUST,ALLOW keywords).Any guidance
would be of immense help to me .


This message (including any attachments) contains
confidential information intended for a specific
individual and purpose, and is protected by law.
If you are not the intended recipient, you should
delete this message and are hereby notified that
any disclosure, copying, or distribution of this
message, or the taking of any action based on it,
is strictly prohibited.

Visit us at http://www.mahindrabt.com

Here is an example :

# MBT schema : definition des objectclass et
#                         des attributs propres à MBT

# attributs

attributetype ( NAME 'cptess'
        DESC 'compteur de tentatives de connection'
        SYNTAX )

attributetype ( NAME 'categorie'
        DESC 'categorie'
        SYNTAX )

attributetype ( NAME 'rep1'
        DESC 'reponse 1'
        SYNTAX )

attributetype ( NAME 'rep2'
        DESC 'reponse 2'
        SYNTAX )

# objectclass

objectclass ( NAME 'mbtPerson'
        DESC 'personne MBT'
     MAY ( cptess $ categorie $ rep1 $ rep2 ) )