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

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.