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
diff Fix rubocop warnings in lib 2015-10-03 01:29:58 -05:00
email
fogbugz_import Fix rubocop warnings in lib 2015-10-03 01:29:58 -05:00
git
github_import
gitlab_import
gitorious_import
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
middleware
o_auth
sidekiq_middleware
access.rb
app_logger.rb
asciidoc.rb
auth.rb
bitbucket_import.rb
blacklist.rb
closing_issue_extractor.rb
color_schemes.rb
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
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
git_logger.rb
git_ref_validator.rb
gitorious_import.rb
identifier.rb
import_formatter.rb
import_sources.rb
incoming_email.rb
inline_diff.rb
issues_labels.rb
key_fingerprint.rb
logger.rb
markdown.rb
markup_helper.rb
note_data_builder.rb
popen.rb
production_logger.rb
project_search_results.rb
push_data_builder.rb
reference_extractor.rb
regex.rb
search_results.rb
seeder.rb
sidekiq_logger.rb
snippet_search_results.rb
themes.rb
upgrader.rb
url_builder.rb
user_access.rb
utils.rb
version_info.rb
visibility_level.rb