Class ActiveLdap::Schema
In: lib/active_ldap/schema.rb
lib/active_ldap/schema/syntaxes.rb
Parent: Object

Methods

Included Modules

GetTextSupport

Classes and Modules

Module ActiveLdap::Schema::Syntaxes
Class ActiveLdap::Schema::Attribute
Class ActiveLdap::Schema::Entry
Class ActiveLdap::Schema::ObjectClass
Class ActiveLdap::Schema::Syntax

Constants

NUMERIC_OID_RE = "\\d[\\d\\.]+"
DESCRIPTION_RE = "[a-zA-Z][a-zA-Z\\d\\-]*"
OID_RE = "(?:#{NUMERIC_OID_RE}|#{DESCRIPTION_RE}-oid)"
RESERVED_NAMES_RE = /(?:#{reserved_names.join('|')})/

Public Class methods

Public Instance methods

[](group, id_or_name, attribute_name)

Alias for fetch

fetch

This is just like LDAP::Schema#attribute except that it allows look up in any of the given keys. e.g.

 fetch('attributeTypes', 'cn', 'DESC')
 fetch('ldapSyntaxes', '1.3.6.1.4.1.1466.115.121.1.5', 'DESC')

[Validate]