config.{authn[0] => kerberos}.realm 0.2.2
authorEvan Broder <broder@mit.edu>
Thu, 11 Dec 2008 04:21:24 +0000 (23:21 -0500)
committerEvan Broder <broder@mit.edu>
Thu, 11 Dec 2008 04:21:24 +0000 (23:21 -0500)
svn path=/trunk/packages/invirt-remote/; revision=1836

debian/changelog
host/etc/remctl/acl/remote.mako
server/etc/remctl/acl/web.mako
server/usr/sbin/invirt-remconffs

index ca7e729..d57d3c3 100644 (file)
@@ -1,3 +1,9 @@
+invirt-remote (0.2.2) unstable; urgency=low
+
+  * config.{authn[0] => kerberos}.realm
+
+ -- Evan Broder <broder@mit.edu>  Wed, 10 Dec 2008 23:18:45 -0500
+
 invirt-remote (0.2.1) unstable; urgency=low
 
   * Be sure to create /etc/remctl/remconffs
index 8a223ff..1d5aec4 100644 (file)
@@ -1,2 +1,2 @@
 <% from invirt.config import structs as cfg %>\
-host/${cfg.remote.hostname}@${cfg.authn[0].realm}
+host/${cfg.remote.hostname}@${cfg.kerberos.realm}
index 4a320c8..c7516a2 100644 (file)
@@ -1,2 +1,2 @@
 <% from invirt.config import structs as cfg %>\
-daemon/${cfg.web.hostname}@${cfg.authn[0].realm}\
+daemon/${cfg.web.hostname}@${cfg.kerberos.realm}\
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