activesambaldap 0.0.5 → 0.0.6

Sign up to get free protection for your applications and to get access to all the features.
Files changed (130) hide show
  1. data/NEWS.en +6 -1
  2. data/NEWS.ja +6 -1
  3. data/README.en +3 -2
  4. data/README.ja +3 -2
  5. data/Rakefile +21 -2
  6. data/bin/asl-groupadd +0 -0
  7. data/bin/asl-groupadd.help +15 -0
  8. data/bin/asl-groupdel +0 -0
  9. data/bin/asl-groupdel.help +12 -0
  10. data/bin/asl-groupmod +0 -0
  11. data/bin/asl-groupmod.help +18 -0
  12. data/bin/asl-groupshow +0 -0
  13. data/bin/asl-groupshow.help +10 -0
  14. data/bin/asl-passwd +0 -0
  15. data/bin/asl-passwd.help +14 -0
  16. data/bin/asl-populate +0 -0
  17. data/bin/asl-populate.help +27 -0
  18. data/bin/asl-purge +0 -0
  19. data/bin/asl-purge.help +10 -0
  20. data/bin/asl-samba-computeradd +0 -0
  21. data/bin/asl-samba-computeradd.help +12 -0
  22. data/bin/asl-samba-groupadd +0 -0
  23. data/bin/asl-samba-groupadd.help +10 -0
  24. data/bin/asl-samba-groupdel +0 -0
  25. data/bin/asl-samba-groupdel.help +10 -0
  26. data/bin/asl-samba-groupmod +0 -0
  27. data/bin/asl-samba-groupmod.help +14 -0
  28. data/bin/asl-samba-useradd +0 -0
  29. data/bin/asl-samba-useradd.help +12 -0
  30. data/bin/asl-samba-userdel +0 -0
  31. data/bin/asl-samba-userdel.help +10 -0
  32. data/bin/asl-samba-usermod +0 -0
  33. data/bin/asl-samba-usermod.help +14 -0
  34. data/bin/asl-useradd +0 -0
  35. data/bin/asl-useradd.help +47 -0
  36. data/bin/asl-userdel +0 -0
  37. data/bin/asl-userdel.help +17 -0
  38. data/bin/asl-usermod +0 -0
  39. data/bin/asl-usermod.help +45 -0
  40. data/bin/asl-usershow +0 -0
  41. data/bin/asl-usershow.help +10 -0
  42. data/lib/active_samba_ldap.rb +9 -3
  43. data/lib/active_samba_ldap/account_entry.rb +1 -1
  44. data/lib/active_samba_ldap/group_entry.rb +3 -5
  45. data/lib/active_samba_ldap/reloadable.rb +2 -0
  46. data/lib/active_samba_ldap/samba_group_entry.rb +1 -1
  47. data/lib/active_samba_ldap/version.rb +1 -1
  48. data/misc/rd2html.rb +1 -1
  49. data/rails/plugin/active_samba_ldap/init.rb +15 -0
  50. data/test-unit/History.txt +32 -0
  51. data/test-unit/README.txt +32 -0
  52. data/test-unit/Rakefile +22 -0
  53. data/test-unit/bin/testrb +5 -0
  54. data/test-unit/lib/test/unit.rb +280 -0
  55. data/test-unit/lib/test/unit/assertionfailederror.rb +14 -0
  56. data/test-unit/lib/test/unit/assertions.rb +722 -0
  57. data/test-unit/lib/test/unit/attribute.rb +125 -0
  58. data/test-unit/lib/test/unit/autorunner.rb +250 -0
  59. data/test-unit/lib/test/unit/collector.rb +43 -0
  60. data/test-unit/lib/test/unit/collector/descendant.rb +23 -0
  61. data/test-unit/lib/test/unit/collector/dir.rb +108 -0
  62. data/test-unit/lib/test/unit/collector/load.rb +135 -0
  63. data/test-unit/lib/test/unit/collector/objectspace.rb +34 -0
  64. data/test-unit/lib/test/unit/color.rb +61 -0
  65. data/test-unit/lib/test/unit/diff.rb +524 -0
  66. data/test-unit/lib/test/unit/error.rb +124 -0
  67. data/test-unit/lib/test/unit/exceptionhandler.rb +39 -0
  68. data/test-unit/lib/test/unit/failure.rb +110 -0
  69. data/test-unit/lib/test/unit/fixture.rb +185 -0
  70. data/test-unit/lib/test/unit/notification.rb +116 -0
  71. data/test-unit/lib/test/unit/omission.rb +129 -0
  72. data/test-unit/lib/test/unit/pending.rb +130 -0
  73. data/test-unit/lib/test/unit/priority.rb +146 -0
  74. data/test-unit/lib/test/unit/runner/console.rb +46 -0
  75. data/test-unit/lib/test/unit/runner/emacs.rb +8 -0
  76. data/test-unit/lib/test/unit/testcase.rb +174 -0
  77. data/test-unit/lib/test/unit/testresult.rb +89 -0
  78. data/test-unit/lib/test/unit/testsuite.rb +110 -0
  79. data/test-unit/lib/test/unit/ui/console/outputlevel.rb +14 -0
  80. data/test-unit/lib/test/unit/ui/console/testrunner.rb +195 -0
  81. data/test-unit/lib/test/unit/ui/emacs/testrunner.rb +49 -0
  82. data/test-unit/lib/test/unit/ui/testrunner.rb +20 -0
  83. data/test-unit/lib/test/unit/ui/testrunnermediator.rb +77 -0
  84. data/test-unit/lib/test/unit/ui/testrunnerutilities.rb +41 -0
  85. data/test-unit/lib/test/unit/util/backtracefilter.rb +41 -0
  86. data/test-unit/lib/test/unit/util/observable.rb +90 -0
  87. data/test-unit/lib/test/unit/util/procwrapper.rb +48 -0
  88. data/test-unit/lib/test/unit/version.rb +7 -0
  89. data/test-unit/sample/adder.rb +13 -0
  90. data/test-unit/sample/subtracter.rb +12 -0
  91. data/test-unit/sample/tc_adder.rb +18 -0
  92. data/test-unit/sample/tc_subtracter.rb +18 -0
  93. data/test-unit/sample/ts_examples.rb +7 -0
  94. data/test-unit/test/collector/test_descendant.rb +135 -0
  95. data/test-unit/test/collector/test_dir.rb +406 -0
  96. data/test-unit/test/collector/test_load.rb +333 -0
  97. data/test-unit/test/collector/test_objectspace.rb +98 -0
  98. data/test-unit/test/run-test.rb +13 -0
  99. data/test-unit/test/test_assertions.rb +693 -0
  100. data/test-unit/test/test_attribute.rb +86 -0
  101. data/test-unit/test/test_color.rb +37 -0
  102. data/test-unit/test/test_diff.rb +477 -0
  103. data/test-unit/test/test_emacs_runner.rb +60 -0
  104. data/test-unit/test/test_error.rb +26 -0
  105. data/test-unit/test/test_failure.rb +33 -0
  106. data/test-unit/test/test_fixture.rb +275 -0
  107. data/test-unit/test/test_notification.rb +33 -0
  108. data/test-unit/test/test_omission.rb +81 -0
  109. data/test-unit/test/test_pending.rb +64 -0
  110. data/test-unit/test/test_priority.rb +89 -0
  111. data/test-unit/test/test_testcase.rb +411 -0
  112. data/test-unit/test/test_testresult.rb +113 -0
  113. data/test-unit/test/test_testsuite.rb +129 -0
  114. data/test-unit/test/testunit_test_util.rb +12 -0
  115. data/test-unit/test/ui/test_testrunmediator.rb +20 -0
  116. data/test-unit/test/util/test_backtracefilter.rb +41 -0
  117. data/test-unit/test/util/test_observable.rb +102 -0
  118. data/test-unit/test/util/test_procwrapper.rb +36 -0
  119. data/test/asl-test-utils.rb +0 -1
  120. data/test/run-test.rb +8 -12
  121. data/test/test_asl_groupmod.rb +3 -1
  122. data/test/test_asl_useradd.rb +3 -3
  123. data/test/test_samba_encrypt.rb +0 -1
  124. metadata +225 -88
  125. data/po/active-samba-ldap.pot +0 -459
  126. data/test/test-unit-ext.rb +0 -4
  127. data/test/test-unit-ext/always-show-result.rb +0 -28
  128. data/test/test-unit-ext/backtrace-filter.rb +0 -17
  129. data/test/test-unit-ext/long-display-for-emacs.rb +0 -25
  130. data/test/test-unit-ext/priority.rb +0 -186
