Bug 21649 - Kostenbasierte Printquota funktioniert nicht
Kostenbasierte Printquota funktioniert nicht
Status: RESOLVED WONTFIX
Product: UCS
Classification: Unclassified
Component: Printserver - pykota
UCS 2.4
Other Linux
: P5 normal (vote)
: UCS 3.x
Assigned To: UCS maintainers
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2011-02-23 11:06 CET by Adrian von Bidder
Modified: 2018-04-14 13:34 CEST (History)
1 user (show)

See Also:
What kind of report is it?: ---
What type of bug is this?: ---
Who will be affected by this bug?: ---
How will those affected feel about the bug?: ---
User Pain:
Enterprise Customer affected?:
School Customer affected?:
ISV affected?:
Waiting Support:
Flags outvoted (downgraded) after PO Review:
Ticket number:
Bug group (optional):
Max CVSS v3 score:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Adrian von Bidder 2011-02-23 11:06:16 CET
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.
Comment 1 Felix Botner univentionstaff 2011-10-12 17:56:46 CEST
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.
Comment 2 Felix Botner univentionstaff 2011-10-14 11:02:00 CEST
(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.
Comment 3 Felix Botner univentionstaff 2011-10-14 15:03:44 CEST
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.
Comment 4 Stefan Gohmann univentionstaff 2016-04-25 07:53:03 CEST
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.