root / pykota / trunk / conf / pykotadmin.conf.sample @ 2924

Revision 2837, 2.7 kB (checked in by jerome, 19 years ago)

Clarified the sample configuration files.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
Line 
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 or MySQL user, or an LDAP complete dn.
14#     For SQLite, only the [global] section itself is required, but
15#     the rest of the file can be empty.
16#
17# Directives format :
18#
19#   - Directive's name, followed by ':' followed by the directive's value.
20#
21#   - No leading whitespace : leading whitespace tell the parser that the
22#     current directive is the continuation of the previous one. Use with
23#     care and only when you need it.
24#
25#
26# PyKota - Print Quotas for CUPS and LPRng
27#
28# (c) 2003, 2004, 2005, 2006 Jerome Alet <alet@librelogiciel.com>
29# This program is free software; you can redistribute it and/or modify
30# it under the terms of the GNU General Public License as published by
31# the Free Software Foundation; either version 2 of the License, or
32# (at your option) any later version.
33#
34# This program is distributed in the hope that it will be useful,
35# but WITHOUT ANY WARRANTY; without even the implied warranty of
36# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
37# GNU General Public License for more details.
38#
39# You should have received a copy of the GNU General Public License
40# along with this program; if not, write to the Free Software
41# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
42#
43# $Id$
44#
45
46#
47# THIS FILE CONTAINS SENSITIVE DATAS LIKE A USERNAME AND PASSWORD
48# WHICH ALLOW READ/WRITE ACCESS TO YOUR PRINT QUOTA DATABASE.
49#
50# ONLY THE root USER AND THE USER THE PRINTING SYSTEM IS RUN AS
51# (e.g. lp) SHOULD BE ALLOWED TO READ THIS FILE !
52#
53
54#
55# THIS FILE CAN ONLY CONTAIN A [global] SECTION AND ONE MANDATORY
56# FIELD NAMED storageadmin, ALONG WITH THE FOLLOWING FOUR OPTIONAL
57# FIELDS : storageadminpw, storagebackend, storageserver, storagename.
58#
59
60[global]
61
62# For SQLite3, you can comment out all the lines in this file.
63
64# PostgreSQL's or MySQL's Quota Storage administrator's name and password
65# Please comment these lines out and see further below if you use LDAP.
66storageadmin : pykotaadmin
67# In the line below change the password's value if needed.
68storageadminpw : readwritepw
69
70# storagebackend: ldapstorage
71# storageserver: ldap://ldapmaster.example.com:389
72# storagename: dc=example,dc=com
73#
74# NB : the user and password below are the ones contained in
75# the sample LDIF file pykota/initscripts/ldap/pykota-sample.ldif
76# Please adapt these lines to your own needs.
77# storageadmin: cn=pykotaadmin,dc=example,dc=com
78# storageadminpw: BlfUPg7t
Note: See TracBrowser for help on using the browser.