gitlab-org--gitlab-foss/lib/gitlab
Robert Speicher 42603af326 Merge branch 'fix_email_downcasing' into 'master'
LDAP email address downcasing

Fixes #2960

In the event we cannot match an LDAP user by DN we attempt to find an identity by email address and then update the DN. In this case the identity is matched by email address. 

If the user's email address in LDAP has an upper case character we cannot find a match in the GitLab database. GitLab downcases emails before the user object is saved.

This merge request downcases the email from LDAP before we lookup by email. I also added a test to prevent a regression.

See merge request !1550
2015-10-11 22:53:11 +00:00
..
backend Normalize space-like characters in keys before output to gitlab-shell 2015-10-08 20:34:50 -04:00
bitbucket_import Fix bug where only the first 15 Bitbucket issues would be imported. 2015-09-01 08:50:20 -07:00
diff Fix rubocop warnings in lib 2015-10-03 01:29:58 -05:00
email Rename reply_by_email to incoming_email to prepare for the future. 2015-09-21 10:35:37 +02:00
fogbugz_import Fix rubocop warnings in lib 2015-10-03 01:29:58 -05:00
git Refactor pre/post receive commit services into one class 2015-08-14 16:04:17 +02:00
github_import Fix bug where only the first 15 Bitbucket issues would be imported. 2015-09-01 08:50:20 -07:00
gitlab_import Fix bug where only the first 15 Bitbucket issues would be imported. 2015-09-01 08:50:20 -07:00
gitorious_import Define GITORIOUS_HOST only once 2015-06-10 01:31:27 -04:00
google_code_import Fix rubocop warnings in lib 2015-10-03 01:29:58 -05:00
graphs
ldap Fix ldap email downcasing bug 2015-10-08 14:59:46 -05:00
markdown Allow RelativeLinkFilter to go up multiple directories 2015-09-20 19:21:33 -04:00
middleware
o_auth Shuffle config around a bit 2015-09-09 11:40:31 +01:00
sidekiq_middleware
access.rb
app_logger.rb
asciidoc.rb
auth.rb
bitbucket_import.rb
blacklist.rb
closing_issue_extractor.rb Make use of to_reference in more specs 2015-05-26 15:49:22 -04:00
color_schemes.rb Add count to Themes and ColorSchemes 2015-08-26 11:30:38 -07:00
compare_result.rb
config_helper.rb
contributions_calendar.rb Fix rubocop warnings in lib 2015-10-03 01:29:58 -05:00
contributor.rb
current_settings.rb Added USE_DB env var to allow loading fake settings without db running. 2015-09-01 17:49:16 +02:00
database.rb Added methods for detecting MySQL/PostgreSQL 2015-10-07 23:32:14 +02:00
force_push_check.rb
git.rb
git_access.rb
git_access_status.rb
git_access_wiki.rb Rename abilities to correspond contoller/model action names 2015-06-26 15:55:56 +02:00
git_logger.rb
git_ref_validator.rb
gitorious_import.rb Define GITORIOUS_HOST only once 2015-06-10 01:31:27 -04:00
identifier.rb
import_formatter.rb Fix bug where only the first 15 Bitbucket issues would be imported. 2015-09-01 08:50:20 -07:00
import_sources.rb FogBugz project import 2015-09-08 20:23:01 -04:00
incoming_email.rb Rename reply_by_email to incoming_email to prepare for the future. 2015-09-21 10:35:37 +02:00
inline_diff.rb Fix bug where backslashes in inline diffs could be dropped 2015-08-11 18:39:27 -07:00
issues_labels.rb
key_fingerprint.rb
logger.rb
markdown.rb Fix emoji URLs in Markdown when relative_url_root is used 2015-09-06 09:46:10 -07:00
markup_helper.rb markup_helper: detect .mkd and .mkdn as markdown 2015-08-12 15:29:15 -04:00
note_data_builder.rb
popen.rb
production_logger.rb
project_search_results.rb Revert "No need to check if repository_ref is present" 2015-06-09 15:18:15 +02:00
push_data_builder.rb Dont set checkout sha for removed branch/tag 2015-06-15 17:54:22 +02:00
reference_extractor.rb Require gitlab/markdown in ReferenceExtractor 2015-09-01 13:28:19 -04:00
regex.rb
search_results.rb Ability to search milestones 2015-08-24 13:59:01 +03:00
seeder.rb
sidekiq_logger.rb
snippet_search_results.rb
themes.rb Add count to Themes and ColorSchemes 2015-08-26 11:30:38 -07:00
upgrader.rb
url_builder.rb Merge branch 'master' into ci-and-ce-sitting-in-a-tree-k-i-s-s-i-n-g 2015-09-09 14:56:02 +02:00
user_access.rb
utils.rb
version_info.rb
visibility_level.rb Fork visibility level fix 2015-07-06 17:40:33 +03:00