This documentation is for a release that is no longer maintained
See documentation for the latest supported version 3 or the latest supported version 4.17.5.2. 使用 RFC2307 模式及用户定义的名称映射来同步组
使用用户定义的名称映射同步组时,配置文件会更改为包含这些映射,如下所示。
使用 RFC 2307 模式及用户定义的名称映射的 LDAP 同步配置:rfc2307_config_user_defined.yaml
先决条件
- 创建配置文件。
流程
使用
rfc2307_config_user_defined.yaml
文件运行同步:oc adm groups sync --sync-config=rfc2307_config_user_defined.yaml --confirm
$ oc adm groups sync --sync-config=rfc2307_config_user_defined.yaml --confirm
Copy to Clipboard Copied! Toggle word wrap Toggle overflow OpenShift Container Platform 创建以下组记录作为上述同步操作的结果:
使用
rfc2307_config_user_defined.yaml
文件创建的 OpenShift Container Platform 组Copy to Clipboard Copied! Toggle word wrap Toggle overflow - 1
- 由用户定义的名称映射指定的组名称。