source: trunk/packages/invirt-console-server/files/etc/nss-pgsql.conf.mako @ 1608

Last change on this file since 1608 was 1606, checked in by broder, 16 years ago

Don't suggest that the password for users should be in non-existant
/etc/shadow for the console server

File size: 894 bytes
RevLine 
[887]1<% from invirt.config import structs as cfg %>
[1072]2connectionstring = host=${cfg.db.host} dbname=${cfg.db.dbname} user=${cfg.db.user} port=${cfg.db.port}
[887]3
[1606]4getpwnam = SELECT name, NULL, name, '/consolefs/'|| name, '/usr/bin/invirt-consolesh', machine_id + 1000, machine_id + 1000 FROM machines WHERE name = $1
5getpwuid = SELECT name, NULL, name, '/consolefs/'|| name, '/usr/bin/invirt-consolesh', machine_id + 1000, machine_id + 1000 FROM machines WHERE machine_id + 1000 = $1
6allusers = SELECT name, NULL, name, '/consolefs/'|| name, '/usr/bin/invirt-consolesh', machine_id + 1000, machine_id + 1000 FROM machines
7getgrnam = SELECT name, NULL, machine_id + 1000, NULL FROM machines WHERE name = $1
8getgrgid = SELECT name, NULL, machine_id + 1000, NULL FROM machines WHERE machine_id + 1000 = $1
[1072]9groups_dyn = SELECT NULL LIMIT 0;
[1606]10allgroups = SELECT name, NULL, machine_id + 1000, NULL FROM machines
Note: See TracBrowser for help on using the repository browser.