activesambaldap 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- data/NEWS.en +8 -1
- data/NEWS.ja +8 -1
- data/README.en +9 -6
- data/README.ja +5 -3
- data/Rakefile +47 -1
- data/bin/asl-groupadd +8 -5
- data/bin/asl-groupdel +6 -3
- data/bin/asl-groupmod +15 -11
- data/bin/asl-groupshow +3 -1
- data/bin/asl-passwd +14 -11
- data/bin/asl-populate +19 -14
- data/bin/asl-purge +3 -1
- data/bin/asl-samba-computeradd +8 -6
- data/bin/asl-samba-groupadd +4 -2
- data/bin/asl-samba-groupdel +4 -2
- data/bin/asl-samba-groupmod +8 -7
- data/bin/asl-samba-useradd +8 -6
- data/bin/asl-samba-userdel +4 -2
- data/bin/asl-samba-usermod +15 -8
- data/bin/asl-useradd +50 -49
- data/bin/asl-userdel +17 -8
- data/bin/asl-usermod +54 -49
- data/bin/asl-usershow +3 -1
- data/data/locale/ja/LC_MESSAGES/active-samba-ldap.mo +0 -0
- data/lib/active_samba_ldap.rb +2 -1
- data/lib/active_samba_ldap/account_entry.rb +13 -11
- data/lib/active_samba_ldap/base.rb +26 -25
- data/lib/active_samba_ldap/command.rb +11 -7
- data/lib/active_samba_ldap/configuration.rb +6 -4
- data/lib/active_samba_ldap/entry.rb +5 -4
- data/lib/active_samba_ldap/get_text_support.rb +12 -0
- data/lib/active_samba_ldap/group_entry.rb +4 -3
- data/lib/active_samba_ldap/populate.rb +1 -1
- data/lib/active_samba_ldap/samba_account_entry.rb +4 -4
- data/lib/active_samba_ldap/samba_group_entry.rb +4 -3
- data/lib/active_samba_ldap/user.rb +5 -4
- data/lib/active_samba_ldap/version.rb +1 -1
- data/po/active-samba-ldap.pot +463 -0
- data/po/ja/active-samba-ldap.po +469 -0
- data/rails/plugin/active_samba_ldap/generators/{scaffold_asl/scaffold_asl_generator.rb → scaffold_active_samba_ldap/scaffold_active_samba_ldap_generator.rb} +1 -2
- data/rails/plugin/active_samba_ldap/generators/{scaffold_asl → scaffold_active_samba_ldap}/templates/computer.rb +0 -0
- data/rails/plugin/active_samba_ldap/generators/{scaffold_asl → scaffold_active_samba_ldap}/templates/dc.rb +0 -0
- data/rails/plugin/active_samba_ldap/generators/{scaffold_asl → scaffold_active_samba_ldap}/templates/group.rb +0 -0
- data/rails/plugin/active_samba_ldap/generators/{scaffold_asl → scaffold_active_samba_ldap}/templates/idmap.rb +0 -0
- data/rails/plugin/active_samba_ldap/generators/{scaffold_asl → scaffold_active_samba_ldap}/templates/ldap.yml +0 -0
- data/rails/plugin/active_samba_ldap/generators/{scaffold_asl → scaffold_active_samba_ldap}/templates/ou.rb +0 -0
- data/rails/plugin/active_samba_ldap/generators/{scaffold_asl → scaffold_active_samba_ldap}/templates/samba_controller.rb +0 -0
- data/rails/plugin/active_samba_ldap/generators/{scaffold_asl → scaffold_active_samba_ldap}/templates/samba_helper.rb +0 -0
- data/rails/plugin/active_samba_ldap/generators/{scaffold_asl → scaffold_active_samba_ldap}/templates/samba_index.rhtml +0 -0
- data/rails/plugin/active_samba_ldap/generators/{scaffold_asl → scaffold_active_samba_ldap}/templates/samba_populate.rhtml +0 -0
- data/rails/plugin/active_samba_ldap/generators/{scaffold_asl → scaffold_active_samba_ldap}/templates/samba_purge.rhtml +0 -0
- data/rails/plugin/active_samba_ldap/generators/{scaffold_asl → scaffold_active_samba_ldap}/templates/unix_id_pool.rb +0 -0
- data/rails/plugin/active_samba_ldap/generators/{scaffold_asl → scaffold_active_samba_ldap}/templates/user.rb +0 -0
- data/rails/plugin/active_samba_ldap/init.rb +15 -3
- data/test/asl-test-utils.rb +2 -1
- data/test/command.rb +5 -2
- data/test/run-test.rb +6 -2
- data/test/test-unit-ext.rb +4 -2
- data/test/test-unit-ext/backtrace-filter.rb +17 -0
- data/test/test-unit-ext/long-display-for-emacs.rb +25 -0
- data/test/test-unit-ext/priority.rb +20 -7
- data/test/test_asl_groupadd.rb +2 -2
- data/test/test_asl_groupdel.rb +11 -11
- data/test/test_asl_groupmod.rb +7 -6
- data/test/test_asl_groupshow.rb +1 -1
- data/test/test_asl_passwd.rb +11 -10
- data/test/test_asl_populate.rb +6 -6
- data/test/test_asl_purge.rb +1 -1
- data/test/test_asl_useradd.rb +11 -9
- data/test/test_asl_userdel.rb +6 -4
- data/test/test_asl_usermod.rb +8 -8
- data/test/test_asl_usershow.rb +1 -1
- data/test/test_entry.rb +21 -0
- metadata +38 -30
@@ -5,6 +5,8 @@ require 'active_samba_ldap'
|
|
5
5
|
|
6
6
|
module ActiveSambaLdap
|
7
7
|
module Command
|
8
|
+
include ActiveSambaLdap::GetTextSupport
|
9
|
+
|
8
10
|
module_function
|
9
11
|
def parse_options(argv=nil)
|
10
12
|
argv ||= ARGV.dup
|
@@ -13,22 +15,22 @@ module ActiveSambaLdap
|
|
13
15
|
opts = OptionParser.new do |opts|
|
14
16
|
yield(opts, options)
|
15
17
|
|
16
|
-
opts.separator
|
17
|
-
opts.separator
|
18
|
+
opts.separator("")
|
19
|
+
opts.separator(_("Common options:"))
|
18
20
|
|
19
21
|
opts.on_tail("--config=CONFIG",
|
20
|
-
"Specify configuration file",
|
21
|
-
"Default configuration files:",
|
22
|
+
_("Specify configuration file"),
|
23
|
+
_("Default configuration files:"),
|
22
24
|
*configuration_files.collect {|x| " #{x}"}) do |file|
|
23
25
|
configuration_files << file
|
24
26
|
end
|
25
27
|
|
26
|
-
opts.on_tail("-h", "--help", "Show this message") do
|
28
|
+
opts.on_tail("-h", "--help", _("Show this message")) do
|
27
29
|
puts opts
|
28
30
|
exit
|
29
31
|
end
|
30
32
|
|
31
|
-
opts.on_tail("--version", "Show version") do
|
33
|
+
opts.on_tail("--version", _("Show version")) do
|
32
34
|
puts VERSION
|
33
35
|
exit
|
34
36
|
end
|
@@ -50,7 +52,9 @@ module ActiveSambaLdap
|
|
50
52
|
def read_password(prompt, input=$stdin, output=$stdout)
|
51
53
|
output.print prompt
|
52
54
|
system "/bin/stty -echo" if input.tty?
|
53
|
-
input.gets
|
55
|
+
password = input.gets
|
56
|
+
password = password.chomp if password
|
57
|
+
password
|
54
58
|
ensure
|
55
59
|
system "/bin/stty echo" if input.tty?
|
56
60
|
output.puts
|
@@ -42,7 +42,7 @@ module ActiveSambaLdap
|
|
42
42
|
class ValidHash < Hash
|
43
43
|
def [](name)
|
44
44
|
if Private.required_variables.include?(name) and !has_key?(name)
|
45
|
-
raise
|
45
|
+
raise MissingRequiredVariableError.new(name)
|
46
46
|
end
|
47
47
|
super(name)
|
48
48
|
end
|
@@ -73,11 +73,13 @@ module ActiveSambaLdap
|
|
73
73
|
end
|
74
74
|
end
|
75
75
|
unless missing_variables.empty?
|
76
|
-
raise
|
76
|
+
raise MissingRequiredVariableError.new(missing_variables)
|
77
77
|
end
|
78
78
|
end
|
79
79
|
|
80
80
|
class Private
|
81
|
+
include ActiveSambaLdap::GetTextSupport
|
82
|
+
|
81
83
|
VARIABLES = %w(base host port scope bind_dn
|
82
84
|
password method allow_anonymous
|
83
85
|
|
@@ -105,7 +107,7 @@ module ActiveSambaLdap
|
|
105
107
|
end
|
106
108
|
|
107
109
|
def compute_required_variables
|
108
|
-
not_required_variables = %w(base ldap_scope)
|
110
|
+
not_required_variables = %w(base scope ldap_scope)
|
109
111
|
(VARIABLES - public_methods - not_required_variables).collect do |x|
|
110
112
|
x.to_sym
|
111
113
|
end
|
@@ -305,7 +307,7 @@ module ActiveSambaLdap
|
|
305
307
|
types = AVAILABLE_HASH_TYPES.collect {|x| x.inspect}.join(", ")
|
306
308
|
raise InvalidConfigurationValueError.new("password_hash_type",
|
307
309
|
type,
|
308
|
-
"must be in
|
310
|
+
_("must be in %s") % types)
|
309
311
|
end
|
310
312
|
end
|
311
313
|
|
@@ -9,10 +9,11 @@ module ActiveSambaLdap
|
|
9
9
|
def create(attributes=nil)
|
10
10
|
pool = nil
|
11
11
|
number_key = nil
|
12
|
-
|
12
|
+
attributes ||= {}
|
13
|
+
attributes = attributes.stringify_keys
|
14
|
+
ensure_ou(attributes[dn_attribute])
|
13
15
|
entry = super do |entry|
|
14
|
-
options = attributes
|
15
|
-
options, pool, number_key = prepare_create_options(entry, options)
|
16
|
+
options, pool, number_key = prepare_create_options(entry, attributes)
|
16
17
|
entry.fill_default_values(options)
|
17
18
|
yield entry if block_given?
|
18
19
|
end
|
@@ -35,7 +36,7 @@ module ActiveSambaLdap
|
|
35
36
|
prefixes = [prefix]
|
36
37
|
ou.split(/\s*,\s*/).reverse_each do |entry|
|
37
38
|
name, value = entry.split(/\s*=\s*/, 2).collect {|x| x.strip}
|
38
|
-
raise ArgumentError, "
|
39
|
+
raise ArgumentError, _("%s must be only ou") % ou if name != "ou"
|
39
40
|
ou_class = Class.new(ActiveSambaLdap::Ou)
|
40
41
|
ou_class.ldap_mapping :prefix => prefixes.join(',')
|
41
42
|
prefixes.unshift(entry)
|
@@ -98,14 +98,15 @@ module ActiveSambaLdap
|
|
98
98
|
end
|
99
99
|
|
100
100
|
def prepare_create_options(group, options)
|
101
|
-
prepare_create_options_for_number(
|
101
|
+
prepare_create_options_for_number("gid_number", group, options)
|
102
102
|
end
|
103
103
|
end
|
104
104
|
|
105
105
|
def fill_default_values(options={})
|
106
|
-
|
106
|
+
options = options.stringify_keys
|
107
|
+
gid_number = options["gid_number"]
|
107
108
|
change_gid_number(gid_number) if gid_number
|
108
|
-
self.description ||= options[
|
109
|
+
self.description ||= options["description"] || cn
|
109
110
|
end
|
110
111
|
|
111
112
|
def members
|
@@ -153,7 +153,7 @@ module ActiveSambaLdap
|
|
153
153
|
group = nil
|
154
154
|
else
|
155
155
|
user = user_class.new(name)
|
156
|
-
user.fill_default_values(
|
156
|
+
user.fill_default_values("uid_number" => uid, "group" => group)
|
157
157
|
user.save!
|
158
158
|
group.users << user
|
159
159
|
end
|
@@ -91,7 +91,7 @@ module ActiveSambaLdap
|
|
91
91
|
self.samba_logoff_time ||= FAR_FUTURE_TIME
|
92
92
|
self.samba_kickoff_time ||= nil
|
93
93
|
|
94
|
-
password = options[
|
94
|
+
password = options["password"]
|
95
95
|
change_samba_password(password) if password
|
96
96
|
self.samba_lm_password ||= "XXX"
|
97
97
|
self.samba_nt_password ||= "XXX"
|
@@ -100,21 +100,21 @@ module ActiveSambaLdap
|
|
100
100
|
account_flags_is_not_set = samba_acct_flags.nil?
|
101
101
|
self.samba_acct_flags ||= default_account_flags
|
102
102
|
|
103
|
-
can_change_password = options[
|
103
|
+
can_change_password = options["can_change_password"]
|
104
104
|
if can_change_password
|
105
105
|
self.enable_password_change
|
106
106
|
elsif account_flags_is_not_set or can_change_password == false
|
107
107
|
self.disable_password_change
|
108
108
|
end
|
109
109
|
|
110
|
-
must_change_password = options[
|
110
|
+
must_change_password = options["must_change_password"]
|
111
111
|
if must_change_password
|
112
112
|
self.enable_forcing_password_change
|
113
113
|
elsif account_flags_is_not_set or must_change_password == false
|
114
114
|
self.disable_forcing_password_change
|
115
115
|
end
|
116
116
|
|
117
|
-
enable_account = options[
|
117
|
+
enable_account = options["enable"]
|
118
118
|
if enable_account
|
119
119
|
self.enable
|
120
120
|
elsif account_flags_is_not_set or enable_account == false
|
@@ -92,8 +92,9 @@ module ActiveSambaLdap
|
|
92
92
|
|
93
93
|
def fill_default_values(options={})
|
94
94
|
if samba_available?
|
95
|
-
|
96
|
-
|
95
|
+
options = options.stringify_keys
|
96
|
+
change_type(options["group_type"] || "domain") unless samba_group_type
|
97
|
+
self.display_name ||= options["display_name"] || cn
|
97
98
|
end
|
98
99
|
super
|
99
100
|
end
|
@@ -134,7 +135,7 @@ module ActiveSambaLdap
|
|
134
135
|
elsif TYPES.values.include?(type.to_i)
|
135
136
|
# pass
|
136
137
|
else
|
137
|
-
raise ArgumentError, "invalid type:
|
138
|
+
raise ArgumentError, _("invalid type: %s") % type
|
138
139
|
end
|
139
140
|
self.samba_group_type = type.to_s
|
140
141
|
end
|
@@ -20,6 +20,7 @@ module ActiveSambaLdap
|
|
20
20
|
result = super
|
21
21
|
return result unless samba_available?
|
22
22
|
|
23
|
+
options = options.stringify_keys
|
23
24
|
subst = Proc.new do |key|
|
24
25
|
value = options[key]
|
25
26
|
if value
|
@@ -29,10 +30,10 @@ module ActiveSambaLdap
|
|
29
30
|
end
|
30
31
|
end
|
31
32
|
|
32
|
-
self.samba_home_path ||= subst[
|
33
|
-
self.samba_home_drive ||= subst[
|
34
|
-
self.samba_profile_path ||= subst[
|
35
|
-
self.samba_logon_script ||= subst[
|
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"]
|
36
37
|
end
|
37
38
|
|
38
39
|
private
|
@@ -0,0 +1,463 @@
|
|
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.4\n"
|
10
|
+
"POT-Creation-Date: 2007-09-16 22:22+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:69
|
200
|
+
msgid "password doesn't match."
|
201
|
+
msgstr ""
|
202
|
+
|
203
|
+
#: bin/asl-passwd:74
|
204
|
+
msgid "New password: "
|
205
|
+
msgstr ""
|
206
|
+
|
207
|
+
#: bin/asl-passwd:75
|
208
|
+
msgid "Retype new password: "
|
209
|
+
msgstr ""
|
210
|
+
|
211
|
+
#: bin/asl-passwd:78
|
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:314
|
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-samba-usermod:74 bin/asl-usermod:185
|
352
|
+
msgid "password isn't match."
|
353
|
+
msgstr ""
|
354
|
+
|
355
|
+
#: bin/asl-populate:30
|
356
|
+
msgid "first uid number to allocate"
|
357
|
+
msgstr ""
|
358
|
+
|
359
|
+
#: bin/asl-populate:33
|
360
|
+
msgid "first gid number to allocate"
|
361
|
+
msgstr ""
|
362
|
+
|
363
|
+
#: bin/asl-populate:36
|
364
|
+
msgid "administrator login name"
|
365
|
+
msgstr ""
|
366
|
+
|
367
|
+
#: bin/asl-populate:39
|
368
|
+
msgid "administrator's uid number"
|
369
|
+
msgstr ""
|
370
|
+
|
371
|
+
#: bin/asl-populate:42
|
372
|
+
msgid "administrator's gid number"
|
373
|
+
msgstr ""
|
374
|
+
|
375
|
+
#: bin/asl-populate:45
|
376
|
+
msgid "guest login name"
|
377
|
+
msgstr ""
|
378
|
+
|
379
|
+
#: bin/asl-populate:48
|
380
|
+
msgid "guest's uid number"
|
381
|
+
msgstr ""
|
382
|
+
|
383
|
+
#: bin/asl-populate:51
|
384
|
+
msgid "guest's gid number"
|
385
|
+
msgstr ""
|
386
|
+
|
387
|
+
#: bin/asl-populate:54
|
388
|
+
msgid "export LDIF file"
|
389
|
+
msgstr ""
|
390
|
+
|
391
|
+
#: bin/asl-populate:76
|
392
|
+
msgid "Password for %s: "
|
393
|
+
msgstr ""
|
394
|
+
|
395
|
+
#: bin/asl-populate:78
|
396
|
+
msgid "Retype password for %s: "
|
397
|
+
msgstr ""
|
398
|
+
|
399
|
+
#: bin/asl-populate:81
|
400
|
+
msgid "Passwords don't match."
|
401
|
+
msgstr ""
|
402
|
+
|
403
|
+
#: bin/asl-groupmod:17 bin/asl-groupadd:15
|
404
|
+
msgid "GID number"
|
405
|
+
msgstr ""
|
406
|
+
|
407
|
+
#: bin/asl-groupmod:19
|
408
|
+
msgid "gid can be non unique"
|
409
|
+
msgstr ""
|
410
|
+
|
411
|
+
#: bin/asl-groupmod:24
|
412
|
+
msgid "new group name"
|
413
|
+
msgstr ""
|
414
|
+
|
415
|
+
#: bin/asl-groupmod:79
|
416
|
+
msgid "there is duplicated member in adding and deleting members: %s"
|
417
|
+
msgid_plural "there are duplicated members in adding and deleting members: %s"
|
418
|
+
msgstr[0] ""
|
419
|
+
msgstr[1] ""
|
420
|
+
|
421
|
+
#: bin/asl-groupmod:117 bin/asl-samba-groupadd:36 bin/asl-groupadd:48
|
422
|
+
msgid "group already exists: %s"
|
423
|
+
msgstr ""
|
424
|
+
|
425
|
+
#: bin/asl-usermod:48
|
426
|
+
msgid "gecos"
|
427
|
+
msgstr ""
|
428
|
+
|
429
|
+
#: bin/asl-usermod:52
|
430
|
+
msgid "move home directory"
|
431
|
+
msgstr ""
|
432
|
+
|
433
|
+
#: bin/asl-usermod:57
|
434
|
+
msgid "new user name (cn and dn are updated)"
|
435
|
+
msgstr ""
|
436
|
+
|
437
|
+
#: bin/asl-usermod:62
|
438
|
+
msgid "uid can be non unique "
|
439
|
+
msgstr ""
|
440
|
+
|
441
|
+
#: bin/asl-usermod:72
|
442
|
+
msgid "replace supplementary groups "
|
443
|
+
msgstr ""
|
444
|
+
|
445
|
+
#: bin/asl-usermod:119
|
446
|
+
msgid "disable this user"
|
447
|
+
msgstr ""
|
448
|
+
|
449
|
+
#: bin/asl-usermod:122
|
450
|
+
msgid "enable this user"
|
451
|
+
msgstr ""
|
452
|
+
|
453
|
+
#: bin/asl-usermod:240 bin/asl-usermod:244
|
454
|
+
msgid "not implemented."
|
455
|
+
msgstr ""
|
456
|
+
|
457
|
+
#: bin/asl-groupadd:17
|
458
|
+
msgid "group type"
|
459
|
+
msgstr ""
|
460
|
+
|
461
|
+
#: bin/asl-groupadd:20
|
462
|
+
msgid "print the gid number to stdout"
|
463
|
+
msgstr ""
|