ruby-ldap/ruby-net-ldap — pull request #33 by DavidJLee (2012-02-24 16:07:28+00:00)
Title: New filter type to allow searching of binary data

Not sure if this is the best way to implement this. Another option would be to not throw an exception if a string can't be converted into UTF-8 and silently pass it along. I think creating a specific filter type when searching for non-standard data is the safer option.

I added a test to make sure binary data is represented properly.

This resolves issue #30, although would require application code to be re-written to use the new filter.

It's very important that Microsoft Active Directory can be searched for binary data, as this is the only way to search for GUIDs.