OVD 11g Does Not Accept Empty or NULL Attribute Value "LDAP Error 21" (Doc ID 2046979.1)

Last updated on SEPTEMBER 19, 2016

Applies to:

Oracle Virtual Directory - Version 11.1.1.7.0 and later
Information in this document applies to any platform.

Symptoms

OVD 11g
Unable to create an entry in OVD with an empty value for an attribute.  Error thrown is LDAP Error 21
Same works fine against the backend LDAP Server, for example OID

Example TestCase:

- Create an LDAP Adapter in OVD (backend LDAP as OID) 

- Create an LDIF with an empty attribute ("description" attribute having empty value)

dn: cn=testuser1,cn=users,dc=ovd,dc=com
orclsamaccountname: testuser1
givenname: testuser1
sn: testuser1
mail: testuser1
objectclass: top
objectclass: person
objectclass: organizationalPerson
objectclass: inetOrgPerson
objectclass: orclUser
objectclass: orclUserV2
uid: testuser1
cn: testuser1
userpassword: welcome1
description:

- Try to add this entry using ldapadd
- Gets the following error

adding new entry cn=testuser1,cn=Users,dc=ovd,dc=com
ldap_add: Invalid syntax
ldap_add: additional info: LDAP Error 21 : 'description' has no values.

 

 

Cause

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