summaryrefslogtreecommitdiff
path: root/doc/integration/ldap.md
diff options
context:
space:
mode:
authorPatricio Cano <suprnova32@gmail.com>2016-03-07 16:29:22 -0500
committerPatricio Cano <suprnova32@gmail.com>2016-03-07 16:29:22 -0500
commit406f4a993a946db75d46756f936552144708a789 (patch)
tree22bbfe501b00b003bfdabf619172718726bdb32d /doc/integration/ldap.md
parentcf232411ae37b68c9d6ab20deac3fc8d99b44124 (diff)
downloadgitlab-ce-406f4a993a946db75d46756f936552144708a789.tar.gz
Fixed headers for anchorsdoc-troubleshooting
[ci skip]
Diffstat (limited to 'doc/integration/ldap.md')
-rw-r--r--doc/integration/ldap.md11
1 files changed, 3 insertions, 8 deletions
diff --git a/doc/integration/ldap.md b/doc/integration/ldap.md
index ac15a2cdffc..cf1f98492ea 100644
--- a/doc/integration/ldap.md
+++ b/doc/integration/ldap.md
@@ -207,9 +207,7 @@ the LDAP server's SSL certificate is performed.
## Troubleshooting
-### Common problems
-
-**Invalid credentials when logging in**
+### Invalid credentials when logging in
Make sure the user you are binding with has enough permissions to read the user's
tree and traverse it.
@@ -219,15 +217,12 @@ Also make sure that the `user_filter` is not blocking otherwise valid users.
To make sure that the LDAP settings are correct and GitLab can see your users,
execute the following command:
-For Omnibus installations:
```bash
+# For Omnibus installations
sudo gitlab-rake gitlab:ldap:check
-```
-For installations from source:
-
-```bash
+# For installations from source
sudo -u git -H bundle exec rake gitlab:ldap:check RAILS_ENV=production
```