Changeset 1072


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

Location:
trunk/packages/sipb-xen-console
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/packages/sipb-xen-console/debian/changelog

    r1068 r1072  
     1sipb-xen-console (8.3) unstable; urgency=low
     2
     3  * Update nss-pgsql.conf.mako to reflect new config file format
     4
     5 -- Evan Broder <broder@mit.edu>  Mon, 06 Oct 2008 02:31:37 -0400
     6
    17sipb-xen-console (8.2) unstable; urgency=low
    28
  • trunk/packages/sipb-xen-console/debian/control

    r1064 r1072  
    1010Provides: ${diverted-files}
    1111Conflicts: ${diverted-files}
    12 Depends: sipb-xen-base, ${shlibs:Depends}, ${misc:Depends}, conserver-client, daemon, debathena-kerberos-config, fuse-utils, libnss-pgsql1, nscd, openssh-server, python, python-routefs, sipb-xen-chrony-config, sipb-xen-database-common, remctl-server
     12Depends: sipb-xen-base, ${shlibs:Depends}, ${misc:Depends}, conserver-client, daemon, debathena-kerberos-config, fuse-utils, libnss-pgsql1, nscd, openssh-server, python, python-routefs, sipb-xen-chrony-config, sipb-xen-database-common, remctl-server, debathena-ssh-server-config
    1313Description: SIPB Xen serial console server
    1414 This package  should be installed on sipb-xen-console
  • 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.