Hello,

I want to implement a print quota system using OpenLDAP. The print
quota would be just one attibute that will keep the number of pages
printed for each user.

My problem is that I have several servers with pinter daemon, and on
each server I may have several printer queues, ending up in many
Perl scripts that can update the LDAP attribute at same time.

The update should be of the form:

printdPages = printedPages + n

How can I do that in Perl (Net::LDAP) avoiding conflicts? I think it
should be implemented as a transaction, but I cannot find proper
reference.

TIA,

Olivier

Reply via email to