4.3. OpenShift Container Platform의 Ansible 자동화 허브에 대한 LDAP 인증 구성
Hub 인스턴스 구성 파일의 spec 섹션에서 OpenShift Container Platform의 Ansible Automation Platform에 대한 LDAP 인증 설정을 구성합니다.
절차
다음 예제를 사용하여 자동화 허브 인스턴스에서 LDAP를 구성합니다. 빈 필드에
''를 입력합니다.spec: pulp_settings: auth_ldap_user_attr_map: email: "mail" first_name: "givenName" last_name: "sn" auth_ldap_group_search_base_dn: 'cn=groups,cn=accounts,dc=example,dc=com' auth_ldap_bind_dn: ' ' auth_ldap_bind_password: ' ' auth_ldap_group_search_filter: (objectClass=posixGroup) auth_ldap_user_search_scope: SUBTREE auth_ldap_server_uri: 'ldap://ldapserver:389' authentication_backend_preset: ldap auth_ldap_mirror_groups: 'True' auth_ldap_user_search_base_dn: 'cn=users,cn=accounts,dc=example,dc=com' auth_ldap_bind_password: 'ldappassword' auth_ldap_user_search_filter: (uid=%(user)s) auth_ldap_group_search_scope: SUBTREE auth_ldap_user_flags_by_group: '@json {"is_superuser": "cn=tower-admin,cn=groups,cn=accounts,dc=example,dc=com"}'
참고
필드를 비워 두지 마십시오. 변수가 없는 필드에 대해 '' 를 입력하여 기본값을 나타냅니다.