summaryrefslogtreecommitdiffstats
path: root/selftest/target
diff options
context:
space:
mode:
Diffstat (limited to 'selftest/target')
-rwxr-xr-x[-rw-r--r--]selftest/target/Samba4.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/selftest/target/Samba4.pm b/selftest/target/Samba4.pm
index 86ee4fe1b38..15fb5d2c53c 100644..100755
--- a/selftest/target/Samba4.pm
+++ b/selftest/target/Samba4.pm
@@ -511,6 +511,8 @@ sub provision_raw_prepare($$$$$$$$$$)
chomp $unix_name;
$ctx->{unix_name} = $unix_name;
$ctx->{unix_uid} = $>;
+ my @mygid = split(" ", $();
+ $ctx->{unix_gid} = $mygid[0];
$ctx->{unix_gids_str} = $);
@{$ctx->{unix_gids}} = split(" ", $ctx->{unix_gids_str});
@@ -688,6 +690,7 @@ wheel:x:10:
users:x:100:
nobody:x:65533:
nogroup:x:65534:nobody
+$ctx->{unix_name}:x:$ctx->{unix_gid}:
";
close(GRP);
my $gid_rfc2307test = 65532;