hydra-ldap 0.0.4 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,3 @@
1
+ 0.1.0
2
+ Have the LDAP initialization take into account the YML base setting.
3
+
@@ -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
 
@@ -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
@@ -1,5 +1,5 @@
1
1
  module Hydra
2
2
  module LDAP
3
- VERSION = "0.0.4"
3
+ VERSION = "0.1.0"
4
4
  end
5
5
  end
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
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-08-01 00:00:00.000000000 Z
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