[1087] | 1 | # PyKota sample administrator's configuration file |
---|
| 2 | # |
---|
[3413] | 3 | # Under NO circumstances regular users should |
---|
[1087] | 4 | # be allowed to read this file. |
---|
| 5 | # |
---|
[2204] | 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. |
---|
[2837] | 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. |
---|
[2204] | 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 | # |
---|
[3259] | 26 | # PyKota - Print Quotas for CUPS |
---|
[1087] | 27 | # |
---|
[3561] | 28 | # (c) 2003-2013 Jerome Alet <alet@librelogiciel.com> |
---|
[3259] | 29 | # This program is free software: you can redistribute it and/or modify |
---|
[1087] | 30 | # it under the terms of the GNU General Public License as published by |
---|
[3259] | 31 | # the Free Software Foundation, either version 3 of the License, or |
---|
[1087] | 32 | # (at your option) any later version. |
---|
[3413] | 33 | # |
---|
[1087] | 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. |
---|
[3413] | 38 | # |
---|
[1087] | 39 | # You should have received a copy of the GNU General Public License |
---|
[3259] | 40 | # along with this program. If not, see <http://www.gnu.org/licenses/>. |
---|
[1087] | 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 | # |
---|
[2418] | 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. |
---|
[1087] | 57 | # |
---|
| 58 | |
---|
| 59 | [global] |
---|
| 60 | |
---|
[2593] | 61 | # For SQLite3, you can comment out all the lines in this file. |
---|
| 62 | |
---|
[2638] | 63 | # PostgreSQL's or MySQL's Quota Storage administrator's name and password |
---|
[2576] | 64 | # Please comment these lines out and see further below if you use LDAP. |
---|
[2819] | 65 | storageadmin : pykotaadmin |
---|
| 66 | # In the line below change the password's value if needed. |
---|
| 67 | storageadminpw : readwritepw |
---|
[1087] | 68 | |
---|
[2418] | 69 | # storagebackend: ldapstorage |
---|
| 70 | # storageserver: ldap://ldapmaster.example.com:389 |
---|
| 71 | # storagename: dc=example,dc=com |
---|
[2576] | 72 | # |
---|
[3413] | 73 | # NB : the user and password below are the ones contained in |
---|
[2576] | 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 |
---|