Hi,
 
I had configured openldap 2.3.27-5 in RHEL 5 operating systems.
my ldap is acting as a master slave.
I have no problem with that, the changes what i make in master is getting replicated to slave.
What i need to know is, I had to certain attributes to my openldap server.
 
for eg: when i add an attribute called ' mail ' for specifying mail address and
in the ldif file and if i add that ldif file using 'ldapadd' command am getting,
 
ldap_add: Object class violation (65)
        additional info: attribute 'mail' not allowed
 
What i need to do for adding this attribute. tell me the correct objectclass for this attribute.