Univention Bugzilla – Bug 21649
Kostenbasierte Printquota funktioniert nicht
Last modified: 2018-04-14 13:34:13 CEST
Ich kann zwar im udm Seitenpreise hinterlegen, die Benutzer sind aber im pykota mit seitenbasierter Abrechnung angelegt. Druckquota war daher, und wegen fehlender zumutbarer Benutzeroberfläche, ohne grössere Zusatzaufwände nicht benutzbar. Für micht tut folgende Modifkation: --- univention-printquota-setuser.orig 2011-02-23 10:50:37.000000000 +0100 +++ univention-printquota-setuser 2011-02-23 10:53:04.000000000 +0100 @@ -61,6 +61,8 @@ callEdpykota("--add %s --printer %s --noquota %s" % (arg,printer, who)) else: callEdpykota("--add %s --printer %s --softlimit %s --hardlimit %s %s" % (arg,printer, soft, hard, who)) + # 20100707 adrianv: always use "balance" based quota + callEdpykota("--limit balance %s" % who) if bc.has_key('pykota/policy/debug'): try: Ist aber eher ein hack denn eine definitive Lösung. Merci.
Im aktuellen pykota Paket wurden die Python Module nach /usr/lib/python2.6/site-packages/ installiert. Dort werden Sie aber nicht gefunden. Per Patch 050_python_setup.patch werden nun Links in /usr/lib/pymodules/python2.6 auf die Module in /usr/lib/python2.6/site-packages/ erzeugt.
(In reply to comment #1) > Im aktuellen pykota Paket wurden die Python Module nach > /usr/lib/python2.6/site-packages/ installiert. Dort werden Sie aber nicht > gefunden. Per Patch 050_python_setup.patch werden nun Links in > /usr/lib/pymodules/python2.6 auf die Module in > /usr/lib/python2.6/site-packages/ erzeugt. Das wurde nochmal auf dh_pysupport umgestellt. pkipplib (http://www.pykota.com/software/pkipplib) wird benötigt und wurde nun paketiert.
univention-pykota bekommt einen Listener, über den die Benutzer(Gruppen)verwaltung in pykota abgewickelt wird. Dieser sollte dann auch ein noch zu erstellendes UDM Attribut "quota_limitby" berücksichtigen. Für Benutzer kann dieses Attribut dann quotq, balance, noquota, nochange oder noprint annehmen, für Gruppen noquota, balance oder quota.
This issue has been filed against UCS 2.4. UCS 2.4 is out of maintenance and many UCS components have vastly changed in later releases. Thus, this issue is now being closed. If this issue still occurs in newer UCS versions, please use "Clone this bug". In this case please provide detailed information on how this issue is affecting you.