16.10 - Examples: Inserting Role Objects into a Roles Container - Teradata Database

Teradata Database Security Administration

prodname
Teradata Database
vrm_release
16.10
created_date
June 2017
category
Administration
Security
featnum
B035-1100-161K

Use the following syntax to create role objects that represent Teradata Database external roles and insert them into the appropriate roles container.

dn: cn=adminrole,ou=roles,ou=system1,ou=tdat,dc=domain,dc=com
objectClass: top
objectClass: groupOfNames
cn: adminrole
member:  group_dn 
-
cn=userrole,ou=roles,ou=system1,ou=tdat,dc=domain,dc=com
objectClass: top
objectClass: groupOfNames
cn: userrole
member:  group_dn 
-

where:

  • The cn for each role object must match the name of a Teradata Database external role.
  • At least one member attribute and associated value is required when the role object is created.
  • member_dn is either:
    • The dn of the roles container, if no individual role members are known
    • The dn of a directory group that you want to map to the role, for example:
      member: cn=administrators,ou=groups,dc=domain,dc=com