Ignore:
Timestamp:
Nov 10, 2008, 8:34:49 PM (16 years ago)
Author:
broder
Message:

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

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

Legend:

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

    r1557 r1606  
     1invirt-console-server (0.0.12) unstable; urgency=low
     2
     3  * Fix the libnss-pgsql config - don't suggest that the password should
     4    be in /etc/shadow
     5
     6 -- Evan Broder <broder@mit.edu>  Mon, 10 Nov 2008 20:34:14 -0500
     7
    18invirt-console-server (0.0.11) unstable; urgency=low
    29
  • trunk/packages/invirt-console-server/files/etc/nss-pgsql.conf.mako

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