From 58e42fcbe55f1045e86ae0b8f85d8ee5180a3e7d Mon Sep 17 00:00:00 2001 From: Evan Broder Date: Wed, 10 Dec 2008 23:21:24 -0500 Subject: [PATCH] config.{authn[0] => kerberos}.realm svn path=/trunk/packages/invirt-remote/; revision=1836 --- debian/changelog | 6 ++++++ host/etc/remctl/acl/remote.mako | 2 +- server/etc/remctl/acl/web.mako | 2 +- server/usr/sbin/invirt-remconffs | 2 +- 4 files changed, 9 insertions(+), 3 deletions(-) diff --git a/debian/changelog b/debian/changelog index ca7e729..d57d3c3 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +invirt-remote (0.2.2) unstable; urgency=low + + * config.{authn[0] => kerberos}.realm + + -- Evan Broder Wed, 10 Dec 2008 23:18:45 -0500 + invirt-remote (0.2.1) unstable; urgency=low * Be sure to create /etc/remctl/remconffs diff --git a/host/etc/remctl/acl/remote.mako b/host/etc/remctl/acl/remote.mako index 8a223ff..1d5aec4 100644 --- a/host/etc/remctl/acl/remote.mako +++ b/host/etc/remctl/acl/remote.mako @@ -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} diff --git a/server/etc/remctl/acl/web.mako b/server/etc/remctl/acl/web.mako index 4a320c8..c7516a2 100644 --- a/server/etc/remctl/acl/web.mako +++ b/server/etc/remctl/acl/web.mako @@ -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}\ diff --git a/server/usr/sbin/invirt-remconffs b/server/usr/sbin/invirt-remconffs index 6389391..6421164 100755 --- a/server/usr/sbin/invirt-remconffs +++ b/server/usr/sbin/invirt-remconffs @@ -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 -- 1.7.9.5