# File lib/active_ldap/operations.rb, line 495 def update(dn, attributes, options={}) if dn.is_a?(Array) i = -1 dns = dn dns.collect do |dn| i += 1 update(dn, attributes[i], options) end else object = find(dn, options) object.update_attributes(attributes) object end end