ons-ldap 1.1.0 → 1.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ons-ldap/ldap_connection.rb +1 -1
- data/lib/ons-ldap/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a26677d48b299687a9befb8db90b15e9790303d6
|
4
|
+
data.tar.gz: 1d1e6bcafbe9e33d41ce8156b37f14d64fdd8107
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c5ddbab2503dc7bee8b79d481809817f906140d0ffa674aab7ad2eeb13e8e8b55850a228030e110a70fb897aa0ba7f6611aecbead273d09ac24a8d6f16472a53
|
7
|
+
data.tar.gz: 1008bd795276fda4543e7bcac6f3096061ea36e926e0001c8fea5e7dae1690de0634b019062915dbb73b5e66662e0cd37d3ea5d5a68f718e0cc5ac4e8ec9055d
|
@@ -29,7 +29,7 @@ class LDAPConnection
|
|
29
29
|
# Have to use the username DN format below for the bind operation to succeed.
|
30
30
|
auth = { method: :simple, username: "uid=#{username},ou=Users,#{self.class.base}", password: password }
|
31
31
|
|
32
|
-
Net::LDAP.open(host: self.class.host, port: self.class.port, self.class.base, auth: auth) do |ldap|
|
32
|
+
Net::LDAP.open(host: self.class.host, port: self.class.port, base: self.class.base, auth: auth) do |ldap|
|
33
33
|
ldap.encryption = :simple_tls if self.class.encrypted?
|
34
34
|
unless ldap.bind
|
35
35
|
result = ldap.get_operation_result
|
data/lib/ons-ldap/version.rb
CHANGED