opennebula 5.4.3 → 5.4.4

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 98a620d99d0c675f15b9ddb407ea8c2728ede771
4
- data.tar.gz: b23dfaaeb1d03fa5c4af407a3dd447ae42b95d9e
3
+ metadata.gz: 47f2c774915cf3bff4ca8a0bea0f2198da23ffe1
4
+ data.tar.gz: da96988a81fb562d6a2e01c68bf926efe48f6efe
5
5
  SHA512:
6
- metadata.gz: 77a4e194cd45eae090bc2a386d5a12c1f26439d99fb6e162237dcf065ba38b3f0d9ae6e1f6ed9bb728c54e18f6e22a71faf025ff2eef71658da596535dff4875
7
- data.tar.gz: 4da6e83ad3164be50de921eb32a9d5256556923cabf1f6d7bcca278bcd1c8b778c20d2408e5e915316bc0374e62b7b1887892afdcafa4fba88f3220e98ed8a53
6
+ metadata.gz: 1100761d829912955be41404343872f261380e4fcddddde0e7285a731351c3e20c8a01f55e33ff1351fd2409af6c650f2793c4ead5355fa564b90f8380e73321
7
+ data.tar.gz: 4b9b9079daeea7b75aa9bcae5c4f308e8e29bb82fde04df12c47bcf906937dc04025a2b0e8487a68d55caebb2298d7ba5691b13c7dda88deb285ca2cf7936aec
@@ -50,7 +50,7 @@ end
50
50
  module CloudClient
51
51
 
52
52
  # OpenNebula version
53
- VERSION = '5.4.3'
53
+ VERSION = '5.4.4'
54
54
 
55
55
  # #########################################################################
56
56
  # Default location for the authentication file
@@ -69,5 +69,5 @@ require 'opennebula/vm_group_pool'
69
69
  module OpenNebula
70
70
 
71
71
  # OpenNebula version
72
- VERSION = '5.4.3'
72
+ VERSION = '5.4.4'
73
73
  end
@@ -69,7 +69,7 @@ module OpenNebula
69
69
  end
70
70
  end
71
71
 
72
- DEFAULT_POOL_PAGE_SIZE = 2000
72
+ DEFAULT_POOL_PAGE_SIZE = 200
73
73
 
74
74
  if size=ENV['ONE_POOL_PAGE_SIZE']
75
75
  if size.strip.match(/^\d+$/) && size.to_i >= 2
@@ -31,7 +31,7 @@ module OpenNebula
31
31
  EALLOCATE = 0x4000
32
32
  ENOTDEFINED = 0xF001
33
33
  EXML_RPC_CALL = 0xF002
34
-
34
+
35
35
  attr_reader :message, :errno
36
36
 
37
37
  # +message+ Description of the error
@@ -66,6 +66,11 @@ class OpenNebula::LdapAuth
66
66
  @options[:attributes] << @options[:user_field]
67
67
  end
68
68
 
69
+ # fetch the user group field only if we need that
70
+ if @options[:group] or !@options[:rfc2307bis]
71
+ @options[:attributes] << @options[:user_group_field]
72
+ end
73
+
69
74
  ops[:host]=@options[:host] if @options[:host]
70
75
  ops[:port]=@options[:port].to_i if @options[:port]
71
76
  ops[:encryption]=@options[:encryption] if @options[:encryption]
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: opennebula
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.4.3
4
+ version: 5.4.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - OpenNebula
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-11-05 00:00:00.000000000 Z
11
+ date: 2017-12-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: nokogiri
@@ -113,8 +113,8 @@ files:
113
113
  - lib/opennebula/xml_utils.rb
114
114
  - lib/opennebula/zone.rb
115
115
  - lib/opennebula/zone_pool.rb
116
- - lib/opennebula/ldap_auth_spec.rb
117
116
  - lib/opennebula/ldap_auth.rb
117
+ - lib/opennebula/ldap_auth_spec.rb
118
118
  - lib/opennebula/server_cipher_auth.rb
119
119
  - lib/opennebula/server_x509_auth.rb
120
120
  - lib/opennebula/ssh_auth.rb