OVD 11g Local Store Adapter does not Evaluate Mandatory Attributes with ldapadd Command "LDAP: error code 65" (Doc ID 2263720.1)

Last updated on MAY 16, 2017

Applies to:

Oracle Virtual Directory - Version 11.1.1.7.0 to 11.1.1.7.0 [Release 11g]
Information in this document applies to any platform.

Goal

If the mandatory attribute of the object class is not specified in the LDIF file, we was assuming that the ldapadd command will fail as follows.

[oracle@hostname bin]$ ./ldapadd -h hostname -p 6501 -D "cn=orcladmin" -w xxxxxxx -f ovd_test.ldif
adding new entry cn=test,dc=com
ldap_add: Object class violation
ldap_add: additional info: LDAP Error 65 : [LDAP: error code 65 - sn attribute not found. Mandatory Attribute missing.]

However, In the OVD using the local store adapter, the command succeeded.
How can I evaluate mandatory attributes normaly in the ldapadd command?


 

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms