My Oracle Support Banner

OUD - Unable to Create Unique Attribute Constraint Plugin in OUD - Error "LDAP: error code 53 - The Directory Server is unwilling to add...but there is no equality index defined for the attribute in backend <BACKEND>..." (Doc ID 1967218.1)

Last updated on NOVEMBER 21, 2023

Applies to:

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

Symptoms

Unable to create unique attribute constraint plugin in OUD.  An error message is generated when attempting to create a new plugin for uniqueness of a custom attribute called username...

Example -

./dsconfig -h <HOST_NAME> -p <ADMIN_PORT> create-plugin --type unique-attribute --plugin-name "<USERNAME> unique attribute for <SUFFIX_DN>" --set enabled:true --set type:username --set base-dn:ou=<OU_EXAMPLE>,dc=<SUFFIX_DN>

        >>>> Specify Oracle Unified Directory LDAP connection parameters

        Administrator user bind DN [<DM_ADMIN>]:

        Password for user '<DM_ADMIN>':


        >>>> Configure the properties of the Unique Attribute Plugin

               Property  Value(s)
               --------------------------------------------
           1)  base-dn   "ou=<OU_EXAMPLE>,dc=<SUFFIX_DN>"
           2)  enabled   true
           3)  type      username

           ?)  help
           f)  finish - create the new Unique Attribute Plugin
           q)  quit

        Enter choice [f]: f

        The Unique Attribute Plugin could not be created because of the following
        reason:

           *  [LDAP: error code 53 - The Directory Server is unwilling to add
              configuration entry cn=<USERNAME> unique attribute for
              <OU_EXAMPLE>,cn=Plugins,cn=config because one of the add listeners
              registered with the parent entry cn=Plugins,cn=config rejected this
              change with the message: An error occurred while attempting to
              initialize an instance of class
              org.opends.server.plugins.UniqueAttributePlugin as a Directory Server
              plugin using the information in configuration entry cn=<USERNAME> unique
              attribute for <OU_EXAMPLE>,cn=Plugins,cn=config:  The configuration for
              the plugin defined in configuration entry cn=<USERNAME> unique attribute
              for <OU_EXAMPLE>,cn=Plugins,cn=config was not acceptable:  The unique
              attribute plugin defined in configuration entry cn=<USERNAME> unique
              attribute for <OU_EXAMPLE>,cn=Plugins,cn=config is configured to operate
              on attribute username but there is no equality index defined for this
              attribute in backend <USER_ROOT> (PluginConfigManager.java:417
              PluginConfigManager.java:5478 PluginConfigManager.java:84
              ServerManagedObjectAddListenerAdaptor.java:101
              ConfigAddListenerAdaptor.java:267 ConfigFileHandler.java:1411
              LocalBackendAddOperation.java:742 LocalBackendWorkflowElement.java:200
              WorkflowImpl.java:363 WorkflowTopologyNode.java:130
              AddOperationBasis.java:736 SynchronousStrategy.java:54
              LDAPClientConnection.java:1307 LDAPClientConnection.java:1913
              LDAPClientConnection.java:1742 LDAPRequestHandler.java:188).  This
              plugin will be disabled]

        Would you like to edit the properties of the Unique Attribute Plugin again in order to resolve this problem?

 

 

Cause

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
Symptoms
Cause
Solution


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