@@ -1,5 +1,4 @@
1
1
  require 'test/unit'
2
- require 'test-unit-ext'
3
2
 
4
3
  require 'rbconfig'
5
4
  require 'fileutils'
data/test/run-test.rb CHANGED
@@ -1,24 +1,20 @@
1
1
  #!/usr/bin/env ruby
2
2
 
3
- $KCODE = 'u'
3
+ $VERBOSE = true
4
4
 
5
- require "test/unit"
5
+ $KCODE = 'u'
6
6
 
7
7
  top_dir = File.join(File.dirname(__FILE__), "..")
8
+
9
+ $LOAD_PATH.unshift(File.join(top_dir, "test-unit", "lib"))
10
+ require 'test/unit'
11
+
8
12
  # $LOAD_PATH.unshift(File.join(top_dir, "..", "ldap", "lib"))
9
13
  # $LOAD_PATH.unshift(File.join(top_dir, "..", "ldap"))
10
14
  $LOAD_PATH.unshift(File.join(top_dir, "..", "activeldap", "lib"))
11
15
  $LOAD_PATH.unshift(File.join(top_dir, "lib"))
12
16
  $LOAD_PATH.unshift(File.join(top_dir, "test"))
13
17
 
14
- require 'test-unit-ext'
15
-
16
- unless ARGV.find {|opt| /\A--(?:no-)?priority/ =~ opt}
17
- ARGV << "--priority"
18
- end
18
+ ARGV.unshift("--priority")
19
19
 
20
- if Test::Unit::AutoRunner.respond_to?(:standalone?)
21
- exit Test::Unit::AutoRunner.run($0, File.dirname($0))
22
- else
23
- exit Test::Unit::AutoRunner.run(false, File.dirname($0))
24
- end
20
+ exit Test::Unit::AutoRunner.run(true)
@@ -225,7 +225,7 @@ class AslGroupModTest < Test::Unit::TestCase
225
225
 
226
226
  def test_duplicate_members
227
227
  make_dummy_group do |group|
