# File lib/active_ldap/operations.rb, line 512 def delete_entry(dn, options={}) options[:connection] ||= connection begin options[:connection].delete(dn, options) rescue Error format = _("Failed to delete LDAP entry: <%s>: %s") raise DeleteError.new(format % [dn.inspect, $!.message]) end end