Idea being that we just look for the taskomatic user and treat that as a
'token'.

-Justin


-- 
Justin Sherrill, RHCA          1801 Varisty Drive.
Software Engineer                Raleigh, NC 27603
Red Hat, Inc.
--- old.py      2009-02-19 11:27:22.000000000 -0500
+++ authn_spacewalk.py  2009-02-19 11:27:40.000000000 -0500
@@ -79,7 +79,7 @@
 
     client = xmlrpclib.Server(spacewalk_url, verbose=0)
 
-    if __looks_like_a_token(password):
+    if __looks_like_a_token(password) or username == 'taskomatic_user':
 
         # The tokens
         # are lowercase hex, but a password can also be lowercase hex,
_______________________________________________
cobbler mailing list
[email protected]
https://fedorahosted.org/mailman/listinfo/cobbler

Reply via email to