| Products | Versions |
|---|---|
| TIBCO Streaming | 10.6 and later |
When you install a Streaming node, a default node administration realm is created. The default realm name is 'default-realm'. The OS-level user who installed the node is automatically granted administrative access.
However, this can present a security risk, as node administration commands can be run on that machine without the need to supply any credentials (so long as the currently logged-in user is the same user who installed the node).
name = "roleMappings"
version = "1.0.0"
type = "com.tibco.ep.dtm.configuration.security"
configuration = {
RoleToPrivilegeMappings = {
privileges = {
readers = [
{
privilege = "AdminRunCommand"
}
{
privilege = "APIConnect"
}
]
}
}
}
name = "LDAPAuthRealm"
version = "1.0.0"
type = "com.tibco.ep.dtm.configuration.security"
configuration = {
LDAPAuthenticationRealm = {
name = "LDAPAuthRealm"
servers = [
{
host = "localhost"
portNumber = 1389
principalSearchFilter = "cn={0}"
principalSearchRoots = [ "dc=example,dc=org" ]
roleSearchRoots = [ "dc=example,dc=org" ]
roleSearchFilter = "member={1}"
systemPassword = "adminpassword"
systemPrincipal = "cn=admin,dc=example,dc=org"
}
]
}
}
$ docker run -p 1389:1389 --name openldap --detach bitnami/openldap:latest
$ epadmin --servicename nodeA.clusterA setadmin realm --name LDAPAuthRealm --newrealmusername user01 --newrealmpassword bitnami1
$ epadmin --servicename nodeA.clusterA getadmin realm [nodeA.clusterA] Failed to open a connection to the node YourMachineName:56961. Reason: Authentication of user [YourOSUsername] failed: authentication failed
$ epadmin --username user01 --password bitnami1 --servicename nodeA.clusterA getadmin realm [nodeA.clusterA] Realm Name = LDAPAuthRealm
$ epadmin --username user01 --servicename nodeA.clusterA getadmin realm Node Administrator Password: (enter 'bitnami1' here) [nodeA.clusterA] Realm Name = LDAPAuthRealm