Sha256: e276e87447f09bcde4edcc9d4b8e3d62fcde5f22c31220fb428ee5a7c0cb709b

Contents?: true

Size: 689 Bytes

Versions: 7

Compression:

Stored size: 689 Bytes

Contents

module ActiveLDAP
 # Configuration
 # 
 # Configuration provides the default settings required for
 # ActiveLDAP to work with your LDAP server. All of these
 # settings can be passed in at initialization time.
 module Configuration
    @@host = "127.0.0.1"
    @@port = 389
    @@bind_format = "uid=%s,ou=People,dc=example,dc=com"

    # Make the return value the string that is your LDAP base
    def Base.base
      'dc=example,dc=com'
    end

    # This is optionally set to the array of objectClass names
    # that are minimally required for EVERY object on your LDAP server.
    # If you don't want one, set this to [].
    def Base.required_classes
      ['top']
    end
 end
end

Version data entries

7 entries across 7 versions & 2 rubygems

Version Path
ruby-activeldap-0.5.7 lib/activeldap/configuration.rb
ruby-activeldap-0.5.8 lib/activeldap/configuration.rb
ruby-activeldap-0.5.5 lib/activeldap/configuration.rb
ruby-activeldap-debug-0.5.6 lib/activeldap/configuration.rb
ruby-activeldap-debug-0.5.7 lib/activeldap/configuration.rb
ruby-activeldap-debug-0.5.5 lib/activeldap/configuration.rb
ruby-activeldap-debug-0.5.8 lib/activeldap/configuration.rb