Class: ActiveSambaLdap::Ou

Inherits:
Base
  • Object
show all
Includes:
Reloadable
Defined in:
lib/active_samba_ldap/ou.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
17
# File 'lib/active_samba_ldap/ou.rb', line 8

def ldap_mapping(options={})
  default_options = {
    :dn_attribute => "ou",
    :prefix => "",
    :classes => ["top", "organizationalUnit"],
    :scope => :sub,
  }
  options = default_options.merge(options)
  super(options)
end