I am using the net-ldap gem to search active directory. I can search for users by using filter: filter = Net::…