Last change
on this file since 1661 was
1610,
checked in by broder, 16 years ago
|
Actually get the password fields right in invirt-console-server's
libnss-pgsql config
|
File size:
888 bytes
|
Rev | Line | |
---|
[887] | 1 | <% from invirt.config import structs as cfg %> |
---|
[1072] | 2 | connectionstring = host=${cfg.db.host} dbname=${cfg.db.dbname} user=${cfg.db.user} port=${cfg.db.port} |
---|
[887] | 3 | |
---|
[1610] | 4 | getpwnam = SELECT name, '*', name, '/consolefs/'|| name, '/usr/bin/invirt-consolesh', machine_id + 1000, machine_id + 1000 FROM machines WHERE name = $1 |
---|
| 5 | getpwuid = SELECT name, '*', name, '/consolefs/'|| name, '/usr/bin/invirt-consolesh', machine_id + 1000, machine_id + 1000 FROM machines WHERE machine_id + 1000 = $1 |
---|
| 6 | allusers = SELECT name, '*', name, '/consolefs/'|| name, '/usr/bin/invirt-consolesh', machine_id + 1000, machine_id + 1000 FROM machines |
---|
| 7 | getgrnam = SELECT name, 'x', machine_id + 1000, NULL FROM machines WHERE name = $1 |
---|
| 8 | getgrgid = SELECT name, 'x', machine_id + 1000, NULL FROM machines WHERE machine_id + 1000 = $1 |
---|
[1072] | 9 | groups_dyn = SELECT NULL LIMIT 0; |
---|
[1610] | 10 | allgroups = SELECT name, 'x', machine_id + 1000, NULL FROM machines |
---|
Note: See
TracBrowser
for help on using the repository browser.