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

Teradata Database Security Administration

Product
Teradata Database
Release Number
16.10
Release Date
June 2017
Content Type
Administration
Security
Publication ID
B035-1100-161K
Language
English (United States)

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