Ignore:
Timestamp:
Oct 6, 2008, 2:32:00 AM (16 years ago)
Author:
broder
Message:

Update nss-pgsql.conf.mako to reflect new (more sane) config file
format

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/sipb-xen-console/files/etc/nss-pgsql.conf.mako

    r887 r1072  
    11<% from invirt.config import structs as cfg %>
    2 host        = ${cfg.db.host}
    3 port        = ${cfg.db.port}
    4 database    = ${cfg.db.dbname}
    5 login       = ${cfg.db.user}
     2connectionstring = host=${cfg.db.host} dbname=${cfg.db.dbname} user=${cfg.db.user} port=${cfg.db.port}
    63
    7 querypasswd = SELECT name, NULL, machine_id + 1000 as uid, machine_id + 1000 as gid, '', '/consolefs/'|| name, '/usr/bin/sipb-xen-consolesh' FROM machines
    8 querygroup = SELECT name, NULL, machine_id + 1000 as gid FROM machines
    9 querymembers = SELECT name FROM machines WHERE 1000 + machine_id = %d
    10 queryids = SELECT 1000 + machine_id AS gid FROM machines LIMIT 0
    11 
    12 passwd_name = name
    13 passwd_uid = 1000 + machine_id
    14 
    15 group_name = name
    16 group_gid = 1000 + machine_id
     4getpwnam = SELECT name, NULL, name, '/consolefs/'|| name, '/usr/bin/sipb-xen-consolesh', machine_id + 1000, machine_id + 1000 FROM machines WHERE name = $1
     5getpwuid = SELECT name, NULL, name, '/consolefs/'|| name, '/usr/bin/sipb-xen-consolesh', machine_id + 1000, machine_id + 1000 FROM machines WHERE machine_id + 1000 = $1
     6allusers = SELECT name, NULL, name, '/consolefs/'|| name, '/usr/bin/sipb-xen-consolesh', machine_id + 1000, machine_id + 1000 FROM machines
     7getgrnam = SELECT name, NULL, machine_id + 1000 FROM machines WHERE name = $1
     8getgrgid = SELECT name, NULL, machine_id + 1000 FROM machines WHERE machine_id + 1000 = $1
     9groups_dyn = SELECT NULL LIMIT 0;
     10allgroups = SELECT name, NULL, machine_id + 1000 FROM machines
Note: See TracChangeset for help on using the changeset viewer.