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

Revision 2638, 2.6 kB (checked in by matt, 19 years ago)

Initial MySQL support

  • 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 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, 2006 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# For SQLite3, you can comment out all the lines in this file.
61
62# PostgreSQL's or MySQL's Quota Storage administrator's name and password
63# Please comment these lines out and see further below if you use LDAP.
64storageadmin: pykotaadmin
65# storageadminpw: Comment out if unused, or set to Quota Storage admin password
66
67
68# storagebackend: ldapstorage
69# storageserver: ldap://ldapmaster.example.com:389
70# storagename: dc=example,dc=com
71#
72# NB : the user and password below are the ones contained in
73# the sample LDIF file pykota/initscripts/ldap/pykota-sample.ldif
74# Please adapt these lines to your own needs.
75# storageadmin: cn=pykotaadmin,dc=example,dc=com
76# storageadminpw: BlfUPg7t
Note: See TracBrowser for help on using the browser.