hi,
 
I tried to extend my schema but getting errors.I had created a separate schema file called attr.schema file.
 
This is the schema file, in that i had mentioned mailbox location and mailQuota and mailalternateaddress attribute.
But when i restart the ldap service,
 i get
 
[root@master schema]# service ldap restart
Stopping slapd:                                            [FAILED]
Checking configuration files for slapd:  /etc/openldap/schema/att.schema: line 3
: AttributeType SYNTAX or SUPerior required: "1.3.6.1.4.1.4203.666.1.100.124"
slaptest: bad configuration file!
                                                           [FAILED]
 
 

# New attribute definitions:

attributetype ( 1.3.6.1.4.1.4203.666.1.100.124 )
NAME 'mailboxlocation'
DESC 'RFC2798: Where the mails are located'
EQUALITY caseIgnoreMatch
SUBSTR caseIgnoreSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE


attributetype ( 1.3.6.1.4.1.4203.666.1.100.125 )
NAME 'mailQuota'
DESC 'RFC2798: User level Quota'
EQUALITY caseIgnoreMatch
SUBSTR caseIgnoreSubstringsMatch
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15 SINGLE-VALUE

attributetype ( 1.3.6.1.4.1.4203.666.1.100.125  NAME 'mailalternateaddress' SUP mail )

objectClass ( 1.3.6.1.4.1.4203.666.1.100
        NAME 'YoLinuxPerson'
        DESC 'X-Person'
        SUP inetOrgPerson
        STRUCTURAL
        MAY ( mailboxlocation $ mailQuota $ birthdate )
            )