config.{authn[0] => kerberos}.realm
[invirt/packages/invirt-remote.git] / server / usr / sbin / invirt-remconffs
index 6389391..6421164 100755 (executable)
@@ -79,7 +79,7 @@ class RemConfFS(routefs.RouteFS):
             (princ, realm) = user.split('@')
         else:
             princ = user
-            realm = config.authn[0].realm
+            realm = config.kerberos.realm
         
         return princ.replace('.', '/') + '@' + realm