Raghavendra Sangamesh wrote:
Here is the file that I want to add
dn: cn=schema objectClass: top objectClass: ldapSubentry objectClass: subschema
Note that
1. direct write access to OpenLDAP's subschema subentry is not possible. You have to either provide additional schema elements via text file or add them via LDAP to cn=config.
2. the DN of OpenLDAP's subschema subentry is not cn=schema. It's cn=Subschema and the DN can be queried like defined in LDAPv3 via attribute 'subschemaSubentry'.
Next time you should provide specific error codes/messages grabbed from logs etc.
Ciao, Michael.