19.5.7. LDAP 중첩 멤버십 동기화의 예


중첩 그룹 LDAP 동기화 예제를 허용 목록 그룹과 함께 실행하여 중첩 Active Directory 그룹의 구성원이 결과 OpenShift Container Platform 그룹에 표시되는지 확인할 수 있습니다.

사전 요구 사항

  • LDAP 동기화 구성 파일이 있습니다. 이 절차에서는 augmented_active_directory_config_nested.yaml이라는 예제 파일을 사용합니다.
  • cluster-admin 역할의 사용자로 클러스터에 액세스할 수 있어야 합니다.

프로세스

  • 다음 명령을 실행하여 augmented_active_directory_config_nested.yaml 파일과 동기화합니다.

    $ oc adm groups sync \
        'cn=admins,ou=groups,dc=example,dc=com' \
        --sync-config=augmented_active_directory_config_nested.yaml \
        --confirm
    참고

    cn=admins,ou=groups,dc=example,dc=com 그룹을 명시적으로 허용해야 합니다.

    OpenShift Container Platform은 이전 동기화 작업의 결과로 다음과 같은 그룹 레코드를 만듭니다.

    apiVersion: user.openshift.io/v1
    kind: Group
    metadata:
      annotations:
        openshift.io/ldap.sync-time: 2015-10-13T10:08:38-0400
        openshift.io/ldap.uid: cn=admins,ou=groups,dc=example,dc=com
        openshift.io/ldap.url: LDAP_SERVER_IP:389
      creationTimestamp:
      name: admins
    users:
    - jane.smith@example.com
    - jim.adams@example.com

    다음과 같습니다.

    metadata.annotations.openshift.io/LDAP.sync-time
    이 OpenShift Container Platform 그룹이 LDAP 서버와 마지막으로 동기화된 시간으로, ISO 8601 형식으로 되어 있습니다.
    metadata.annotations.openshift.io/LDAP.uid
    LDAP 서버에서 그룹의 고유 식별자를 지정합니다.
    metadata.annotations.openshift.io/LDAP.url
    그룹 레코드가 저장된 LDAP 서버의 IP 주소 및 호스트를 지정합니다.
    metadata.name
    동기화 파일에서 지정한 그룹의 이름입니다.
    사용자

    동기화 파일에서 지정한 대로 이름이 지정된 그룹 멤버에 해당하는 사용자입니다.

    참고

    중첩 그룹 멤버십이 Microsoft Active Directory Server에 의해 평면화되었으므로 포함됩니다.

Red Hat logoGithubredditYoutubeTwitter

자세한 정보

평가판, 구매 및 판매

커뮤니티

Red Hat 소개

Red Hat은 기업이 핵심 데이터 센터에서 네트워크 에지에 이르기까지 플랫폼과 환경 전반에서 더 쉽게 작업할 수 있도록 강화된 솔루션을 제공합니다.

보다 포괄적 수용을 위한 오픈 소스 용어 교체

Red Hat은 코드, 문서, 웹 속성에서 문제가 있는 언어를 교체하기 위해 최선을 다하고 있습니다. 자세한 내용은 다음을 참조하세요.Red Hat 블로그.

Red Hat 문서 정보

Legal Notice

Theme

© 2026 Red Hat
맨 위로 이동