r23713: Oops accidentially checked in the wrong file - sorry!
authorMichael Adam <obnox@samba.org>
Thu, 5 Jul 2007 00:11:07 +0000 (00:11 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:23:48 +0000 (12:23 -0500)
Michael
(This used to be commit ae23e6d04b8551e66b77995994a0c50cd880ea32)

examples/scripts/users_and_groups/addusertogroups.pl [deleted file]

diff --git a/examples/scripts/users_and_groups/addusertogroups.pl b/examples/scripts/users_and_groups/addusertogroups.pl
deleted file mode 100755 (executable)
index f3e1bee..0000000
+++ /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");
-}