Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
da368def
Commit
da368def
authored
Feb 22, 2022
by
olivrrrr
Committed by
Evan Read
Feb 22, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changes regarding issue #353259
parent
d956dc61
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
7 deletions
+7
-7
doc/administration/auth/ldap/ldap-troubleshooting.md
doc/administration/auth/ldap/ldap-troubleshooting.md
+7
-7
No files found.
doc/administration/auth/ldap/ldap-troubleshooting.md
View file @
da368def
...
...
@@ -89,14 +89,14 @@ established but GitLab doesn't show you LDAP users in the output, one of the
following is most likely true:
-
The
`bind_dn`
user doesn't have enough permissions to traverse the user tree.
-
The user
(s)
don't fall under the
[
configured `base`
](
index.md#configure-ldap
)
.
-
The
[
configured `user_filter`
](
index.md#set-up-ldap-user-filter
)
blocks access to the user
(s)
.
-
The user
s
don't fall under the
[
configured `base`
](
index.md#configure-ldap
)
.
-
The
[
configured `user_filter`
](
index.md#set-up-ldap-user-filter
)
blocks access to the user
s
.
In this case, you con confirm which of the above is true using
[
ldapsearch
](
#ldapsearch
)
with the existing LDAP configuration in your
`/etc/gitlab/gitlab.rb`
.
#### User
(s)
cannot sign-in
#### User
s
cannot sign-in
A user can have trouble signing in for any number of reasons. To get started,
here are some questions to ask yourself:
...
...
@@ -284,7 +284,7 @@ If you don't find a particular user's GitLab email in the output, then that
user hasn't signed in with LDAP yet.
Next, GitLab searches its
`identities`
table for the existing
link between this user and the configured LDAP provider
(s)
:
link between this user and the configured LDAP provider
s
:
```
sql
Identity
Load
(
0
.
9
ms
)
SELECT
"identities"
.
*
FROM
"identities"
WHERE
"identities"
.
"user_id"
=
20
AND
(
provider
LIKE
'ldap%'
)
LIMIT
1
...
...
@@ -334,7 +334,7 @@ Gitlab::Auth::Ldap::Person.find_by_uid('<uid>', adapter)
### Group memberships **(PREMIUM SELF)**
#### Membership
(s)
not granted
#### Membership
s
not granted
Sometimes you may think a particular user should be added to a GitLab group via
LDAP group sync, but for some reason it's not happening. You can check several
...
...
@@ -348,7 +348,7 @@ things to debug the situation.
1.
On the top bar, select
**Menu > Admin**
.
1.
On the left sidebar, select
**Overview > Users**
.
1.
Search for the user.
1.
Open the user by
clicking their name. Do not click
**Edit**
.
1.
Open the user by
selecting their name. Do not select
**Edit**
.
1.
Select the
**Identities**
tab. There should be an LDAP identity with
an LDAP DN as the 'Identifier'. If not, this user hasn't signed in with
LDAP yet and must do so first.
...
...
@@ -558,7 +558,7 @@ aren't blocked or unable to access their accounts.
NOTE:
The following script requires that any new accounts with the new
email address are removed first.
This is because emails have to
be unique in GitLab.
email address are removed first.
Email addresses must
be unique in GitLab.
Go to the
[
rails console
](
#rails-console
)
and then run:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment