# File lib/net/ldap/entry.rb, line 146 def to_ldif Net::LDAP::Dataset.from_entry(self).to_ldif_string end