diff options
author | Evan Read <eread@gitlab.com> | 2019-07-31 00:20:02 +0000 |
---|---|---|
committer | Evan Read <eread@gitlab.com> | 2019-07-31 00:20:02 +0000 |
commit | bdff11850732028b9f7a2b2f5bb8f5fa5991b427 (patch) | |
tree | 5df3558cfd2a06268f8b0053c29d1c49a6e2865c | |
parent | 70cfff2a4d70c2f21d0c3d68c5f0113347cf28b0 (diff) | |
parent | 65d8e39dc49a25bc25fae71e19b51edd53fb091e (diff) | |
download | gitlab-ce-bdff11850732028b9f7a2b2f5bb8f5fa5991b427.tar.gz |
Merge branch 'harishsr-ldap-groupsync-rake-task-docs' into 'master'
Document how to use the GroupSync rake task
See merge request gitlab-org/gitlab-ce!31192
-rw-r--r-- | doc/administration/raketasks/ldap.md | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/doc/administration/raketasks/ldap.md b/doc/administration/raketasks/ldap.md index 91fc0133d56..e880d76e756 100644 --- a/doc/administration/raketasks/ldap.md +++ b/doc/administration/raketasks/ldap.md @@ -28,6 +28,31 @@ limit by passing a number to the check task: rake gitlab:ldap:check[50] ``` +## Run a Group Sync + +> [Introduced](https://gitlab.com/gitlab-org/gitlab-ee/merge_requests/14735) in [GitLab Starter](https://about.gitlab.com/pricing/) 12.3. + +The following task will run a [group sync](../auth/ldap-ee.md#group-sync) immediately. This is valuable +when you'd like to update all configured group memberships against LDAP without +waiting for the next scheduled group sync to be run. + +NOTE: **NOTE:** +If you'd like to change the frequency at which a group sync is performed, +[adjust the cron schedule](../auth/ldap-ee.md#adjusting-ldap-group-sync-schedule) +instead. + +**Omnibus Installation** + +``` +sudo gitlab-rake gitlab:ldap:group_sync +``` + +**Source Installation** + +```bash +bundle exec rake gitlab:ldap:group_sync +``` + ## Rename a provider If you change the LDAP server ID in `gitlab.yml` or `gitlab.rb` you will need |