+invirt-console (0.2.10) unstable; urgency=low
+
+ * Give the website access to all consoles in preparation for exposing
+ AjaxTerm.
+
+ -- Evan Broder <broder@mit.edu> Mon, 10 Aug 2009 17:54:12 -0700
+
invirt-console (0.2.9) unstable; urgency=high
* Don't allow any sort of port forwarding to the console server.
def getK5login(self, machine, **kw):
self.recache()
machine = self.machines[machine]
- users = [acl.user for acl in machine.acl]
- return "\n".join(map(self.userToPrinc, users) + [''])
+ users = (acl.user for acl in machine.acl)
+ users = [self.userToPrinc(u) for u in users]
+ users.append('daemon/%s@%s' % (config.web.hostname,
+ config.kerberos.realm))
+ users.append('')
+ return "\n".join(users)
def mirrorPath(self, path):
"""Translate a virtual path to its real path counterpart"""