2014-03-25 10:07:45 -06:00
|
|
|
# Example using LDAP to manage user identity only.
|
|
|
|
# This setup will not allow changes to users.
|
|
|
|
|
|
|
|
# Ensure this matches what is in LDAP or keystone will try to recreate
|
|
|
|
# the admin user
|
2019-11-02 12:32:24 +01:00
|
|
|
class { 'keystone::bootstrap':
|
2014-03-25 10:07:45 -06:00
|
|
|
password => 'ChangeMe',
|
|
|
|
}
|
|
|
|
|
|
|
|
# You can test this connection with ldapsearch first to ensure it works.
|
|
|
|
# This was tested against a FreeIPA box, you will likely need to change the
|
|
|
|
# attributes to match your configuration.
|
2019-12-08 23:09:22 +01:00
|
|
|
class { 'keystone:ldap':
|
2016-02-26 10:03:15 -05:00
|
|
|
identity_driver => 'ldap',
|
2015-03-15 16:23:09 +01:00
|
|
|
url => 'ldap://ldap.example.com:389',
|
|
|
|
user => 'uid=bind,cn=users,cn=accounts,dc=example,dc=com',
|
|
|
|
password => 'SecretPass',
|
|
|
|
suffix => 'dc=example,dc=com',
|
|
|
|
query_scope => 'sub',
|
|
|
|
user_tree_dn => 'cn=users,cn=accounts,dc=example,dc=com',
|
|
|
|
user_id_attribute => 'uid',
|
|
|
|
user_name_attribute => 'uid',
|
|
|
|
user_mail_attribute => 'mail',
|
2014-03-25 10:07:45 -06:00
|
|
|
}
|