Commit graph

6 commits

Author SHA1 Message Date
Drew Blessing
6a5891185c Clarify LDAP troubleshooting ldap_search example [ci skip]
A customer noted an error/lack of clarity in the LDAP documentation
with the `ldap_search` example. Previously, if taken literally, the
customer may have expected the `$` variables to be automatically
replaced or if they paste the exact `user_filter` contents the
parentheses would have been incorrect. Let's just simply the filter
and use exactly what's in the configuration.
2016-11-15 15:06:04 -06:00
Drew Blessing
dc30783057 Introduce better credential and error checking to rake gitlab:ldap:check
It was previously possible for invalid credential errors to go unnoticed
in this task. Users would believe everything was configured correctly and
then sign in would fail with 'invalid credentials'. This adds a specific
bind check, plus catches errors connecting to the server. Also, specs :)
2016-11-08 15:46:10 -06:00
Markus Koller
68364fe2f0
Log LDAP lookup errors and don't swallow unrelated exceptions
Signed-off-by: Roger Meier <r.meier@siemens.com>
2016-09-28 07:44:58 +02:00
Drew Blessing
900a488f99 Fix erroneous YAML spacing in LDAP configuration 2016-05-27 14:33:43 -05:00
Achilleas Pipinellis
7b290e29f0 Fix LDAP link and codeblock indentation
[ci skip]
2016-04-05 17:04:16 +03:00
Drew Blessing
b25d42cee9 Update LDAP docs [ci skip] 2016-03-22 15:35:27 -05:00