List RPC: log information in case of authentication failure.
authorFlorent Bruneau <florent.bruneau@polytechnique.org>
Sat, 27 Nov 2010 15:26:06 +0000 (16:26 +0100)
committerFlorent Bruneau <florent.bruneau@polytechnique.org>
Sat, 27 Nov 2010 15:26:06 +0000 (16:26 +0100)
Signed-off-by: Florent Bruneau <florent.bruneau@polytechnique.org>
bin/lists.rpc.py

index 514bb5c..c456f35 100755 (executable)
@@ -148,6 +148,7 @@ class BasicAuthXMLRPCRequestHandler(SimpleXMLRPCRequestHandler):
             userdesc = UserDesc(forlife, name, None, 0)
             return (userdesc, perms, vhost)
         else:
+            print "no user found for uid: %s, passwd: %s" % (uid, md5)
             return None
 
 ################################################################################