activesambaldap 0.0.5 → 0.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/NEWS.en +6 -1
- data/NEWS.ja +6 -1
- data/README.en +3 -2
- data/README.ja +3 -2
- data/Rakefile +21 -2
- data/bin/asl-groupadd +0 -0
- data/bin/asl-groupadd.help +15 -0
- data/bin/asl-groupdel +0 -0
- data/bin/asl-groupdel.help +12 -0
- data/bin/asl-groupmod +0 -0
- data/bin/asl-groupmod.help +18 -0
- data/bin/asl-groupshow +0 -0
- data/bin/asl-groupshow.help +10 -0
- data/bin/asl-passwd +0 -0
- data/bin/asl-passwd.help +14 -0
- data/bin/asl-populate +0 -0
- data/bin/asl-populate.help +27 -0
- data/bin/asl-purge +0 -0
- data/bin/asl-purge.help +10 -0
- data/bin/asl-samba-computeradd +0 -0
- data/bin/asl-samba-computeradd.help +12 -0
- data/bin/asl-samba-groupadd +0 -0
- data/bin/asl-samba-groupadd.help +10 -0
- data/bin/asl-samba-groupdel +0 -0
- data/bin/asl-samba-groupdel.help +10 -0
- data/bin/asl-samba-groupmod +0 -0
- data/bin/asl-samba-groupmod.help +14 -0
- data/bin/asl-samba-useradd +0 -0
- data/bin/asl-samba-useradd.help +12 -0
- data/bin/asl-samba-userdel +0 -0
- data/bin/asl-samba-userdel.help +10 -0
- data/bin/asl-samba-usermod +0 -0
- data/bin/asl-samba-usermod.help +14 -0
- data/bin/asl-useradd +0 -0
- data/bin/asl-useradd.help +47 -0
- data/bin/asl-userdel +0 -0
- data/bin/asl-userdel.help +17 -0
- data/bin/asl-usermod +0 -0
- data/bin/asl-usermod.help +45 -0
- data/bin/asl-usershow +0 -0
- data/bin/asl-usershow.help +10 -0
- data/lib/active_samba_ldap.rb +9 -3
- data/lib/active_samba_ldap/account_entry.rb +1 -1
- data/lib/active_samba_ldap/group_entry.rb +3 -5
- data/lib/active_samba_ldap/reloadable.rb +2 -0
- data/lib/active_samba_ldap/samba_group_entry.rb +1 -1
- data/lib/active_samba_ldap/version.rb +1 -1
- data/misc/rd2html.rb +1 -1
- data/rails/plugin/active_samba_ldap/init.rb +15 -0
- data/test-unit/History.txt +32 -0
- data/test-unit/README.txt +32 -0
- data/test-unit/Rakefile +22 -0
- data/test-unit/bin/testrb +5 -0
- data/test-unit/lib/test/unit.rb +280 -0
- data/test-unit/lib/test/unit/assertionfailederror.rb +14 -0
- data/test-unit/lib/test/unit/assertions.rb +722 -0
- data/test-unit/lib/test/unit/attribute.rb +125 -0
- data/test-unit/lib/test/unit/autorunner.rb +250 -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.rb +61 -0
- data/test-unit/lib/test/unit/diff.rb +524 -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 +185 -0
- data/test-unit/lib/test/unit/notification.rb +116 -0
- data/test-unit/lib/test/unit/omission.rb +129 -0
- data/test-unit/lib/test/unit/pending.rb +130 -0
- data/test-unit/lib/test/unit/priority.rb +146 -0
- data/test-unit/lib/test/unit/runner/console.rb +46 -0
- data/test-unit/lib/test/unit/runner/emacs.rb +8 -0
- data/test-unit/lib/test/unit/testcase.rb +174 -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 +195 -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/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/ts_examples.rb +7 -0
- data/test-unit/test/collector/test_descendant.rb +135 -0
- data/test-unit/test/collector/test_dir.rb +406 -0
- data/test-unit/test/collector/test_load.rb +333 -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_assertions.rb +693 -0
- data/test-unit/test/test_attribute.rb +86 -0
- data/test-unit/test/test_color.rb +37 -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_error.rb +26 -0
- data/test-unit/test/test_failure.rb +33 -0
- data/test-unit/test/test_fixture.rb +275 -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 +64 -0
- data/test-unit/test/test_priority.rb +89 -0
- data/test-unit/test/test_testcase.rb +411 -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 +12 -0
- data/test-unit/test/ui/test_testrunmediator.rb +20 -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 +0 -1
- data/test/run-test.rb +8 -12
- data/test/test_asl_groupmod.rb +3 -1
- data/test/test_asl_useradd.rb +3 -3
- data/test/test_samba_encrypt.rb +0 -1
- metadata +225 -88
- data/po/active-samba-ldap.pot +0 -459
- data/test/test-unit-ext.rb +0 -4
- data/test/test-unit-ext/always-show-result.rb +0 -28
- data/test/test-unit-ext/backtrace-filter.rb +0 -17
- data/test/test-unit-ext/long-display-for-emacs.rb +0 -25
- data/test/test-unit-ext/priority.rb +0 -186
data/NEWS.en
CHANGED
data/NEWS.ja
CHANGED
data/README.en
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
= README.en
|
|
4
4
|
|
|
5
|
-
$Id: README.en
|
|
5
|
+
$Id: README.en 145 2008-06-14 14:30:20Z kou $
|
|
6
6
|
|
|
7
7
|
== Name
|
|
8
8
|
|
|
@@ -37,7 +37,7 @@ asl-devel@rubyforge.org
|
|
|
37
37
|
|
|
38
38
|
== Dependency libraries
|
|
39
39
|
|
|
40
|
-
* ActiveLdap >= 0.
|
|
40
|
+
* ActiveLdap >= 1.0.1
|
|
41
41
|
|
|
42
42
|
== Usage
|
|
43
43
|
|
|
@@ -331,3 +331,4 @@ asl-populate, please confirm the following:
|
|
|
331
331
|
|
|
332
332
|
* Henrik Krög: He reported some bugs.
|
|
333
333
|
* Olivier DIRRENBERGER: He reported a bug.
|
|
334
|
+
* Francesco Malvezzi: He reported some bugs.
|
data/README.ja
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
= README.ja
|
|
4
4
|
|
|
5
|
-
$Id: README.ja
|
|
5
|
+
$Id: README.ja 145 2008-06-14 14:30:20Z kou $
|
|
6
6
|
|
|
7
7
|
== 名前
|
|
8
8
|
|
|
@@ -34,7 +34,7 @@ asl-devel-ja@rubyforge.org
|
|
|
34
34
|
|
|
35
35
|
== 依存ライブラリ
|
|
36
36
|
|
|
37
|
-
* ActiveLdap >= 0.
|
|
37
|
+
* ActiveLdap >= 1.0.1
|
|
38
38
|
|
|
39
39
|
== 使用法
|
|
40
40
|
|
|
@@ -326,3 +326,4 @@ LDAP管理ユーザのパスワードを設定しておく必要があります
|
|
|
326
326
|
|
|
327
327
|
* Henrik Krög: バグを報告してくれました。
|
|
328
328
|
* Olivier DIRRENBERGER: バグを報告してくれました。
|
|
329
|
+
* Francesco Malvezzi: バグを報告してくれました。
|
data/Rakefile
CHANGED
|
@@ -56,12 +56,20 @@ class Hoe
|
|
|
56
56
|
end
|
|
57
57
|
end
|
|
58
58
|
|
|
59
|
+
# For Hoe's no user friendly default behavior. :<
|
|
60
|
+
File.open("README.txt", "w") {|file| file << "= Dummy README\n== XXX\n"}
|
|
61
|
+
FileUtils.cp("NEWS.en", "History.txt")
|
|
62
|
+
at_exit do
|
|
63
|
+
FileUtils.rm_f("README.txt")
|
|
64
|
+
FileUtils.rm_f("History.txt")
|
|
65
|
+
end
|
|
66
|
+
|
|
59
67
|
ENV["VERSION"] = ActiveSambaLdap::VERSION
|
|
60
68
|
project = Hoe.new("activesambaldap", ActiveSambaLdap::VERSION) do |p|
|
|
61
69
|
p.rubyforge_name = "asl"
|
|
62
70
|
p.full_name = "ActiveSambaLdap"
|
|
63
71
|
p.summary = "Samba+LDAP administration tools"
|
|
64
|
-
p.extra_deps << ["
|
|
72
|
+
p.extra_deps << ["activeldap", required_active_ldap_version]
|
|
65
73
|
p.email = "kou@cozmixng.org"
|
|
66
74
|
p.author = "Kouhei Sutou"
|
|
67
75
|
p.url = "http://asl.rubyforge.org/"
|
|
@@ -75,16 +83,27 @@ project = Hoe.new("activesambaldap", ActiveSambaLdap::VERSION) do |p|
|
|
|
75
83
|
p.summary, p.description, = whats_this.split(/\n\n+/, 3)
|
|
76
84
|
end
|
|
77
85
|
|
|
86
|
+
|
|
87
|
+
rdoc_main = "README.en"
|
|
88
|
+
|
|
78
89
|
rdoc_task = nil
|
|
79
90
|
if ObjectSpace.each_object(Rake::RDocTask) {|rdoc_task|} != 1
|
|
80
91
|
puts "hoe may be changed"
|
|
81
92
|
end
|
|
82
|
-
rdoc_task.main =
|
|
93
|
+
rdoc_task.main = rdoc_main
|
|
83
94
|
rdoc_task.options.delete("-d")
|
|
84
95
|
rdoc_task.options << "--charset=UTF-8"
|
|
85
96
|
rdoc_task.template = "kilmer"
|
|
86
97
|
rdoc_task.rdoc_files -= project.bin_files
|
|
87
98
|
rdoc_task.rdoc_files += project.bin_files.collect {|x| "#{x}.help"}
|
|
99
|
+
rdoc_task.rdoc_files.reject! {|file| /\Atest-unit\// =~ file}
|
|
100
|
+
|
|
101
|
+
rdoc_options = rdoc_task.option_list
|
|
102
|
+
output_option_index = rdoc_options.index("-o")
|
|
103
|
+
rdoc_options[output_option_index, 2] = nil
|
|
104
|
+
project.spec.rdoc_options = rdoc_options
|
|
105
|
+
project.spec.extra_rdoc_files = rdoc_task.rdoc_files
|
|
106
|
+
|
|
88
107
|
|
|
89
108
|
project.bin_files.each do |bin|
|
|
90
109
|
bin_help = "#{bin}.help"
|
data/bin/asl-groupadd
CHANGED
|
File without changes
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
Usage: asl-groupadd [options] GROUP_NAME
|
|
2
|
+
-g, --gid=GID GID number
|
|
3
|
+
-t, --type=TYPE group type
|
|
4
|
+
(domain)
|
|
5
|
+
-p, --[no-]print-gid-number print the gid number to stdout
|
|
6
|
+
(false)
|
|
7
|
+
Common options:
|
|
8
|
+
--config=CONFIG Specify configuration file
|
|
9
|
+
Default configuration files:
|
|
10
|
+
/etc/activesambaldap/config.yaml
|
|
11
|
+
/etc/activesambaldap/bind.yaml
|
|
12
|
+
/home/kou/.activesambaldap.conf
|
|
13
|
+
/home/kou/.activesambaldap.bind
|
|
14
|
+
-h, --help Show this message
|
|
15
|
+
--version Show version
|
data/bin/asl-groupdel
CHANGED
|
File without changes
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
Usage: asl-groupdel [options] GROUP_NAME
|
|
2
|
+
-f, --[no-]force force delete group
|
|
3
|
+
(false)
|
|
4
|
+
Common options:
|
|
5
|
+
--config=CONFIG Specify configuration file
|
|
6
|
+
Default configuration files:
|
|
7
|
+
/etc/activesambaldap/config.yaml
|
|
8
|
+
/etc/activesambaldap/bind.yaml
|
|
9
|
+
/home/kou/.activesambaldap.conf
|
|
10
|
+
/home/kou/.activesambaldap.bind
|
|
11
|
+
-h, --help Show this message
|
|
12
|
+
--version Show version
|
data/bin/asl-groupmod
CHANGED
|
File without changes
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
Usage: asl-groupmod [options] GROUP_NAME
|
|
2
|
+
-g, --gid=GID GID number
|
|
3
|
+
--[no-]allow-non-unique-gid gid can be non unique
|
|
4
|
+
(false)
|
|
5
|
+
-r, --rename=NEW_NAME new group name
|
|
6
|
+
-a=MEMBER1,MEMBER2,MEBMER3 add members (comma delimited)
|
|
7
|
+
--add-members
|
|
8
|
+
-d=MEMBER1,MEMBER2,MEBMER3 delete members (comma delimited)
|
|
9
|
+
--delete-members
|
|
10
|
+
Common options:
|
|
11
|
+
--config=CONFIG Specify configuration file
|
|
12
|
+
Default configuration files:
|
|
13
|
+
/etc/activesambaldap/config.yaml
|
|
14
|
+
/etc/activesambaldap/bind.yaml
|
|
15
|
+
/home/kou/.activesambaldap.conf
|
|
16
|
+
/home/kou/.activesambaldap.bind
|
|
17
|
+
-h, --help Show this message
|
|
18
|
+
--version Show version
|
data/bin/asl-groupshow
CHANGED
|
File without changes
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
Usage: asl-groupshow [options] GROUP_NAME
|
|
2
|
+
Common options:
|
|
3
|
+
--config=CONFIG Specify configuration file
|
|
4
|
+
Default configuration files:
|
|
5
|
+
/etc/activesambaldap/config.yaml
|
|
6
|
+
/etc/activesambaldap/bind.yaml
|
|
7
|
+
/home/kou/.activesambaldap.conf
|
|
8
|
+
/home/kou/.activesambaldap.bind
|
|
9
|
+
-h, --help Show this message
|
|
10
|
+
--version Show version
|
data/bin/asl-passwd
CHANGED
|
File without changes
|
data/bin/asl-passwd.help
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
Usage: asl-passwd [options] [USER_NAME]
|
|
2
|
+
-s, --[no-]samba-password update samba password
|
|
3
|
+
(true)
|
|
4
|
+
-u, --[no-]unix-password update UNIX password
|
|
5
|
+
(true)
|
|
6
|
+
Common options:
|
|
7
|
+
--config=CONFIG Specify configuration file
|
|
8
|
+
Default configuration files:
|
|
9
|
+
/etc/activesambaldap/config.yaml
|
|
10
|
+
/etc/activesambaldap/bind.yaml
|
|
11
|
+
/home/kou/.activesambaldap.conf
|
|
12
|
+
/home/kou/.activesambaldap.bind
|
|
13
|
+
-h, --help Show this message
|
|
14
|
+
--version Show version
|
data/bin/asl-populate
CHANGED
|
File without changes
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
Usage: asl-populate [options]
|
|
2
|
+
-u, --start-uid=UID first uid number to allocate
|
|
3
|
+
(10000)
|
|
4
|
+
-g, --start-gid=GID first gid number to allocate
|
|
5
|
+
(10000)
|
|
6
|
+
-a, --administrator=NAME administrator login name
|
|
7
|
+
(Administrator)
|
|
8
|
+
--administrator-uid=UID administrator's uid number
|
|
9
|
+
(500)
|
|
10
|
+
--administrator-gid=GID administrator's gid number
|
|
11
|
+
(512)
|
|
12
|
+
--guest=NAME guest login name
|
|
13
|
+
(Guest)
|
|
14
|
+
--guest-uid=UID guest's uid number
|
|
15
|
+
(501)
|
|
16
|
+
--guest-gid=GID guest's gid number
|
|
17
|
+
(514)
|
|
18
|
+
-e, --export-ldif=LDIF export LDIF file
|
|
19
|
+
Common options:
|
|
20
|
+
--config=CONFIG Specify configuration file
|
|
21
|
+
Default configuration files:
|
|
22
|
+
/etc/activesambaldap/config.yaml
|
|
23
|
+
/etc/activesambaldap/bind.yaml
|
|
24
|
+
/home/kou/.activesambaldap.conf
|
|
25
|
+
/home/kou/.activesambaldap.bind
|
|
26
|
+
-h, --help Show this message
|
|
27
|
+
--version Show version
|
data/bin/asl-purge
CHANGED
|
File without changes
|
data/bin/asl-purge.help
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
Usage: asl-purge [options]
|
|
2
|
+
Common options:
|
|
3
|
+
--config=CONFIG Specify configuration file
|
|
4
|
+
Default configuration files:
|
|
5
|
+
/etc/activesambaldap/config.yaml
|
|
6
|
+
/etc/activesambaldap/bind.yaml
|
|
7
|
+
/home/kou/.activesambaldap.conf
|
|
8
|
+
/home/kou/.activesambaldap.bind
|
|
9
|
+
-h, --help Show this message
|
|
10
|
+
--version Show version
|
data/bin/asl-samba-computeradd
CHANGED
|
File without changes
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
Usage: asl-samba-computeradd [options] COMPUTER_NAME
|
|
2
|
+
-o, --ou=OU add the user in the organizational unit OU
|
|
3
|
+
(relative to the user suffix)
|
|
4
|
+
Common options:
|
|
5
|
+
--config=CONFIG Specify configuration file
|
|
6
|
+
Default configuration files:
|
|
7
|
+
/etc/activesambaldap/config.yaml
|
|
8
|
+
/etc/activesambaldap/bind.yaml
|
|
9
|
+
/home/kou/.activesambaldap.conf
|
|
10
|
+
/home/kou/.activesambaldap.bind
|
|
11
|
+
-h, --help Show this message
|
|
12
|
+
--version Show version
|
data/bin/asl-samba-groupadd
CHANGED
|
File without changes
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
Usage: asl-samba-groupadd [options] GROUP_NAME
|
|
2
|
+
Common options:
|
|
3
|
+
--config=CONFIG Specify configuration file
|
|
4
|
+
Default configuration files:
|
|
5
|
+
/etc/activesambaldap/config.yaml
|
|
6
|
+
/etc/activesambaldap/bind.yaml
|
|
7
|
+
/home/kou/.activesambaldap.conf
|
|
8
|
+
/home/kou/.activesambaldap.bind
|
|
9
|
+
-h, --help Show this message
|
|
10
|
+
--version Show version
|
data/bin/asl-samba-groupdel
CHANGED
|
File without changes
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
Usage: asl-samba-groupdel [options] GROUP_NAME
|
|
2
|
+
Common options:
|
|
3
|
+
--config=CONFIG Specify configuration file
|
|
4
|
+
Default configuration files:
|
|
5
|
+
/etc/activesambaldap/config.yaml
|
|
6
|
+
/etc/activesambaldap/bind.yaml
|
|
7
|
+
/home/kou/.activesambaldap.conf
|
|
8
|
+
/home/kou/.activesambaldap.bind
|
|
9
|
+
-h, --help Show this message
|
|
10
|
+
--version Show version
|
data/bin/asl-samba-groupmod
CHANGED
|
File without changes
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
Usage: asl-samba-groupmod [options] GROUP_NAME
|
|
2
|
+
-a=MEMBER1,MEMBER2,MEBMER3 add members (comma delimited)
|
|
3
|
+
--add-members
|
|
4
|
+
-d=MEMBER1,MEMBER2,MEBMER3 delete members (comma delimited)
|
|
5
|
+
--delete-members
|
|
6
|
+
Common options:
|
|
7
|
+
--config=CONFIG Specify configuration file
|
|
8
|
+
Default configuration files:
|
|
9
|
+
/etc/activesambaldap/config.yaml
|
|
10
|
+
/etc/activesambaldap/bind.yaml
|
|
11
|
+
/home/kou/.activesambaldap.conf
|
|
12
|
+
/home/kou/.activesambaldap.bind
|
|
13
|
+
-h, --help Show this message
|
|
14
|
+
--version Show version
|
data/bin/asl-samba-useradd
CHANGED
|
File without changes
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
Usage: asl-samba-useradd [options] USER_NAME
|
|
2
|
+
-o, --ou=OU add the user in the organizational unit OU
|
|
3
|
+
(relative to the user suffix)
|
|
4
|
+
Common options:
|
|
5
|
+
--config=CONFIG Specify configuration file
|
|
6
|
+
Default configuration files:
|
|
7
|
+
/etc/activesambaldap/config.yaml
|
|
8
|
+
/etc/activesambaldap/bind.yaml
|
|
9
|
+
/home/kou/.activesambaldap.conf
|
|
10
|
+
/home/kou/.activesambaldap.bind
|
|
11
|
+
-h, --help Show this message
|
|
12
|
+
--version Show version
|
data/bin/asl-samba-userdel
CHANGED
|
File without changes
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
Usage: asl-samba-userdel [options] USER_NAME
|
|
2
|
+
Common options:
|
|
3
|
+
--config=CONFIG Specify configuration file
|
|
4
|
+
Default configuration files:
|
|
5
|
+
/etc/activesambaldap/config.yaml
|
|
6
|
+
/etc/activesambaldap/bind.yaml
|
|
7
|
+
/home/kou/.activesambaldap.conf
|
|
8
|
+
/home/kou/.activesambaldap.bind
|
|
9
|
+
-h, --help Show this message
|
|
10
|
+
--version Show version
|
data/bin/asl-samba-usermod
CHANGED
|
File without changes
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
Usage: asl-samba-usermod [options] USER_NAME
|
|
2
|
+
-c, --[no-]computer-account is a Windows Workstation
|
|
3
|
+
(otherwise, Windows user)
|
|
4
|
+
(false)
|
|
5
|
+
-g, --gid=GID gid
|
|
6
|
+
Common options:
|
|
7
|
+
--config=CONFIG Specify configuration file
|
|
8
|
+
Default configuration files:
|
|
9
|
+
/etc/activesambaldap/config.yaml
|
|
10
|
+
/etc/activesambaldap/bind.yaml
|
|
11
|
+
/home/kou/.activesambaldap.conf
|
|
12
|
+
/home/kou/.activesambaldap.bind
|
|
13
|
+
-h, --help Show this message
|
|
14
|
+
--version Show version
|
data/bin/asl-useradd
CHANGED
|
File without changes
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
Usage: asl-useradd [options] USER_NAME
|
|
2
|
+
-o, --ou=OU add the user in the organizational unit OU
|
|
3
|
+
(relative to the user suffix)
|
|
4
|
+
-c, --[no-]computer-account is a Windows Workstation
|
|
5
|
+
(otherwise, Windows user)
|
|
6
|
+
(false)
|
|
7
|
+
-u, --uid=UID uid
|
|
8
|
+
-g, --gid=GID gid
|
|
9
|
+
-G, --groups=GID1,GID2,GID3 supplementary groups (comma separated)
|
|
10
|
+
--[no-]create-group create a group for the user
|
|
11
|
+
(true)
|
|
12
|
+
--comment=COMMENT set the GECOS field for the new user account
|
|
13
|
+
-s, --shell=SHELL shell
|
|
14
|
+
--given-name=NAME given name
|
|
15
|
+
-N, --common-name=NAME common name
|
|
16
|
+
-S, --surname=NAME surname
|
|
17
|
+
-d, --home-directory=HOME_DIR home directory
|
|
18
|
+
--home-directory-mode=MODE permission of home directory
|
|
19
|
+
--[no-]setup-home-directory setup home directory
|
|
20
|
+
(true)
|
|
21
|
+
-k, --skel=DIR skeleton directory
|
|
22
|
+
--skeleton-directory
|
|
23
|
+
--time=TIME wait TIME seconds before exiting
|
|
24
|
+
(0)
|
|
25
|
+
For samba accounts:
|
|
26
|
+
-e, --expire-date=DATE expire date
|
|
27
|
+
-C, --[no-]can-change-password can change password
|
|
28
|
+
-M, --[no-]must-change-password must change password
|
|
29
|
+
--samba-home-path=UNC sambaHomePath
|
|
30
|
+
(SMB home share, like '\\PDC\user'
|
|
31
|
+
--samba-home-drive=DRIVE sambaHomeDrive
|
|
32
|
+
(letter associated with home share, like 'H:')
|
|
33
|
+
--samba-logon-script=SCRIPT sambaLogonScript
|
|
34
|
+
(DOS script to execute on login)
|
|
35
|
+
--samba-profile-path=PATH sambaProfilePath
|
|
36
|
+
(profile directory, like '\\PDC\profiles\user')
|
|
37
|
+
--samba-account-flags=FLAGS sambaAcctFlags
|
|
38
|
+
(samba account control bits, like '[NDHTUMWSLXI]')
|
|
39
|
+
Common options:
|
|
40
|
+
--config=CONFIG Specify configuration file
|
|
41
|
+
Default configuration files:
|
|
42
|
+
/etc/activesambaldap/config.yaml
|
|
43
|
+
/etc/activesambaldap/bind.yaml
|
|
44
|
+
/home/kou/.activesambaldap.conf
|
|
45
|
+
/home/kou/.activesambaldap.bind
|
|
46
|
+
-h, --help Show this message
|
|
47
|
+
--version Show version
|
data/bin/asl-userdel
CHANGED
|
File without changes
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
Usage: asl-userdel [options] USER_NAME
|
|
2
|
+
-c, --[no-]computer-account is a Windows Workstation
|
|
3
|
+
(otherwise, Windows user)
|
|
4
|
+
(false)
|
|
5
|
+
-r, --[no-]remove-home-directory remove home directory
|
|
6
|
+
(false)
|
|
7
|
+
-i, --[no-]interactive do interactively
|
|
8
|
+
(false)
|
|
9
|
+
Common options:
|
|
10
|
+
--config=CONFIG Specify configuration file
|
|
11
|
+
Default configuration files:
|
|
12
|
+
/etc/activesambaldap/config.yaml
|
|
13
|
+
/etc/activesambaldap/bind.yaml
|
|
14
|
+
/home/kou/.activesambaldap.conf
|
|
15
|
+
/home/kou/.activesambaldap.bind
|
|
16
|
+
-h, --help Show this message
|
|
17
|
+
--version Show version
|