source: branches/wsgi/packages/sipb-xen-console/files/etc/nss-pgsql.conf @ 980

Last change on this file since 980 was 344, checked in by broder, 17 years ago

New sipb-xen-console. Now with more magic - and more working

This package installed onto a clean Debian system should do all of the setup
for a console server except for copying the ssh private keys, granting access
to the Postgres database, and Kerberos keytabs

File size: 656 bytes
Line 
1# example configfile for PostgreSQL NSS module
2
3# these are entries as used with the BOFHMS tool (sf.net/projects/bofhms)
4host            = sipb-xen-dev
5port            = 5432
6database        = sipb_xen
7login           = sipb-xen
8
9querypasswd = SELECT name, NULL, machine_id + 1000 as uid, machine_id + 1000 as gid, '', '/consolefs/'|| name, '/usr/bin/sipb-xen-consolesh' FROM machines
10querygroup = SELECT name, NULL, machine_id + 1000 as gid FROM machines
11querymembers = SELECT name FROM machines WHERE 1000 + machine_id = %d
12queryids = SELECT 1000 + machine_id AS gid FROM machines LIMIT 0
13
14passwd_name = name
15passwd_uid = 1000 + machine_id
16
17group_name = name
18group_gid = 1000 + machine_id
Note: See TracBrowser for help on using the repository browser.