class ActiveLdap::Association::BelongsToMany

def find_target

def find_target
  values = @owner[@options[:primary_key_name], true].compact
  return [] if values.empty?
  key = @options[:many]
  components = values.collect do |value|
    [key, value]
  end
  options = find_options(:filter => [:or, *components])
  foreign_class.find(:all, options)
end