Identity Manager
The following attachments provide examples on how to use the IBM Tivoli Identity Manager API Scripting Tool
(aka: apiscript) tool. A dynamic role, AIX adapter TDI service, and provisioning policy can be created with the examples, as well as some examples of role membership add and remove:
The commands are invoked by using "apiscript(.sh)/(.bat) -f (filename)" so if you wanted to create a dynamic role on an AIX platform you would use "apiscript.sh -f create_dynamic_role.py".
Notes:
5.0.0.4
- apiscript.ksh handles "multiple word" command-line arguments incorrectly: replace $* with "$@" (quotes necessary) to preserve "multiple word" command-line arguments on UNIX. This will be fixed in the next OPAL refresh.
- apiscript.ksh|bat do not include itim_server.jar in the classpath, which prevents use of com.ibm.itim.workflow.provisioning.ProvisioningQueryStatement
in WorkflowSearchMO statements: add the jar to the classpath or to your custom classpath setup in env_master or env_hostname.
- there is a bug in orgchart.py which makes "do_create_ad_from_args" and "do_create_ad_from_dict" fail; change "return do_create_ad" to "return do_create_ou" in the implementation to fix. This will be fixed in the next OPAL refresh.
- support is missing in the ease-of-use functions in the person utility module for subtree search. You can search subtrees by using "get_default_person_mgr()" and calling the appropriate API directly.
Hi
On my test server the command find /usr/IBM -name apiscript.sh -print does not find apiscript.sh.
Can you provide a link to download this file / package. Rgds Andy