Changeset 344 for trunk/packages/sipb-xen-console/files/etc/nss-pgsql.conf
- Timestamp:
- Mar 30, 2008, 5:09:46 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/packages/sipb-xen-console/files/etc/nss-pgsql.conf
r335 r344 6 6 database = sipb_xen 7 7 login = sipb-xen 8 #passwd = foo9 #passwdtable = machines10 #grouptable = machines11 # you can use anything postgres accepts as table expression12 #groupmembertable = accounts JOIN usergroups ON accounts.uid=usergroups.uid JOIN groups ON usergroups.gid=groups.gid13 8 14 querypasswd = SELECT name, 'moo', 1000 as uid, 1000, '', '/vmhome/'|| name, '/usr/local/bin/sipb-xen-consolesh' FROM machines15 querygroup = SELECT name, NULL, 1000 as gid FROM machines16 querymembers = SELECT name FROM machines WHERE 1000 = %d17 queryids = SELECT 1000 AS gid FROM machines LIMIT 0;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 18 13 19 14 passwd_name = name 20 passwd_uid = uid15 passwd_uid = 1000 + machine_id 21 16 22 17 group_name = name 23 group_gid = gid18 group_gid = 1000 + machine_id
Note: See TracChangeset
for help on using the changeset viewer.