X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-console.git/blobdiff_plain/1837357df009ee685385458db31828a972c9fffb..2995d8728b6a6f74ace741db996cc7699b3c4801:/debian/sipb-xen-console.init diff --git a/debian/sipb-xen-console.init b/debian/sipb-xen-console.init index b472606..3986a84 100755 --- a/debian/sipb-xen-console.init +++ b/debian/sipb-xen-console.init @@ -51,22 +51,12 @@ gen_config() done } > /etc/remctl/acl/invirt-console - cat > /etc/nss-pgsql.conf << EOF -host = $(invirt-getconf db.host) -port = $(invirt-getconf db.port) -database = $(invirt-getconf db.dbname) -login = $(invirt-getconf db.user) + mako-render /etc/nss-pgsql.conf.mako > /etc/nss-pgsql.conf -querypasswd = SELECT name, NULL, machine_id + 1000 as uid, machine_id + 1000 as gid, '', '/consolefs/'|| name, '/usr/bin/sipb-xen-consolesh' FROM machines -querygroup = SELECT name, NULL, machine_id + 1000 as gid FROM machines -querymembers = SELECT name FROM machines WHERE 1000 + machine_id = %d -queryids = SELECT 1000 + machine_id AS gid FROM machines LIMIT 0 - -passwd_name = name -passwd_uid = 1000 + machine_id - -group_name = name -group_gid = 1000 + machine_id + fmt > /etc/issue.net.no_tkt << EOF +You must login to the $(invirt-getconf console.hostname) console server using +Kerberos tickets, but your ssh client did not pass a valid ticket to the +console server. EOF }