How to configure IM to create dynamic group with members visible in CA Directory?
Release: 14.X
Component: IDMGR
To enable Dynamic groups in Identity Manager you need to follow this document.
If you want to make it so all the members of dynamic group will be visible in the member attribute in CA Directory instead of only in IM User UI please follow steps below.
If you are using different product that utilizes CA Directory but not Identity Manager you will also need to follow steps below till step 5.
Assumption: IM is working and can create static group.
Dynamic roles are based on the dxMemberURL attribute of the following object classes:
You can add one of these attributes to a groupOfNames or groupOfUniqueNames object class, respectively so that dxMemberURL can be included.
set dynamic-group [tag] = {
objectclass = object-class
url-attr = attribute
member-attr = attribute
};
For example if your Userstore DSA is using Userstore.dxc file edit it, if your userstore DSA is using default config file edit default.dxc.
You can check which file is used in:
CA\Directory\dxserver\config\servers\<name of your userstore>.dxi
under
# operational settings
source "../settings/UserStore.dxc";
*** See Additional information if you are using Management UI for CA Directory ***
objectclass="dxDynamicGroupOfUniqueNames"
and modifying
physicalname="memberURL" to physicalname="dxMemberURL"
to managed object attribute %DYNAMIC_GROUP_MEMBERSHIP%
For example,
<ImsManagedObjectAttr physicalname="dxMemberURL" description="Dynamic Group Query" objectclass="dxDynamicGroupOfUniqueNames" displayname="DynamicGroup Query" valuetype="String" multivalued="true" wellknown="%DYNAMIC_GROUP_MEMBERSHIP%" maxlength="0" hidden="true" system="true" searchable="false"/>
All users with title contains “Manager” are now added as members:
From JXplorer, the dynamic group looks like this:
Above instruction assumes you are not using CA directory Management UI to make changes in your DSA's.
If you do you will need to perform some steps in the Management UI instead of direct changes in the file.
Changes from step 3 you will have to put under tab "raw settings" after you edit your User DSA in Management UI.
set dynamic-group [tag] = {
objectclass = object-class
url-attr = attribute
member-attr = attribute
};
More details about CA directory dynamic groups you will find under this link.
Also please be aware that objectclass and object-class are the same and both will work here.