I did following steps to add new attribute. Please tell me what is wrong in it. Coz zimbra gives me an error while creating new user. That the type does not exits.
1. I went to /opt/zimbra/data/ldap/config/cn=config/cn=schema
2. And I've created a new file named "cn={11}custom.ldif" and added following content to it.
Code:
dn: cn={11}custom
objectClass: olcSchemaConfig
cn: {11}custom
olcObjectIdentifier: zimbraAccountGId ZimbraAttrType:5001
olcAttributeTypes: ( zimbraAccountGId
NAME ( 'zimbraAccountGId' )
DESC 'G ID type'
SYNTAX 1.3.6.1.4.1.1466.115.121.1.15{32}
EQUALITY caseIgnoreMatch
SUBSTR caseIgnoreSubstringsMatch
SINGLE-VALUE)
olcObjectClasses: ( zimbraCustomClass
NAME 'zimbraCustomClass'
DESC 'Custom class'
SUP zimbraMailRecipient AUXILIARY
MAY (
zimbraAccountGId $
)
) 3. And restarted ldap.
But I am getting an error that the zimbraAccountGId does not exists while adding new user.
Please help me if you can.
Thanks.