summaryrefslogtreecommitdiffstats
path: root/selftest/target
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2011-07-04 10:28:43 +0200
committerMichael Adam <obnox@samba.org>2011-07-04 20:02:07 +0200
commitb6f25650f1adcc75f0a97e31c31c9980326b7ab6 (patch)
tree83e910255639f3c4fcf3f373617218270e0d8bad /selftest/target
parent65f4d33d9b5ee80ef768c0479a6782807b18e518 (diff)
downloadsamba-b6f25650f1adcc75f0a97e31c31c9980326b7ab6.tar.gz
samba-b6f25650f1adcc75f0a97e31c31c9980326b7ab6.tar.xz
samba-b6f25650f1adcc75f0a97e31c31c9980326b7ab6.zip
selftest: eliminate perl warnings (my $cmd masks earlier definition...)
Diffstat (limited to 'selftest/target')
-rw-r--r--selftest/target/Samba4.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/selftest/target/Samba4.pm b/selftest/target/Samba4.pm
index 70e3cf7b1b7..f238e149d12 100644
--- a/selftest/target/Samba4.pm
+++ b/selftest/target/Samba4.pm
@@ -929,7 +929,7 @@ sub provision_rpc_proxy($$$)
}
# Setting up delegation runs in the context of the DC for now
- my $cmd = "";
+ $cmd = "";
$cmd .= "SOCKET_WRAPPER_DEFAULT_IFACE=\"$dcvars->{SOCKET_WRAPPER_DEFAULT_IFACE}\" ";
$cmd .= "KRB5_CONFIG=\"$dcvars->{KRB5_CONFIG}\" ";
$cmd .= "$samba_tool delegation for-any-protocol '$ret->{NETBIOSNAME}\$' on";
@@ -941,7 +941,7 @@ sub provision_rpc_proxy($$$)
}
# Setting up delegation runs in the context of the DC for now
- my $cmd = "";
+ $cmd = "";
$cmd .= "SOCKET_WRAPPER_DEFAULT_IFACE=\"$dcvars->{SOCKET_WRAPPER_DEFAULT_IFACE}\" ";
$cmd .= "KRB5_CONFIG=\"$dcvars->{KRB5_CONFIG}\" ";
$cmd .= "$samba_tool delegation add-service '$ret->{NETBIOSNAME}\$' cifs/$dcvars->{SERVER}";