此内容没有您所选择的语言版本。
Chapter 2. Configuring Red Hat Identity management
You can configure Red Hat OpenStack Platform with federated user management with the following features:
- Red Hat Identity Management (IdM) is external to Red Hat OpenStack Platform
- Red Hat IdM is the source of all user and group information
- Red Hat Single Signon (RH-SSO) is configured to use Red Hat IdM for user Federation
2.1. Creating the IdM service account for RH-SSO 复制链接链接已复制到粘贴板!
If you use anonomous binds, some information that is essential for Red Hat Single Sign-On (RH-SSO) is withheld for security reasons. As a result, you need provide the appropriate privileges for RH-SSO in the forma a dedicated account to query the IdM LDAP server for this information:
You can use the configure-federation script to perform the above step: $ ./configure-federation create-ipa-service-account
2.2. Creating a test user 复制链接链接已复制到粘贴板!
Create a user account in IdM for testing:
Procedure
Create a user
jdoe
in IdM:$ipa user-add --first John --last Doe --email jdoe@example.com jdoe
$ipa user-add --first John --last Doe --email jdoe@example.com jdoe
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Assign a password to the user:
$ipa passwd jdoe
$ipa passwd jdoe
Copy to Clipboard Copied! Toggle word wrap Toggle overflow
2.3. Creating an IdM group for OpenStack users 复制链接链接已复制到粘贴板!
You must have an IdM group openstack-users
to map to the Keystone group federated_users
. Map the test user to this group.
Create the openstack-users
group in Red Hat Identity Management (IdM):
Procedure
Ensure that the
openstack-users
group does not exist:ipa group-show openstack-users
$ ipa group-show openstack-users ipa: ERROR: openstack-users: group not found
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Add the openstack-users group to IdM:
ipa group-add openstack-users
ipa group-add openstack-users
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Add the test users to the
openstack-users
group:ipa group-add-member --users jdoe openstack-users
ipa group-add-member --users jdoe openstack-users
Copy to Clipboard Copied! Toggle word wrap Toggle overflow Verify that the
openstack-users
group exists and has the test user as a member:ipa group-show openstack-users
$ ipa group-show openstack-users Group name: openstack-users GID: 331400001 Member users: jdoe
Copy to Clipboard Copied! Toggle word wrap Toggle overflow