My Oracle Support Banner

OVD and OUD Proxy Behave Differently when Given a MODIFY of an Empty Directory String Attribute with "Result Code: 21 (Invalid Attribute Syntax)" (Doc ID 2702884.1)

Last updated on AUGUST 24, 2020

Applies to:

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


 Using OVD and OUD proxy with backend OUD Directory Server.

OVD modify with null value for example attribute "description" is successful as below:
$ ldapmodify -p <OVD_LDAP_PORT> -D <OVD Admin account> -w "<Password>"

dn: cn=<CN_Value>,cn=Users,dc=<OU1>,dc=xxxxxx,dc=xxx
changetype: modify
replace: description

modifying entry cn=<CN_Value>,cn=Users,dc=<OU1>,dc=xxxxxx,dc=xxx

OUD Proxy with null value fails with below error, but successful with via OVD:

./ldapmodify -h <OUD_PROXY_HOSTNAME> -p <OUD_SSL_PORT> --useSSL -X -D "<DN of the service account>" -w "Password" -f lidr7x9-blank.ldif
Processing MODIFY request for uid=<UID_value>,ou=<OU1>,dc=<DC2>,dc=<DC1>
MODIFY operation failed
Result Code: 21 (Invalid Attribute Syntax)
Additional Information: When attempting to modify entry uid=<UID_VALUE>,ou=<OU1>,o=<DOMAIN1>.<COM> to replace the set of values for attribute <ATTRIBUTE_NAME>, value "" was found to be invalid according to the associated syntax: The operation attempted to assign a zero-length value to an attribute with the directory string syntax Please note that the error message does not take into account the DN renaming occurring between client base DN:ou=<OU1>,dc=<DC2>,dc=<DC1> and source base DN:dc=<DC1>,dc=..


To view full details, sign in with your My Oracle Support account.

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

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.