Sha256: f73aea2f1c1d7426ddf151c8a50a7f13205735077f56f89356b4d2b3e37200ad

Contents?: true

Size: 744 Bytes

Versions: 9

Compression:

Stored size: 744 Bytes

Contents

module Adauth
    module AdObjects
        # Active Directory Computer Object
        #
        # Inherits from Adauth::AdObject
        class Computer < Adauth::AdObject
            # Field mapping
            #
            # Maps methods to LDAP fields e.g.
            #
            # :foo => :bar
            #
            # Becomes
            # 
            # Computer.name
            #
            # Which calls .name on the LDAP object
            Fields = {
                    :name => :name
                }
            
            # Object Net::LDAP filter
            #
            # Used to restrict searches to just this object
            ObjectFilter = Net::LDAP::Filter.eq("objectClass", "computer")
        end
    end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
adauth-2.0.5 lib/adauth/ad_objects/computer.rb
adauth-2.0.4 lib/adauth/ad_objects/computer.rb
adauth-2.0.3 lib/adauth/ad_objects/computer.rb
adauth-2.0.2 lib/adauth/ad_objects/computer.rb
adauth-2.0.1 lib/adauth/ad_objects/computer.rb
adauth-2.0.0 lib/adauth/ad_objects/computer.rb
adauth-2.0.0pre2 lib/adauth/ad_objects/computer.rb
adauth-2.0.0pre1 lib/adauth/ad_objects/computer.rb
adauth-2.0.0pre lib/adauth/ad_objects/computer.rb