Last change
on this file since 343 was
335,
checked in by broder, 17 years ago
|
First stab at a package to create the console server
|
File size:
800 bytes
|
Line | |
---|
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 | #passwd = foo |
---|
9 | #passwdtable = machines |
---|
10 | #grouptable = machines |
---|
11 | # you can use anything postgres accepts as table expression |
---|
12 | #groupmembertable = accounts JOIN usergroups ON accounts.uid=usergroups.uid JOIN groups ON usergroups.gid=groups.gid |
---|
13 | |
---|
14 | querypasswd = SELECT name, 'moo', 1000 as uid, 1000, '', '/vmhome/'|| name, '/usr/local/bin/sipb-xen-consolesh' FROM machines |
---|
15 | querygroup = SELECT name, NULL, 1000 as gid FROM machines |
---|
16 | querymembers = SELECT name FROM machines WHERE 1000 = %d |
---|
17 | queryids = SELECT 1000 AS gid FROM machines LIMIT 0; |
---|
18 | |
---|
19 | passwd_name = name |
---|
20 | passwd_uid = uid |
---|
21 | |
---|
22 | group_name = name |
---|
23 | group_gid = gid |
---|
Note: See
TracBrowser
for help on using the repository browser.