[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 .
thanks,
Regards
ajit

*********************************************************
Disclaimer

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 ( 1.1.2.1.1 NAME 'cptess'
        DESC 'compteur de tentatives de connection'
        SYNTAX 1.3.6.1.4.1.1466.115.121.1.36 )

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

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

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

# objectclass

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