Class: ActiveSambaLdap::Idmap

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

def ldap_mapping(options={})
  default_options = {
    :dn_attribute => "sambaSID",
    :prefix => configuration[:idmap_suffix],
    :classes => ["top", "sambaIdmapEntry"],
  }
  options = default_options.merge(options)
  super options
end