config.{authn[0] => kerberos}.realm
[invirt/packages/invirt-console.git] / server / usr / bin / invirt-consolefs
index a3f75ec..4fdd9dd 100755 (executable)
@@ -85,7 +85,7 @@ class ConsoleFS(routefs.RouteFS):
             (princ, realm) = user.split('@')
         else:
             princ = user
-            realm = config.authn[0].realm
+            realm = config.kerberos.realm
         
         return princ.replace('.', '/') + '@' + realm