Visualdoop/ldap.properties
File to be used to define LDAP properties.
visualdoop/ldap.properties is located in a config/ folder inside the install directory. For example in ldap.properties.template .
The parameters are similar to those in hive-site.xml.
Parameter | Description | Example |
---|---|---|
hive.server2.authentication.ldap.url | URL to your ldap server. If prefix with ldap:// port is default LDAP port (389). | ldap://myserver.example.com |
hive.server2.authentication.ldap.userDNPattern | DN pattern of your user pool. Typically, all users are present here. %s represents the | cn=%s,ou=people,dc=mycompany,dc=org |
hive.server2.authentication.ldap.groupFilter | The name of the LDAP group you want to give access to Visualdoop. | admins |
hive.server2.authentication.ldap.groupDNPattern | DN pattern of your LDAP groups. %s represents the groupFilter variable above. | cn=%s,ou=crews,ou=groups,dc=mycompany,dc=org |
hive.server2.authentication.ldap.groupClassKey | The type of group used. Supported class keys are groupOfNames and groupOfUniqueNames | groupOfUniqueNames |
hive.server2.authentication.ldap.groupMembershipKey | The type of user membership key. Supported membership keys are member and uniqueMember. | uniqueMember |
In the example described above, of all users present in DN ou=people,dc=mycompany,dc=org, only those that are uniqueMember of the cn=admin,ou=crews,ou=groups,dc=mycompany,dc=org group can login to Visualdoop.