janrik Absent Member.
Absent Member.
996 views

Accountant Role?

Hi

We migrated from iprint on NW to iprint on linux, and it all went pretty ok.

One problem we now have is that the 'new' printers do not have the NDPS Accountant Role, under Other on the IPP object.

We use that field to generate reports for the print owners (auditing).

Any ideas how to add this?
0 Likes
3 Replies
Marcel_Cox Absent Member.
Absent Member.

Re: Accountant Role?

janrik wrote:

>Any ideas how to add this?


The problem is that iPrint/Linux, while functionally providing the same
functionality as iPrint/NetWare, uses completely different and independent
objects classes and attributes. As such, none of the NDS attributes exists
for iPrint/Linux. A printer in iPrint/Linux has a rather minimal (compared
to NDPS) schema definition:

"iPrintPrinter" OBJECT-CLASS ::=
{
Flags {DS_EFFECTIVE_CLASS},
SubClassOf {"DEVICE"},
MayContain {"iPrintPrinterOperatorRole",
"iPrintPrinterUserRole",
"iPrintPrinterIPPURI",
"iPrintPrinterPAName",
"iPrintPrinterManager",
"iPrintPrinterControlPage"},
ASN1ObjID {2 16 840 1 113719 1 4 4 0 3}
}

The DEVICE class on which iPrint printers are based has the following
definition:

"Device" OBJECT-CLASS ::=
{
Operation MODIFY,
SubClassOf {"Top"},
Flags {DS_EFFECTIVE_CLASS, DS_CONTAINER_CLASS},
MayContain {"bootFile",
"bootParameter",
"description",
"ipHostNumber",
"l",
"macAddress",
"manager",
"o",
"ou",
"owner",
"See Also",
"Serial Number"},
ASN1ObjID {2 5 6 14}
}

To solve your problem, you have 2 options:

1) extend the schema to add the "NDPS Accountant Role" attribute to the
"iPrintPrinter" class. The advantage of this options is that it doesn't
require you to change anything. The disadvante is that it is a bit of
"unclean" solution as it mixes the NDPS and the iPrint/Linux schema, items
that Novell always tried to keep separate.

2) Reuse a different attribute to hold your Accountant role. A potential
candidate for this might for example be the "manager" attribute from the
"device" class as it has no functional meaning for iPrint.

--
Marcel Cox
http://support.novell.com/forums
------------------------------------------------------------------------
Marcel Cox's Profile: http://forums.novell.com/member.php?userid=8
0 Likes
janrik Absent Member.
Absent Member.

Re: Accountant Role?

Hi Thanks Marcel,

Would the iprintprinteroperatorrole field be ok to populate with the user id's for our 'print owners'?

Does not seem to be used by anything and new IPP printers have the field when created. (still need to add to the 698 old printers, but I am sure JRB utils can solve that easy).
0 Likes
Marcel_Cox Absent Member.
Absent Member.

Re: Accountant Role?

janrik wrote:

>Would the iprintprinteroperatorrole field be ok to populate with the
>user id's for our 'print owners'?


Well, the name suggests that this field is used for the printer oprator.
E.g. a person have the right to for example remove other people's jobs
from the queue. If however you have no problems with the "owner" you want
to assign having somewhat elevated rights to the pritner, then I guess
this field would be a good choice.

--
Marcel Cox
http://support.novell.com/forums
------------------------------------------------------------------------
Marcel Cox's Profile: http://forums.novell.com/member.php?userid=8
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.