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

Revision 3561, 2.6 kB (checked in by jerome, 12 years ago)

Changed copyright years.

  • 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
27#
28# (c) 2003-2013 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 3 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, see <http://www.gnu.org/licenses/>.
41#
42# $Id$
43#
44
45#
46# THIS FILE CONTAINS SENSITIVE DATAS LIKE A USERNAME AND PASSWORD
47# WHICH ALLOW READ/WRITE ACCESS TO YOUR PRINT QUOTA DATABASE.
48#
49# ONLY THE root USER AND THE USER THE PRINTING SYSTEM IS RUN AS
50# (e.g. lp) SHOULD BE ALLOWED TO READ THIS FILE !
51#
52
53#
54# THIS FILE CAN ONLY CONTAIN A [global] SECTION AND ONE MANDATORY
55# FIELD NAMED storageadmin, ALONG WITH THE FOLLOWING FOUR OPTIONAL
56# FIELDS : storageadminpw, storagebackend, storageserver, storagename.
57#
58
59[global]
60
61# For SQLite3, you can comment out all the lines in this file.
62
63# PostgreSQL's or MySQL's Quota Storage administrator's name and password
64# Please comment these lines out and see further below if you use LDAP.
65storageadmin : pykotaadmin
66# In the line below change the password's value if needed.
67storageadminpw : readwritepw
68
69# storagebackend: ldapstorage
70# storageserver: ldap://ldapmaster.example.com:389
71# storagename: dc=example,dc=com
72#
73# NB : the user and password below are the ones contained in
74# the sample LDIF file pykota/initscripts/ldap/pykota-sample.ldif
75# Please adapt these lines to your own needs.
76# storageadmin: cn=pykotaadmin,dc=example,dc=com
77# storageadminpw: BlfUPg7t
Note: See TracBrowser for help on using the browser.