[695] | 1 | # PyKota sample configuration file |
---|
| 2 | # |
---|
| 3 | # Copy this file in cups' configuration directory |
---|
| 4 | # usually /etc/cups under the name pykota.conf |
---|
| 5 | # |
---|
| 6 | # PyKota - Print Quotas for CUPS |
---|
| 7 | # |
---|
| 8 | # (c) 2003 Jerome Alet <alet@librelogiciel.com> |
---|
| 9 | # You're welcome to redistribute this software under the |
---|
| 10 | # terms of the GNU General Public Licence version 2.0 |
---|
| 11 | # or, at your option, any higher version. |
---|
| 12 | # |
---|
| 13 | # You can read the complete GNU GPL in the file COPYING |
---|
| 14 | # which should come along with this software, or visit |
---|
| 15 | # the Free Software Foundation's WEB site http://www.fsf.org |
---|
| 16 | # |
---|
| 17 | # $Id$ |
---|
| 18 | # |
---|
| 19 | |
---|
| 20 | [global] |
---|
| 21 | # Storage backend for quotas |
---|
| 22 | # only PostgreSQL is supported |
---|
| 23 | # Ldap, MySQL, Berkeley are planned |
---|
| 24 | storagebackend: postgresql |
---|
| 25 | storageserver: localhost |
---|
| 26 | storagename: pykota |
---|
| 27 | storageadmin: pykotaadmin |
---|
| 28 | storageuser: pykotauser |
---|
| 29 | # storageadminpw: NOT YET SUPPORTED |
---|
| 30 | # storageuserpw: NOT YET SUPPORTED |
---|
| 31 | |
---|
| 32 | # Where to log ? |
---|
| 33 | # supported values : stderr, syslog |
---|
| 34 | logger: stderr |
---|
| 35 | |
---|
| 36 | # Print Quota administrator |
---|
| 37 | admin: Jerome Alet |
---|
| 38 | adminmail: alet@unice.fr |
---|
| 39 | # |
---|
| 40 | # Mail server to use to warn users |
---|
| 41 | smtpserver: localhost |
---|
| 42 | # |
---|
| 43 | # Accounting method |
---|
| 44 | # Only LAZY is currently supported, see documentation |
---|
| 45 | method: lazy |
---|
| 46 | # |
---|
| 47 | # Grace delay in days |
---|
| 48 | gracedelay: 7 |
---|
| 49 | |
---|
| 50 | # one section per printer |
---|
| 51 | [lp] |
---|
| 52 | # |
---|
| 53 | # How to query the lp printer for its page counter |
---|
| 54 | # Only SNMP is currently supported |
---|
| 55 | requester: snmp |
---|
| 56 | # SNMP Community |
---|
| 57 | snmpcmnty: public |
---|
| 58 | # SNMP oid to query |
---|
| 59 | snmpoid: 43.10.2.1.4.1.1 |
---|
| 60 | # |
---|
| 61 | # Default policy for inexistant users (e.g. root) |
---|
| 62 | # either accept or deny |
---|
| 63 | policy: accept |
---|