summaryrefslogtreecommitdiffstats
path: root/tupkg/server/tupkgs
diff options
context:
space:
mode:
Diffstat (limited to 'tupkg/server/tupkgs')
-rwxr-xr-xtupkg/server/tupkgs6
1 files changed, 5 insertions, 1 deletions
diff --git a/tupkg/server/tupkgs b/tupkg/server/tupkgs
index e43f15dd..ec96d4bd 100755
--- a/tupkg/server/tupkgs
+++ b/tupkg/server/tupkgs
@@ -110,7 +110,10 @@ class ClientSocket(threading.Thread):
def auth(self):
authdata = self.readMsg(1)
- print authdata
+
+ if (authdata.has_key('username')):
+ print "Trying connection for user %s" % authdata['username']
+
if (not authdata.has_key('username')) or (not authdata.has_key('password')):
self.sendMsg("result=FAIL")
return 0
@@ -189,6 +192,7 @@ class ClientSocket(threading.Thread):
def run(self):
try:
if not self.auth():
+ print "Error authenticating."
self.close()
return
self.readFileMeta()