diff options
Diffstat (limited to 'source4/selftest/env/Samba4.pm')
-rw-r--r-- | source4/selftest/env/Samba4.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/selftest/env/Samba4.pm b/source4/selftest/env/Samba4.pm index f4fe723124..bf8f35990c 100644 --- a/source4/selftest/env/Samba4.pm +++ b/source4/selftest/env/Samba4.pm @@ -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); |