@@ -26,6 +26,7 @@ class LDAP
26
26
require 'net/ldap/instrumentation'
27
27
require 'net/ldap/connection'
28
28
require 'net/ldap/version'
29
+ require 'net/ldap/error'
29
30
30
31
# == Quick-start for the Impatient
31
32
# === Quick Example of a user-authentication against an LDAP directory:
@@ -246,35 +247,6 @@ class LDAP
246
247
class Net ::LDAP
247
248
include Net ::LDAP ::Instrumentation
248
249
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
-
278
250
SearchScope_BaseObject = 0
279
251
SearchScope_SingleLevel = 1
280
252
SearchScope_WholeSubtree = 2
0 commit comments