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

File:
1 edited

Legend:

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