1
0
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:
Stefan Metzmacher 2007-11-06 09:33:23 +01:00
parent 386b28f988
commit c6c62abc07

View File

@ -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);