# File lib/net/ldap/filter.rb, line 251
251:   def Filter::parse_ldap_filter obj
252:     case obj.ber_identifier
253:     when 0x87         # present. context-specific primitive 7.
254:       Filter.eq( obj.to_s, "*" )
255:     when 0xa3         # equalityMatch. context-specific constructed 3.
256:       Filter.eq( obj[0], obj[1] )
257:     else
258:       raise LdapError.new( "unknown ldap search-filter type: #{obj.ber_identifier}" )
259:     end
260:   end