summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2007-07-05 00:11:07 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:23:48 -0500
commit1d95e049bbc23cc56c573c0c249d075da0ac219d (patch)
tree286af38c1d45c82ac4a6593ea12535d374640ed8 /examples
parent459d01489fcebfe923328409d8ad5750c218cb18 (diff)
downloadsamba-1d95e049bbc23cc56c573c0c249d075da0ac219d.tar.gz
samba-1d95e049bbc23cc56c573c0c249d075da0ac219d.tar.bz2
samba-1d95e049bbc23cc56c573c0c249d075da0ac219d.zip
r23713: Oops accidentially checked in the wrong file - sorry!
Michael (This used to be commit ae23e6d04b8551e66b77995994a0c50cd880ea32)
Diffstat (limited to 'examples')
-rwxr-xr-xexamples/scripts/users_and_groups/addusertogroups.pl17
1 files changed, 0 insertions, 17 deletions
diff --git a/examples/scripts/users_and_groups/addusertogroups.pl b/examples/scripts/users_and_groups/addusertogroups.pl
deleted file mode 100755
index f3e1bee977..0000000000
--- a/examples/scripts/users_and_groups/addusertogroups.pl
+++ /dev/null
@@ -1,17 +0,0 @@
-#!/usr/bin/perl
-
-use strict;
-
-my $dc = "192.168.45.44";
-my $adminuser = "administrator";
-my $adminpw = "geheim";
-my $maxgroups = 5000;
-my $startgroup = 0;
-my $rpccli_cmd = "/usr/bin/rpcclient";
-my $testuser = "testgroups";
-
-for (my $num = $startgroup; $num <= $maxgroups; ++$num) {
- my $group = sprintf "%s%.05d", "group", $num;
- print "adding user $testuser to group $group\n";
- system("net rpc -I $dc -U$adminuser\%$adminpw group addmem $group $testuser");
-}