Who manages the policies
and with which account they sign in.
Four scenarios: changing the temporary passwords, login with LDAP or Active Directory accounts, LDAPS with a private CA, and importing users, groups, and roles. Each one covers: the chart default, what changes in the cluster, and the values file commented line by line.
Ranger starts with the local admin user and temporary passwords. You change passwords, enable login through the company directory (LDAP or Active Directory) and enable UserSync, which imports users and groups allowed to log in into Ranger. For UserSync and plugins, see UserSync and Ranger - Concepts.
Your environment
If you fill in your environment details here, the examples and commands on the page use what you entered. The namespace, the release name and the values file are your choices, not the chart's.
Scenarios
- 1 · Initial credentials
- 2 · Login through LDAP
- 3 · TLS with the directory
- 4 · Roles and groups
Admin and database passwords, in the values file or a Secret.
The chart sets the same temporary password for the UI admin user and the database ranger user. With bundled PostgreSQL, the database password also applies to its root and hive roles. Before any real use, change both to strong passwords. The admin password can be in the values file or a Secret you create.
Temporary passwords in ranger.adminPassword and ranger.dbPassword. ranger.adminExistingSecret empty.
With uppercase and lowercase letters, a number and a special character, meeting the chart's minimum length.
With rangerIntegrations.configJob.enabled: true, ranger.adminPassword is still required in the values file, even with the Secret.
The Ranger admin password
Where the admin password comes from
- Who logs in. Without a directory, only local Ranger users, starting with admin. Chart default:
local admin user. (tdp-ranger.ldap.enabled) - Ranger Admin. Validates local user passwords. The admin user logs in with the password from ranger.adminPassword or the ranger.adminExistingSecret Secret. Chart default:
local users. (tdp-ranger.ldap.enabled) - Admin password. Admin and database user passwords are in ranger.adminPassword and ranger.dbPassword, with temporary values until you change them. Chart default:
temporary passwords in the values file. (tdp-ranger.ranger.adminPassword · tdp-ranger.ranger.adminExistingSecret)
Where the admin password comes from: Values file (default)
- Who logs in. Without a directory, only local Ranger users, starting with admin. Chart default:
local admin user. (tdp-ranger.ldap.enabled) - Ranger Admin. Validates local user passwords. The admin user logs in with the password from ranger.adminPassword or the ranger.adminExistingSecret Secret. Chart default:
local users. (tdp-ranger.ldap.enabled) - Admin password. Admin and database user passwords are in ranger.adminPassword and ranger.dbPassword, with temporary values until you change them. Chart default:
temporary passwords in the values file. (tdp-ranger.ranger.adminPassword · tdp-ranger.ranger.adminExistingSecret)
Where the admin password comes from: Secret
- Who logs in. Without a directory, only local Ranger users, starting with admin. Chart default:
local admin user. (tdp-ranger.ldap.enabled) - Ranger Admin. Validates local user passwords. The admin user logs in with the password from ranger.adminPassword or the ranger.adminExistingSecret Secret. Chart default:
local users. (tdp-ranger.ldap.enabled) - Admin password. The admin password comes from a Secret you created, in the ranger.adminExistingSecretPasswordKey key. Release notes show the Secret name instead of the password. Chart default:
temporary passwords in the values file. (tdp-ranger.ranger.adminPassword · tdp-ranger.ranger.adminExistingSecret)
Values file. Both passwords are in your values file. Release notes show the admin password.
1tdp-ranger:2ranger:3 adminPassword: "<ADMIN_PASSWORD>"4 dbPassword: "<DATABASE_PASSWORD>"
The password for the UI admin user. Also used by the integrations Job.
- Admin password (linha 3). The password for the UI admin user. Also used by the integrations Job.
- Database password (linha 4). The password for the database ranger user. With bundled PostgreSQL, also the password for its root and hive roles.
Secret. The admin password comes from a Secret you create beforehand, and release notes show the Secret name and key instead of the password. The database password stays in ranger.dbPassword.
1tdp-ranger:2ranger:3 adminExistingSecret: "ranger-admin-credentials"4 adminExistingSecretPasswordKey: "password"5 dbPassword: "<DATABASE_PASSWORD>"
The Secret name holding the admin password, in the Ranger namespace. When set, the chart does not use adminPassword for login.
- Admin Secret (linha 3). The Secret name holding the admin password, in the Ranger namespace. When set, the chart does not use adminPassword for login.
- Key (linha 4). The Secret key holding the password. The chart default is password.
- Database password (linha 5). Still in the values file.
Create the Secret in the Ranger namespace before installing:
kubectl create secret generic ranger-admin-credentials \
--from-literal=password='<ADMIN_PASSWORD>' -n <NAMESPACE>
Install with the values file
The new passwords take effect with the release.
helm upgrade --install <RELEASE_NAME> oci://registry.tecnisys.com.br/tdp/charts/tdp-ranger \
--version 3.0.3 \
-n <NAMESPACE> \
-f <VALUES_FILE>
Success criteria
The Ranger UI accepts the admin user with the new password. Release notes show the password, or the Secret and key it comes from:
helm get notes <RELEASE_NAME> -n <NAMESPACE>
LDAP or Active Directory, and filters that decide who can log in.
You want people to log in to Ranger with their company directory accounts, and only those in authorized groups. Directory login has two parts and depends on both: LDAP, where Ranger Admin validates the password of users matching ldap.user.searchFilter, and UserSync, which imports users and groups matching usersync.ldap filters into Ranger. Only users who pass the login filter and have already been imported can log in.
ldap.enabled: false and usersync.enabled: false: only local Ranger users.
ldap.user.searchFilter decides who can authenticate ({0} is the login name). Without a group condition, any user under ldap.user.searchBase can attempt login.
usersync.ldap.userSearchFilter and usersync.ldap.groupSearchFilter determine users and groups imported by UserSync. Each filter is combined with ldap.user.objectClass or ldap.group.objectClass. If empty, they would import all users and groups from the search bases.
With LDAP enabled, the chart rejects installation if any of the three filters is empty.
The Ranger accounts, local or from the directory
Who can sign in
- Who logs in. Without a directory, only local Ranger users, starting with admin. Chart default:
local admin user. (tdp-ranger.ldap.enabled) - Ranger Admin. Validates local user passwords. The admin user logs in with the password from ranger.adminPassword or the ranger.adminExistingSecret Secret. Chart default:
local users. (tdp-ranger.ldap.enabled) - Admin password. Admin and database user passwords are in ranger.adminPassword and ranger.dbPassword, with temporary values until you change them. Chart default:
temporary passwords in the values file. (tdp-ranger.ranger.adminPassword · tdp-ranger.ranger.adminExistingSecret)
Who can sign in: Local users only (default)
- Who logs in. Without a directory, only local Ranger users, starting with admin. Chart default:
local admin user. (tdp-ranger.ldap.enabled) - Ranger Admin. Validates local user passwords. The admin user logs in with the password from ranger.adminPassword or the ranger.adminExistingSecret Secret. Chart default:
local users. (tdp-ranger.ldap.enabled) - Admin password. Admin and database user passwords are in ranger.adminPassword and ranger.dbPassword, with temporary values until you change them. Chart default:
temporary passwords in the values file. (tdp-ranger.ranger.adminPassword · tdp-ranger.ranger.adminExistingSecret)
Who can sign in: LDAP accounts
- Who logs in. Users who pass ldap.user.searchFilter and have already been imported by UserSync. The local admin user still exists. Chart default:
local admin user. (tdp-ranger.ldap.enabled) - Ranger Admin. Validates the password in the directory, using the service account bind. The chart always uses the LDAP method, including for Active Directory. Chart default:
local users. (tdp-ranger.ldap.enabled) - Admin password. Admin and database user passwords are in ranger.adminPassword and ranger.dbPassword, with temporary values until you change them. Chart default:
temporary passwords in the values file. (tdp-ranger.ranger.adminPassword · tdp-ranger.ranger.adminExistingSecret) - Servidor LDAP. Login through uid, with users in ou=users and groups in ou=groups. Chart default:
none. (tdp-ranger.ldap.connection.url) - Bind password. The password for the service account that searches the directory, in the bind-password key. Created by you before installation. Chart default:
tdp-ranger-ldap-secret. (tdp-ranger.ldap.bind.passwordSecret) - UserSync. Imports users and groups matching usersync.ldap filters into Ranger. Only imported users can log in. With roleAssignment, also assigns administrator roles. Chart default:
disabled. (tdp-ranger.usersync.enabled)
Who can sign in: Active Directory accounts
- Who logs in. Users who pass ldap.user.searchFilter and have already been imported by UserSync. The local admin user still exists. Chart default:
local admin user. (tdp-ranger.ldap.enabled) - Ranger Admin. Validates the password in the directory, using the service account bind. The chart always uses the LDAP method, including for Active Directory. Chart default:
local users. (tdp-ranger.ldap.enabled) - Admin password. Admin and database user passwords are in ranger.adminPassword and ranger.dbPassword, with temporary values until you change them. Chart default:
temporary passwords in the values file. (tdp-ranger.ranger.adminPassword · tdp-ranger.ranger.adminExistingSecret) - Active Directory. Login through sAMAccountName, with users and groups under CN=Users. Chart default:
none. (tdp-ranger.ldap.connection.url) - Bind password. The password for the service account that searches the directory, in the bind-password key. Created by you before installation. Chart default:
tdp-ranger-ldap-secret. (tdp-ranger.ldap.bind.passwordSecret) - UserSync. Imports users and groups matching usersync.ldap filters into Ranger. Only imported users can log in. With roleAssignment, also assigns administrator roles. Chart default:
disabled. (tdp-ranger.usersync.enabled)
Local users only. This is the default: nothing to configure. For the company directory, choose LDAP or Active Directory above. The steps below apply only to LDAP and Active Directory.
LDAP. Users are under ou=users and groups under ou=groups, and login uses uid. The example restricts login and import to the <RANGER_USERS_GROUP> group.
1tdp-ranger:2ldap:3 enabled: true4 connection:5 url: "ldap://<LDAP_HOST>:389"6 bind:7 dn: "cn=<BIND_USER>,dc=<DOMAIN>,dc=com"8 passwordSecret:9 name: "tdp-ranger-ldap-secret"10 key: "bind-password"11 baseDn: "dc=<DOMAIN>,dc=com"12 user:13 searchBase: "ou=users,dc=<DOMAIN>,dc=com"14 searchFilter: "(&(objectClass=person)(uid={0})(memberOf=cn=<RANGER_USERS_GROUP>,ou=groups,dc=<DOMAIN>,dc=com))"15 nameAttribute: "uid"16 group:17 searchBase: "ou=groups,dc=<DOMAIN>,dc=com"18 searchFilter: "(objectClass=groupOfNames)"19 memberAttribute: "member"20usersync:21 enabled: true22 syncSource: "ldap"23 ldap:24 userSearchFilter: "(memberOf=cn=<RANGER_USERS_GROUP>,ou=groups,dc=<DOMAIN>,dc=com)"25 groupSearchFilter: "(cn=<RANGER_USERS_GROUP>)"
The chart sets the Ranger authentication method to LDAP.
- LDAP login (linha 3). The chart sets the Ranger authentication method to LDAP.
- Server (linha 5). For LDAPS, the URL starts with ldaps:// and the server CA is provided as in scenario 3.
- Service account (linha 7). The account that searches the directory. Its password comes from the Secret below, created before installation.
- Who signs in (linha 14). Users matching this filter can authenticate. {0} is the login name. The memberOf condition restricts access to the authorized group.
- UserSync (linha 21). Enables UserSync, which imports directory users and groups into Ranger.
- Imported users (linha 24). Users imported by UserSync. Only imported users can log in.
- Imported groups (linha 25). Groups imported by UserSync.
Active Directory. The company directory is Active Directory (AD). The keys are those of the ldap and usersync.ldap blocks, with three adjustments to the AD format.
- Login name. AD identifies each person by
sAMAccountName, notuid. Inldap.user.searchFilter, replaceuid={0}withsAMAccountName={0}, and setldap.user.nameAttribute: "sAMAccountName". - Where accounts are stored. In AD, accounts and groups are under
CN=Users, notou=usersandou=groups. Point the service account there, inldap.bind.dn: "CN=<BIND_USER>,CN=Users,DC=<DOMAIN>,DC=<TLD>"; search bases inldap.user.searchBaseandldap.group.searchBase, with"CN=Users,DC=<DOMAIN>,DC=<TLD>"; and the authorized group in thememberOffilters ofldap.user.searchFilterandusersync.ldap.userSearchFilter, withCN=<RANGER_USERS_GROUP>,CN=Users,DC=<DOMAIN>,DC=<TLD>. - Classes. AD accounts include
personamong their classes, but neverinetOrgPerson, and AD groups are of classgroup. Setldap.user.objectClass: "person",ldap.group.objectClass: "group"andldap.group.searchFilter: "(objectClass=group)".
The bind password comes from the Secret created in the first step below. The complete file is right below, with every line explained.
1tdp-ranger:2ldap:3 enabled: true4 connection:5 url: "ldap://<AD_HOST>:389"6 referral: "ignore"7 bind:8 dn: "CN=<BIND_USER>,CN=Users,DC=<DOMAIN>,DC=<TLD>"9 passwordSecret:10 name: "tdp-ranger-ldap-secret"11 key: "bind-password"12 baseDn: "DC=<DOMAIN>,DC=<TLD>"13 user:14 searchBase: "CN=Users,DC=<DOMAIN>,DC=<TLD>"15 searchFilter: "(&(objectClass=person)(sAMAccountName={0})(memberOf=CN=<RANGER_USERS_GROUP>,CN=Users,DC=<DOMAIN>,DC=<TLD>))"16 objectClass: "person"17 nameAttribute: "sAMAccountName"18 group:19 searchBase: "CN=Users,DC=<DOMAIN>,DC=<TLD>"20 searchFilter: "(objectClass=group)"21 objectClass: "group"22 nameAttribute: "cn"23 memberAttribute: "member"24usersync:25 enabled: true26 syncSource: "ldap"27 ldap:28 userSearchFilter: "(memberOf=CN=<RANGER_USERS_GROUP>,CN=Users,DC=<DOMAIN>,DC=<TLD>)"29 groupSearchFilter: "(cn=<RANGER_USERS_GROUP>)"
The AD domain controller address.
- Domain controller (linha 5). The AD domain controller address.
- referral (linha 6). How to follow directory referrals: follow, ignore or throw.
- Service account (linha 8). The account that searches the directory, under CN=Users.
- Who signs in (linha 15). Login through sAMAccountName, restricted to the authorized group.
- objectClass (linha 16). person: AD accounts do not have inetOrgPerson.
- AD groups (linha 20). AD groups are of class group.
- Imported users (linha 28). Users imported by UserSync. Only imported users can log in.
With ldap.enabled: true, the chart always sets the Ranger authentication method to LDAP and never uses native ACTIVE_DIRECTORY mode. For Active Directory, use the same LDAP keys with values in AD format.
Create the bind password Secret
Before installation, in the Ranger namespace.
kubectl create secret generic tdp-ranger-ldap-secret \
--from-literal=bind-password=<LDAP_BIND_PASSWORD> \
-n <NAMESPACE>
Add the block to your values file
The LDAP or AD block above, with filters restricted to authorized groups.
All three filters must be filled in: ldap.user.searchFilter, usersync.ldap.userSearchFilter and usersync.ldap.groupSearchFilter.
Apply to the release
Ranger Admin starts authenticating against the directory and UserSync starts.
helm upgrade --install <RELEASE_NAME> oci://registry.tecnisys.com.br/tdp/charts/tdp-ranger \
--version 3.0.3 \
-n <NAMESPACE> \
-f <VALUES_FILE>
Success criteria
kubectl -n <NAMESPACE> get pods
The UserSync pod reaches Running and a user in the authorized group logs in to the UI with their directory password.
If installation is rejected or the user cannot log in
Empty filter rejection, users not yet imported, and Connection refused on the first synchronization are covered in When something goes wrong.
The LDAP server CA in a Secret, so Ranger trusts it.
Your directory accepts only LDAPS connections, LDAP protected by TLS. The server certificate is signed by a private company CA, the company's internal certificate authority, which Java does not know. With ldap.tls.enabled: true, Ranger Admin and UserSync trust certificates from a Secret's truststore.pem file, in addition to the Java default CAs. See TLS, certificate and truststore.
ldap.tls.enabled: false, with the tdp-ranger-ldap-certs Secret and the truststore.pem key already specified in ldap.tls.truststore.
LDAP from scenario 2 configured, with the ldap.connection.url URL starting with ldaps://, and the server CA certificate in PEM.
The directory CA in Ranger
- Who logs in. Users who pass ldap.user.searchFilter and have already been imported by UserSync. The local admin user still exists. Chart default:
local admin user. (tdp-ranger.ldap.enabled) - Ranger Admin. Validates the password in the directory, using the service account bind. The chart always uses the LDAP method, including for Active Directory. Chart default:
local users. (tdp-ranger.ldap.enabled) - Admin password. Admin and database user passwords are in ranger.adminPassword and ranger.dbPassword, with temporary values until you change them. Chart default:
temporary passwords in the values file. (tdp-ranger.ranger.adminPassword · tdp-ranger.ranger.adminExistingSecret) - Servidor LDAP. Login through uid, with users in ou=users and groups in ou=groups. Chart default:
none. (tdp-ranger.ldap.connection.url) - Bind password. The password for the service account that searches the directory, in the bind-password key. Created by you before installation. Chart default:
tdp-ranger-ldap-secret. (tdp-ranger.ldap.bind.passwordSecret) - UserSync. Imports users and groups matching usersync.ldap filters into Ranger. Only imported users can log in. With roleAssignment, also assigns administrator roles. Chart default:
disabled. (tdp-ranger.usersync.enabled) - LDAP server CA. One or more CA certificates, in PEM, in the truststore.pem key. Ranger Admin and UserSync trust them in addition to the Java default CAs. Chart default:
disabled. (tdp-ranger.ldap.tls)
1tdp-ranger:2ldap:3 tls:4 enabled: true5 truststore:6 secretName: "tdp-ranger-ldap-certs"7 key: "truststore.pem"
Ranger Admin and UserSync now trust the Secret certificates in addition to the Java default CAs.
- LDAPS (linha 4). Ranger Admin and UserSync now trust the Secret certificates in addition to the Java default CAs.
- CA Secret (linha 6). The Secret you create before installation, in the Ranger namespace.
- truststore.pem (linha 7). One or more CA certificates, in PEM, in the same file.
Create the Secret with the CA
The LDAP server CA certificate, in PEM, in the truststore.pem key.
kubectl create secret generic tdp-ranger-ldap-certs \
--from-file=truststore.pem=<CA_CERT_PATH> \
-n <NAMESPACE>
Apply to the release
With the block above added to the LDAP block, and the URL starting with ldaps://.
helm upgrade --install <RELEASE_NAME> oci://registry.tecnisys.com.br/tdp/charts/tdp-ranger \
--version 3.0.3 \
-n <NAMESPACE> \
-f <VALUES_FILE>
Success criteria
UserSync, the first synchronization and administrator roles.
With UserSync enabled, directory users and groups reach Ranger, and you want administrators and auditors to receive the right roles without assigning them individually. You also want to know what to do if the first synchronization fails right after installation.
usersync.enabled: false, with usersync.syncSource: unix. In scenario 2, UserSync starts reading LDAP.
Ranger itself enforces a minimum synchronization interval, regardless of usersync.syncInterval.
Pod resources in usersync.resources and UserSync LDAP options in usersync.ldap.
The first synchronization
The UserSync pod waits for the Ranger Admin login page to respond before starting, but this does not guarantee the REST API it calls is ready. On a new install, the first synchronization can fail with Connection refused, and the next attempt occurs only after Ranger's minimum interval. If the UserSync log shows Connection refused right after installation, confirm Ranger Admin responds to API calls and restart the UserSync pod without waiting for the interval.
Roles by group
With usersync.roleAssignment, UserSync grants Ranger roles, the access profiles to Ranger's own interface, such as administrator and auditor, to directory users and groups when importing them. The example gives the administrator role to the ranger_admins group and auditor role to the ranger_auditors group.
1tdp-ranger:2usersync:3 roleAssignment:4 enabled: true5 rules:6 - role: "ROLE_SYS_ADMIN"7 users: ["admin"]8 groups:9 - "cn=ranger_admins,ou=groups,dc=<DOMAIN>,dc=com"10 - role: "ROLE_ADMIN_AUDITOR"11 users: []12 groups:13 - "cn=ranger_auditors,ou=groups,dc=<DOMAIN>,dc=com"
The chart converts the list into the UserSync GROUP_BASED_ROLE_ASSIGNMENT_RULES property.
- Automatic roles (linha 4). The chart converts the list into the UserSync GROUP_BASED_ROLE_ASSIGNMENT_RULES property.
- role (linha 6). One of the Ranger roles: ROLE_SYS_ADMIN, ROLE_KEY_ADMIN, ROLE_ADMIN_AUDITOR, ROLE_KEY_ADMIN_AUDITOR or ROLE_USER.
- Group (linha 9). The full group DN in the directory.
Apply to the release
With the roles block added to the LDAP block from scenario 2.
helm upgrade --install <RELEASE_NAME> oci://registry.tecnisys.com.br/tdp/charts/tdp-ranger \
--version 3.0.3 \
-n <NAMESPACE> \
-f <VALUES_FILE>
Success criteria
If the first synchronization failed, restart UserSyncOpcional
Only when the UserSync log shows Connection refused right after installation.
kubectl -n <NAMESPACE> logs deployment/<RELEASE_NAME>-ranger-usersync
kubectl -n <NAMESPACE> rollout restart deployment/<RELEASE_NAME>-ranger-usersync
Success criteria
Running and users and groups appear in the Ranger UI.When something goes wrong
Troubleshooting
Paste the error message or choose a symptom. The answer includes the cause, what to do and the command.
- Installation rejected: searchFilter is empty. Cause: With LDAP enabled, the chart rejects installation when ldap.user.searchFilter, usersync.ldap.userSearchFilter or usersync.ldap.groupSearchFilter is empty. What to do: Fill in all three filters, restricted to groups allowed to use Ranger (scenario 2).
- Directory user cannot log in. Cause: To log in, users must pass ldap.user.searchFilter and have already been imported by UserSync, through usersync.ldap filters. What to do: Check whether the user belongs to the filter groups and whether UserSync has already imported them (scenario 4).
- UserSync shows Connection refused right after installation. Cause: The first synchronization attempted the Ranger Admin API before it was ready. UserSync schedules the next attempt only after the minimum interval enforced by Ranger. What to do: Once Ranger Admin responds to API calls, restart the UserSync pod without waiting for the interval (scenario 4).
- LDAPS fails with a server signed by a private CA. Cause: The LDAP server is signed by a private CA that is not in truststore.pem, or ldap.tls.enabled is still false. What to do: Create the Secret with the CA in truststore.pem and enable ldap.tls.enabled (scenario 3).
Best practices
- Change temporary passwords to strong passwords before any real use.
- Store passwords in Secrets, such as the LDAP bind password and, optionally, the
adminpassword. - Restrict all three LDAP filters to groups allowed to use Ranger.
All parameters
Filter by name or group. Keys are under the chart prefix.
39 of 39 parameters
| Parameter | Description | Chart default |
|---|---|---|
tdp-ranger.ranger.adminUserPasswords | UI administrator user | admin |
tdp-ranger.ranger.adminPasswordPasswords | Admin password (temporary). Required with the integrations Job | ChangeMe!T3c |
tdp-ranger.ranger.adminExistingSecretPasswords | Secret with the admin password instead of adminPassword | "" |
tdp-ranger.ranger.adminExistingSecretPasswordKeyPasswords | The key in that Secret | password |
tdp-ranger.ranger.dbUserPasswords | Database user | ranger |
tdp-ranger.ranger.dbPasswordPasswords | Database password (temporary). With bundled PostgreSQL, also the password for root and hive roles | ChangeMe!T3c |
tdp-ranger.ldap.enabledLDAP | Login through LDAP or Active Directory | false |
tdp-ranger.ldap.connection.urlLDAP | Server URL. ldaps:// for TLS | ldap://<ldap-host>:389 |
tdp-ranger.ldap.connection.referralLDAP | follow, ignore ou throw | ignore |
tdp-ranger.ldap.bind.dnLDAP | Service account that searches the directory | cn=<ldap-bind-user>,dc=<example>,dc=com |
tdp-ranger.ldap.bind.passwordSecret.nameLDAP | Secret with the bind password | tdp-ranger-ldap-secret |
tdp-ranger.ldap.bind.passwordSecret.keyLDAP | The key in that Secret | bind-password |
tdp-ranger.ldap.baseDnLDAP | Directory base DN | dc=<example>,dc=com |
tdp-ranger.ldap.user.searchBaseLDAP | User search base | ou=users,dc=<example>,dc=com |
tdp-ranger.ldap.user.searchFilterLDAP | Who can authenticate (0 is the login name). Required with LDAP | (&(objectClass=person)(uid=0)(memberOf=cn=<ranger-users-group>,ou=groups,dc=<example>,dc=com)) |
tdp-ranger.ldap.user.dnPatternLDAP | DN pattern for direct bind, as an alternative to searching | "" |
tdp-ranger.ldap.user.searchScopeLDAP | sub, one ou base | sub |
tdp-ranger.ldap.user.objectClassLDAP | User class (person in Active Directory) | person |
tdp-ranger.ldap.user.nameAttributeLDAP | Login name attribute (sAMAccountName in Active Directory) | uid |
tdp-ranger.ldap.group.searchBaseLDAP | Group search base | ou=groups,dc=<example>,dc=com |
tdp-ranger.ldap.group.searchFilterLDAP | Group filter ((objectClass=group) in Active Directory) | (objectClass=groupOfNames) |
tdp-ranger.ldap.group.searchScopeLDAP | sub, one ou base | sub |
tdp-ranger.ldap.group.objectClassLDAP | Group class (group in Active Directory) | groupOfNames |
tdp-ranger.ldap.group.nameAttributeLDAP | Group name attribute | cn |
tdp-ranger.ldap.group.memberAttributeLDAP | Group members attribute | member |
tdp-ranger.ldap.tls.enabledLDAPS | Trusts CAs from the Secret below, in addition to the Java default CAs, in Ranger Admin and UserSync | false |
tdp-ranger.ldap.tls.truststore.secretNameLDAPS | Secret with LDAP server CAs | tdp-ranger-ldap-certs |
tdp-ranger.ldap.tls.truststore.keyLDAPS | Secret key with CAs, in PEM | truststore.pem |
tdp-ranger.usersync.enabledUserSync | Enables UserSync | false |
tdp-ranger.usersync.syncSourceUserSync | User source (ldap with the directory) | unix |
tdp-ranger.usersync.syncIntervalUserSync | Synchronization interval. Ranger enforces its own minimum | 360 |
tdp-ranger.usersync.ldap.userSearchFilterUserSync | Users imported by UserSync. Required with LDAP | "" |
tdp-ranger.usersync.ldap.groupSearchFilterUserSync | Groups imported by UserSync. Required with LDAP | "" |
tdp-ranger.usersync.roleAssignment.enabledUserSync | Grants Ranger roles to directory users and groups when UserSync imports them | not set |
tdp-ranger.usersync.roleAssignment.rulesUserSync | Role rules: each with role, users and groups | not set |
tdp-ranger.usersync.resources.requests.cpuUserSync | CPU requested for the UserSync pod | 100m |
tdp-ranger.usersync.resources.requests.memoryUserSync | Memory requested for the UserSync pod | 256Mi |
tdp-ranger.usersync.resources.limits.cpuUserSync | UserSync pod CPU limit | 500m |
tdp-ranger.usersync.resources.limits.memoryUserSync | UserSync pod memory limit | 1Gi |