Sha256: 9dc8aba56223755ef8dc2dd1635eda21ea88ec49346dc160d7b0e76ef26e394d

Contents?: true

Size: 742 Bytes

Versions: 6

Compression:

Stored size: 742 Bytes

Contents

module Adauth
    module AdObjects
        # Active Directory OU Object
        #
        # Inherits from Adauth::AdObject
        class OU < 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", "organizationalUnit")
        end
    end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
adauth-2.0.5 lib/adauth/ad_objects/ou.rb
adauth-2.0.4 lib/adauth/ad_objects/ou.rb
adauth-2.0.3 lib/adauth/ad_objects/ou.rb
adauth-2.0.2 lib/adauth/ad_objects/ou.rb
adauth-2.0.1 lib/adauth/ad_objects/ou.rb
adauth-2.0.0 lib/adauth/ad_objects/ou.rb