projects
/
invirt/packages/invirt-web.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use daemon/sipb-xen.mit.edu and don't give user fake auth token in an HTML comment.
[invirt/packages/invirt-web.git]
/
templates
/
controls.py
diff --git
a/templates/controls.py
b/templates/controls.py
index
5311dd9
..
1e769b0
100644
(file)
--- a/
templates/controls.py
+++ b/
templates/controls.py
@@
-23,7
+23,7
@@
def uuidToString(u):
"%02x" * 6]) % tuple(u)
# end stolen code
"%02x" * 6]) % tuple(u)
# end stolen code
-def kinit(username = 'tabbott/extra', keytab = '/etc/tabbott.keytab'):
+def kinit(username = 'daemon/sipb-xen.mit.edu', keytab = '/etc/sipb-xen.keytab'):
"""Kinit with a given username and keytab"""
p = subprocess.Popen(['kinit', "-k", "-t", keytab, username],
"""Kinit with a given username and keytab"""
p = subprocess.Popen(['kinit', "-k", "-t", keytab, username],