1 | # PyKota sample administrator's configuration file |
---|
2 | # |
---|
3 | # Under NO circumstances regular users should |
---|
4 | # be allowed to read this file. |
---|
5 | # |
---|
6 | # |
---|
7 | # File format : |
---|
8 | # |
---|
9 | # - A mandatory [global] section : |
---|
10 | # |
---|
11 | # Contains configuration directives to specify the username and |
---|
12 | # optional password for the PyKota's database administrator. |
---|
13 | # This user is either a PostgreSQL user, or an LDAP dn. |
---|
14 | # |
---|
15 | # Directives format : |
---|
16 | # |
---|
17 | # - Directive's name, followed by ':' followed by the directive's value. |
---|
18 | # |
---|
19 | # - No leading whitespace : leading whitespace tell the parser that the |
---|
20 | # current directive is the continuation of the previous one. Use with |
---|
21 | # care and only when you need it. |
---|
22 | # |
---|
23 | # |
---|
24 | # PyKota - Print Quotas for CUPS and LPRng |
---|
25 | # |
---|
26 | # (c) 2003, 2004, 2005 Jerome Alet <alet@librelogiciel.com> |
---|
27 | # This program is free software; you can redistribute it and/or modify |
---|
28 | # it under the terms of the GNU General Public License as published by |
---|
29 | # the Free Software Foundation; either version 2 of the License, or |
---|
30 | # (at your option) any later version. |
---|
31 | # |
---|
32 | # This program is distributed in the hope that it will be useful, |
---|
33 | # but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
34 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
35 | # GNU General Public License for more details. |
---|
36 | # |
---|
37 | # You should have received a copy of the GNU General Public License |
---|
38 | # along with this program; if not, write to the Free Software |
---|
39 | # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
---|
40 | # |
---|
41 | # $Id$ |
---|
42 | # |
---|
43 | |
---|
44 | # |
---|
45 | # THIS FILE CONTAINS SENSITIVE DATAS LIKE A USERNAME AND PASSWORD |
---|
46 | # WHICH ALLOW READ/WRITE ACCESS TO YOUR PRINT QUOTA DATABASE. |
---|
47 | # |
---|
48 | # ONLY THE root USER AND THE USER THE PRINTING SYSTEM IS RUN AS |
---|
49 | # (e.g. lp) SHOULD BE ALLOWED TO READ THIS FILE ! |
---|
50 | # |
---|
51 | |
---|
52 | # |
---|
53 | # THIS FILE CAN ONLY CONTAIN A [global] SECTION AND ONE MANDATORY |
---|
54 | # FIELD NAMED storageadmin, ALONG WITH THE FOLLOWING FOUR OPTIONAL |
---|
55 | # FIELDS : storageadminpw, storagebackend, storageserver, storagename. |
---|
56 | # |
---|
57 | |
---|
58 | [global] |
---|
59 | |
---|
60 | # Quota Storage administrator's name and password |
---|
61 | storageadmin: pykotaadmin |
---|
62 | # storageadminpw: Comment out if unused, or set to Quota Storage admin password |
---|
63 | |
---|
64 | # storagebackend: ldapstorage |
---|
65 | # storageserver: ldap://ldapmaster.example.com:389 |
---|
66 | # storagename: dc=example,dc=com |
---|