How to configure realms in TIBCO Enterprise Administrator using the shell and Python.
book
Article ID: KB0084366
calendar_today
Updated On:
Products
Versions
TIBCO Enterprise Administrator (TEA)
-
Not Applicable
-
Description
Description: TIBCO Enterprise Administrator provides a command-line utility called the TIBCO Enterprise Administrator shell. The same activities can also be performed using Python scripting. Attached is a sample shell and python script to configure a LDAP realm, import groups and users. (Filenames:realmConfiguration_from_shell.txt, realmConfigurationFromPython.py).
Issue/Introduction
How to configure realms in TIBCO Enterprise Administrator using the shell and Python.
Environment
Product:TIBCO Enterprise Administrator
Version:2.2.0
OS : ALL
Resolution
*Steps to setup Python refer to the following link: https://docs.tibco.com/pub/tea/2.2.0/doc/html/GUID-0DEE377E-2B7F-4DF7-A530-305C7E877FB6.html
Refer to the attached files for sample Python and shell scripts for LDAP realm configuration.
Sample Python commands to create role and add privileges: