Changeset 1552


Ignore:
Timestamp:
Nov 6, 2008, 10:22:14 PM (15 years ago)
Author:
broder
Message:

Fix some uncaught bugs with invirt-console-server's libnss-pgsql
config

Location:
trunk/packages/invirt-console-server
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/invirt-console-server/debian/changelog

    r1544 r1552  
     1invirt-console-server (0.0.10) unstable; urgency=low
     2
     3  * Fix some uncaught bugs with the libnss-pgsql config
     4
     5 -- Evan Broder <broder@mit.edu>  Thu, 06 Nov 2008 22:21:12 -0500
     6
    17invirt-console-server (0.0.9) unstable; urgency=low
    28
  • trunk/packages/invirt-console-server/files/etc/nss-pgsql.conf.mako

    r1201 r1552  
    22connectionstring = host=${cfg.db.host} dbname=${cfg.db.dbname} user=${cfg.db.user} port=${cfg.db.port}
    33
    4 getpwnam = SELECT name, NULL, name, '/consolefs/'|| name, '/usr/bin/invirt-consolesh', machine_id + 1000, machine_id + 1000 FROM machines WHERE name = $1
    5 getpwuid = SELECT name, NULL, name, '/consolefs/'|| name, '/usr/bin/invirt-consolesh', machine_id + 1000, machine_id + 1000 FROM machines WHERE machine_id + 1000 = $1
    6 allusers = SELECT name, NULL, name, '/consolefs/'|| name, '/usr/bin/invirt-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
     4getpwnam = SELECT name, 'x', name, '/consolefs/'|| name, '/usr/bin/invirt-consolesh', machine_id + 1000, machine_id + 1000 FROM machines WHERE name = $1
     5getpwuid = SELECT name, 'x', name, '/consolefs/'|| name, '/usr/bin/invirt-consolesh', machine_id + 1000, machine_id + 1000 FROM machines WHERE machine_id + 1000 = $1
     6allusers = SELECT name, 'x', name, '/consolefs/'|| name, '/usr/bin/invirt-consolesh', machine_id + 1000, machine_id + 1000 FROM machines
     7getgrnam = SELECT name, 'x', machine_id + 1000, NULL FROM machines WHERE name = $1
     8getgrgid = SELECT name, 'x', machine_id + 1000, NULL FROM machines WHERE machine_id + 1000 = $1
    99groups_dyn = SELECT NULL LIMIT 0;
    10 allgroups = SELECT name, NULL, machine_id + 1000 FROM machines
     10allgroups = SELECT name, 'x', machine_id + 1000, NULL FROM machines
Note: See TracChangeset for help on using the changeset viewer.