@@ -26,6 +26,7 @@ class LDAP
2626require 'net/ldap/instrumentation'
2727require 'net/ldap/connection'
2828require 'net/ldap/version'
29+ require 'net/ldap/error'
2930
3031# == Quick-start for the Impatient
3132# === Quick Example of a user-authentication against an LDAP directory:
@@ -246,35 +247,6 @@ class LDAP
246247class Net ::LDAP
247248 include Net ::LDAP ::Instrumentation
248249
249- class LdapError < StandardError ; end
250- class AlreadyOpenedError < LdapError ; end
251- class SocketError < LdapError ; end
252- class ConnectionRefusedError < LdapError ; end
253- class NoOpenSSLError < LdapError ; end
254- class NoStartTLSResultError < LdapError ; end
255- class StartTLSError < LdapError ; end
256- class EncryptionUnsupportedError < LdapError ; end
257- class EncMethodUnsupportedError < LdapError ; end
258- class AuthMethodUnsupportedError < LdapError ; end
259- class BindingInformationInvalidError < LdapError ; end
260- class NoBindResultError < LdapError ; end
261- class SASLChallengeOverflowError < LdapError ; end
262- class SearchSizeInvalidError < LdapError ; end
263- class SearchScopeInvalidError < LdapError ; end
264- class ResponseTypeInvalidError < LdapError ; end
265- class ResponseMissingOrInvalidError < LdapError ; end
266- class EmptyDNError < LdapError ; end
267- class HashTypeUnsupportedError < LdapError ; end
268- class OperatorError < LdapError ; end
269- class SubstringFilterError < LdapError ; end
270- class SearchFilterError < LdapError ; end
271- class BERInvalidError < LdapError ; end
272- class SearchFilterTypeUnknownError < LdapError ; end
273- class BadAttributeError < LdapError ; end
274- class FilterTypeUnknownError < LdapError ; end
275- class FilterSyntaxInvalidError < LdapError ; end
276- class EntryOverflowError < LdapError ; end
277-
278250 SearchScope_BaseObject = 0
279251 SearchScope_SingleLevel = 1
280252 SearchScope_WholeSubtree = 2
0 commit comments