Hi,

I have OpenLDAP version 2.4.11 configured in multimaster mode.
Attached files is the schema file (core.schema) and configuration file for 
LDAP. I have modified core.schema file to make 'companyName' a mandatory 
parameter in objectClass 'organizationalUnit'

When I add an entry using 'ldapadd' without providing parameter 'companyName', 
it is getting added in the LDAP which is not correct.
It should give error of missing mandatory parameter.

When this LDAP is working as single instance i.e. without multimaster mode, 
then while adding the same entry without parameter 'companyName', LDAP is 
showing error given below.
ldap_add: Object class violation (65)
        additional info: object class 'organizationalUnit' requires attribute 
'companyName'

I don’t understand what is causing any difference.
Please check and give any suggestion.

Thanks,
Gurjot Kaur
"DISCLAIMER: This message is proprietary to Aricent and is intended solely for 
the use of the individual to whom it is addressed. It may contain privileged or 
confidential information and should not be circulated or used for any purpose 
other than for what it is intended. If you have received this message in error, 
please notify the originator immediately. If you are not the intended 
recipient, you are notified that you are strictly prohibited from using, 
copying, altering, or disclosing the contents of this message. Aricent accepts 
no responsibility for loss or damage arising from the use of the information 
transmitted by this email including damage from virus."

Attachment: core.schema
Description: core.schema

Attachment: slapd.conf
Description: slapd.conf

Reply via email to