activesambaldap 0.0.8 → 0.0.9
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile +21 -0
- data/NEWS.en +1 -1
- data/NEWS.ja +1 -1
- data/README.en +12 -8
- data/README.ja +6 -3
- data/Rakefile +27 -121
- data/lib/active_samba_ldap.rb +1 -1
- data/lib/active_samba_ldap/get_text_support.rb +1 -1
- data/lib/active_samba_ldap/version.rb +1 -1
- data/license/lgpl-2.1.txt +165 -0
- data/po/ja/active-samba-ldap.po +2 -2
- data/test/run-test.rb +3 -3
- metadata +145 -277
- data/bin/asl-groupadd.help +0 -16
- data/bin/asl-groupdel.help +0 -13
- data/bin/asl-groupmod.help +0 -19
- data/bin/asl-groupshow.help +0 -11
- data/bin/asl-passwd.help +0 -15
- data/bin/asl-populate.help +0 -28
- data/bin/asl-purge.help +0 -11
- data/bin/asl-samba-computeradd.help +0 -13
- data/bin/asl-samba-groupadd.help +0 -11
- data/bin/asl-samba-groupdel.help +0 -11
- data/bin/asl-samba-groupmod.help +0 -15
- data/bin/asl-samba-useradd.help +0 -13
- data/bin/asl-samba-userdel.help +0 -11
- data/bin/asl-samba-usermod.help +0 -15
- data/bin/asl-useradd.help +0 -49
- data/bin/asl-userdel.help +0 -18
- data/bin/asl-usermod.help +0 -47
- data/bin/asl-usershow.help +0 -11
- data/data/locale/ja/LC_MESSAGES/active-samba-ldap.mo +0 -0
- data/example/asl-admin/README +0 -243
- data/example/asl-admin/Rakefile +0 -10
- data/example/asl-admin/app/controllers/application_controller.rb +0 -10
- data/example/asl-admin/app/controllers/samba_controller.rb +0 -12
- data/example/asl-admin/app/helpers/application_helper.rb +0 -3
- data/example/asl-admin/app/helpers/samba_helper.rb +0 -2
- data/example/asl-admin/app/models/computer.rb +0 -3
- data/example/asl-admin/app/models/dc.rb +0 -3
- data/example/asl-admin/app/models/group.rb +0 -3
- data/example/asl-admin/app/models/idmap.rb +0 -3
- data/example/asl-admin/app/models/ou.rb +0 -3
- data/example/asl-admin/app/models/unix_id_pool.rb +0 -3
- data/example/asl-admin/app/models/user.rb +0 -3
- data/example/asl-admin/app/views/samba/index.html.erb +0 -17
- data/example/asl-admin/app/views/samba/populate.html.erb +0 -15
- data/example/asl-admin/app/views/samba/purge.html.erb +0 -10
- data/example/asl-admin/config/boot.rb +0 -110
- data/example/asl-admin/config/database.yml +0 -22
- data/example/asl-admin/config/environment.rb +0 -48
- data/example/asl-admin/config/environments/development.rb +0 -17
- data/example/asl-admin/config/environments/production.rb +0 -28
- data/example/asl-admin/config/environments/test.rb +0 -28
- data/example/asl-admin/config/initializers/backtrace_silencers.rb +0 -7
- data/example/asl-admin/config/initializers/inflections.rb +0 -10
- data/example/asl-admin/config/initializers/mime_types.rb +0 -5
- data/example/asl-admin/config/initializers/new_rails_defaults.rb +0 -19
- data/example/asl-admin/config/initializers/session_store.rb +0 -15
- data/example/asl-admin/config/ldap.yml.sample +0 -24
- data/example/asl-admin/config/locales/en.yml +0 -5
- data/example/asl-admin/config/routes.rb +0 -43
- data/example/asl-admin/log/test.log +0 -5
- data/example/asl-admin/public/404.html +0 -30
- data/example/asl-admin/public/422.html +0 -30
- data/example/asl-admin/public/500.html +0 -30
- data/example/asl-admin/public/favicon.ico +0 -0
- data/example/asl-admin/public/images/rails.png +0 -0
- data/example/asl-admin/public/index.html +0 -275
- data/example/asl-admin/public/javascripts/application.js +0 -2
- data/example/asl-admin/public/javascripts/controls.js +0 -963
- data/example/asl-admin/public/javascripts/dragdrop.js +0 -973
- data/example/asl-admin/public/javascripts/effects.js +0 -1128
- data/example/asl-admin/public/javascripts/prototype.js +0 -4320
- data/example/asl-admin/public/robots.txt +0 -5
- data/example/asl-admin/script/about +0 -4
- data/example/asl-admin/script/console +0 -3
- data/example/asl-admin/script/dbconsole +0 -3
- data/example/asl-admin/script/destroy +0 -3
- data/example/asl-admin/script/generate +0 -3
- data/example/asl-admin/script/performance/benchmarker +0 -3
- data/example/asl-admin/script/performance/profiler +0 -3
- data/example/asl-admin/script/plugin +0 -3
- data/example/asl-admin/script/runner +0 -3
- data/example/asl-admin/script/server +0 -3
- data/example/asl-admin/test/performance/browsing_test.rb +0 -9
- data/example/asl-admin/test/test_helper.rb +0 -38
- data/po/active-samba-ldap.pot +0 -463
- data/rails_generators/scaffold_active_samba_ldap/scaffold_active_samba_ldap_generator.rb +0 -28
- data/rails_generators/scaffold_active_samba_ldap/templates/computer.rb +0 -3
- data/rails_generators/scaffold_active_samba_ldap/templates/dc.rb +0 -3
- data/rails_generators/scaffold_active_samba_ldap/templates/group.rb +0 -3
- data/rails_generators/scaffold_active_samba_ldap/templates/idmap.rb +0 -3
- data/rails_generators/scaffold_active_samba_ldap/templates/ldap.yml +0 -24
- data/rails_generators/scaffold_active_samba_ldap/templates/ou.rb +0 -3
- data/rails_generators/scaffold_active_samba_ldap/templates/samba_controller.rb +0 -12
- data/rails_generators/scaffold_active_samba_ldap/templates/samba_helper.rb +0 -2
- data/rails_generators/scaffold_active_samba_ldap/templates/samba_index.html.erb +0 -17
- data/rails_generators/scaffold_active_samba_ldap/templates/samba_populate.html.erb +0 -15
- data/rails_generators/scaffold_active_samba_ldap/templates/samba_purge.html.erb +0 -10
- data/rails_generators/scaffold_active_samba_ldap/templates/unix_id_pool.rb +0 -3
- data/rails_generators/scaffold_active_samba_ldap/templates/user.rb +0 -3
- data/setup.rb +0 -1585
- data/test-unit/History.txt +0 -107
- data/test-unit/README.txt +0 -52
- data/test-unit/Rakefile +0 -40
- data/test-unit/TODO +0 -5
- data/test-unit/bin/testrb +0 -5
- data/test-unit/lib/test/unit.rb +0 -342
- data/test-unit/lib/test/unit/assertionfailederror.rb +0 -14
- data/test-unit/lib/test/unit/assertions.rb +0 -1149
- data/test-unit/lib/test/unit/attribute.rb +0 -125
- data/test-unit/lib/test/unit/autorunner.rb +0 -344
- data/test-unit/lib/test/unit/collector.rb +0 -43
- data/test-unit/lib/test/unit/collector/descendant.rb +0 -23
- data/test-unit/lib/test/unit/collector/dir.rb +0 -108
- data/test-unit/lib/test/unit/collector/load.rb +0 -137
- data/test-unit/lib/test/unit/collector/objectspace.rb +0 -34
- data/test-unit/lib/test/unit/color-scheme.rb +0 -90
- data/test-unit/lib/test/unit/color.rb +0 -96
- data/test-unit/lib/test/unit/diff.rb +0 -538
- data/test-unit/lib/test/unit/error.rb +0 -126
- data/test-unit/lib/test/unit/exceptionhandler.rb +0 -39
- data/test-unit/lib/test/unit/failure.rb +0 -110
- data/test-unit/lib/test/unit/fixture.rb +0 -176
- data/test-unit/lib/test/unit/notification.rb +0 -125
- data/test-unit/lib/test/unit/omission.rb +0 -143
- data/test-unit/lib/test/unit/pending.rb +0 -146
- data/test-unit/lib/test/unit/priority.rb +0 -181
- data/test-unit/lib/test/unit/runner/console.rb +0 -52
- data/test-unit/lib/test/unit/runner/emacs.rb +0 -8
- data/test-unit/lib/test/unit/runner/tap.rb +0 -8
- data/test-unit/lib/test/unit/testcase.rb +0 -425
- data/test-unit/lib/test/unit/testresult.rb +0 -89
- data/test-unit/lib/test/unit/testsuite.rb +0 -110
- data/test-unit/lib/test/unit/ui/console/outputlevel.rb +0 -14
- data/test-unit/lib/test/unit/ui/console/testrunner.rb +0 -278
- data/test-unit/lib/test/unit/ui/emacs/testrunner.rb +0 -49
- data/test-unit/lib/test/unit/ui/tap/testrunner.rb +0 -92
- data/test-unit/lib/test/unit/ui/testrunner.rb +0 -20
- data/test-unit/lib/test/unit/ui/testrunnermediator.rb +0 -77
- data/test-unit/lib/test/unit/ui/testrunnerutilities.rb +0 -41
- data/test-unit/lib/test/unit/util/backtracefilter.rb +0 -41
- data/test-unit/lib/test/unit/util/method-owner-finder.rb +0 -28
- data/test-unit/lib/test/unit/util/observable.rb +0 -90
- data/test-unit/lib/test/unit/util/procwrapper.rb +0 -48
- data/test-unit/lib/test/unit/version.rb +0 -7
- data/test-unit/sample/adder.rb +0 -13
- data/test-unit/sample/subtracter.rb +0 -12
- data/test-unit/sample/tc_adder.rb +0 -18
- data/test-unit/sample/tc_subtracter.rb +0 -18
- data/test-unit/sample/test_user.rb +0 -22
- data/test-unit/sample/ts_examples.rb +0 -7
- data/test-unit/test/collector/test-descendant.rb +0 -135
- data/test-unit/test/collector/test-load.rb +0 -329
- data/test-unit/test/collector/test_dir.rb +0 -406
- data/test-unit/test/collector/test_objectspace.rb +0 -98
- data/test-unit/test/run-test.rb +0 -13
- data/test-unit/test/test-attribute.rb +0 -86
- data/test-unit/test/test-color-scheme.rb +0 -60
- data/test-unit/test/test-color.rb +0 -47
- data/test-unit/test/test-diff.rb +0 -477
- data/test-unit/test/test-emacs-runner.rb +0 -60
- data/test-unit/test/test-fixture.rb +0 -287
- data/test-unit/test/test-notification.rb +0 -33
- data/test-unit/test/test-omission.rb +0 -81
- data/test-unit/test/test-pending.rb +0 -70
- data/test-unit/test/test-priority.rb +0 -119
- data/test-unit/test/test-testcase.rb +0 -507
- data/test-unit/test/test_assertions.rb +0 -1082
- data/test-unit/test/test_error.rb +0 -26
- data/test-unit/test/test_failure.rb +0 -33
- data/test-unit/test/test_testresult.rb +0 -113
- data/test-unit/test/test_testsuite.rb +0 -129
- data/test-unit/test/testunit-test-util.rb +0 -14
- data/test-unit/test/ui/test_testrunmediator.rb +0 -20
- data/test-unit/test/util/test-method-owner-finder.rb +0 -38
- data/test-unit/test/util/test_backtracefilter.rb +0 -41
- data/test-unit/test/util/test_observable.rb +0 -102
- data/test-unit/test/util/test_procwrapper.rb +0 -36
data/Gemfile
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
# -*- coding: utf-8; mode: ruby -*-
|
2
|
+
#
|
3
|
+
# Copyright (C) 2012 Kouhei Sutou <kou@clear-code.com>
|
4
|
+
#
|
5
|
+
# This library is free software; you can redistribute it and/or
|
6
|
+
# modify it under the terms of the GNU Lesser General Public
|
7
|
+
# License as published by the Free Software Foundation; either
|
8
|
+
# version 2.1 of the License, or (at your option) any later version.
|
9
|
+
#
|
10
|
+
# This library is distributed in the hope that it will be useful,
|
11
|
+
# but WITHOUT ANY WARRANTY; without even the implied warranty of
|
12
|
+
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
13
|
+
# Lesser General Public License for more details.
|
14
|
+
#
|
15
|
+
# You should have received a copy of the GNU Lesser General Public
|
16
|
+
# License along with this library; if not, write to the Free Software
|
17
|
+
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
18
|
+
|
19
|
+
source :rubygems
|
20
|
+
|
21
|
+
gemspec
|
data/NEWS.en
CHANGED
data/NEWS.ja
CHANGED
data/README.en
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
= README.en
|
2
2
|
|
3
|
-
$Id
|
3
|
+
$Id$
|
4
4
|
|
5
5
|
== Name
|
6
6
|
|
@@ -21,11 +21,14 @@ Kouhei Sutou <tt><kou@clear-code.com></tt>
|
|
21
21
|
|
22
22
|
== Licence
|
23
23
|
|
24
|
-
|
24
|
+
LGPL 2.1 or later. See license/lgpl-2.1.txt for details.
|
25
|
+
|
26
|
+
(Kouhei Sutou has a right to change the license including
|
27
|
+
contributed patches.)
|
25
28
|
|
26
29
|
== Dependency libraries
|
27
30
|
|
28
|
-
* ActiveLdap >= 1.2.
|
31
|
+
* ActiveLdap >= 1.2.2
|
29
32
|
|
30
33
|
== Install
|
31
34
|
|
@@ -361,8 +364,9 @@ asl-populate, please confirm the following:
|
|
361
364
|
|
362
365
|
== Thanks
|
363
366
|
|
364
|
-
* Henrik Krög:
|
365
|
-
* Olivier DIRRENBERGER:
|
366
|
-
* Francesco Malvezzi:
|
367
|
-
* Kazuhiro NISHIYAMA:
|
368
|
-
* Orlando Marquina:
|
367
|
+
* Henrik Krög: Some bug reports.
|
368
|
+
* Olivier DIRRENBERGER: A bug report.
|
369
|
+
* Francesco Malvezzi: Some bug report.
|
370
|
+
* Kazuhiro NISHIYAMA: Some bug reports.
|
371
|
+
* Orlando Marquina: Some bug reports.
|
372
|
+
* Piotr Romanczuk: A bug report.
|
data/README.ja
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
= README.ja
|
2
2
|
|
3
|
-
$Id
|
3
|
+
$Id$
|
4
4
|
|
5
5
|
== 名前
|
6
6
|
|
@@ -18,11 +18,13 @@ Kouhei Sutou <tt><kou@clear-code.com></tt>
|
|
18
18
|
|
19
19
|
== ライセンス
|
20
20
|
|
21
|
-
|
21
|
+
LGPL 2.1またはそれ以降のバージョン。詳細はlicense/lgpl-2.1.txtを見てください。
|
22
|
+
|
23
|
+
(Kouhei Sutouは受け付けたパッチも含めてライセンスを変更する権利があります。)
|
22
24
|
|
23
25
|
== 依存ライブラリ
|
24
26
|
|
25
|
-
* ActiveLdap >= 1.2.
|
27
|
+
* ActiveLdap >= 1.2.2
|
26
28
|
|
27
29
|
== インストール
|
28
30
|
|
@@ -361,3 +363,4 @@ LDAP管理ユーザのパスワードを設定しておく必要があります
|
|
361
363
|
* Francesco Malvezzi: バグを報告してくれました。
|
362
364
|
* Kazuhiro NISHIYAMA: バグを報告してくれました。
|
363
365
|
* Orlando Marquina: バグを報告してくれました。
|
366
|
+
* Piotr Romanczuk: バグを報告してくれました。
|
data/Rakefile
CHANGED
@@ -1,131 +1,37 @@
|
|
1
1
|
# -*- ruby -*-
|
2
2
|
|
3
|
-
require
|
4
|
-
require
|
3
|
+
require "find"
|
4
|
+
require "fileutils"
|
5
5
|
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
end
|
10
|
-
|
11
|
-
_binding = binding
|
12
|
-
file = "#{base_dir}/lib/active_samba_ldap.rb"
|
13
|
-
eval(File.read(file), _binding, file)
|
14
|
-
eval('require_gem_if_need.call("hoe")', _binding)
|
15
|
-
required_active_ldap_version = eval('required_active_ldap_version', _binding)
|
16
|
-
|
17
|
-
manifest = File.join(base_dir, "Manifest.txt")
|
18
|
-
manifest_contents = []
|
19
|
-
base_dir_included_components = %w(README.ja README.en NEWS.ja NEWS.en setup.rb
|
20
|
-
Rakefile)
|
21
|
-
excluded_components = %w(.svn .test-result .config Manifest.txt config.yml doc
|
22
|
-
pkg html config.yaml)
|
23
|
-
excluded_suffixes = %w(.help)
|
24
|
-
Find.find(base_dir) do |target|
|
25
|
-
target = truncate_base_dir[target]
|
26
|
-
components = target.split(File::SEPARATOR)
|
27
|
-
if components.size == 1 and !File.directory?(target)
|
28
|
-
next unless base_dir_included_components.include?(components[0])
|
29
|
-
end
|
30
|
-
Find.prune if (excluded_components - components) != excluded_components
|
31
|
-
next if excluded_suffixes.include?(File.extname(target))
|
32
|
-
manifest_contents << target if File.file?(target)
|
33
|
-
end
|
34
|
-
|
35
|
-
File.open(manifest, "w") do |f|
|
36
|
-
f.puts manifest_contents.sort.join("\n")
|
37
|
-
end
|
38
|
-
at_exit do
|
39
|
-
FileUtils.rm_f(manifest)
|
40
|
-
end
|
41
|
-
|
42
|
-
def cleanup_white_space(entry)
|
43
|
-
entry.gsub(/(\A\n+|\n+\z)/, '') + "\n"
|
44
|
-
end
|
45
|
-
|
46
|
-
# For Hoe's no user friendly default behavior. :<
|
47
|
-
File.open("README.txt", "w") {|file| file << "= Dummy README\n== XXX\n"}
|
48
|
-
FileUtils.cp("NEWS.en", "History.txt")
|
49
|
-
at_exit do
|
50
|
-
FileUtils.rm_f("README.txt")
|
51
|
-
FileUtils.rm_f("History.txt")
|
52
|
-
end
|
53
|
-
|
54
|
-
ENV["VERSION"] = ActiveSambaLdap::VERSION
|
55
|
-
project = Hoe.spec("activesambaldap") do
|
56
|
-
self.version = ActiveSambaLdap::VERSION
|
57
|
-
self.rubyforge_name = "asl"
|
58
|
-
self.summary = "Samba+LDAP administration tools"
|
59
|
-
self.extra_deps << ["activeldap", required_active_ldap_version]
|
60
|
-
self.email = ["kou@clear-code.com"]
|
61
|
-
self.author = "Kouhei Sutou"
|
62
|
-
self.url = "http://asl.rubyforge.org/"
|
63
|
-
|
64
|
-
news_of_current_release = File.read("NEWS.en").split(/^==\s.*$/)[1]
|
65
|
-
self.changes = cleanup_white_space(news_of_current_release)
|
6
|
+
require "rubygems"
|
7
|
+
require "yard"
|
8
|
+
require "bundler/gem_helper"
|
66
9
|
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
end
|
71
|
-
|
72
|
-
|
73
|
-
rdoc_main = "README.en"
|
74
|
-
|
75
|
-
rdoc_task = nil
|
76
|
-
if ObjectSpace.each_object(Rake::RDocTask) {|rdoc_task|} != 1
|
77
|
-
puts "hoe may be changed"
|
78
|
-
end
|
79
|
-
rdoc_task.main = rdoc_main
|
80
|
-
rdoc_task.options.delete("-d")
|
81
|
-
rdoc_task.options << "--charset=UTF-8"
|
82
|
-
rdoc_task.rdoc_files -= project.spec.executables
|
83
|
-
rdoc_task.rdoc_files += project.spec.executables.collect {|x| "bin/#{x}.help"}
|
84
|
-
rdoc_task.rdoc_files += project.spec.files.find_all {|x| /\.(en|ja)\z/ =~ x}
|
85
|
-
rdoc_task.rdoc_files.reject! {|file| /\Atest-unit\// =~ file}
|
86
|
-
|
87
|
-
rdoc_options = rdoc_task.option_list
|
88
|
-
output_option_index = rdoc_options.index("-o")
|
89
|
-
rdoc_options[output_option_index, 2] = nil
|
90
|
-
project.spec.rdoc_options = rdoc_options
|
91
|
-
project.spec.extra_rdoc_files = rdoc_task.rdoc_files
|
92
|
-
|
93
|
-
project.spec.executables.each do |bin|
|
94
|
-
bin = "bin/#{bin}"
|
95
|
-
bin_help = "#{bin}.help"
|
96
|
-
File.open(bin_help, "w") do |f|
|
97
|
-
lang = ENV["LANG"]
|
98
|
-
ENV["LANG"] = "C"
|
99
|
-
f.puts(`#{RUBY} -I #{File.join(base_dir, 'lib')} #{bin} --help`)
|
100
|
-
ENV["LANG"] = lang
|
10
|
+
class Bundler::GemHelper
|
11
|
+
def version_tag
|
12
|
+
"#{version}"
|
101
13
|
end
|
102
|
-
at_exit do
|
103
|
-
FileUtils.rm_f(bin_help)
|
104
|
-
end
|
105
|
-
end
|
106
|
-
|
107
|
-
task :docs do
|
108
|
-
css_file = "doc/rdoc.css"
|
109
|
-
css = File.read(css_file)
|
110
|
-
reset_spacing = Regexp.escape("*{ padding: 0; margin: 0; }")
|
111
|
-
customized_css = css.sub(/#{reset_spacing}/, '')
|
112
|
-
if css != customized_css
|
113
|
-
File.open(css_file, "w") do |output|
|
114
|
-
output.print(customized_css)
|
115
|
-
end
|
116
|
-
end
|
117
|
-
end
|
118
|
-
|
119
|
-
desc 'Tag the repository for release.'
|
120
|
-
task :tag do
|
121
|
-
version = ActiveSambaLdap::VERSION
|
122
|
-
message = "Released ActiveSambaLdap #{version}!"
|
123
|
-
base = "svn+ssh://#{ENV['USER']}@rubyforge.org/var/svn/asl/"
|
124
|
-
sh 'svn', 'copy', '-m', message, "#{base}trunk", "#{base}tags/#{version}"
|
125
14
|
end
|
126
15
|
|
127
|
-
|
128
|
-
|
16
|
+
base_dir = File.dirname(__FILE__)
|
17
|
+
|
18
|
+
helper = Bundler::GemHelper.new(base_dir)
|
19
|
+
helper.install
|
20
|
+
spec = helper.gemspec
|
21
|
+
|
22
|
+
# spec.executables.each do |bin|
|
23
|
+
# bin = "bin/#{bin}"
|
24
|
+
# bin_help = "#{bin}.help"
|
25
|
+
# File.open(bin_help, "w") do |f|
|
26
|
+
# lang = ENV["LANG"]
|
27
|
+
# ENV["LANG"] = "C"
|
28
|
+
# f.puts(`#{RUBY} -I #{File.join(base_dir, 'lib')} #{bin} --help`)
|
29
|
+
# ENV["LANG"] = lang
|
30
|
+
# end
|
31
|
+
# at_exit do
|
32
|
+
# FileUtils.rm_f(bin_help)
|
33
|
+
# end
|
34
|
+
# end
|
129
35
|
|
130
36
|
desc "Update *.po/*.pot files and create *.mo from *.po files"
|
131
37
|
task :gettext => ["gettext:po:update", "gettext:mo:create"]
|
data/lib/active_samba_ldap.rb
CHANGED
@@ -8,7 +8,7 @@ require_gem_if_need = Proc.new do |library_name, gem_name, *options|
|
|
8
8
|
end
|
9
9
|
end
|
10
10
|
|
11
|
-
required_active_ldap_version = ">= 1.2.
|
11
|
+
required_active_ldap_version = ">= 1.2.2"
|
12
12
|
require_gem_if_need.call("active_ldap", "activeldap",
|
13
13
|
required_active_ldap_version)
|
14
14
|
|
@@ -0,0 +1,165 @@
|
|
1
|
+
GNU LESSER GENERAL PUBLIC LICENSE
|
2
|
+
Version 3, 29 June 2007
|
3
|
+
|
4
|
+
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
|
5
|
+
Everyone is permitted to copy and distribute verbatim copies
|
6
|
+
of this license document, but changing it is not allowed.
|
7
|
+
|
8
|
+
|
9
|
+
This version of the GNU Lesser General Public License incorporates
|
10
|
+
the terms and conditions of version 3 of the GNU General Public
|
11
|
+
License, supplemented by the additional permissions listed below.
|
12
|
+
|
13
|
+
0. Additional Definitions.
|
14
|
+
|
15
|
+
As used herein, "this License" refers to version 3 of the GNU Lesser
|
16
|
+
General Public License, and the "GNU GPL" refers to version 3 of the GNU
|
17
|
+
General Public License.
|
18
|
+
|
19
|
+
"The Library" refers to a covered work governed by this License,
|
20
|
+
other than an Application or a Combined Work as defined below.
|
21
|
+
|
22
|
+
An "Application" is any work that makes use of an interface provided
|
23
|
+
by the Library, but which is not otherwise based on the Library.
|
24
|
+
Defining a subclass of a class defined by the Library is deemed a mode
|
25
|
+
of using an interface provided by the Library.
|
26
|
+
|
27
|
+
A "Combined Work" is a work produced by combining or linking an
|
28
|
+
Application with the Library. The particular version of the Library
|
29
|
+
with which the Combined Work was made is also called the "Linked
|
30
|
+
Version".
|
31
|
+
|
32
|
+
The "Minimal Corresponding Source" for a Combined Work means the
|
33
|
+
Corresponding Source for the Combined Work, excluding any source code
|
34
|
+
for portions of the Combined Work that, considered in isolation, are
|
35
|
+
based on the Application, and not on the Linked Version.
|
36
|
+
|
37
|
+
The "Corresponding Application Code" for a Combined Work means the
|
38
|
+
object code and/or source code for the Application, including any data
|
39
|
+
and utility programs needed for reproducing the Combined Work from the
|
40
|
+
Application, but excluding the System Libraries of the Combined Work.
|
41
|
+
|
42
|
+
1. Exception to Section 3 of the GNU GPL.
|
43
|
+
|
44
|
+
You may convey a covered work under sections 3 and 4 of this License
|
45
|
+
without being bound by section 3 of the GNU GPL.
|
46
|
+
|
47
|
+
2. Conveying Modified Versions.
|
48
|
+
|
49
|
+
If you modify a copy of the Library, and, in your modifications, a
|
50
|
+
facility refers to a function or data to be supplied by an Application
|
51
|
+
that uses the facility (other than as an argument passed when the
|
52
|
+
facility is invoked), then you may convey a copy of the modified
|
53
|
+
version:
|
54
|
+
|
55
|
+
a) under this License, provided that you make a good faith effort to
|
56
|
+
ensure that, in the event an Application does not supply the
|
57
|
+
function or data, the facility still operates, and performs
|
58
|
+
whatever part of its purpose remains meaningful, or
|
59
|
+
|
60
|
+
b) under the GNU GPL, with none of the additional permissions of
|
61
|
+
this License applicable to that copy.
|
62
|
+
|
63
|
+
3. Object Code Incorporating Material from Library Header Files.
|
64
|
+
|
65
|
+
The object code form of an Application may incorporate material from
|
66
|
+
a header file that is part of the Library. You may convey such object
|
67
|
+
code under terms of your choice, provided that, if the incorporated
|
68
|
+
material is not limited to numerical parameters, data structure
|
69
|
+
layouts and accessors, or small macros, inline functions and templates
|
70
|
+
(ten or fewer lines in length), you do both of the following:
|
71
|
+
|
72
|
+
a) Give prominent notice with each copy of the object code that the
|
73
|
+
Library is used in it and that the Library and its use are
|
74
|
+
covered by this License.
|
75
|
+
|
76
|
+
b) Accompany the object code with a copy of the GNU GPL and this license
|
77
|
+
document.
|
78
|
+
|
79
|
+
4. Combined Works.
|
80
|
+
|
81
|
+
You may convey a Combined Work under terms of your choice that,
|
82
|
+
taken together, effectively do not restrict modification of the
|
83
|
+
portions of the Library contained in the Combined Work and reverse
|
84
|
+
engineering for debugging such modifications, if you also do each of
|
85
|
+
the following:
|
86
|
+
|
87
|
+
a) Give prominent notice with each copy of the Combined Work that
|
88
|
+
the Library is used in it and that the Library and its use are
|
89
|
+
covered by this License.
|
90
|
+
|
91
|
+
b) Accompany the Combined Work with a copy of the GNU GPL and this license
|
92
|
+
document.
|
93
|
+
|
94
|
+
c) For a Combined Work that displays copyright notices during
|
95
|
+
execution, include the copyright notice for the Library among
|
96
|
+
these notices, as well as a reference directing the user to the
|
97
|
+
copies of the GNU GPL and this license document.
|
98
|
+
|
99
|
+
d) Do one of the following:
|
100
|
+
|
101
|
+
0) Convey the Minimal Corresponding Source under the terms of this
|
102
|
+
License, and the Corresponding Application Code in a form
|
103
|
+
suitable for, and under terms that permit, the user to
|
104
|
+
recombine or relink the Application with a modified version of
|
105
|
+
the Linked Version to produce a modified Combined Work, in the
|
106
|
+
manner specified by section 6 of the GNU GPL for conveying
|
107
|
+
Corresponding Source.
|
108
|
+
|
109
|
+
1) Use a suitable shared library mechanism for linking with the
|
110
|
+
Library. A suitable mechanism is one that (a) uses at run time
|
111
|
+
a copy of the Library already present on the user's computer
|
112
|
+
system, and (b) will operate properly with a modified version
|
113
|
+
of the Library that is interface-compatible with the Linked
|
114
|
+
Version.
|
115
|
+
|
116
|
+
e) Provide Installation Information, but only if you would otherwise
|
117
|
+
be required to provide such information under section 6 of the
|
118
|
+
GNU GPL, and only to the extent that such information is
|
119
|
+
necessary to install and execute a modified version of the
|
120
|
+
Combined Work produced by recombining or relinking the
|
121
|
+
Application with a modified version of the Linked Version. (If
|
122
|
+
you use option 4d0, the Installation Information must accompany
|
123
|
+
the Minimal Corresponding Source and Corresponding Application
|
124
|
+
Code. If you use option 4d1, you must provide the Installation
|
125
|
+
Information in the manner specified by section 6 of the GNU GPL
|
126
|
+
for conveying Corresponding Source.)
|
127
|
+
|
128
|
+
5. Combined Libraries.
|
129
|
+
|
130
|
+
You may place library facilities that are a work based on the
|
131
|
+
Library side by side in a single library together with other library
|
132
|
+
facilities that are not Applications and are not covered by this
|
133
|
+
License, and convey such a combined library under terms of your
|
134
|
+
choice, if you do both of the following:
|
135
|
+
|
136
|
+
a) Accompany the combined library with a copy of the same work based
|
137
|
+
on the Library, uncombined with any other library facilities,
|
138
|
+
conveyed under the terms of this License.
|
139
|
+
|
140
|
+
b) Give prominent notice with the combined library that part of it
|
141
|
+
is a work based on the Library, and explaining where to find the
|
142
|
+
accompanying uncombined form of the same work.
|
143
|
+
|
144
|
+
6. Revised Versions of the GNU Lesser General Public License.
|
145
|
+
|
146
|
+
The Free Software Foundation may publish revised and/or new versions
|
147
|
+
of the GNU Lesser General Public License from time to time. Such new
|
148
|
+
versions will be similar in spirit to the present version, but may
|
149
|
+
differ in detail to address new problems or concerns.
|
150
|
+
|
151
|
+
Each version is given a distinguishing version number. If the
|
152
|
+
Library as you received it specifies that a certain numbered version
|
153
|
+
of the GNU Lesser General Public License "or any later version"
|
154
|
+
applies to it, you have the option of following the terms and
|
155
|
+
conditions either of that published version or of any later version
|
156
|
+
published by the Free Software Foundation. If the Library as you
|
157
|
+
received it does not specify a version number of the GNU Lesser
|
158
|
+
General Public License, you may choose any version of the GNU Lesser
|
159
|
+
General Public License ever published by the Free Software Foundation.
|
160
|
+
|
161
|
+
If the Library as you received it specifies that a proxy can decide
|
162
|
+
whether future versions of the GNU Lesser General Public License shall
|
163
|
+
apply, that proxy's public statement of acceptance of any version is
|
164
|
+
permanent authorization for you to choose that version for the
|
165
|
+
Library.
|