228
- format = _("there are duplicated members in " \
228
+ format = _("there is duplicated member in " \
229
229
  "adding and deleting members: %s")
230
230
  assert_asl_groupmod_failed(group.cn,
231
231
  "#{format % 'user'}\n",
@@ -237,6 +237,8 @@ class AslGroupModTest < Test::Unit::TestCase
237
237
  "--add-members", "user1,user2,user3",
238
238
  "--delete-members", "user2")
239
239
 
240
+ format = _("there are duplicated members in " \
241
+ "adding and deleting members: %s")
240
242
  assert_asl_groupmod_failed(group.cn,
241
243
  "#{format % 'user2, user3'}\n",
242
244
  "--add-members", "user1,user2,user3",
@@ -116,7 +116,7 @@ class AslUserAddTest < Test::Unit::TestCase
116
116
  end
117
117
 
118
118
  def test_gid_number
119
- make_dummy_group("test-group") do |group|
119
+ make_dummy_group(:name => "test-group") do |group|
120
120
  gid_number = group.gid_number
121
121
 
122
122
  ensure_delete_user("test-user") do |uid,|
@@ -149,7 +149,7 @@ class AslUserAddTest < Test::Unit::TestCase
149
149
  user = @user_class.find(uid)
150
150
  primary_group = @group_class.find(:first,
151
151
  :attribute => "gidNumber",
152
- :value => user.gid_number.to_s)
152
+ :value => user.gid_number)
153
153
  groups = @group_class.find(:all,
154
154
  :attribute => "memberUid",
155
155
  :value => uid)
@@ -167,7 +167,7 @@ class AslUserAddTest < Test::Unit::TestCase
167
167
  computer = @computer_class.find(uid)
168
168
  primary_group = @group_class.find(:first,
169
169
  :attribute => "gidNumber",
170
- :value => computer.gid_number.to_s)
170
+ :value => computer.gid_number)
171
171
  groups = @group_class.find(:all,
172
172
  :attribute => "memberUid",
173
173
  :value => uid)
@@ -1,5 +1,4 @@
1
1
  require 'test/unit'
2
- require 'test-unit-ext'
3
2
 
4
3
  require 'stringio'
5
4
 
metadata CHANGED
@@ -1,33 +1,105 @@
1
1
  --- !ruby/object:Gem::Specification
2
- rubygems_version: 0.9.4
3
- specification_version: 1
4
2
  name: activesambaldap
5
3
  version: !ruby/object:Gem::Version
6
- version: 0.0.5
7
- date: 2007-11-19 00:00:00 +09:00
8
- summary: ActiveSambaLdap is a library and a management tool for Samba + LDAP environment.
9
- require_paths:
10
- - lib
11
- email: kou@cozmixng.org
12
- homepage: http://asl.rubyforge.org/
13
- rubyforge_project: asl
14
- description: ActiveSambaLdap provides object-oriented API to manipulate LDAP entry for Samba. ActiveSambaLdap also provides command-line tools to replace smbldap-tools written by Perl.
15
- autorequire:
16
- default_executable:
17
- bindir: bin
18
- has_rdoc: true
19
- required_ruby_version: !ruby/object:Gem::Version::Requirement
20
- requirements:
21
- - - ">"
22
- - !ruby/object:Gem::Version
23
- version: 0.0.0
24
- version:
4
+ version: 0.0.6
25
5
  platform: ruby
26
- signing_key:
27
- cert_chain:
28
- post_install_message:
29
6
  authors:
30
7
  - Kouhei Sutou
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+
12
+ date: 2008-06-18 00:00:00 +09:00
13
+ default_executable:
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
16
+ name: activeldap
17
+ version_requirement:
18
+ version_requirements: !ruby/object:Gem::Requirement
19
+ requirements:
20
+ - - ">="
21
+ - !ruby/object:Gem::Version
22
+ version: 1.0.1
23
+ version:
24
+ - !ruby/object:Gem::Dependency
25
+ name: hoe
26
+ version_requirement:
27
+ version_requirements: !ruby/object:Gem::Requirement
28
+ requirements:
29
+ - - ">="
30
+ - !ruby/object:Gem::Version
31
+ version: 1.5.3
32
+ version:
33
+ description: ActiveSambaLdap provides object-oriented API to manipulate LDAP entry for Samba. ActiveSambaLdap also provides command-line tools to replace smbldap-tools written by Perl.
34
+ email: kou@cozmixng.org
35
+ executables:
36
+ - asl-groupadd
37
+ - asl-groupdel
38
+ - asl-groupmod
39
+ - asl-groupshow
40
+ - asl-passwd
41
+ - asl-populate
42
+ - asl-purge
43
+ - asl-samba-computeradd
44
+ - asl-samba-groupadd
45
+ - asl-samba-groupdel
46
+ - asl-samba-groupmod
47
+ - asl-samba-useradd
48
+ - asl-samba-userdel
49
+ - asl-samba-usermod
50
+ - asl-useradd
51
+ - asl-userdel
52
+ - asl-usermod
53
+ - asl-usershow
54
+ extensions: []
55
+
56
+ extra_rdoc_files:
57
+ - NEWS.en
58
+ - NEWS.ja
59
+ - README.en
60
+ - README.ja
61
+ - lib/active_samba_ldap.rb
62
+ - lib/active_samba_ldap/account_entry.rb
63
+ - lib/active_samba_ldap/base.rb
64
+ - lib/active_samba_ldap/command.rb
65
+ - lib/active_samba_ldap/computer.rb
66
+ - lib/active_samba_ldap/computer_account_entry.rb
67
+ - lib/active_samba_ldap/configuration.rb
68
+ - lib/active_samba_ldap/dc.rb
69
+ - lib/active_samba_ldap/entry.rb
70
+ - lib/active_samba_ldap/get_text_support.rb
71
+ - lib/active_samba_ldap/group.rb
72
+ - lib/active_samba_ldap/group_entry.rb
73
+ - lib/active_samba_ldap/idmap.rb
74
+ - lib/active_samba_ldap/ou.rb
75
+ - lib/active_samba_ldap/populate.rb
76
+ - lib/active_samba_ldap/reloadable.rb
77
+ - lib/active_samba_ldap/samba_account_entry.rb
78
+ - lib/active_samba_ldap/samba_entry.rb
79
+ - lib/active_samba_ldap/samba_group_entry.rb
80
+ - lib/active_samba_ldap/unix_id_pool.rb
81
+ - lib/active_samba_ldap/user.rb
82
+ - lib/active_samba_ldap/user_account_entry.rb
83
+ - lib/active_samba_ldap/version.rb
84
+ - lib/samba/encrypt.rb
85
+ - bin/asl-groupadd.help
86
+ - bin/asl-groupdel.help
87
+ - bin/asl-groupmod.help
88
+ - bin/asl-groupshow.help
89
+ - bin/asl-passwd.help
90
+ - bin/asl-populate.help
91
+ - bin/asl-purge.help
92
+ - bin/asl-samba-computeradd.help
93
+ - bin/asl-samba-groupadd.help
94
+ - bin/asl-samba-groupdel.help
95
+ - bin/asl-samba-groupmod.help
96
+ - bin/asl-samba-useradd.help
97
+ - bin/asl-samba-userdel.help
98
+ - bin/asl-samba-usermod.help
99
+ - bin/asl-useradd.help
100
+ - bin/asl-userdel.help
101
+ - bin/asl-usermod.help
102
+ - bin/asl-usershow.help
31
103
  files:
