lib/activeldap/configuration.rb in ruby-activeldap-debug-0.5.9 vs lib/activeldap/configuration.rb in ruby-activeldap-debug-0.6.0
- old
+ new
@@ -6,10 +6,10 @@
# 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=localdomain"
+ @@bind_format = "cn=%s,dc=localdomain"
# Make the return value the string that is your LDAP base
def Base.base
'dc=localdomain'
end