[Samba] Printer accounting/quota ?

Collen Blijenberg <MLHJ> systeembeheer at hermanjordan.nl
Tue Jun 1 06:52:13 GMT 2004

Well all i can say is that we implemented samba quite
succesfull at our school.. we have aprox 800/1000 users..
but we used Mysql as backend..
within the mysqltables, we added an extra printer field, for the
account printing..

now when one of our studends prints, it send it to a custem build
the script, count the pages and all, and handles the accounting,
we use the cups driver for windows (works ok, even with a few minor
but, if i understand it right, samba nowday's supports page counting.

you could implement the same thing for ldap..?!
but my guess is that you have to do most of the scripting and
sollutions, your self..?!
bennefit of that will be, that you can make it work, the way you want.

good luck..
Collen Blijenberg   (Montessori Lyceum Herman Jordan)

Tuesday, June 1, 2004, 12:39:02 AM, you wrote:

EHT> Hi all,

EHT> I am about to install a Samba server at a local school, and i need some
EHT> advice and/or experience from others who have worked on a installation
EHT> of that type/size.

EHT> My plan is to roll-out a Samba server (of course), with LDAP back-end,
EHT> and a number of printer queue's via CUPS.
EHT> There will be aprox. 1000 user accounts, mostly students.

EHT> The school has asked for a solution that would make theme able to
EHT> control the amount of paper each student is allowed to use eg. hard-quota.

EHT> AFAIK, there is no solution in the Samba or CUPS tool-box itself, so i
EHT> Googled a little and found the PyKota project:
EHT> http://www.librelogiciel.com/software/PyKota/action_Presentation

EHT> Unfortunately i do not have any experience with it, but it seems like a
EHT> good solution because it is able to store the accounting data in LDAP,
EHT> and monitor the printers life-time page counter.

EHT> Any advice or info about how it is done else where would be deeply
EHT> apriciated.

EHT> Thanks and best regards,
EHT> Erik Holst Trans

More information about the samba mailing list