My Oracle Support Banner

OID - Ldapadd Fails Creating Dynamic Group. Message ldap_add: additional info: Dynamic group cache update failed (Doc ID 2684670.1)

Last updated on JUNE 29, 2020

Applies to:

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

Symptoms

Create OID dynamic group with ldapadd command fails with “Dynamic group cache update failed” message. In general terms the ldif file should look like:


dn: cn=<DYNAMICGROUP_NAME>,cn=Groups,dc=<COUNTRY>,dc=<COMPANY>,dc=com
objectclass: top
objectclass: groupOfUniqueNames
objectclass: orclDynamicGroup
objectclass: orclGroup
objectclass: orclPrivilegeGroup
cn: <DYNAMICGROUP_NAME>
description: Dynamicgroup Test
labeleduri: ldap://<OID_SERVERNAME>:<OID_PORT>/CN=users,dc=<COUNTRY>,dc=<COMPANY>,dc=com??sub?<CUSTOM_ATTRIBUTE>=<VALUE>

 

For sample using more specific attribute name and value. For sample sample.ldif file:
###############################################
dn: <DYNAMICGROUP_NAME>,cn=Groups,dc=<COUNTRY>,dc=<COMPANY>,dc=com
objectclass: top
objectclass: groupOfUniqueNames
objectclass: orclDynamicGroup
objectclass: orclGroup
objectclass: orclPrivilegeGroup
cn: <DYNAMICGROUP_NAME>
description: Dynamicgroup Test
labeleduri: ldap://<OID_SERVERNAME>:<OID_PORT>/CN=users,dc=<COUNTRY>,dc=<COMPANY>,dc=com??sub?myattribute=12345
###############################################

Running ldapadd command to reproduce issue:

$ ldapadd -h <OID_SERVERNAME> -p <OID_PORT> -D cn=orcladmin -w <ORCLADMIN_PASSWORD> -f sample.ldif
adding new entry cn=<DYNAMICGROUP_NAME>,cn=Groups,dc=<COUNTRY>,dc=<COMPANY>,dc=com
ldap_add: Operations error
ldap_add: additional info: Dynamic group cache update failed.

 

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.