hydra-ldap 0.0.4 → 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/History.txt +3 -0
- data/config/hydra-ldap.yml +11 -1
- data/lib/hydra-ldap.rb +1 -0
- data/lib/hydra/ldap/version.rb +1 -1
- metadata +3 -2
data/History.txt
ADDED
data/config/hydra-ldap.yml
CHANGED
@@ -2,9 +2,14 @@ test:
|
|
2
2
|
host: localhost
|
3
3
|
port: 3897
|
4
4
|
group_base: ou=groups,dc=example,dc=org
|
5
|
-
base: ou=people,dc=example,dc=org
|
5
|
+
base: ou=people,dc=example,dc=org
|
6
6
|
uid: uid
|
7
7
|
|
8
|
+
#Optional attributes
|
9
|
+
#username: admin
|
10
|
+
#password: admin
|
11
|
+
#admin_base: cn=Directory Administrator,dc=example,dc=org
|
12
|
+
|
8
13
|
development:
|
9
14
|
host: localhost
|
10
15
|
port: 3897
|
@@ -13,4 +18,9 @@ development:
|
|
13
18
|
uid: uid
|
14
19
|
group_member: uniquemember # attribute name in a group to identify a member
|
15
20
|
group_owner: owner # attribute name to identify group owner
|
21
|
+
|
22
|
+
#Optional attributes
|
23
|
+
#username: admin
|
24
|
+
#password: admin
|
25
|
+
#admin_base: cn=Directory Administrator,dc=example,dc=org
|
16
26
|
|
data/lib/hydra-ldap.rb
CHANGED
@@ -25,6 +25,7 @@ module Hydra
|
|
25
25
|
@ldap_connection_config[:auth]={:method=>:simple}
|
26
26
|
@ldap_connection_config[:auth][:username] = yml[:username]
|
27
27
|
@ldap_connection_config[:auth][:password] = yml[:password]
|
28
|
+
@ldap_connection_config[:base] = yml[:base]
|
28
29
|
end
|
29
30
|
@ldap_connection_config
|
30
31
|
end
|
data/lib/hydra/ldap/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: hydra-ldap
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 0.1.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2012-
|
12
|
+
date: 2012-09-17 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: net-ldap
|
@@ -100,6 +100,7 @@ extra_rdoc_files: []
|
|
100
100
|
files:
|
101
101
|
- .gitignore
|
102
102
|
- Gemfile
|
103
|
+
- History.txt
|
103
104
|
- LICENSE
|
104
105
|
- README.md
|
105
106
|
- Rakefile
|