# File lib/active_ldap/operations.rb, line 377
377: def dump(options={})
378: ldif = Ldif.new
379: options = {:base => base, :scope => scope}.merge(options)
380: options[:connection] ||= connection
381: options[:connection].search(options) do |dn, attributes|
382: ldif << Ldif::Record.new(dn, attributes)
383: end
384: return "" if ldif.records.empty?
385: ldif.to_s
386: end
# File lib/active_ldap/operations.rb, line 396
396: def load(ldif, options={})
397: return if ldif.blank?
398: Ldif.parse(ldif).each do |record|
399: record.load(self, options)
400: end
401: end
Disabled; run with --debug to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.