diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-03-12 18:09:39 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-03-12 18:09:39 +0300 |
commit | dc889678d1de8c09310b2f8f9742bb6c78a6f1a4 (patch) | |
tree | 70945aa6721a271fc8057efa13c3216a03fbac45 /doc/administration/auth | |
parent | cd52759ee33051b8ad7b88b02ba7954e4fad7018 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/administration/auth')
-rw-r--r-- | doc/administration/auth/ldap-ee.md | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/administration/auth/ldap-ee.md b/doc/administration/auth/ldap-ee.md index 3220831ea87..c5e4bee3c58 100644 --- a/doc/administration/auth/ldap-ee.md +++ b/doc/administration/auth/ldap-ee.md @@ -493,7 +493,7 @@ step of the sync. 1. Run a group sync for this particular group. ```ruby - EE::Gitlab::Auth::LDAP::Sync::Group.execute_all_providers(group) + EE::Gitlab::Auth::Ldap::Sync::Group.execute_all_providers(group) ``` 1. Look through the output of the sync. See [example log output](#example-log-output) @@ -503,11 +503,11 @@ step of the sync. run the following query: ```ruby - adapter = Gitlab::Auth::LDAP::Adapter.new('ldapmain') # If `main` is the LDAP provider - ldap_group = EE::Gitlab::Auth::LDAP::Group.find_by_cn('group_cn_here', adapter) + adapter = Gitlab::Auth::Ldap::Adapter.new('ldapmain') # If `main` is the LDAP provider + ldap_group = EE::Gitlab::Auth::Ldap::Group.find_by_cn('group_cn_here', adapter) # Output - => #<EE::Gitlab::Auth::LDAP::Group:0x007fcbdd0bb6d8 + => #<EE::Gitlab::Auth::Ldap::Group:0x007fcbdd0bb6d8 ``` 1. Query the LDAP group's member DNs and see if the user's DN is in the list. |