1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-15 23:24:37 +03:00

r25869: selftest: strip newline from whoami output, hopefully fix provision on mac os 10

metze
(This used to be commit c6c62abc07888743b6349b0107ee1b17265bd154)
This commit is contained in:
Stefan Metzmacher 2007-11-06 09:33:23 +01:00
parent 49c4a40e2f
commit 7a09d8c4e4

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