Pushed to my github:
https://github.com/jimi1283/cobbler/commit/fe814e8923ba952f91d53b83144199...
commit fe814e8923ba952f91d53b831441995a2ddfff83
Author: James Cammarata <jimi(a)sngx.net>
Date: Sun Apr 3 09:19:27 2011 -0500
Minor change to validate a token before checking on a user.
When cobblerd expires a token after the timeout (1 hour), weird
things can happen because the get_user_from_token() function only
checks to see if the token is in the cache - not that it's valid.
This should be cherry-picked - don't pull the whole master branch.
There is another commit before it
(382b20cd08321810e03a7690e13bb39b5f5c61b9) which is my current work on
the webui that is not ready to be merged (I committed that first
before running across the bug I fix in the above patch).
This patch makes a few minor changes to the remote.py file, so that a
token can be validated before trying to use it.