# File lib/active_ldap/operations.rb, line 335 def to_ldif(dn, attributes) record = Ldif::Record.new(dn, attributes) Ldif.new([record]).to_s end