lib/active_ldap/configuration.rb in activeldap-1.0.1 vs lib/active_ldap/configuration.rb in activeldap-1.0.2
- old
+ new
@@ -21,10 +21,10 @@
base.extend(ClassMethods)
end
DEFAULT_CONFIG = {}
DEFAULT_CONFIG[:host] = '127.0.0.1'
- DEFAULT_CONFIG[:port] = 389
+ DEFAULT_CONFIG[:port] = nil
DEFAULT_CONFIG[:method] = :plain # :ssl, :tls, :plain allowed
DEFAULT_CONFIG[:bind_dn] = nil
DEFAULT_CONFIG[:password_block] = nil
DEFAULT_CONFIG[:password] = nil