ldap_fluff 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of ldap_fluff might be problematic. Click here for more details.

data/etc/ldap_fluff.yml CHANGED
@@ -1,9 +1,11 @@
1
1
  ---
2
2
  host: ## ip address or hostname
3
+ port: ## ip address or hostname
3
4
  encryption: ## blank or :start_tls
4
5
  base_dn: ## baseDN for ldap auth, eg dc=redhat,dc=com
5
6
  group_base: ##baseDN for your ldap groups, eg ou=Groups,dc=redhat,dc=com
6
7
  server_type: ## type of server. default == posix. :active_directory, :posix, :free_ipa
7
8
  ad_domain: ## domain for your users if using active directory, eg redhat.com
8
- ad_service_user: ## service account for authenticating ldap calls in active directory
9
- ad_service_pass: ## service password for authenticating ldap calls in active directory
9
+ service_user: ## service account for authenticating ldap calls in active directory or ipa
10
+ service_pass: ## service password for authenticating ldap calls in active directory or ipa
11
+ anon_queries: ## allow anonymous queries for AD or FreeIPA
@@ -8,10 +8,10 @@ class LdapFluff::ActiveDirectory
8
8
  :encryption => config.encryption
9
9
  @group_base = config.group_base
10
10
  @group_base ||= config.base_dn
11
- @ad_domain = config.domain
11
+ @ad_domain = config.ad_domain
12
12
  @bind_user = config.service_user
13
13
  @bind_pass = config.service_pass
14
- @anon = config.ad_anon_queries
14
+ @anon = config.anon_queries
15
15
 
16
16
  @member_service = MemberService.new(@ldap,@group_base)
17
17
  end
@@ -8,7 +8,7 @@ class LdapFluff::FreeIPA
8
8
  :port => config.port,
9
9
  :encryption => config.encryption
10
10
  @group_base = config.group_base
11
- @group_base ||= config.base
11
+ @group_base ||= config.base_dn
12
12
  @base = config.base_dn
13
13
  @bind_user = config.service_user
14
14
  @bind_pass = config.service_pass
@@ -13,7 +13,7 @@ module LdapTestHelper
13
13
  :group_base => "ou=group,dc=internet,dc=com",
14
14
  :service_user => "service",
15
15
  :service_pass => "pass",
16
- :domain => "internet.com"
16
+ :ad_domain => "internet.com"
17
17
  )
18
18
  end
19
19
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ldap_fluff
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
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-07-09 00:00:00.000000000 Z
12
+ date: 2012-09-14 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: net-ldap