ActiveSambaLdap 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- data/NEWS.en +40 -0
- data/NEWS.ja +44 -0
- data/README.en +366 -0
- data/README.ja +361 -0
- data/Rakefile +168 -0
- data/bin/asl-groupadd +73 -0
- data/bin/asl-groupadd.help +1 -0
- data/bin/asl-groupdel +61 -0
- data/bin/asl-groupdel.help +1 -0
- data/bin/asl-groupmod +137 -0
- data/bin/asl-groupmod.help +1 -0
- data/bin/asl-groupshow +33 -0
- data/bin/asl-groupshow.help +1 -0
- data/bin/asl-passwd +90 -0
- data/bin/asl-passwd.help +1 -0
- data/bin/asl-populate +101 -0
- data/bin/asl-populate.help +1 -0
- data/bin/asl-purge +26 -0
- data/bin/asl-purge.help +1 -0
- data/bin/asl-samba-computeradd +96 -0
- data/bin/asl-samba-computeradd.help +1 -0
- data/bin/asl-samba-groupadd +57 -0
- data/bin/asl-samba-groupadd.help +1 -0
- data/bin/asl-samba-groupdel +55 -0
- data/bin/asl-samba-groupdel.help +1 -0
- data/bin/asl-samba-groupmod +99 -0
- data/bin/asl-samba-groupmod.help +1 -0
- data/bin/asl-samba-useradd +100 -0
- data/bin/asl-samba-useradd.help +1 -0
- data/bin/asl-samba-userdel +49 -0
- data/bin/asl-samba-userdel.help +1 -0
- data/bin/asl-samba-usermod +94 -0
- data/bin/asl-samba-usermod.help +1 -0
- data/bin/asl-useradd +264 -0
- data/bin/asl-useradd.help +1 -0
- data/bin/asl-userdel +84 -0
- data/bin/asl-userdel.help +1 -0
- data/bin/asl-usermod +335 -0
- data/bin/asl-usermod.help +1 -0
- data/bin/asl-usershow +33 -0
- data/bin/asl-usershow.help +1 -0
- data/lib/active_samba_ldap.rb +42 -0
- data/lib/active_samba_ldap/account_entry.rb +208 -0
- data/lib/active_samba_ldap/base.rb +137 -0
- data/lib/active_samba_ldap/command.rb +100 -0
- data/lib/active_samba_ldap/computer.rb +24 -0
- data/lib/active_samba_ldap/computer_account_entry.rb +34 -0
- data/lib/active_samba_ldap/configuration.rb +333 -0
- data/lib/active_samba_ldap/dc.rb +19 -0
- data/lib/active_samba_ldap/entry.rb +81 -0
- data/lib/active_samba_ldap/get_text_support.rb +12 -0
- data/lib/active_samba_ldap/group.rb +17 -0
- data/lib/active_samba_ldap/group_entry.rb +187 -0
- data/lib/active_samba_ldap/idmap.rb +19 -0
- data/lib/active_samba_ldap/ou.rb +20 -0
- data/lib/active_samba_ldap/populate.rb +257 -0
- data/lib/active_samba_ldap/reloadable.rb +15 -0
- data/lib/active_samba_ldap/samba_account_entry.rb +225 -0
- data/lib/active_samba_ldap/samba_entry.rb +26 -0
- data/lib/active_samba_ldap/samba_group_entry.rb +143 -0
- data/lib/active_samba_ldap/unix_id_pool.rb +43 -0
- data/lib/active_samba_ldap/user.rb +44 -0
- data/lib/active_samba_ldap/user_account_entry.rb +30 -0
- data/lib/active_samba_ldap/version.rb +3 -0
- data/lib/samba/encrypt.rb +86 -0
- data/misc/rd2html.rb +42 -0
- data/po/ja/active-samba-ldap.po +465 -0
- data/rails/README +30 -0
- data/rails/init.rb +33 -0
- data/rails_generators/scaffold_active_samba_ldap/scaffold_active_samba_ldap_generator.rb +27 -0
- data/rails_generators/scaffold_active_samba_ldap/templates/computer.rb +3 -0
- data/rails_generators/scaffold_active_samba_ldap/templates/dc.rb +3 -0
- data/rails_generators/scaffold_active_samba_ldap/templates/group.rb +3 -0
- data/rails_generators/scaffold_active_samba_ldap/templates/idmap.rb +3 -0
- data/rails_generators/scaffold_active_samba_ldap/templates/ldap.yml +24 -0
- data/rails_generators/scaffold_active_samba_ldap/templates/ou.rb +3 -0
- data/rails_generators/scaffold_active_samba_ldap/templates/samba_controller.rb +12 -0
- data/rails_generators/scaffold_active_samba_ldap/templates/samba_helper.rb +2 -0
- data/rails_generators/scaffold_active_samba_ldap/templates/samba_index.rhtml +17 -0
- data/rails_generators/scaffold_active_samba_ldap/templates/samba_populate.rhtml +15 -0
- data/rails_generators/scaffold_active_samba_ldap/templates/samba_purge.rhtml +10 -0
- data/rails_generators/scaffold_active_samba_ldap/templates/unix_id_pool.rb +3 -0
- data/rails_generators/scaffold_active_samba_ldap/templates/user.rb +3 -0
- data/setup.rb +1585 -0
- data/test-unit/History.txt +107 -0
- data/test-unit/README.txt +52 -0
- data/test-unit/Rakefile +40 -0
- data/test-unit/TODO +5 -0
- data/test-unit/bin/testrb +5 -0
- data/test-unit/lib/test/unit.rb +342 -0
- data/test-unit/lib/test/unit/assertionfailederror.rb +14 -0
- data/test-unit/lib/test/unit/assertions.rb +1149 -0
- data/test-unit/lib/test/unit/attribute.rb +125 -0
- data/test-unit/lib/test/unit/autorunner.rb +329 -0
- data/test-unit/lib/test/unit/collector.rb +43 -0
- data/test-unit/lib/test/unit/collector/descendant.rb +23 -0
- data/test-unit/lib/test/unit/collector/dir.rb +108 -0
- data/test-unit/lib/test/unit/collector/load.rb +135 -0
- data/test-unit/lib/test/unit/collector/objectspace.rb +34 -0
- data/test-unit/lib/test/unit/color-scheme.rb +86 -0
- data/test-unit/lib/test/unit/color.rb +96 -0
- data/test-unit/lib/test/unit/diff.rb +538 -0
- data/test-unit/lib/test/unit/error.rb +124 -0
- data/test-unit/lib/test/unit/exceptionhandler.rb +39 -0
- data/test-unit/lib/test/unit/failure.rb +110 -0
- data/test-unit/lib/test/unit/fixture.rb +176 -0
- data/test-unit/lib/test/unit/notification.rb +125 -0
- data/test-unit/lib/test/unit/omission.rb +143 -0
- data/test-unit/lib/test/unit/pending.rb +146 -0
- data/test-unit/lib/test/unit/priority.rb +181 -0
- data/test-unit/lib/test/unit/runner/console.rb +52 -0
- data/test-unit/lib/test/unit/runner/emacs.rb +8 -0
- data/test-unit/lib/test/unit/testcase.rb +425 -0
- data/test-unit/lib/test/unit/testresult.rb +89 -0
- data/test-unit/lib/test/unit/testsuite.rb +110 -0
- data/test-unit/lib/test/unit/ui/console/outputlevel.rb +14 -0
- data/test-unit/lib/test/unit/ui/console/testrunner.rb +223 -0
- data/test-unit/lib/test/unit/ui/emacs/testrunner.rb +49 -0
- data/test-unit/lib/test/unit/ui/testrunner.rb +20 -0
- data/test-unit/lib/test/unit/ui/testrunnermediator.rb +77 -0
- data/test-unit/lib/test/unit/ui/testrunnerutilities.rb +41 -0
- data/test-unit/lib/test/unit/util/backtracefilter.rb +41 -0
- data/test-unit/lib/test/unit/util/method-owner-finder.rb +28 -0
- data/test-unit/lib/test/unit/util/observable.rb +90 -0
- data/test-unit/lib/test/unit/util/procwrapper.rb +48 -0
- data/test-unit/lib/test/unit/version.rb +7 -0
- data/test-unit/sample/adder.rb +13 -0
- data/test-unit/sample/subtracter.rb +12 -0
- data/test-unit/sample/tc_adder.rb +18 -0
- data/test-unit/sample/tc_subtracter.rb +18 -0
- data/test-unit/sample/test_user.rb +22 -0
- data/test-unit/sample/ts_examples.rb +7 -0
- data/test-unit/test/collector/test-descendant.rb +135 -0
- data/test-unit/test/collector/test-load.rb +333 -0
- data/test-unit/test/collector/test_dir.rb +406 -0
- data/test-unit/test/collector/test_objectspace.rb +98 -0
- data/test-unit/test/run-test.rb +13 -0
- data/test-unit/test/test-attribute.rb +86 -0
- data/test-unit/test/test-color-scheme.rb +56 -0
- data/test-unit/test/test-color.rb +47 -0
- data/test-unit/test/test-diff.rb +477 -0
- data/test-unit/test/test-emacs-runner.rb +60 -0
- data/test-unit/test/test-fixture.rb +287 -0
- data/test-unit/test/test-notification.rb +33 -0
- data/test-unit/test/test-omission.rb +81 -0
- data/test-unit/test/test-pending.rb +70 -0
- data/test-unit/test/test-priority.rb +119 -0
- data/test-unit/test/test-testcase.rb +507 -0
- data/test-unit/test/test_assertions.rb +1082 -0
- data/test-unit/test/test_error.rb +26 -0
- data/test-unit/test/test_failure.rb +33 -0
- data/test-unit/test/test_testresult.rb +113 -0
- data/test-unit/test/test_testsuite.rb +129 -0
- data/test-unit/test/testunit-test-util.rb +14 -0
- data/test-unit/test/ui/test_testrunmediator.rb +20 -0
- data/test-unit/test/util/test-method-owner-finder.rb +38 -0
- data/test-unit/test/util/test_backtracefilter.rb +41 -0
- data/test-unit/test/util/test_observable.rb +102 -0
- data/test-unit/test/util/test_procwrapper.rb +36 -0
- data/test/asl-test-utils.rb +276 -0
- data/test/command.rb +67 -0
- data/test/config.yaml.sample +17 -0
- data/test/run-test.rb +20 -0
- data/test/test_asl_groupadd.rb +69 -0
- data/test/test_asl_groupdel.rb +88 -0
- data/test/test_asl_groupmod.rb +259 -0
- data/test/test_asl_groupshow.rb +21 -0
- data/test/test_asl_passwd.rb +126 -0
- data/test/test_asl_populate.rb +92 -0
- data/test/test_asl_purge.rb +21 -0
- data/test/test_asl_useradd.rb +712 -0
- data/test/test_asl_userdel.rb +75 -0
- data/test/test_asl_usermod.rb +549 -0
- data/test/test_asl_usershow.rb +27 -0
- data/test/test_entry.rb +21 -0
- data/test/test_group.rb +21 -0
- data/test/test_password.rb +51 -0
- data/test/test_samba_encrypt.rb +35 -0
- data/test/test_user_home_directory.rb +43 -0
- metadata +314 -0
@@ -0,0 +1,44 @@
|
|
1
|
+
require 'active_samba_ldap/base'
|
2
|
+
require 'active_samba_ldap/entry'
|
3
|
+
require 'active_samba_ldap/samba_entry'
|
4
|
+
require 'active_samba_ldap/account_entry'
|
5
|
+
require 'active_samba_ldap/user_account_entry'
|
6
|
+
require 'active_samba_ldap/samba_account_entry'
|
7
|
+
|
8
|
+
module ActiveSambaLdap
|
9
|
+
class User < Base
|
10
|
+
include Reloadable
|
11
|
+
|
12
|
+
include Entry
|
13
|
+
include SambaEntry
|
14
|
+
|
15
|
+
include AccountEntry
|
16
|
+
include UserAccountEntry
|
17
|
+
include SambaAccountEntry
|
18
|
+
|
19
|
+
def fill_default_values(options={})
|
20
|
+
result = super
|
21
|
+
return result unless samba_available?
|
22
|
+
|
23
|
+
options = options.stringify_keys
|
24
|
+
subst = Proc.new do |key|
|
25
|
+
value = options[key]
|
26
|
+
if value
|
27
|
+
substitute_template(value)
|
28
|
+
else
|
29
|
+
substituted_value(key)
|
30
|
+
end
|
31
|
+
end
|
32
|
+
|
33
|
+
self.samba_home_path ||= subst["user_home_unc"]
|
34
|
+
self.samba_home_drive ||= subst["user_home_drive"].sub(/([^:])$/, "\\1:")
|
35
|
+
self.samba_profile_path ||= subst["user_profile"]
|
36
|
+
self.samba_logon_script ||= subst["user_logon_script"]
|
37
|
+
end
|
38
|
+
|
39
|
+
private
|
40
|
+
def default_account_flags
|
41
|
+
"[UH]"
|
42
|
+
end
|
43
|
+
end
|
44
|
+
end
|
@@ -0,0 +1,30 @@
|
|
1
|
+
module ActiveSambaLdap
|
2
|
+
module UserAccountEntry
|
3
|
+
NAME_RE = /\A#{AccountEntry::NAME_RE_SRC}\z/
|
4
|
+
|
5
|
+
def self.included(base)
|
6
|
+
super
|
7
|
+
base.extend(ClassMethods)
|
8
|
+
base.validates_format_of :uid, :with => NAME_RE
|
9
|
+
end
|
10
|
+
|
11
|
+
module ClassMethods
|
12
|
+
def valid_name?(name)
|
13
|
+
NAME_RE =~ name ? true : false
|
14
|
+
end
|
15
|
+
|
16
|
+
private
|
17
|
+
def default_prefix
|
18
|
+
configuration[:users_suffix]
|
19
|
+
end
|
20
|
+
end
|
21
|
+
|
22
|
+
def remove_from_group(group)
|
23
|
+
group.users.delete(self)
|
24
|
+
end
|
25
|
+
|
26
|
+
def default_gid_number
|
27
|
+
self.class.configuration[:default_user_gid]
|
28
|
+
end
|
29
|
+
end
|
30
|
+
end
|
@@ -0,0 +1,86 @@
|
|
1
|
+
require 'openssl'
|
2
|
+
|
3
|
+
module Samba
|
4
|
+
module Encrypt
|
5
|
+
module_function
|
6
|
+
def lm_hash(password, encoding=nil)
|
7
|
+
dos_password = Private.convert_encoding("ISO-8859-1",
|
8
|
+
encoding || "UTF-8",
|
9
|
+
password.upcase)
|
10
|
+
if dos_password.size > 14
|
11
|
+
warn("password is truncated to 14 characters")
|
12
|
+
dos_password = dos_password[0, 14]
|
13
|
+
end
|
14
|
+
Private.encrypt_14characters(dos_password).unpack("C*").collect do |char|
|
15
|
+
"%02X" % char
|
16
|
+
end.join
|
17
|
+
end
|
18
|
+
|
19
|
+
def ntlm_hash(password, encoding=nil)
|
20
|
+
ucs2_password = Private.convert_encoding("UCS-2",
|
21
|
+
encoding || "UTF-8",
|
22
|
+
password)
|
23
|
+
if ucs2_password.size > 256
|
24
|
+
raise ArgumentError.new("must be <= 256 characters in UCS-2")
|
25
|
+
end
|
26
|
+
hex = OpenSSL::Digest::MD4.new(ucs2_password).hexdigest.upcase
|
27
|
+
hex
|
28
|
+
end
|
29
|
+
|
30
|
+
module Private
|
31
|
+
module_function
|
32
|
+
def convert_encoding(to, from, str)
|
33
|
+
if same_encoding?(to, from)
|
34
|
+
str
|
35
|
+
else
|
36
|
+
require 'iconv'
|
37
|
+
Iconv.iconv(to, from, str).join
|
38
|
+
end
|
39
|
+
end
|
40
|
+
|
41
|
+
def normalize_encoding(encoding)
|
42
|
+
encoding.downcase.gsub(/-/, "_")
|
43
|
+
end
|
44
|
+
|
45
|
+
def same_encoding?(a, b)
|
46
|
+
na = normalize_encoding(a)
|
47
|
+
nb = normalize_encoding(b)
|
48
|
+
na == nb or na.gsub(/_/, '') == nb.gsub(/_/, '')
|
49
|
+
end
|
50
|
+
|
51
|
+
def str_to_key(str)
|
52
|
+
key = "\000" * 8
|
53
|
+
key[0] = str[0] >> 1;
|
54
|
+
key[1] = ((str[0] & 0x01) << 6) | (str[1] >> 2);
|
55
|
+
key[2] = ((str[1] & 0x03) << 5) | (str[2] >> 3);
|
56
|
+
key[3] = ((str[2] & 0x07) << 4) | (str[3] >> 4);
|
57
|
+
key[4] = ((str[3] & 0x0F) << 3) | (str[4] >> 5);
|
58
|
+
key[5] = ((str[4] & 0x1F) << 2) | (str[5] >> 6);
|
59
|
+
key[6] = ((str[5] & 0x3F) << 1) | (str[6] >> 7);
|
60
|
+
key[7] = str[6] & 0x7F;
|
61
|
+
|
62
|
+
key.size.times do |i|
|
63
|
+
key[i] = (key[i] << 1);
|
64
|
+
end
|
65
|
+
|
66
|
+
key
|
67
|
+
end
|
68
|
+
|
69
|
+
def des_crypt56(input, key_str, forward_only)
|
70
|
+
key = str_to_key(key_str)
|
71
|
+
encoder = OpenSSL::Cipher::DES.new
|
72
|
+
encoder.encrypt
|
73
|
+
encoder.key = key
|
74
|
+
encoder.update(input)
|
75
|
+
end
|
76
|
+
|
77
|
+
LM_MAGIC = "KGS!@\#$%"
|
78
|
+
def encrypt_14characters(chars)
|
79
|
+
raise ArgumentError.new("must be <= 14 characters") if chars.size > 14
|
80
|
+
chars = chars.to_s.ljust(14, "\000")
|
81
|
+
des_crypt56(LM_MAGIC, chars[0, 7], true) +
|
82
|
+
des_crypt56(LM_MAGIC, chars[7, 7], true)
|
83
|
+
end
|
84
|
+
end
|
85
|
+
end
|
86
|
+
end
|
data/misc/rd2html.rb
ADDED
@@ -0,0 +1,42 @@
|
|
1
|
+
#!/usr/bin/env ruby
|
2
|
+
|
3
|
+
top = File.expand_path(File.join(File.dirname(__FILE__), ".."))
|
4
|
+
html_dir = File.join(top, "html")
|
5
|
+
|
6
|
+
require "fileutils"
|
7
|
+
|
8
|
+
css = "base.css"
|
9
|
+
kcode = "utf8"
|
10
|
+
|
11
|
+
options = [
|
12
|
+
"-I#{File.join(top, 'misc')}",
|
13
|
+
"-S",
|
14
|
+
"rd2",
|
15
|
+
"-rrd/rd2html-lib",
|
16
|
+
"--out-code=#{kcode}",
|
17
|
+
proc do |f|
|
18
|
+
"--html-title=#{File.basename(f)}"
|
19
|
+
end,
|
20
|
+
# proc do |f|
|
21
|
+
# "--with-css=#{css}"
|
22
|
+
# end,
|
23
|
+
proc do |f|
|
24
|
+
f
|
25
|
+
end
|
26
|
+
]
|
27
|
+
|
28
|
+
Dir[File.join(top, "*.{ja,en}")].each do |f|
|
29
|
+
if /(README|NEWS)\.(ja|en)\z/ =~ f
|
30
|
+
args = options.collect do |x|
|
31
|
+
if x.respond_to?(:call)
|
32
|
+
x.call(f)
|
33
|
+
else
|
34
|
+
x
|
35
|
+
end
|
36
|
+
end
|
37
|
+
output_base = File.basename(f).downcase.sub(/(ja|en)\z/, "html.\\1")
|
38
|
+
File.open(File.join(html_dir, output_base), "w") do |out|
|
39
|
+
out.puts(`ruby #{args.flatten.join(' ')}`)
|
40
|
+
end
|
41
|
+
end
|
42
|
+
end
|
@@ -0,0 +1,465 @@
|
|
1
|
+
# Japanese translations for Ruby/ActiveSambaLdap.
|
2
|
+
# Copyright (C) 2007-2009 Kouhei Sutou
|
3
|
+
# This file is distributed under the same license as the Ruby/ActiveSambaLdap
|
4
|
+
# package.
|
5
|
+
# Kouhei Sutou <kou@clear-code.com>, 2007.
|
6
|
+
#
|
7
|
+
msgid ""
|
8
|
+
msgstr ""
|
9
|
+
"Project-Id-Version: Ruby/ActiveSambaLdap 0.0.7\n"
|
10
|
+
"POT-Creation-Date: 2007-09-16 22:47+0900\n"
|
11
|
+
"PO-Revision-Date: 2009-07-11 09:41+0900\n"
|
12
|
+
"Last-Translator: Kouhei Sutou <kou@clear-code.com>\n"
|
13
|
+
"Language-Team: Japanese\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=1; plural=0;\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 "%sはouだけでなくてはいけません"
|
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] "必須の変数が設定されていません: %s"
|
47
|
+
msgstr[1] "必須の変数が設定されていません: %s"
|
48
|
+
|
49
|
+
#: lib/active_samba_ldap/base.rb:27
|
50
|
+
msgid "uid number already exists: %s"
|
51
|
+
msgstr "すでに存在するUID番号です: %s"
|
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 "グループが存在しません: %s"
|
57
|
+
|
58
|
+
#: lib/active_samba_ldap/base.rb:43
|
59
|
+
msgid "gid number already exists: %s"
|
60
|
+
msgstr "すでに存在するGID番号です: %s"
|
61
|
+
|
62
|
+
#: lib/active_samba_ldap/base.rb:51
|
63
|
+
msgid "gid number doesn't exist: %s"
|
64
|
+
msgstr "GID番号が存在しません: %s"
|
65
|
+
|
66
|
+
#: lib/active_samba_ldap/base.rb:59
|
67
|
+
msgid "sambaSID attribute doesn't exist for gid number '%s'"
|
68
|
+
msgstr "GID番号'%s'用のsambaSID属性が存在しません"
|
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
|
+
"他に所属しているグループがないので、プライマリグループを'%s'から他のグループ"
|
76
|
+
"に変更することができません: %s"
|
77
|
+
|
78
|
+
#: lib/active_samba_ldap/base.rb:79
|
79
|
+
msgid ""
|
80
|
+
"cannot destroy group '%s' due to members who belong to the group as primary "
|
81
|
+
"group: %s"
|
82
|
+
msgstr ""
|
83
|
+
"プライマリグループとして所属しているメンバーがいるため、グループ'%s'を削除す"
|
84
|
+
"ることができません: %s"
|
85
|
+
|
86
|
+
#: lib/active_samba_ldap/base.rb:91
|
87
|
+
msgid "found invalid configuration format at %s:%s: %s"
|
88
|
+
msgstr "%s:%sに不正な設定ファイル形式があります: %s"
|
89
|
+
|
90
|
+
#: lib/active_samba_ldap/base.rb:102
|
91
|
+
msgid "the value of %s '%s' is invalid: %s"
|
92
|
+
msgstr "%sの値'%s'が不正です: %s"
|
93
|
+
|
94
|
+
#: lib/active_samba_ldap/base.rb:111
|
95
|
+
msgid "%s is not Samba available"
|
96
|
+
msgstr "%sはSambaで利用できません"
|
97
|
+
|
98
|
+
#: lib/active_samba_ldap/configuration.rb:310
|
99
|
+
msgid "must be in %s"
|
100
|
+
msgstr "%sの中になければいけません"
|
101
|
+
|
102
|
+
#: lib/active_samba_ldap/samba_group_entry.rb:138
|
103
|
+
msgid "invalid type: %s"
|
104
|
+
msgstr "不正な種類: %s"
|
105
|
+
|
106
|
+
#: rails/plugin/active_samba_ldap/init.rb:10
|
107
|
+
msgid ""
|
108
|
+
"You should run 'script/generator scaffold_active_samba_ldap' to make %s."
|
109
|
+
msgstr ""
|
110
|
+
"%sを作るために'script/generator scaffold_active_samba_ldap'を実行してくださ"
|
111
|
+
"い。"
|
112
|
+
|
113
|
+
#: bin/asl-samba-useradd:14 bin/asl-samba-computeradd:14 bin/asl-useradd:42
|
114
|
+
msgid "add the user in the organizational unit OU"
|
115
|
+
msgstr "ユーザを組織単位OUに追加"
|
116
|
+
|
117
|
+
#: bin/asl-samba-useradd:15 bin/asl-samba-computeradd:15 bin/asl-useradd:43
|
118
|
+
msgid "(relative to the user suffix)"
|
119
|
+
msgstr "(ユーザサフィックスに依存)"
|
120
|
+
|
121
|
+
#: bin/asl-samba-useradd:33 bin/asl-samba-userdel:21 bin/asl-userdel:42
|
122
|
+
#: bin/asl-groupdel:27 bin/asl-samba-computeradd:33 bin/asl-useradd:144
|
123
|
+
#: bin/asl-samba-groupmod:29 bin/asl-populate:60 bin/asl-groupmod:40
|
124
|
+
#: bin/asl-samba-groupadd:21 bin/asl-purge:16 bin/asl-samba-groupdel:21
|
125
|
+
#: bin/asl-groupadd:33
|
126
|
+
msgid "need root authority."
|
127
|
+
msgstr "ルート権限が必要です。"
|
128
|
+
|
129
|
+
#: bin/asl-samba-useradd:57
|
130
|
+
msgid "illegal user name: %s"
|
131
|
+
msgstr "不正なユーザ名: %s"
|
132
|
+
|
133
|
+
#: bin/asl-samba-useradd:62
|
134
|
+
msgid "user already exists: %s"
|
135
|
+
msgstr "すでに存在するユーザです: %s"
|
136
|
+
|
137
|
+
#: bin/asl-samba-useradd:75 bin/asl-samba-computeradd:78 bin/asl-useradd:224
|
138
|
+
msgid "UID already exists: %s"
|
139
|
+
msgstr "すでに存在するUID番号です: %s"
|
140
|
+
|
141
|
+
#: bin/asl-samba-userdel:40 bin/asl-passwd:52 bin/asl-usershow:27
|
142
|
+
msgid "user doesn't exist: %s"
|
143
|
+
msgstr "ユーザが存在しません: %s"
|
144
|
+
|
145
|
+
#: bin/asl-userdel:16 bin/asl-useradd:51 bin/asl-samba-usermod:15
|
146
|
+
#: bin/asl-usermod:44
|
147
|
+
msgid "is a Windows Workstation"
|
148
|
+
msgstr "Windowsワークステーション"
|
149
|
+
|
150
|
+
#: bin/asl-userdel:17 bin/asl-useradd:52 bin/asl-samba-usermod:16
|
151
|
+
#: bin/asl-usermod:45
|
152
|
+
msgid "(otherwise, Windows user)"
|
153
|
+
msgstr "(そうでない場合はWindowsユーザ)"
|
154
|
+
|
155
|
+
#: bin/asl-userdel:21
|
156
|
+
msgid "remove home directory"
|
157
|
+
msgstr "ホームディレクトリを削除"
|
158
|
+
|
159
|
+
#: bin/asl-userdel:27
|
160
|
+
msgid "do interactively"
|
161
|
+
msgstr "対話的に行う"
|
162
|
+
|
163
|
+
#: bin/asl-userdel:62 bin/asl-useradd:169 bin/asl-samba-usermod:48
|
164
|
+
#: bin/asl-usermod:162
|
165
|
+
msgid "computer"
|
166
|
+
msgstr "コンピュータ"
|
167
|
+
|
168
|
+
#: bin/asl-userdel:65 bin/asl-useradd:173 bin/asl-samba-usermod:51
|
169
|
+
#: bin/asl-usermod:166
|
170
|
+
msgid "user"
|
171
|
+
msgstr "ユーザ"
|
172
|
+
|
173
|
+
#: bin/asl-userdel:73 bin/asl-samba-usermod:59 bin/asl-usermod:170
|
174
|
+
msgid "%s doesn't exist: %s"
|
175
|
+
msgstr "%sが存在しません: %s"
|
176
|
+
|
177
|
+
#: bin/asl-groupdel:14
|
178
|
+
msgid "force delete group"
|
179
|
+
msgstr "強制的にグループを削除"
|
180
|
+
|
181
|
+
#: bin/asl-samba-computeradd:57
|
182
|
+
msgid "illegal computer name: %s"
|
183
|
+
msgstr "不正なコンピュータ名: %s"
|
184
|
+
|
185
|
+
#: bin/asl-samba-computeradd:62
|
186
|
+
msgid "computer already exists: %s"
|
187
|
+
msgstr "すでに存在するコンピュータです: %s"
|
188
|
+
|
189
|
+
#: bin/asl-passwd:17
|
190
|
+
msgid "update samba password"
|
191
|
+
msgstr "Sambaのパスワードを更新"
|
192
|
+
|
193
|
+
#: bin/asl-passwd:23
|
194
|
+
msgid "update UNIX password"
|
195
|
+
msgstr "UNIXのパスワードを更新"
|
196
|
+
|
197
|
+
#: bin/asl-passwd:41
|
198
|
+
msgid "do nothing."
|
199
|
+
msgstr "何もしません。"
|
200
|
+
|
201
|
+
#: bin/asl-passwd:58
|
202
|
+
msgid "Enter your current password: "
|
203
|
+
msgstr "現在のパスワードを入力してください: "
|
204
|
+
|
205
|
+
#: bin/asl-passwd:63 bin/asl-samba-usermod:70 bin/asl-usermod:181
|
206
|
+
msgid "password doesn't match."
|
207
|
+
msgstr "パスワードが合っていません。"
|
208
|
+
|
209
|
+
#: bin/asl-passwd:68
|
210
|
+
msgid "New password: "
|
211
|
+
msgstr "新しいパスワード: "
|
212
|
+
|
213
|
+
#: bin/asl-passwd:69
|
214
|
+
msgid "Retype new password: "
|
215
|
+
msgstr "新しいパスワードをもう一度入力してください: "
|
216
|
+
|
217
|
+
#: bin/asl-passwd:72
|
218
|
+
msgid "New passwords don't match."
|
219
|
+
msgstr "新しいパスワードが合っていません。"
|
220
|
+
|
221
|
+
#: bin/asl-useradd:54 bin/asl-usermod:60
|
222
|
+
msgid "uid"
|
223
|
+
msgstr "UID番号"
|
224
|
+
|
225
|
+
#: bin/asl-useradd:55 bin/asl-samba-usermod:19
|
226
|
+
msgid "gid"
|
227
|
+
msgstr "GID番号"
|
228
|
+
|
229
|
+
#: bin/asl-useradd:57 bin/asl-usermod:68
|
230
|
+
msgid "supplementary groups (comma separated)"
|
231
|
+
msgstr "補助グループ(コンマ区切り)"
|
232
|
+
|
233
|
+
#: bin/asl-useradd:61
|
234
|
+
msgid "create a group for the user"
|
235
|
+
msgstr "ユーザ用のグループを作成する"
|
236
|
+
|
237
|
+
#: bin/asl-useradd:64
|
238
|
+
msgid "set the GECOS field for the new user account"
|
239
|
+
msgstr "新しいユーザアカウントのGECOSフィールドを設定する"
|
240
|
+
|
241
|
+
#: bin/asl-useradd:65 bin/asl-usermod:74
|
242
|
+
msgid "shell"
|
243
|
+
msgstr "シェル"
|
244
|
+
|
245
|
+
#: bin/asl-useradd:66 bin/asl-usermod:75
|
246
|
+
msgid "given name"
|
247
|
+
msgstr "名前"
|
248
|
+
|
249
|
+
#: bin/asl-useradd:68 bin/asl-usermod:77
|
250
|
+
msgid "common name"
|
251
|
+
msgstr "共通名"
|
252
|
+
|
253
|
+
#: bin/asl-useradd:69 bin/asl-usermod:78
|
254
|
+
msgid "surname"
|
255
|
+
msgstr "性"
|
256
|
+
|
257
|
+
#: bin/asl-useradd:72 bin/asl-usermod:50
|
258
|
+
msgid "home directory"
|
259
|
+
msgstr "ホームディレクトリ"
|
260
|
+
|
261
|
+
#: bin/asl-useradd:74
|
262
|
+
msgid "permission of home directory"
|
263
|
+
msgstr "ホームディレクトリのパーミッション"
|
264
|
+
|
265
|
+
#: bin/asl-useradd:76
|
266
|
+
msgid "setup home directory"
|
267
|
+
msgstr "ホームディレクトリを設定する"
|
268
|
+
|
269
|
+
#: bin/asl-useradd:79
|
270
|
+
msgid "skeleton directory"
|
271
|
+
msgstr "ホームディレクトリの基にするディレクトリ"
|
272
|
+
|
273
|
+
#: bin/asl-useradd:82
|
274
|
+
msgid "wait TIME seconds before exiting"
|
275
|
+
msgstr "終了する前にTIME秒待つ"
|
276
|
+
|
277
|
+
#: bin/asl-useradd:86 bin/asl-usermod:81
|
278
|
+
msgid "For samba accounts:"
|
279
|
+
msgstr "Sambaアカウント用:"
|
280
|
+
|
281
|
+
#: bin/asl-useradd:88 bin/asl-usermod:83
|
282
|
+
msgid "expire date"
|
283
|
+
msgstr "失効日"
|
284
|
+
|
285
|
+
#: bin/asl-useradd:92 bin/asl-usermod:87
|
286
|
+
msgid "can change password"
|
287
|
+
msgstr "パスワードを変更できるようにする"
|
288
|
+
|
289
|
+
#: bin/asl-useradd:96 bin/asl-usermod:91
|
290
|
+
msgid "must change password"
|
291
|
+
msgstr "パスワードを変更しなければいけないようにする"
|
292
|
+
|
293
|
+
#: bin/asl-useradd:100 bin/asl-usermod:95
|
294
|
+
msgid "sambaHomePath"
|
295
|
+
msgstr "sambaHomePath"
|
296
|
+
|
297
|
+
#: bin/asl-useradd:101 bin/asl-usermod:96
|
298
|
+
msgid "(SMB home share, like '\\\\PDC\\user'"
|
299
|
+
msgstr "(SMBホーム共有。例: '\\\\PDC\\user')"
|
300
|
+
|
301
|
+
#: bin/asl-useradd:105 bin/asl-usermod:100
|
302
|
+
msgid "sambaHomeDrive"
|
303
|
+
msgstr "sambaHomeDrive"
|
304
|
+
|
305
|
+
#: bin/asl-useradd:106 bin/asl-usermod:101
|
306
|
+
msgid "(letter associated with home share, like 'H:')"
|
307
|
+
msgstr "(ホーム共有に関連付ける文字。例: 'H:')"
|
308
|
+
|
309
|
+
#: bin/asl-useradd:110 bin/asl-usermod:105
|
310
|
+
msgid "sambaLogonScript"
|
311
|
+
msgstr "sambaLogonScript"
|
312
|
+
|
313
|
+
#: bin/asl-useradd:111 bin/asl-usermod:106
|
314
|
+
msgid "(DOS script to execute on login)"
|
315
|
+
msgstr "(ログイン時に実行するDOSスクリプト)"
|
316
|
+
|
317
|
+
#: bin/asl-useradd:115 bin/asl-usermod:110
|
318
|
+
msgid "sambaProfilePath"
|
319
|
+
msgstr "sambaProfilePath"
|
320
|
+
|
321
|
+
#: bin/asl-useradd:116 bin/asl-usermod:111
|
322
|
+
msgid "(profile directory, like '\\\\PDC\\profiles\\user')"
|
323
|
+
msgstr "(プロファイルディレクトリ。例: '\\\\PDC\\profiles\\user')"
|
324
|
+
|
325
|
+
#: bin/asl-useradd:120 bin/asl-usermod:116
|
326
|
+
msgid "sambaAcctFlags"
|
327
|
+
msgstr "sambaAcctFlags"
|
328
|
+
|
329
|
+
#: bin/asl-useradd:121 bin/asl-usermod:117
|
330
|
+
msgid "(samba account control bits, like '[NDHTUMWSLXI]')"
|
331
|
+
msgstr "(Sambaのアカウント制御ビット。例: '[NDHTUMWSLXI]')"
|
332
|
+
|
333
|
+
#: bin/asl-useradd:177
|
334
|
+
msgid "illegal %s name: %s"
|
335
|
+
msgstr "不正な%s名: %s"
|
336
|
+
|
337
|
+
#: bin/asl-useradd:182 bin/asl-usermod:308
|
338
|
+
msgid "%s already exists: %s"
|
339
|
+
msgstr "すでに存在する%sです: %s"
|
340
|
+
|
341
|
+
#: bin/asl-samba-groupmod:15 bin/asl-groupmod:26
|
342
|
+
msgid "add members (comma delimited)"
|
343
|
+
msgstr "メンバーを追加する(コンマ区切り)"
|
344
|
+
|
345
|
+
#: bin/asl-samba-groupmod:17 bin/asl-groupmod:28
|
346
|
+
msgid "delete members (comma delimited)"
|
347
|
+
msgstr "メンバーを削除する(コンマ区切り)"
|
348
|
+
|
349
|
+
#: bin/asl-samba-groupmod:56
|
350
|
+
msgid "there are duplicated members in adding and deleting members: %s"
|
351
|
+
msgstr "追加用メンバーと削除用メンバーに重複しているメンバーがいます: %s"
|
352
|
+
|
353
|
+
#: bin/asl-samba-usermod:65 bin/asl-usermod:176
|
354
|
+
msgid "Enter your password: "
|
355
|
+
msgstr "あなたのパスワードを入力してください: "
|
356
|
+
|
357
|
+
#: bin/asl-populate:30
|
358
|
+
msgid "first uid number to allocate"
|
359
|
+
msgstr "最初に割り当てるUID番号"
|
360
|
+
|
361
|
+
#: bin/asl-populate:33
|
362
|
+
msgid "first gid number to allocate"
|
363
|
+
msgstr "最初に割り当てるGID番号"
|
364
|
+
|
365
|
+
#: bin/asl-populate:36
|
366
|
+
msgid "administrator login name"
|
367
|
+
msgstr "管理者のログイン名"
|
368
|
+
|
369
|
+
#: bin/asl-populate:39
|
370
|
+
msgid "administrator's uid number"
|
371
|
+
msgstr "管理者のUID番号"
|
372
|
+
|
373
|
+
#: bin/asl-populate:42
|
374
|
+
msgid "administrator's gid number"
|
375
|
+
msgstr "管理者のGID番号"
|
376
|
+
|
377
|
+
#: bin/asl-populate:45
|
378
|
+
msgid "guest login name"
|
379
|
+
msgstr "ゲストのログイン名"
|
380
|
+
|
381
|
+
#: bin/asl-populate:48
|
382
|
+
msgid "guest's uid number"
|
383
|
+
msgstr "ゲストのUID番号"
|
384
|
+
|
385
|
+
#: bin/asl-populate:51
|
386
|
+
msgid "guest's gid number"
|
387
|
+
msgstr "ゲストのGID番号"
|
388
|
+
|
389
|
+
#: bin/asl-populate:54
|
390
|
+
msgid "export LDIF file"
|
391
|
+
msgstr "LDIFファイルを出力する"
|
392
|
+
|
393
|
+
#: bin/asl-populate:76
|
394
|
+
msgid "Password for %s: "
|
395
|
+
msgstr "%sのパスワード: "
|
396
|
+
|
397
|
+
#: bin/asl-populate:78
|
398
|
+
msgid "Retype password for %s: "
|
399
|
+
msgstr "%sのパスワードを再入力してください:"
|
400
|
+
|
401
|
+
#: bin/asl-populate:81
|
402
|
+
msgid "Passwords don't match."
|
403
|
+
msgstr "パスワードが合っていません。"
|
404
|
+
|
405
|
+
#: bin/asl-groupmod:17 bin/asl-groupadd:15
|
406
|
+
msgid "GID number"
|
407
|
+
msgstr "GID番号"
|
408
|
+
|
409
|
+
#: bin/asl-groupmod:19
|
410
|
+
msgid "gid can be non unique"
|
411
|
+
msgstr "GID番号の重複を許可する"
|
412
|
+
|
413
|
+
#: bin/asl-groupmod:24
|
414
|
+
msgid "new group name"
|
415
|
+
msgstr "新しいグループ名"
|
416
|
+
|
417
|
+
#: bin/asl-groupmod:79
|
418
|
+
msgid "there is duplicated member in adding and deleting members: %s"
|
419
|
+
msgid_plural "there are duplicated members in adding and deleting members: %s"
|
420
|
+
msgstr[0] "追加用メンバーと削除用メンバーに重複しているメンバーがいます: %s"
|
421
|
+
msgstr[1] "追加用メンバーと削除用メンバーに重複しているメンバーがいます: %s"
|
422
|
+
|
423
|
+
#: bin/asl-groupmod:117 bin/asl-samba-groupadd:36 bin/asl-groupadd:48
|
424
|
+
msgid "group already exists: %s"
|
425
|
+
msgstr "すでに存在するグループです: %s"
|
426
|
+
|
427
|
+
#: bin/asl-usermod:48
|
428
|
+
msgid "gecos"
|
429
|
+
msgstr "GECOS"
|
430
|
+
|
431
|
+
#: bin/asl-usermod:52
|
432
|
+
msgid "move home directory"
|
433
|
+
msgstr "ホームディレクトリを移動する"
|
434
|
+
|
435
|
+
#: bin/asl-usermod:57
|
436
|
+
msgid "new user name (cn and dn are updated)"
|
437
|
+
msgstr "新しいユーザ名(CNとDNを更新)"
|
438
|
+
|
439
|
+
#: bin/asl-usermod:62
|
440
|
+
msgid "uid can be non unique "
|
441
|
+
msgstr "UIDの重複を許可する"
|
442
|
+
|
443
|
+
#: bin/asl-usermod:72
|
444
|
+
msgid "replace supplementary groups "
|
445
|
+
msgstr "補助グループを置き換える"
|
446
|
+
|
447
|
+
#: bin/asl-usermod:119
|
448
|
+
msgid "disable this user"
|
449
|
+
msgstr "このユーザを無効にする"
|
450
|
+
|
451
|
+
#: bin/asl-usermod:122
|
452
|
+
msgid "enable this user"
|
453
|
+
msgstr "このユーザを有効にする"
|
454
|
+
|
455
|
+
#: bin/asl-usermod:234 bin/asl-usermod:238
|
456
|
+
msgid "not implemented."
|
457
|
+
msgstr "実装されていません。"
|
458
|
+
|
459
|
+
#: bin/asl-groupadd:17
|
460
|
+
msgid "group type"
|
461
|
+
msgstr "グループの種類"
|
462
|
+
|
463
|
+
#: bin/asl-groupadd:20
|
464
|
+
msgid "print the gid number to stdout"
|
465
|
+
msgstr "GID番号を標準出力に出力する"
|