The CREATE operation will be disabled warning in OpenIDM 3.x when using a connector
The purpose of this article is to provide assistance if you encounter the "Required __NAME__ attribute definition is not configured. The CREATE operation will be disabled" warning in OpenIDM 3.x when using any of the OpenICF connectors.
Archived
This article has been archived and is no longer maintained by ForgeRock.
Symptoms
The following warning is shown in the OpenIDM log when OpenIDM starts:
Jan 14, 2016 4:23:19 PM org.forgerock.openidm.provisioner.openicf.commons.ObjectClassInfoHelper <init> WARNING: Required __NAME__ attribute definition is not configured. The CREATE operation will be disabledThe following response is given when you do a create action via a curl command:
{"error":400,"reason":"Bad Request","message":"Required NAME attribute is missing"}Recent Changes
Updated the provisioner configuration file.
Causes
One of the objectTypes in the provisioner configuration file is missing a property with a nativeName of "__NAME__". The OpenICF connectors incorrectly require the __NAME__ attribute to exist as part of the object definition for a create action.
Solution
This issue can be resolved by upgrading to OpenIDM 4 or later; you can download this from BackStage.
Alternatively, you can update the provisioner configuration file for your connector (for example, provisioner.openicf-ldap.json), which is located in the /path/to/openidm/conf directory. You need to ensure all the objectTypes include the __NAME__ attribute; for any that don't, you must add a property such as the following to the objectType definition:
"_id" : { "type" : "string", "nativeName" : "__NAME__", "nativeType" : "string" },See Also
N/A
Related Training
N/A