X-Git-Url: http://xvm.mit.edu/gitweb/invirt/packages/invirt-console.git/blobdiff_plain/e3a86a62f5c8d46b95c22bddf632429232b9c1ef..0831546bfd6cbfa9ec41f6e82b28d9a84fcf1cec:/files/etc/nss-pgsql.conf.mako diff --git a/files/etc/nss-pgsql.conf.mako b/files/etc/nss-pgsql.conf.mako deleted file mode 100644 index 083a26a..0000000 --- a/files/etc/nss-pgsql.conf.mako +++ /dev/null @@ -1,10 +0,0 @@ -<% from invirt.config import structs as cfg %> -connectionstring = host=${cfg.db.host} dbname=${cfg.db.dbname} user=${cfg.db.user} port=${cfg.db.port} - -getpwnam = SELECT name, 'x', name, '/consolefs/'|| name, '/usr/bin/invirt-consolesh', machine_id + 1000, machine_id + 1000 FROM machines WHERE name = $1 -getpwuid = SELECT name, 'x', name, '/consolefs/'|| name, '/usr/bin/invirt-consolesh', machine_id + 1000, machine_id + 1000 FROM machines WHERE machine_id + 1000 = $1 -allusers = SELECT name, 'x', name, '/consolefs/'|| name, '/usr/bin/invirt-consolesh', machine_id + 1000, machine_id + 1000 FROM machines -getgrnam = SELECT name, 'x', machine_id + 1000, NULL FROM machines WHERE name = $1 -getgrgid = SELECT name, 'x', machine_id + 1000, NULL FROM machines WHERE machine_id + 1000 = $1 -groups_dyn = SELECT NULL LIMIT 0; -allgroups = SELECT name, 'x', machine_id + 1000, NULL FROM machines