From 43da3f0929521615fe77d1dcb85318a8128bb7e8 Mon Sep 17 00:00:00 2001
From: Jacob Vosmaer <contact@jacobvosmaer.nl>
Date: Wed, 28 Jan 2015 11:09:11 +0100
Subject: [PATCH] Point out common LDAP port/method combinations

---
 doc/integration/ldap.md | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/doc/integration/ldap.md b/doc/integration/ldap.md
index 56b0d826adb..6172a61d005 100644
--- a/doc/integration/ldap.md
+++ b/doc/integration/ldap.md
@@ -76,6 +76,9 @@ main: # 'main' is the GitLab 'provider ID' of this LDAP server
 EOS
 ```
 
+If you are getting 'Connection Refused' errors when trying to connect to the LDAP server please double-check the LDAP `port` and `method` settings used by GitLab.
+Common combinations are `method: 'plain'` and `port: 389`, OR `method: 'ssl'` and `port: 636`.
+
 If you are using a GitLab installation from source you can find the LDAP settings in `/home/git/gitlab/config/gitlab.yml`:
 
 ```
-- 
GitLab