Add a dummy console for the console server's conserver in case no VMs
[invirt/packages/invirt-console.git] / files / etc / nss-pgsql.conf.mako
1 <% from invirt.config import structs as cfg %>
2 connectionstring = host=${cfg.db.host} dbname=${cfg.db.dbname} user=${cfg.db.user} port=${cfg.db.port}
3
4 getpwnam = SELECT name, NULL, name, '/consolefs/'|| name, '/usr/bin/sipb-xen-consolesh', machine_id + 1000, machine_id + 1000 FROM machines WHERE name = $1
5 getpwuid = SELECT name, NULL, name, '/consolefs/'|| name, '/usr/bin/sipb-xen-consolesh', machine_id + 1000, machine_id + 1000 FROM machines WHERE machine_id + 1000 = $1
6 allusers = SELECT name, NULL, name, '/consolefs/'|| name, '/usr/bin/sipb-xen-consolesh', machine_id + 1000, machine_id + 1000 FROM machines
7 getgrnam = SELECT name, NULL, machine_id + 1000 FROM machines WHERE name = $1
8 getgrgid = SELECT name, NULL, machine_id + 1000 FROM machines WHERE machine_id + 1000 = $1
9 groups_dyn = SELECT NULL LIMIT 0;
10 allgroups = SELECT name, NULL, machine_id + 1000 FROM machines