Parent

Class Index [+]

Quicksearch

ActiveSambaLdap::Base

Public Class Methods

restart_nscd() click to toggle source

(Not documented)

# File lib/active_samba_ldap/base.rb, line 127
      def restart_nscd
        nscd_working = system("/etc/init.d/nscd status >/dev/null 2>&1")
        system("/etc/init.d/nscd stop >/dev/null 2>&1") if nscd_working
        yield if block_given?
      ensure
        system("/etc/init.d/nscd start >/dev/null 2>&1") if nscd_working
      end

Private Class Methods

extract_ldap_mapping_options(options) click to toggle source

(Not documented)

# File lib/active_samba_ldap/base.rb, line 136
      def extract_ldap_mapping_options(options)
        extracted_options = {}
        ActiveLdap::Base::VALID_LDAP_MAPPING_OPTIONS.each do |key|
          extracted_options[key] = options[key] if options.has_key?(key)
        end
        extracted_options
      end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.