Module: ActiveDirectory

Defined in:
lib/active_directory/base.rb,
lib/active_directory.rb,
lib/active_directory/user.rb,
lib/active_directory/group.rb,
lib/active_directory/member.rb,
lib/active_directory/computer.rb,
lib/active_directory/container.rb,
lib/active_directory/field_type/date.rb,
lib/active_directory/field_type/binary.rb,
lib/active_directory/field_type/password.rb,
lib/active_directory/field_type/timestamp.rb

Overview

– license

This file is part of the Ruby Active Directory Project on the web at rubyforge.org/projects/activedirectory

Copyright (c) 2008, James Hunt <[email protected]>
  based on original code by Justin Mecham

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see <www.gnu.org/licenses/>.

++ license

Defined Under Namespace

Modules: FieldType, Member Classes: Base, Computer, Container, Group, User

Constant Summary collapse

@@special_fields =
{
   #All objects in the AD
  :Base => {
    :objectguid => :binary,
    :whencreated => :date,
    :whenchanged => :date
  },
   #User objects
  :User => {
    :objectguid => :binary,
    :whencreated => :date,
    :whenchanged => :date,
    :objectsid => :binary,
    :msexchmailboxguid => :binary,
    :msexchmailboxsecuritydescriptor => :binary,
    :lastlogontimestamp => :timestamp,
    :pwdlastset => :timestamp,
    :accountexpires => :timestamp
  },
   #Group objects
  :Group => {
    :objectsid => :binary,
  },
}