mirror of
https://github.com/samba-team/samba.git
synced 2024-12-28 07:21:54 +03:00
r25869: selftest: strip newline from whoami
output, hopefully fix provision on mac os 10
metze
This commit is contained in:
parent
386b28f988
commit
c6c62abc07
1
source/selftest/env/Samba4.pm
vendored
1
source/selftest/env/Samba4.pm
vendored
@ -451,6 +451,7 @@ sub provision($$$$$$)
|
||||
my $dnsname = "samba.example.com";
|
||||
my $basedn = "dc=samba,dc=example,dc=com";
|
||||
my $unix_name = ($ENV{USER} or $ENV{LOGNAME} or `whoami`);
|
||||
chomp $unix_name;
|
||||
my $unix_uid = $>;
|
||||
my $unix_gids_str = $);
|
||||
my @unix_gids = split(" ", $unix_gids_str);
|
||||
|
Loading…
Reference in New Issue
Block a user