summaryrefslogtreecommitdiffstats
path: root/app/models/auth_source_ldap.rb
Commit message (Collapse)AuthorAgeFilesLines
* Support frozen_string_literal in app/**/*.rb (#26561).Go MAEDA2019-03-171-1/+1
| | | | | | | Contributed by Pavel Rosický. git-svn-id: http://svn.redmine.org/redmine/trunk@17987 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Add "frozen_string_literal: false" for all files (#26561).Go MAEDA2019-03-151-0/+2
| | | | | | | This will be changed to true in the future. git-svn-id: http://svn.redmine.org/redmine/trunk@17947 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Support self-signed LDAPS connections (#29606).Jean-Philippe Lang2018-09-231-2/+44
| | | | | | Patch by Gregor Schmidt. git-svn-id: http://svn.redmine.org/redmine/trunk@17505 e93f8b46-1217-0410-a6f0-8f06a7374b81
* LdapError is deprecated (#24970).Jean-Philippe Lang2017-07-081-2/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16773 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Update copyright.Jean-Philippe Lang2017-06-251-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16685 e93f8b46-1217-0410-a6f0-8f06a7374b81
* revert r16322 (#24970)Toshi MARUYAMA2017-02-021-2/+2
| | | | | | Some tests fail. git-svn-id: http://svn.redmine.org/redmine/trunk@16323 e93f8b46-1217-0410-a6f0-8f06a7374b81
* replace depricated Net::LDAP::LdapError by Net::LDAP::Error (#24970)Toshi MARUYAMA2017-02-021-2/+2
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@16322 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Updates copyright for 2016.Jean-Philippe Lang2016-03-131-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15238 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Do not bind when the account contains $login (#21674).Jean-Philippe Lang2016-01-221-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15090 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed that LDAP does not check the user and password when are defined in the ↵Jean-Philippe Lang2016-01-221-1/+6
| | | | | | | | method of authentication (#21674). Patch by Helder Manuel Torres Vieira. git-svn-id: http://svn.redmine.org/redmine/trunk@15086 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Stringify the attribute value before #force_enconding (#21453).Jean-Philippe Lang2016-01-091-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@15025 e93f8b46-1217-0410-a6f0-8f06a7374b81
* LDAP account creation fails when first name/last name contain non ASCII ↵Jean-Philippe Lang2016-01-091-1/+2
| | | | | | | | (#21453). Patch by Haihan Ji. git-svn-id: http://svn.redmine.org/redmine/trunk@15024 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Rescue network level errors with LDAP auth (#21137).Jean-Philippe Lang2015-11-071-3/+10
| | | | | | Patch by Holger Just. git-svn-id: http://svn.redmine.org/redmine/trunk@14808 e93f8b46-1217-0410-a6f0-8f06a7374b81
* upgrade net-ldap gem to 0.12.0 (#17618)Toshi MARUYAMA2015-10-311-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@14784 e93f8b46-1217-0410-a6f0-8f06a7374b81
* LDAP filter changed to text (#20929).Jean-Philippe Lang2015-10-211-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@14725 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Copyright update.Jean-Philippe Lang2015-01-111-1/+1
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13872 e93f8b46-1217-0410-a6f0-8f06a7374b81
* remove redundant empty lines from app/models/auth_source_ldap.rbToshi MARUYAMA2014-05-251-4/+0
| | | | git-svn-id: http://svn.redmine.org/redmine/trunk@13169 e93f8b46-1217-0410-a6f0-8f06a7374b81
* update copyright year (#15977)Toshi MARUYAMA2014-01-291-1/+1
| | | | | | Contributed by Daniel Felix. git-svn-id: http://svn.redmine.org/redmine/trunk@12736 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Removed useless require 'iconv' (#12787).Jean-Philippe Lang2013-01-121-1/+0
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11176 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Copyright for 2013 (#12788).Jean-Philippe Lang2013-01-121-1/+1
| | | | | | Patch by Daniel Felix. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11169 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Auto-populate fields while creating a new user with LDAP (#10286).Jean-Philippe Lang2012-12-261-7/+35
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11080 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Removed AuthSourceLdap.human_attribute_name.Jean-Philippe Lang2012-07-311-8/+0
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@10146 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds a configurable timeout for LDAP authentication (#8978).Jean-Philippe Lang2012-07-071-9/+25
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9931 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Copyright update.Jean-Philippe Lang2012-05-051-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9636 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixes error message for LDAP filter (#1060).Jean-Philippe Lang2012-03-241-0/+8
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9258 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Typo (#1913).Jean-Philippe Lang2012-03-171-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9243 e93f8b46-1217-0410-a6f0-8f06a7374b81
* LDAP: adds the ability to bind with user's account (#1913).Jean-Philippe Lang2012-03-171-3/+9
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9241 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed that LDAP error is not displayed when testing connection.Jean-Philippe Lang2012-03-111-2/+2
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9234 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds an optional LDAP filter (#1060).Jean-Philippe Lang2012-03-011-2/+22
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@9044 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Friendly response when the LDAP connection fails.Jean-Philippe Lang2012-02-191-2/+2
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8911 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Require net/ldap.Jean-Philippe Lang2012-02-191-0/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8907 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Replaced ruby-net-ldap with net-ldap 0.2.2 gem.Jean-Philippe Lang2012-02-021-1/+0
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8751 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Removed after_initialize methods.Jean-Philippe Lang2011-12-181-1/+2
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8288 e93f8b46-1217-0410-a6f0-8f06a7374b81
* remove trailing white-spaces from app/models/auth_source_ldap.rb.Toshi MARUYAMA2011-08-211-19/+19
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6512 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Adds support for SCM/LDAP passwords encryption in the database (#7411).Jean-Philippe Lang2011-02-261-2/+2
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4950 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Makes AuthSource.authenticate return a hash instead of an array.Jean-Philippe Lang2010-02-261-7/+7
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3492 e93f8b46-1217-0410-a6f0-8f06a7374b81
* User model should not have to clean up LDAP attributes.Jean-Philippe Lang2010-02-261-1/+1
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3488 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Refactor: Extract #get_user_dn from AuthSourceLdap.Eric Davis2010-02-191-16/+27
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3454 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Refactor: extract AuthSourceLdap#search_attributesEric Davis2010-02-191-2/+11
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3453 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Refactor: Rewrite authenticate_dn to use an implicit return.Eric Davis2010-02-181-6/+3
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3450 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Refactor: Moved the check for an empty DN to authenticate_dnEric Davis2010-02-181-2/+3
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3449 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Refactor: extract an #authenticate_dn method in AuthSourceLdapEric Davis2010-02-171-6/+13
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3441 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Refactor: Extract method from AuthSourceLdap#authenticateEric Davis2010-02-161-4/+11
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3439 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Do not request blank LDAP attributes.Jean-Philippe Lang2008-11-251-1/+3
| | | | git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2056 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Strip LDAP attribute names before saving (#1890).Jean-Philippe Lang2008-09-211-1/+10
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@1894 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Improved on-the-fly account creation. If some attributes are missing (eg. ↵Jean-Philippe Lang2008-07-191-1/+4
| | | | | | not present in the LDAP) or are invalid, the registration form is displayed so that the user is able to fill or fix these attributes. git-svn-id: http://redmine.rubyforge.org/svn/trunk@1678 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fix LDAP authentication (#714, broken by r1194).Jean-Philippe Lang2008-03-061-1/+1
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@1199 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed "LdapError: invalid binding information" when no username/password are ↵Jean-Philippe Lang2008-03-051-5/+6
| | | | | | set on the LDAP account (#764). git-svn-id: http://redmine.rubyforge.org/svn/trunk@1194 e93f8b46-1217-0410-a6f0-8f06a7374b81
* Fixed: LDAP authentication without password may be possible (#714).Jean-Philippe Lang2008-02-221-0/+1
| | | | git-svn-id: http://redmine.rubyforge.org/svn/trunk@1169 e93f8b46-1217-0410-a6f0-8f06a7374b81
* LDAP authentication: only ask for the user's DN if on-the-fly registration ↵Jean-Philippe Lang2007-11-041-1/+2
| | | | | | is disabled git-svn-id: http://redmine.rubyforge.org/svn/trunk@882 e93f8b46-1217-0410-a6f0-8f06a7374b81