File to be used to define Ldap properties.

The file is located in a config/ folder inside the install directory. There is an example ldap.properties.template.

The parameters are similar to the hive-site.xml ones.

ParameterDescriptionExample
hive.server2.authentication.ldap.urlURL 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 represent the
username variable.

cn=%s,ou=people,dc=mycompany,dc=org
hive.server2.authentication.ldap.groupFilterThe name of the LDAP group you want to give access to Visualdoop.admins
hive.server2.authentication.ldap.groupDNPatternDN pattern of your LDAP groups. %s represent the groupFilter variable abovecn=%s,ou=crews,ou=groups,dc=mycompany,dc=org
hive.server2.authentication.ldap.groupClassKeyThe type of group used. Supported class keys are groupOfNames and groupOfUniqueNamesgroupOfUniqueNames
hive.server2.authentication.ldap.groupMembershipKeyThe type of user membership key. Supported membership keys are member and uniqueMemberuniqueMember

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.