Changeset 1025

Show
Ignore:
Timestamp:
06/13/03 19:27:56 (21 years ago)
Author:
jalet
Message:

Sample printer name which resembles a sample printer name now ! (finally)

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/conf/pykota.conf.sample

    r1021 r1025  
    5151#storagename: dc=librelogiciel,dc=com 
    5252#storageadmin: cn=admin,dc=librelogiciel,dc=com 
    53 #storageuser: cn=admin,dc=librelogiciel,dc=com 
    5453#storageadminpw: abc.123 
    55 #storageuserpw: xyz.345 
     54# 
     55# Here we define some helpers to know where  
     56# to plug into an existing LDAP directory 
     57#usersou: ou=People,dc=librelogiciel,dc=com 
     58#userrdn: uid 
     59#groupsou: ou=Groups,dc=librelogiciel,dc=com 
     60#grouprdn: cn 
     61#printersou: ou=Printers,dc=librelogiciel,dc=com 
     62#printerrdn: cn 
     63#jobsou: ou=Jobs,ou=PyKota,dc=librelogiciel,dc=com 
     64#userquotasou: ou=UQuotas,ou=PyKota,dc=librelogiciel,dc=com 
     65#groupquotasou: ou=GQuotas,ou=PyKota,dc=librelogiciel,dc=com 
     66#lastjobsou: ou=LastJobs,ou=PyKota,dc=librelogiciel,dc=com 
    5667 
    5768# Where to log ? 
     
    134145 
    135146# one section per printer, or no other section at all if all options  
    136 # are defined globally 
    137 [lp] 
     147# are defined globally. 
     148# The section's name must be the same as the printer's name as defined 
     149# in your printing system, be it CUPS or LPRng. 
     150[hpmarketing] 
    138151 
    139152# How to query the lp printer for its page counter. 
     
    145158# 
    146159# Example :  
    147 #     requester: external(snmpget -v1 -c public -Ov %(printer)s mib-2.43.10.2.1.4.1.1 | cut -f 2,2 -d " ") 
     160#     requester: external(/usr/bin/snmpget -v1 -c public -Ov %(printer)s mib-2.43.10.2.1.4.1.1 | cut -f 2,2 -d " ") 
    148161# and : 
    149162#     requester: snmp(public, mib-2.43.10.2.1.4.1.1) 
     
    151164# 
    152165# Another untested example, using npadmin : 
    153 #     requester: external(npadmin --pagecount %(printer)s) 
     166#     requester: external(/usr/bin/npadmin --pagecount %(printer)s) 
    154167# 
    155168# Another example, for AppleTalk printers which works fine : 
     
    169182# WARNING : In any case, when using an external requester, please test the command line outside 
    170183#           of PyKota before. This will save you some headaches in case it doesn't work as expected. 
    171 requester: external(snmpget -v1 -c public -Ov %(printer)s mib-2.43.10.2.1.4.1.1 | cut -f 2,2 -d " ") 
     184requester: external(/usr/bin/snmpget -v1 -c public -Ov %(printer)s mib-2.43.10.2.1.4.1.1 | cut -f 2,2 -d " ") 
    172185 
    173186# Default policy for inexistant users (e.g. root)