summaryrefslogtreecommitdiff
path: root/kpov_judge
diff options
context:
space:
mode:
Diffstat (limited to 'kpov_judge')
-rw-r--r--kpov_judge/tasks/radius_mysql_pam/task.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/kpov_judge/tasks/radius_mysql_pam/task.py b/kpov_judge/tasks/radius_mysql_pam/task.py
index 58463cb..0bbf6ad 100644
--- a/kpov_judge/tasks/radius_mysql_pam/task.py
+++ b/kpov_judge/tasks/radius_mysql_pam/task.py
@@ -69,9 +69,12 @@ def task(IP_RS, RADIUS_SECRET, RADIUS_USERNAME, RADIUS_PASSWORD, MYSQL_ADMIN_USE
results = dict()
peer_user = 'student'
peer_passwd = 'vaje'
- sR = pxssh.pxssh()
+
+ sR = pxssh.pxssh()
sR.login(IP_RS, peer_user, peer_passwd)
+ results['Test_RadiusServer'] = sA.run('radtest RADIUS_USERNAME RADIUS_PASSWORD IP_RS 1812 RADIUS_SECRET')
+
return results