Sha256: 62cdb42cfaa916b4a6d444dc6d5d2ad1bea344249481b567451abe8057fa7642

Contents?: true

Size: 432 Bytes

Versions: 10

Compression:

Stored size: 432 Bytes

Contents

require 'active_samba_ldap/base'

module ActiveSambaLdap
  class Idmap < Base
    include Reloadable

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

Version data entries

10 entries across 10 versions & 2 rubygems

Version Path
activesambaldap-0.1.0 lib/active_samba_ldap/idmap.rb
activesambaldap-0.0.9 lib/active_samba_ldap/idmap.rb
activesambaldap-0.0.8 lib/active_samba_ldap/idmap.rb
ActiveSambaLdap-0.0.7 lib/active_samba_ldap/idmap.rb
activesambaldap-0.0.7 lib/active_samba_ldap/idmap.rb
activesambaldap-0.0.2 lib/active_samba_ldap/idmap.rb
activesambaldap-0.0.6 lib/active_samba_ldap/idmap.rb
activesambaldap-0.0.5 lib/active_samba_ldap/idmap.rb
activesambaldap-0.0.4 lib/active_samba_ldap/idmap.rb
activesambaldap-0.0.3 lib/active_samba_ldap/idmap.rb