32
104
  - NEWS.en
33
105
  - NEWS.ja
@@ -78,7 +150,6 @@ files:
78
150
  - lib/active_samba_ldap/version.rb
79
151
  - lib/samba/encrypt.rb
80
152
  - misc/rd2html.rb
81
- - po/active-samba-ldap.pot
82
153
  - po/ja/active-samba-ldap.po
83
154
  - rails/plugin/active_samba_ldap/README
84
155
  - rails/plugin/active_samba_ldap/generators/scaffold_active_samba_ldap/scaffold_active_samba_ldap_generator.rb
@@ -97,15 +168,79 @@ files:
97
168
  - rails/plugin/active_samba_ldap/generators/scaffold_active_samba_ldap/templates/user.rb
98
169
  - rails/plugin/active_samba_ldap/init.rb
99
170
  - setup.rb
171
+ - test-unit/History.txt
172
+ - test-unit/README.txt
173
+ - test-unit/Rakefile
174
+ - test-unit/bin/testrb
175
+ - test-unit/lib/test/unit.rb
176
+ - test-unit/lib/test/unit/assertionfailederror.rb
177
+ - test-unit/lib/test/unit/assertions.rb
178
+ - test-unit/lib/test/unit/attribute.rb
179
+ - test-unit/lib/test/unit/autorunner.rb
180
+ - test-unit/lib/test/unit/collector.rb
181
+ - test-unit/lib/test/unit/collector/descendant.rb
182
+ - test-unit/lib/test/unit/collector/dir.rb
183
+ - test-unit/lib/test/unit/collector/load.rb
184
+ - test-unit/lib/test/unit/collector/objectspace.rb
185
+ - test-unit/lib/test/unit/color.rb
186
+ - test-unit/lib/test/unit/diff.rb
187
+ - test-unit/lib/test/unit/error.rb
188
+ - test-unit/lib/test/unit/exceptionhandler.rb
189
+ - test-unit/lib/test/unit/failure.rb
190
+ - test-unit/lib/test/unit/fixture.rb
191
+ - test-unit/lib/test/unit/notification.rb
192
+ - test-unit/lib/test/unit/omission.rb
193
+ - test-unit/lib/test/unit/pending.rb
194
+ - test-unit/lib/test/unit/priority.rb
195
+ - test-unit/lib/test/unit/runner/console.rb
196
+ - test-unit/lib/test/unit/runner/emacs.rb
197
+ - test-unit/lib/test/unit/testcase.rb
198
+ - test-unit/lib/test/unit/testresult.rb
199
+ - test-unit/lib/test/unit/testsuite.rb
200
+ - test-unit/lib/test/unit/ui/console/outputlevel.rb
201
+ - test-unit/lib/test/unit/ui/console/testrunner.rb
202
+ - test-unit/lib/test/unit/ui/emacs/testrunner.rb
203
+ - test-unit/lib/test/unit/ui/testrunner.rb
204
+ - test-unit/lib/test/unit/ui/testrunnermediator.rb
205
+ - test-unit/lib/test/unit/ui/testrunnerutilities.rb
206
+ - test-unit/lib/test/unit/util/backtracefilter.rb
207
+ - test-unit/lib/test/unit/util/observable.rb
208
+ - test-unit/lib/test/unit/util/procwrapper.rb
209
+ - test-unit/lib/test/unit/version.rb
210
+ - test-unit/sample/adder.rb
211
+ - test-unit/sample/subtracter.rb
212
+ - test-unit/sample/tc_adder.rb
213
+ - test-unit/sample/tc_subtracter.rb
214
+ - test-unit/sample/ts_examples.rb
215
+ - test-unit/test/collector/test_descendant.rb
216
+ - test-unit/test/collector/test_dir.rb
217
+ - test-unit/test/collector/test_load.rb
218
+ - test-unit/test/collector/test_objectspace.rb
219
+ - test-unit/test/run-test.rb
220
+ - test-unit/test/test_assertions.rb
221
+ - test-unit/test/test_attribute.rb
222
+ - test-unit/test/test_color.rb
223
+ - test-unit/test/test_diff.rb
224
+ - test-unit/test/test_emacs_runner.rb
225
+ - test-unit/test/test_error.rb
226
+ - test-unit/test/test_failure.rb
227
+ - test-unit/test/test_fixture.rb
228
+ - test-unit/test/test_notification.rb
229
+ - test-unit/test/test_omission.rb
230
+ - test-unit/test/test_pending.rb
231
+ - test-unit/test/test_priority.rb
232
+ - test-unit/test/test_testcase.rb
233
+ - test-unit/test/test_testresult.rb
234
+ - test-unit/test/test_testsuite.rb
235
+ - test-unit/test/testunit_test_util.rb
236
+ - test-unit/test/ui/test_testrunmediator.rb
237
+ - test-unit/test/util/test_backtracefilter.rb
238
+ - test-unit/test/util/test_observable.rb
239
+ - test-unit/test/util/test_procwrapper.rb
100
240
  - test/asl-test-utils.rb
