summaryrefslogtreecommitdiff
path: root/doc/integration/ldap.md
diff options
context:
space:
mode:
authorBaldinof <baldinof@gmail.com>2016-03-09 22:54:53 +0100
committerBaldinof <baldinof@gmail.com>2016-03-09 22:54:53 +0100
commita5079d219548c4e94eb78953811158c346225174 (patch)
treecf122ee677415a6891c60c244766680bdc3e288d /doc/integration/ldap.md
parenta603422edb69248c822dd6c4a9d7860194d89a3d (diff)
parentd9042e8b399608fa189ffdb02efa8de30604088d (diff)
downloadgitlab-ce-a5079d219548c4e94eb78953811158c346225174.tar.gz
Merge branch 'master' into markdown_preview_shortcut
Diffstat (limited to 'doc/integration/ldap.md')
-rw-r--r--doc/integration/ldap.md22
1 files changed, 22 insertions, 0 deletions
diff --git a/doc/integration/ldap.md b/doc/integration/ldap.md
index f256477196b..cf1f98492ea 100644
--- a/doc/integration/ldap.md
+++ b/doc/integration/ldap.md
@@ -204,3 +204,25 @@ 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
+
+### 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:
+
+
+```bash
+# For Omnibus installations
+sudo gitlab-rake gitlab:ldap:check
+
+# For installations from source
+sudo -u git -H bundle exec rake gitlab:ldap:check RAILS_ENV=production
+```
+