summaryrefslogtreecommitdiff
path: root/lib/gitlab/ldap/config.rb
Commit message (Collapse)AuthorAgeFilesLines
* Moved o_auth/saml/ldap modules under gitlab/authHoratiu Eugen Vlad2018-02-281-235/+0
|
* Fixed user synced attributes metadata after removing current providerFrancisco Javier López2018-02-151-1/+1
|
* Added ldap config setting to lower case usernamesFrancisco Javier López2018-02-051-0/+4
|
* Adds Rubocop rule for line break around conditionals🙈 jacopo beschi 🙉2018-01-111-0/+1
|
* Modify `LDAP::Person` to return username value based on attributesDrew Blessing2018-01-041-1/+1
| | | | | | | | | `Gitlab::LDAP::Person` did not respect the LDAP attributes username configuration and would simply return the uid value. There are cases where users would like to specify a different username field to allow more friendly GitLab usernames. For example, it's common in AD to have sAMAccountName be an employee ID like `A12345` while the local part of the email address is more human-friendly.
* Backport some recent changes related to LDAP from EEbackport-2844-ldap-ee-license-checksRubén Dávila2017-07-271-0/+6
|
* Fix plain LDAP (no encryption)Michael Kozono2017-07-261-3/+6
|
* Fix code styleMichael Kozono2017-07-261-5/+5
|
* Move backwards compatibility logic out of the codeMichael Kozono2017-07-261-5/+1
| | | | And closer to the configuration setup. The code doesn’t need to know about this.
* Pass configured `ssl_version` to `omniauth-ldap`Michael Kozono2017-07-261-0/+2
|
* Pass configured `ca_file` to `omniauth-ldap`Michael Kozono2017-07-261-0/+1
|
* Verify certificates in `omniauth-ldap`Michael Kozono2017-07-261-1/+2
|
* Set `Net::LDAP` `ssl_version` optionMichael Kozono2017-07-261-0/+1
|
* Set `Net::LDAP` `ca_file` optionMichael Kozono2017-07-261-5/+15
|
* Set `Net::LDAP` encryption properlyMichael Kozono2017-07-261-8/+26
|
* Use encryption instead of methodMichael Kozono2017-07-261-2/+2
| | | | The method key is deprecated in the `gitlab_omniauth-ldap` gem.
* Enable the Style/TrailingCommaInArguments copRémy Coutable2017-05-101-1/+1
| | | | | | Use the EnforcedStyleForMultiline: no_comma option. Signed-off-by: Rémy Coutable <remy@rymai.me>
* Enable Style/Proc cop for rubocopmhasbini2017-04-021-2/+2
|
* LDAP attributes needs default valuesDrew Blessing2017-01-061-1/+11
|
* Centralize LDAP config/filter logicDrew Blessing2016-11-111-7/+58
| | | | | | | | | Centralize all LDAP config logic in `GitLab::LDAP::Config`. Previously, some logic was in the Devise initializer and it was not honoring the `user_filter`. If a user outside the configured `user_filter` signed in, an account would be created but they would then be denied access. Now that logic is centralized, the filter is honored and users outside the filter are never created.
* Introduce better credential and error checking to `rake gitlab:ldap:check`Drew Blessing2016-11-081-4/+4
| | | | | | | 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 :)
* Enable Style/EmptyLinesAroundAccessModifier rubocop coprubocop/enable-empty-lines-around-access-modifier-copGrzegorz Bizon2016-06-031-0/+1
| | | | See #17478
* Optimize LDAP and add a search timeoutDrew Blessing2016-01-111-0/+4
|
* Add attributes to LDAP::Config.Douwe Maan2015-09-081-0/+4
|
* Add config var to block auto-created LDAP users.Douwe Maan2015-04-141-0/+4
|
* Remove special cases for the 'ldap' providerJacob Vosmaer2015-04-131-2/+0
|
* Fix LDAP config lookup for provider 'ldap'Jacob Vosmaer2014-10-231-11/+16
|
* Use Hash syntax for LDAP server declarationJan-Willem van der Meer2014-10-141-3/+3
|
* Refactor lib files for multiple LDAP groupsJan-Willem van der Meer2014-10-131-0/+115