source: trunk/packages/sipb-xen-console/files/etc/nss-pgsql.conf.mako @ 1077

Last change on this file since 1077 was 1072, checked in by broder, 16 years ago

Update nss-pgsql.conf.mako to reflect new (more sane) config file
format

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