From 1d95e049bbc23cc56c573c0c249d075da0ac219d Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Thu, 5 Jul 2007 00:11:07 +0000 Subject: r23713: Oops accidentially checked in the wrong file - sorry! Michael (This used to be commit ae23e6d04b8551e66b77995994a0c50cd880ea32) --- examples/scripts/users_and_groups/addusertogroups.pl | 17 ----------------- 1 file changed, 17 deletions(-) delete mode 100755 examples/scripts/users_and_groups/addusertogroups.pl 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"); -} -- cgit