101
241
  - test/command.rb
102
242
  - test/config.yaml.sample
103
243
  - test/run-test.rb
104
- - test/test-unit-ext.rb
105
- - test/test-unit-ext/always-show-result.rb
106
- - test/test-unit-ext/backtrace-filter.rb
107
- - test/test-unit-ext/long-display-for-emacs.rb
108
- - test/test-unit-ext/priority.rb
109
244
  - test/test_asl_groupadd.rb
110
245
  - test/test_asl_groupdel.rb
111
246
  - test/test_asl_groupmod.rb
@@ -122,67 +257,69 @@ files:
122
257
  - test/test_password.rb
123
258
  - test/test_samba_encrypt.rb
124
259
  - test/test_user_home_directory.rb
260
+ - bin/asl-groupadd.help
261
+ - bin/asl-groupdel.help
262
+ - bin/asl-groupmod.help
263
+ - bin/asl-groupshow.help
264
+ - bin/asl-passwd.help
265
+ - bin/asl-populate.help
266
+ - bin/asl-purge.help
267
+ - bin/asl-samba-computeradd.help
268
+ - bin/asl-samba-groupadd.help
269
+ - bin/asl-samba-groupdel.help
270
+ - bin/asl-samba-groupmod.help
271
+ - bin/asl-samba-useradd.help
272
+ - bin/asl-samba-userdel.help
273
+ - bin/asl-samba-usermod.help
274
+ - bin/asl-useradd.help
275
+ - bin/asl-userdel.help
276
+ - bin/asl-usermod.help
277
+ - bin/asl-usershow.help
278
+ has_rdoc: true
279
+ homepage: http://asl.rubyforge.org/
280
+ post_install_message:
281
+ rdoc_options:
282
+ - -t asl's activesambaldap-0.0.6 Documentation
283
+ - --charset=UTF-8
284
+ - --main
285
+ - README.en
286
+ - -T
287
+ - kilmer
288
+ require_paths:
289
+ - lib
290
+ required_ruby_version: !ruby/object:Gem::Requirement
291
+ requirements:
292
+ - - ">="
293
+ - !ruby/object:Gem::Version
294
+ version: "0"
295
+ version:
296
+ required_rubygems_version: !ruby/object:Gem::Requirement
297
+ requirements:
298
+ - - ">="
299
+ - !ruby/object:Gem::Version
300
+ version: "0"
301
+ version:
302
+ requirements: []
303
+
304
+ rubyforge_project: asl
305
+ rubygems_version: 1.1.1
306
+ signing_key:
307
+ specification_version: 2
308
+ summary: ActiveSambaLdap is a library and a management tool for Samba + LDAP environment.
125
309
  test_files:
126
- - test/test_asl_userdel.rb
127
- - test/test_asl_groupmod.rb
310
+ - test/test_samba_encrypt.rb
311
+ - test/test_group.rb
128
312
  - test/test_asl_usermod.rb
129
- - test/test_entry.rb
313
+ - test/test_asl_usershow.rb
314
+ - test/test_asl_passwd.rb
315
+ - test/test_asl_groupadd.rb
130
316
  - test/test_asl_useradd.rb
317
+ - test/test_user_home_directory.rb
318
+ - test/test_asl_groupmod.rb
319
+ - test/test_entry.rb
131
320
  - test/test_password.rb
132
- - test/test_asl_groupadd.rb
133
- - test/test_group.rb
134
- - test/test_asl_passwd.rb
135
- - test/test_asl_groupdel.rb
136
321
  - test/test_asl_purge.rb
137
- - test/test_user_home_directory.rb
138
- - test/test_asl_usershow.rb
139
- - test/test_asl_groupshow.rb
322
+ - test/test_asl_groupdel.rb
140
323
  - test/test_asl_populate.rb
