summaryrefslogtreecommitdiff
path: root/doc/integration/ldap.md
diff options
context:
space:
mode:
authorPatricio Cano <suprnova32@gmail.com>2016-03-03 11:21:32 -0500
committerPatricio Cano <suprnova32@gmail.com>2016-03-03 11:21:32 -0500
commitcf232411ae37b68c9d6ab20deac3fc8d99b44124 (patch)
tree8c2dccd528d5ceb234a65b03a15c19ab0a6710f0 /doc/integration/ldap.md
parent00cb4a97147a8f760d37c5f6fae11f93ba4ede34 (diff)
downloadgitlab-ce-cf232411ae37b68c9d6ab20deac3fc8d99b44124.tar.gz
Added Troubleshooting information for most used services.
Diffstat (limited to 'doc/integration/ldap.md')
-rw-r--r--doc/integration/ldap.md27
1 files changed, 27 insertions, 0 deletions
diff --git a/doc/integration/ldap.md b/doc/integration/ldap.md
index f256477196b..ac15a2cdffc 100644
--- a/doc/integration/ldap.md
+++ b/doc/integration/ldap.md
@@ -204,3 +204,30 @@ When setting `method: ssl`, the underlying authentication method used by
`omniauth-ldap` is `simple_tls`. This method establishes TLS encryption with
the LDAP server before any LDAP-protocol data is exchanged but no validation of
the LDAP server's SSL certificate is performed.
+
+## Troubleshooting
+
+### Common problems
+
+**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.
+
+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
+sudo gitlab-rake gitlab:ldap:check
+```
+
+For installations from source:
+
+```bash
+sudo -u git -H bundle exec rake gitlab:ldap:check RAILS_ENV=production
+```
+