Class: ActiveSambaLdap::Dc

Inherits:
Base
  • Object
show all
Includes:
Reloadable
Defined in:
lib/active_samba_ldap/dc.rb

Class Method Summary collapse

Methods included from Reloadable

included

Methods inherited from Base

restart_nscd

Class Method Details

.ldap_mapping(options = {}) ⇒ Object



8
9
10
11
12
13
14
15
16
# File 'lib/active_samba_ldap/dc.rb', line 8

def ldap_mapping(options={})
  default_options = {
    :dn_attribute => "dc",
    :prefix => "",
    :classes => ["top", "dcObject", "organization"],
  }
  options = default_options.merge(options)
  super(options)
end