141
- - test/test_samba_encrypt.rb
142
- rdoc_options:
143
- - --main
144
- - README.txt
145
- extra_rdoc_files: []
146
-
147
- executables:
148
- - asl-groupadd
149
- - asl-groupdel
150
- - asl-groupmod
151
- - asl-groupshow
152
- - asl-passwd
153
- - asl-populate
154
- - asl-purge
155
- - asl-samba-computeradd
156
- - asl-samba-groupadd
157
- - asl-samba-groupdel
158
- - asl-samba-groupmod
159
- - asl-samba-useradd
160
- - asl-samba-userdel
161
- - asl-samba-usermod
162
- - asl-useradd
163
- - asl-userdel
164
- - asl-usermod
165
- - asl-usershow
166
- extensions: []
167
-
168
- requirements: []
169
-
170
- dependencies:
171
- - !ruby/object:Gem::Dependency
172
- name: ruby-activeldap
173
- version_requirement:
174
- version_requirements: !ruby/object:Gem::Version::Requirement
175
- requirements:
176
- - - ">="
177
- - !ruby/object:Gem::Version
178
- version: 0.9.0
179
- version:
180
- - !ruby/object:Gem::Dependency
181
- name: hoe
182
- version_requirement:
183
- version_requirements: !ruby/object:Gem::Version::Requirement
184
- requirements:
185
- - - ">="
186
- - !ruby/object:Gem::Version
187
- version: 1.3.0
188
- version:
324
+ - test/test_asl_userdel.rb
325
+ - test/test_asl_groupshow.rb
@@ -1,459 +0,0 @@
1
- # SOME DESCRIPTIVE TITLE.
2
- # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER
3
- # This file is distributed under the same license as the PACKAGE package.
4
- # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
5
- #
6
- #, fuzzy
7
- msgid ""
8
- msgstr ""
9
- "Project-Id-Version: Ruby/ActiveSambaLdap 0.0.5\n"
10
- "POT-Creation-Date: 2007-09-16 22:47+0900\n"
11
- "PO-Revision-Date: 2007-09-08 11:51+0900\n"
12
- "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13
- "Language-Team: LANGUAGE <LL@li.org>\n"
14
- "MIME-Version: 1.0\n"
15
- "Content-Type: text/plain; charset=UTF-8\n"
16
- "Content-Transfer-Encoding: 8bit\n"
17
- "Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n"
18
-
19
- #: lib/active_samba_ldap/command.rb:19
20
- msgid "Common options:"
21
- msgstr ""
22
-
23
- #: lib/active_samba_ldap/command.rb:22
24
- msgid "Specify configuration file"
25
- msgstr ""
26
-
27
- #: lib/active_samba_ldap/command.rb:23
28
- msgid "Default configuration files:"
29
- msgstr ""
30
-
31
- #: lib/active_samba_ldap/command.rb:28
32
- msgid "Show this message"
33
- msgstr ""
34
-
35
- #: lib/active_samba_ldap/command.rb:33
36
- msgid "Show version"
37
- msgstr ""
38
-
39
- #: lib/active_samba_ldap/entry.rb:39
40
- msgid "%s must be only ou"
41
- msgstr ""
42
-
43
- #: lib/active_samba_ldap/base.rb:15
44
- msgid "required variable is not set: %s"
45
- msgid_plural "required variables are not set: %s"
46
- msgstr[0] ""
47
- msgstr[1] ""
48
-
49
- #: lib/active_samba_ldap/base.rb:27
50
- msgid "uid number already exists: %s"
51
- msgstr ""
52
-
53
- #: lib/active_samba_ldap/base.rb:35 bin/asl-groupdel:46 bin/asl-groupshow:27
54
- #: bin/asl-samba-groupmod:48 bin/asl-groupmod:59 bin/asl-samba-groupdel:40
55
- msgid "group doesn't exist: %s"
56
- msgstr ""
57
-
58
- #: lib/active_samba_ldap/base.rb:43
59
- msgid "gid number already exists: %s"
60
- msgstr ""
61
-
62
- #: lib/active_samba_ldap/base.rb:51
63
- msgid "gid number doesn't exist: %s"
64
- msgstr ""
65
-
66
- #: lib/active_samba_ldap/base.rb:59
67
- msgid "sambaSID attribute doesn't exist for gid number '%s'"
68
- msgstr ""
69
-
70
- #: lib/active_samba_ldap/base.rb:68
71
- msgid ""
72
- "cannot change primary group from '%s' to other group due to no other "
73
- "belonged groups: %s"
74
- msgstr ""
75
-
76
- #: lib/active_samba_ldap/base.rb:79
77
- msgid ""
78
- "cannot destroy group '%s' due to members who belong to the group as primary "
79
- "group: %s"
80
- msgstr ""
81
-
82
- #: lib/active_samba_ldap/base.rb:91
83
- msgid "found invalid configuration format at %s:%s: %s"
84
- msgstr ""
85
-
86
- #: lib/active_samba_ldap/base.rb:102
87
- msgid "the value of %s '%s' is invalid: %s"
88
- msgstr ""
89
-
90
- #: lib/active_samba_ldap/base.rb:111
91
- msgid "%s is not Samba available"
92
- msgstr ""
93
-
94
- #: lib/active_samba_ldap/configuration.rb:310
95
- msgid "must be in %s"
96
- msgstr ""
97
-
98
- #: lib/active_samba_ldap/samba_group_entry.rb:138
99
- msgid "invalid type: %s"
100
- msgstr ""
101
-
102
- #: rails/plugin/active_samba_ldap/init.rb:10
103
- msgid ""
104
- "You should run 'script/generator scaffold_active_samba_ldap' to make %s."
105
- msgstr ""
106
-
107
- #: bin/asl-samba-useradd:14 bin/asl-samba-computeradd:14 bin/asl-useradd:42
108
- msgid "add the user in the organizational unit OU"
109
- msgstr ""
110
-
111
- #: bin/asl-samba-useradd:15 bin/asl-samba-computeradd:15 bin/asl-useradd:43
112
- msgid "(relative to the user suffix)"
113
- msgstr ""
114
-
115
- #: bin/asl-samba-useradd:33 bin/asl-samba-userdel:21 bin/asl-userdel:42
116
- #: bin/asl-groupdel:27 bin/asl-samba-computeradd:33 bin/asl-useradd:144
117
- #: bin/asl-samba-groupmod:29 bin/asl-populate:60 bin/asl-groupmod:40
118
- #: bin/asl-samba-groupadd:21 bin/asl-purge:16 bin/asl-samba-groupdel:21
119
- #: bin/asl-groupadd:33
120
- msgid "need root authority."
121
- msgstr ""
122
-
123
- #: bin/asl-samba-useradd:57
124
- msgid "illegal user name: %s"
125
- msgstr ""
126
-
127
- #: bin/asl-samba-useradd:62
128
- msgid "user already exists: %s"
129
- msgstr ""
130
-
131
- #: bin/asl-samba-useradd:75 bin/asl-samba-computeradd:78 bin/asl-useradd:224
132
- msgid "UID already exists: %s"
133
- msgstr ""
134
-
135
- #: bin/asl-samba-userdel:40 bin/asl-passwd:52 bin/asl-usershow:27
136
- msgid "user doesn't exist: %s"
137
- msgstr ""
138
-
139
- #: bin/asl-userdel:16 bin/asl-useradd:51 bin/asl-samba-usermod:15
140
- #: bin/asl-usermod:44
141
- msgid "is a Windows Workstation"
142
- msgstr ""
143
-
144
- #: bin/asl-userdel:17 bin/asl-useradd:52 bin/asl-samba-usermod:16
145
- #: bin/asl-usermod:45
146
- msgid "(otherwise, Windows user)"
147
- msgstr ""
148
-
149
- #: bin/asl-userdel:21
150
- msgid "remove home directory"
151
- msgstr ""
152
-
153
- #: bin/asl-userdel:27
154
- msgid "do interactively"
155
- msgstr ""
156
-
157
- #: bin/asl-userdel:62 bin/asl-useradd:169 bin/asl-samba-usermod:48
158
- #: bin/asl-usermod:162
159
- msgid "computer"
160
- msgstr ""
161
-
162
- #: bin/asl-userdel:65 bin/asl-useradd:173 bin/asl-samba-usermod:51
163
- #: bin/asl-usermod:166
164
- msgid "user"
165
- msgstr ""
166
-
167
- #: bin/asl-userdel:73 bin/asl-samba-usermod:59 bin/asl-usermod:170
168
- msgid "%s doesn't exist: %s"
169
- msgstr ""
170
-
171
- #: bin/asl-groupdel:14
172
- msgid "force delete group"
173
- msgstr ""
174
-
175
- #: bin/asl-samba-computeradd:57
176
- msgid "illegal computer name: %s"
177
- msgstr ""
178
-
179
- #: bin/asl-samba-computeradd:62
180
- msgid "computer already exists: %s"
181
- msgstr ""
182
-
183
- #: bin/asl-passwd:17
184
- msgid "update samba password"
185
- msgstr ""
186
-
187
- #: bin/asl-passwd:23
188
- msgid "update UNIX password"
189
- msgstr ""
190
-
191
- #: bin/asl-passwd:41
192
- msgid "do nothing."
193
- msgstr ""
194
-
195
- #: bin/asl-passwd:58
196
- msgid "Enter your current password: "
197
- msgstr ""
198
-
199
- #: bin/asl-passwd:63 bin/asl-samba-usermod:70 bin/asl-usermod:181
200
- msgid "password doesn't match."
201
- msgstr ""
202
-
203
- #: bin/asl-passwd:68
204
- msgid "New password: "
205
- msgstr ""
206
-
207
- #: bin/asl-passwd:69
208
- msgid "Retype new password: "
209
- msgstr ""
210
-
211
- #: bin/asl-passwd:72
212
- msgid "New passwords don't match."
213
- msgstr ""
214
-
215
- #: bin/asl-useradd:54 bin/asl-usermod:60
216
- msgid "uid"
217
- msgstr ""
218
-
219
- #: bin/asl-useradd:55 bin/asl-samba-usermod:19
220
- msgid "gid"
221
- msgstr ""
222
-
223
- #: bin/asl-useradd:57 bin/asl-usermod:68
224
- msgid "supplementary groups (comma separated)"
225
- msgstr ""
226
-
227
- #: bin/asl-useradd:61
228
- msgid "create a group for the user"
229
- msgstr ""
230
-
231
- #: bin/asl-useradd:64
232
- msgid "set the GECOS field for the new user account"
233
- msgstr ""
234
-
235
- #: bin/asl-useradd:65 bin/asl-usermod:74
236
- msgid "shell"
237
- msgstr ""
238
-
239
- #: bin/asl-useradd:66 bin/asl-usermod:75
240
- msgid "given name"
241
- msgstr ""
242
-
243
- #: bin/asl-useradd:68 bin/asl-usermod:77
244
- msgid "common name"
245
- msgstr ""
246
-
247
- #: bin/asl-useradd:69 bin/asl-usermod:78
248
- msgid "surname"
249
- msgstr ""
250
-
251
- #: bin/asl-useradd:72 bin/asl-usermod:50
252
- msgid "home directory"
253
- msgstr ""
254
-
255
- #: bin/asl-useradd:74
256
- msgid "permission of home directory"
257
- msgstr ""
258
-
259
- #: bin/asl-useradd:76
260
- msgid "setup home directory"
261
- msgstr ""
262
-
263
- #: bin/asl-useradd:79
264
- msgid "skeleton directory"
265
- msgstr ""
266
-
267
- #: bin/asl-useradd:82
268
- msgid "wait TIME seconds before exiting"
269
- msgstr ""
270
-
271
- #: bin/asl-useradd:86 bin/asl-usermod:81
272
- msgid "For samba accounts:"
273
- msgstr ""
274
-
275
- #: bin/asl-useradd:88 bin/asl-usermod:83
276
- msgid "expire date"
277
- msgstr ""
278
-
279
- #: bin/asl-useradd:92 bin/asl-usermod:87
280
- msgid "can change password"
281
- msgstr ""
282
-
283
- #: bin/asl-useradd:96 bin/asl-usermod:91
284
- msgid "must change password"
285
- msgstr ""
286
-
287
- #: bin/asl-useradd:100 bin/asl-usermod:95
288
- msgid "sambaHomePath"
289
- msgstr ""
290
-
291
- #: bin/asl-useradd:101 bin/asl-usermod:96
292
- msgid "(SMB home share, like '\\\\PDC\\user'"
293
- msgstr ""
294
-
295
- #: bin/asl-useradd:105 bin/asl-usermod:100
296
- msgid "sambaHomeDrive"
297
- msgstr ""
298
-
299
- #: bin/asl-useradd:106 bin/asl-usermod:101
300
- msgid "(letter associated with home share, like 'H:')"
301
- msgstr ""
302
-
303
- #: bin/asl-useradd:110 bin/asl-usermod:105
304
- msgid "sambaLogonScript"
305
- msgstr ""
306
-
307
- #: bin/asl-useradd:111 bin/asl-usermod:106
308
- msgid "(DOS script to execute on login)"
309
- msgstr ""
310
-
311
- #: bin/asl-useradd:115 bin/asl-usermod:110
312
- msgid "sambaProfilePath"
313
- msgstr ""
314
-
315
- #: bin/asl-useradd:116 bin/asl-usermod:111
316
- msgid "(profile directory, like '\\\\PDC\\profiles\\user')"
317
- msgstr ""
318
-
319
- #: bin/asl-useradd:120 bin/asl-usermod:116
320
- msgid "sambaAcctFlags"
321
- msgstr ""
322
-
323
- #: bin/asl-useradd:121 bin/asl-usermod:117
324
- msgid "(samba account control bits, like '[NDHTUMWSLXI]')"
325
- msgstr ""
326
-
327
- #: bin/asl-useradd:177
328
- msgid "illegal %s name: %s"
329
- msgstr ""
330
-
331
- #: bin/asl-useradd:182 bin/asl-usermod:308
332
- msgid "%s already exists: %s"
333
- msgstr ""
334
-
335
- #: bin/asl-samba-groupmod:15 bin/asl-groupmod:26
336
- msgid "add members (comma delimited)"
337
- msgstr ""
338
-
339
- #: bin/asl-samba-groupmod:17 bin/asl-groupmod:28
340
- msgid "delete members (comma delimited)"
341
- msgstr ""
342
-
343
- #: bin/asl-samba-groupmod:56
344
- msgid "there are duplicated members in adding and deleting members: %s"
345
- msgstr ""
346
-
347
- #: bin/asl-samba-usermod:65 bin/asl-usermod:176
348
- msgid "Enter your password: "
349
- msgstr ""
350
-
351
- #: bin/asl-populate:30
352
- msgid "first uid number to allocate"
353
- msgstr ""
354
-
355
- #: bin/asl-populate:33
356
- msgid "first gid number to allocate"
357
- msgstr ""
358
-
359
- #: bin/asl-populate:36
360
- msgid "administrator login name"
361
- msgstr ""
362
-
363
- #: bin/asl-populate:39
364
- msgid "administrator's uid number"
365
- msgstr ""
366
-
367
- #: bin/asl-populate:42
368
- msgid "administrator's gid number"
369
- msgstr ""
370
-
371
- #: bin/asl-populate:45
372
- msgid "guest login name"
373
- msgstr ""
374
-
375
- #: bin/asl-populate:48
376
- msgid "guest's uid number"
377
- msgstr ""
378
-
379
- #: bin/asl-populate:51
380
- msgid "guest's gid number"
381
- msgstr ""
382
-
383
- #: bin/asl-populate:54
384
- msgid "export LDIF file"
385
- msgstr ""
386
-
387
- #: bin/asl-populate:76
388
- msgid "Password for %s: "
389
- msgstr ""
390
-
391
- #: bin/asl-populate:78
392
- msgid "Retype password for %s: "
393
- msgstr ""
394
-
395
- #: bin/asl-populate:81
396
- msgid "Passwords don't match."
397
- msgstr ""
398
-
399
- #: bin/asl-groupmod:17 bin/asl-groupadd:15
400
- msgid "GID number"
401
- msgstr ""
402
-
403
- #: bin/asl-groupmod:19
404
- msgid "gid can be non unique"
405
- msgstr ""
406
-
407
- #: bin/asl-groupmod:24
408
- msgid "new group name"
409
- msgstr ""
410
-
411
- #: bin/asl-groupmod:79
412
- msgid "there is duplicated member in adding and deleting members: %s"
413
- msgid_plural "there are duplicated members in adding and deleting members: %s"
414
- msgstr[0] ""
415
- msgstr[1] ""
416
-
417
- #: bin/asl-groupmod:117 bin/asl-samba-groupadd:36 bin/asl-groupadd:48
418
- msgid "group already exists: %s"
419
- msgstr ""
420
-
421
- #: bin/asl-usermod:48
422
- msgid "gecos"
423
- msgstr ""
424
-
425
- #: bin/asl-usermod:52
426
- msgid "move home directory"
427
- msgstr ""
428
-
429
- #: bin/asl-usermod:57
430
- msgid "new user name (cn and dn are updated)"
431
- msgstr ""
432
-
433
- #: bin/asl-usermod:62
434
- msgid "uid can be non unique "
435
- msgstr ""
436
-
437
- #: bin/asl-usermod:72
438
- msgid "replace supplementary groups "
439
- msgstr ""
440
-
441
- #: bin/asl-usermod:119
442
- msgid "disable this user"
443
- msgstr ""
444
-
445
- #: bin/asl-usermod:122
446
- msgid "enable this user"
447
- msgstr ""
448
-
449
- #: bin/asl-usermod:234 bin/asl-usermod:238
450
- msgid "not implemented."
451
- msgstr ""
452
-
453
- #: bin/asl-groupadd:17
454
- msgid "group type"
455
- msgstr ""
456
-
457
- #: bin/asl-groupadd:20
458
- msgid "print the gid number to stdout"
459
- msgstr ""