Configure user authentication
After obtaining your LDAP/AD information, configure LDAP/AD user authentication for Cloudbreak.
Steps
- On the Cloudbreak host, browse to
/var/lib/cloudbreak-deployment
. - Create a new yml file. By default the name of this file should be
uaa-changes.yml
, but optionally it can be customized by setting the following in Profile:export UAA_SETTINGS_FILE=<some-file-name>.yml
where <some-file-name> is the name that you would like to use for this yml file. - In the yml file enter the following using your LDAP/AD information. Next, save the file and restart Cloudbreak.
spring_profiles: postgresql,ldap
ldap:
profile:
file: ldap/ldap-search-and-bind.xml
base:
url: ldap://10.0.3.138:389
userDn: cn=Administrator,ou=srv,dc=hortonworks,dc=local
password: ’mypassword’
searchBase: ou=Users,dc=hortonworks,dc=local
searchFilter: mail={0}
groups:
file: ldap/ldap-groups-map-to-scopes.xml
searchBase: ou=Groups,dc=hortonworks,dc=local
searchSubtree: false
maxSearchDepth: 1
groupSearchFilter: member={0}
autoAdd: true