X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-console.git/blobdiff_plain/a2cf90a67c235d1a1d5738d2141480faa09aa93c..d11794258bb60d58b4075165162058fd307a0cee:/server/usr/bin/invirt-consolefs diff --git a/server/usr/bin/invirt-consolefs b/server/usr/bin/invirt-consolefs index 359ad16..a23ae5c 100755 --- a/server/usr/bin/invirt-consolefs +++ b/server/usr/bin/invirt-consolefs @@ -70,8 +70,12 @@ class ConsoleFS(routefs.RouteFS): 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"""