diff --git a/lib/net/ldapfilter.rb b/lib/net/ldapfilter.rb index 97c4e86..4ad9abf 100644 --- a/lib/net/ldapfilter.rb +++ b/lib/net/ldapfilter.rb @@ -117,7 +117,7 @@ class Filter case @op when :eq if @right == "*" # present - @left.to_ber_application_string 7 + @left.to_ber_contextspecific 7 elsif @right =~ /[\*]/ #substring ary = @right.split( /[\*]+/ ) final_star = @right =~ /[\*]$/