1
0
mirror of https://github.com/openshift/openshift-docs.git synced 2026-02-06 06:46:26 +01:00
Files
openshift-docs/modules/ldap-syncing-running-openshift.adoc
2020-08-11 11:37:22 +00:00

30 lines
771 B
Plaintext

// Module included in the following assemblies:
//
// * authentication/ldap-syncing-groups.adoc
[id="ldap-syncing-running-openshift_{context}"]
= Syncing {product-title} groups with the LDAP server
You can sync all groups already in {product-title} that correspond to groups in the
LDAP server specified in the configuration file.
.Prerequisites
* Create a sync configuration file.
.Procedure
. To sync {product-title} groups with the LDAP server:
+
[source,terminal]
----
$ oc adm groups sync --type=openshift --sync-config=config.yaml --confirm
----
+
[NOTE]
====
By default, all group synchronization operations are dry-run, so you
must set the `--confirm` flag on the `oc adm groups sync` command in order to make
changes to {product-title} group records.
====