Change to using conserver instead of ssh
[invirt/packages/invirt-console.git] / files / etc / nss-pgsql.conf
1 # example configfile for PostgreSQL NSS module
2
3 # these are entries as used with the BOFHMS tool (sf.net/projects/bofhms)
4 host            = sipb-xen-dev
5 port            = 5432
6 database        = sipb_xen
7 login           = sipb-xen
8
9 querypasswd = SELECT name, NULL, machine_id + 1000 as uid, machine_id + 1000 as gid, '', '/consolefs/'|| name, '/usr/bin/sipb-xen-consolesh' FROM machines
10 querygroup = SELECT name, NULL, machine_id + 1000 as gid FROM machines
11 querymembers = SELECT name FROM machines WHERE 1000 + machine_id = %d
12 queryids = SELECT 1000 + machine_id AS gid FROM machines LIMIT 0
13
14 passwd_name = name
15 passwd_uid = 1000 + machine_id
16
17 group_name = name
18 group_gid = 1000 + machine_id