mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
r23713: Oops accidentially checked in the wrong file - sorry!
Michael
This commit is contained in:
parent
0c03c78af8
commit
ae23e6d04b
@ -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");
|
||||
}
|
Loading…
Reference in New Issue
Block a user