[SCM] Samba Shared Repository - branch v3-6-test updated
Michael Adam
obnox at samba.org
Thu Dec 30 09:32:10 MST 2010
The branch, v3-6-test has been updated
via dd10098 examples:createdombj: default prefix to target-type, not "group"
from e5ac067 tdb: add ABI/tdb-1.2.8.sigs
http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-6-test
- Log -----------------------------------------------------------------
commit dd10098fd59fe4903376b82016b21aa3b6239665
Author: Michael Adam <obnox at samba.org>
Date: Thu Dec 30 16:34:59 2010 +0100
examples:createdombj: default prefix to target-type, not "group"
It can be irritating to create users named group00001, group00002, ... :-)
Autobuild-User: Michael Adam <obnox at samba.org>
Autobuild-Date: Thu Dec 30 17:22:57 CET 2010 on sn-devel-104
-----------------------------------------------------------------------
Summary of changes:
examples/scripts/users_and_groups/createdomobj.pl | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
Changeset truncated at 500 lines:
diff --git a/examples/scripts/users_and_groups/createdomobj.pl b/examples/scripts/users_and_groups/createdomobj.pl
index 60f34b8..919f75a 100755
--- a/examples/scripts/users_and_groups/createdomobj.pl
+++ b/examples/scripts/users_and_groups/createdomobj.pl
@@ -39,7 +39,7 @@ my $rpccli_cmd = "rpcclient";
my $server;
my $num_targets = 1;
my $startnum; # if empty, don't add numbers to prefix
-my $prefix = $target_type; # name-prefix
+my $prefix; # name-prefix
my $path; # path to rpcclient command
my $rpccli_path = $rpccli_cmd;
my $creds;
@@ -102,6 +102,8 @@ if (exists($options{n})) {
if (exists($options{p})) {
$prefix = $options{p};
+} else {
+ $prefix = $target_type;
}
if (exists($options{P})) {
--
Samba Shared Repository
More information about the samba-cvs
mailing list