Ignore:
Timestamp:
Nov 10, 2008, 10:58:25 PM (16 years ago)
Author:
broder
Message:

Actually get the password fields right in 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

    r1606 r1610  
     1invirt-console-server (0.0.13) unstable; urgency=low
     2
     3  * Actually get the password fields right for libnss-pgsql
     4
     5 -- Evan Broder <broder@mit.edu>  Mon, 10 Nov 2008 22:57:49 -0500
     6
    17invirt-console-server (0.0.12) unstable; urgency=low
    28
  • trunk/packages/invirt-console-server/files/etc/nss-pgsql.conf.mako

    r1606 r1610  
    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, NULL FROM machines WHERE name = $1
    8 getgrgid = SELECT name, NULL, machine_id + 1000, NULL FROM machines WHERE machine_id + 1000 = $1
     4getpwnam = SELECT name, '*', name, '/consolefs/'|| name, '/usr/bin/invirt-consolesh', machine_id + 1000, machine_id + 1000 FROM machines WHERE name = $1
     5getpwuid = SELECT name, '*', name, '/consolefs/'|| name, '/usr/bin/invirt-consolesh', machine_id + 1000, machine_id + 1000 FROM machines WHERE machine_id + 1000 = $1
     6allusers = SELECT name, '*', 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, NULL FROM machines
     10allgroups = SELECT name, 'x', machine_id + 1000, NULL FROM machines
Note: See TracChangeset for help on using the changeset viewer.