Project

General

Profile

Actions

Defect #24970

closed

Net::LDAP::LdapError is deprecated

Added by Pavel Rosický almost 8 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Normal
Category:
LDAP
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

reference
http://www.rubydoc.info/gems/net-ldap/Net/LDAP/LdapError
Deprecation warning: Net::LDAP::LdapError is no longer used

please use
Net::LDAP::Error
http://www.rubydoc.info/gems/net-ldap/Net/LDAP/Error

class AuthSourceLdap < AuthSource
  NETWORK_EXCEPTIONS = [
    Net::LDAP::LdapError,
    Errno::ECONNABORTED, Errno::ECONNREFUSED, Errno::ECONNRESET,
    Errno::EHOSTDOWN, Errno::EHOSTUNREACH,
    SocketError
  ]

Related issues

Related to Redmine - Defect #29476: Update net-ldap to 0.16.0Closed

Actions
Related to Redmine - Patch #29606: Support self-signed LDAPS connectionsClosedJean-Philippe Lang

Actions
Related to Redmine - Defect #8068: LDAP Authentificaton doesn't verify certificate validityClosed2011-04-05

Actions
Actions #1

Updated by Go MAEDA almost 8 years ago

  • Target version set to 3.4.0

From net-ldap-0.12.1/lib/net/ldap/error.rb:

class Net::LDAP
  class LdapError < StandardError
    def message
      "Deprecation warning: Net::LDAP::LdapError is no longer used. Use Net::LDAP::Error or rescue one of it's subclasses. \n" + super
    end
  end

  class Error < StandardError; end
Actions #2

Updated by Toshi MARUYAMA almost 8 years ago

  • Target version changed from 3.4.0 to 4.1.0
Actions #3

Updated by Mischa The Evil almost 8 years ago

  • Subject changed from Net::LDAP::LdapError is depricated to Net::LDAP::LdapError is deprecated
Actions #4

Updated by Jean-Philippe Lang over 7 years ago

  • Status changed from New to Closed
  • Assignee set to Jean-Philippe Lang
  • Resolution set to Fixed

net-ldap updated to 0.16.

Actions #5

Updated by Jean-Philippe Lang over 7 years ago

  • Target version changed from 4.1.0 to 4.0.0
Actions #6

Updated by Marius BĂLTEANU about 6 years ago

Actions #7

Updated by Holger Just about 6 years ago

  • Related to Patch #29606: Support self-signed LDAPS connections added
Actions #8

Updated by Go MAEDA about 6 years ago

  • Related to Defect #8068: LDAP Authentificaton doesn't verify certificate validity added
Actions

Also available in: Atom PDF