diff --git a/ldap_cache.rb b/ldap_cache.rb index 73c0a06..553e5d7 100644 --- a/ldap_cache.rb +++ b/ldap_cache.rb @@ -21,6 +21,7 @@ class LDAP::Cache < Hash attr_accessor :base_dn, :scope, :field def search(filter) + Warning[:deprecated] = false list = Array.new begin @ldap.search(@base_dn, @scope, filter) do |entry|