Map LDAP groups in keystone
This change adds in the mapping for LDAP groups to be mapped to groups within keystone. Also adds a group list check to make sure that groups are correctly mapped. Change-Id: Ib3b00d3f801ba975202a921643510fcb642e0a90
This commit is contained in:
parent
040e6aa23a
commit
5a50a9c136
@ -41,6 +41,12 @@ conf:
|
|||||||
user_mail_attribute: mail
|
user_mail_attribute: mail
|
||||||
user_pass_attribute: userPassword
|
user_pass_attribute: userPassword
|
||||||
group_tree_dn: "ou=Groups,dc=cluster,dc=local"
|
group_tree_dn: "ou=Groups,dc=cluster,dc=local"
|
||||||
|
group_filter: ""
|
||||||
|
group_objectclass: posixGroup
|
||||||
|
group_id_attribute: cn
|
||||||
|
group_name_attribute: cn
|
||||||
|
group_desc_attribute: description
|
||||||
|
group_member_attribute: memberUID
|
||||||
use_pool: true
|
use_pool: true
|
||||||
pool_size: 27
|
pool_size: 27
|
||||||
pool_retry_max: 3
|
pool_retry_max: 3
|
||||||
|
@ -44,6 +44,8 @@ FEATURE_GATE="ldap"; if [[ ${FEATURE_GATES//,/ } =~ (^|[[:space:]])${FEATURE_GAT
|
|||||||
openstack user list
|
openstack user list
|
||||||
openstack user list --domain ldapdomain
|
openstack user list --domain ldapdomain
|
||||||
|
|
||||||
|
openstack group list --domain ldapdomain
|
||||||
|
|
||||||
openstack role add --user bob --project admin --user-domain ldapdomain --project-domain default admin
|
openstack role add --user bob --project admin --user-domain ldapdomain --project-domain default admin
|
||||||
|
|
||||||
domain="ldapdomain"
|
domain="ldapdomain"
|
||||||
|
Loading…
Reference in New Issue
Block a user