BigW Consortium Gitlab
The blocked? method is used to check whether a user exists in LDAP. Prior to this change, if the LDAP server had more objects below the one pointed to by the DN, those objects would also be picked up by the search, causing the method to determine the user should be blocked. One case where this can happen is when using Active Directory and a user have a mobile phone assigned. In this case, Exchange will add an entry called ExchangeActiveSyncDevices under the users entry. The user-visible behaviour is then that a user loses Gitlab access when he enables a mobile device. This fix sets the search scope to BaseObject in order to ensure that only the user itself is returned.
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
backend | Loading commit data... | |
ldap | Loading commit data... | |
oauth | Loading commit data... | |
satellite | Loading commit data... | |
access.rb | Loading commit data... | |
app_logger.rb | Loading commit data... | |
auth.rb | Loading commit data... | |
blacklist.rb | Loading commit data... | |
diff_parser.rb | Loading commit data... | |
git_logger.rb | Loading commit data... | |
identifier.rb | Loading commit data... | |
inline_diff.rb | Loading commit data... | |
issues_labels.rb | Loading commit data... | |
logger.rb | Loading commit data... | |
markdown.rb | Loading commit data... | |
popen.rb | Loading commit data... | |
reference_extractor.rb | Loading commit data... | |
regex.rb | Loading commit data... | |
seeder.rb | Loading commit data... | |
theme.rb | Loading commit data... | |
version_info.rb | Loading commit data... |