summaryrefslogtreecommitdiff
path: root/kpov_judge/tasks/openvpn_simple_smb/task.py
diff options
context:
space:
mode:
authorss5781@student.uni-lj.si <ss5781@student.uni-lj.si@5cf9fbd1-b2bc-434c-b4b7-e852f4f63414>2015-02-03 15:10:54 +0000
committerss5781@student.uni-lj.si <ss5781@student.uni-lj.si@5cf9fbd1-b2bc-434c-b4b7-e852f4f63414>2015-02-03 15:10:54 +0000
commit640a93b4dc4ed5e8c6c296f41c9c7cf6fe0384ea (patch)
treefaf4055ea991795bc488c4b752768705d8aa3d51 /kpov_judge/tasks/openvpn_simple_smb/task.py
parentade0967e79f2077983037be32faeef5e30622941 (diff)
zadnji popravki prepare_disc
git-svn-id: https://svn.lusy.fri.uni-lj.si/kpov-public-svn/kpov-public@266 5cf9fbd1-b2bc-434c-b4b7-e852f4f63414
Diffstat (limited to 'kpov_judge/tasks/openvpn_simple_smb/task.py')
-rw-r--r--kpov_judge/tasks/openvpn_simple_smb/task.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/kpov_judge/tasks/openvpn_simple_smb/task.py b/kpov_judge/tasks/openvpn_simple_smb/task.py
index 251e05d..bf39102 100644
--- a/kpov_judge/tasks/openvpn_simple_smb/task.py
+++ b/kpov_judge/tasks/openvpn_simple_smb/task.py
@@ -122,7 +122,7 @@ def task(IP_SimpleArbiterVPN, IP_VPNClient1, IP_VPNClient2, DIRNAME):
# The login params (these must be used on the machines!)
peer_user = 'student'
peer_passwd = 'vaje'
-
+
###
# Sets up the SSH connections to the machines
###
@@ -144,12 +144,13 @@ def task(IP_SimpleArbiterVPN, IP_VPNClient1, IP_VPNClient2, DIRNAME):
peer_user,
peer_passwd
)
+
sC2.login(
IP_VPNClient2,
peer_user,
peer_passwd
)
-
+
######