Utilities in JRButils


Page 4: (P - R)

Prev | Next

Pnadd

Adds users, operators, managers and queues to NDPS printers. It can do the following:

  • Can add objects to multiple NDPS printers in a single command.
  • Can add users, groups or all members of a group.
  • Can prompt for confirmation before adding each object.
  • Can add objects as users, operators and/or managers in the same invocation.

Pnctrl

Stops, starts, restarts, pauses and resumes NDPS printers.

Pndel

Removes users, operators, managers and queues from NDPS printers. It can do the following:

  • Can remove objects from multiple NDPS printers in a single command.
  • Can remove users, groups or all members of a group.
  • Can prompt for confirmation before removing each object.
  • Can add objects as users, operators and/or managers in the same invocation.

Pndeljob

Deletes jobs queued to NDPS printer agents. It can do the following:

  • Allows jobs to be selected by job number. Individual numbers may be given or a range may be used e.g. 1-20.
  • Allows jobs to be deleted by user.
  • Allows jobs to be deleted based on the contents of the description field.
  • Allows deletion of jobs which are older than a given date.

Pnlist

Pnlist lists the jobs enqueued to NDPS printer agents. Features include:

  • Wildcards may be used.
  • The default output gives the job position, job ID, user, description, size, date/time submitted and status for each job.
  • You may design you own output selecting from 10 fields and choosing the size and order of each field. The fields are:
    Description
    Job entry time
    Number of documents in the job
    Job ID
    Job position
    Job priority
    The printer name
    The job status (pending, paused, held, etc)
    The name of the user who enqueued the job
    Number of bytes to be printed
  • Output may be limited to jobs submitted by a particular user.
  • Output may be filtered on job description.
  • The number of jobs can be returned as an error level.

Pnmovjob

Pnmovjob moves or copies jobs from one NDPS printer to another.

Pnreljob

Pnreljob changes the status of jobs queued to an NDPS printer. Jobs may be selected by number, range or owner. Pnreljob can do the following:

  • Release or place jobs on user hold.
  • Release or place jobs on operator hold.
  • Release or place jobs on a “print after” hold.
  • Pause/resume jobs.

Pnset

Pnset sets attributes for one or more NDPS or iPrint printers. These include:

Descriptor
Enable/disable IPP
Enable/disable job banners
Enable/disable LPR
The load command
Location
Manufacturer
Model
NDS description
Security

Other attributes (and there are hundreds of them) can be added as required. Please contact support@jrbsoftware.com if you need to change an attribute which is not already supported.

Pnsetup

Manages public and controlled access NDPS printers on workstations. It can do the following:

  • Install a printer and its driver. The same printer may be installed multiple times with different names.
  • Remove a printer and optionally its driver.
  • List all installed printers, just the installed NDPS printers, or just the iPrint printers.
  • Remove all installed printers and reinstall those from a specified context.
  • List the installable printers from a specified NDS context.
  • Set the default printer.
  • Can restart the print spooler.
  • Can set the port name in the form \\tree\printerName rather than the default NDPSnn where nn is a two digit number.
  • Accepts a user name and password on the command line for authenticating to the tree when run as a system service.

Pnstatus

Pnstatus displays the status of NDPS printers. Values displayed include:

  • The printer manufacturer and model.
  • The printer status and reason for that status if applicable.
  • The printer description.
  • The printer location.
  • Printer agent address.
  • Printer device address.
  • If auditing is enabled.
  • If banners are enabled.
  • If banners are supported.
  • If LPR and IPP is enabled.
  • The number of scheduled and active jobs.
  • The number of jobs printed since creation.
  • Date and time the last job was processed.
  • Legacy queues serviced.
  • Security level.

These values may also be displayed individually or in csv format.

Pnusers

Lists users, operators, managers and queues of NDPS printers. It can do the following:

  • Can process multiple printers in a single command via use of wildcards.
  • The list of users, operators or managers for each printer may be sorted.
  • Can limit the output to the total number of users, operators and/or managers for each printer.
  • User or operator groups may be expanded so that all user objects which are printer users or printer operators are listed.
  • Can output pnadd commands for users, operators and managers.

Polassoc

Manages the associations of ZEN policy objects. It can do the following.

  • Display all associations of one or more policy objects.
  • Has similar options to usergrps when displaying associations.
  • Add associations.
  • Remove associations.

Pqadd

Pqadd adds one or more users or groups as operators or users of the specified print queue. Features include:

  • Can use wildcards in the queue name.
  • Can use an input file containing queue names.
  • Can also add print servers to a queue.
  • You may specify multiple entities on the command line, each of which may be a single user, one or more users selected via wildcards (e.g. z*), a group, or a list of user names in a file.
  • Can make a group object a queue user or operator, or the individual members of the group may be made queue users or operators.
  • Can add both queue users and operators (but not print servers) in a single invocation.

Pqdel

Pqdel removes one or more users or groups from being operators or users of the specified print queue. Features include:

  • Can use wildcards in the queue name.
  • Can use an input file containing queue names.
  • Can remove print servers from a queue.
  • You may specify multiple entities on the command line, each of which may be a single user, one or more users selected via wildcards (e.g. z*), a group, or a list of user names in a file.
  • Can remove a group object from being a queue user or operator, or the individual members of the group may be removed as queue users or operators.
  • Can remove both queue users and operators (but not print servers) in a single invocation.

Pqdeljob

Pqdeljob deletes one or more jobs from a print queue. Features include:

  • You may specify one or more job numbers on the command line, ‘*’ meaning all jobs in the queue, a range e.g. jobs 10-20, or user names possibly including wildcards.
  • Can choose to have pqdeljob ask for confirmation before deleting each job.
  • Can delete jobs by banner name.
  • Allows deletion of jobs which are older than a given date.

Pqlist

Pqlist lists the jobs in one or more print queues. Its features include:

  • Wildcards may be used in the queue name.
  • Any number of bindery file server names may be specified (e.g. hoki,moki,toki/laser*) or you may specify ‘A’ meaning all servers to which you are currently attached. File servers preceded by ‘!’ will be skipped.
  • The default output gives the job number, user, description or file name, size, date/time submitted and status for each job.
  • You may design you own output selecting from 18 fields and choosing the size and order of each field. The fields are:
    Banner user name
    Banner file name
    Connection number of the workstation from which the job was submitted
    Description
    Job entry time
    File name (may be blank if the job was captured directly from an application)
    Job number
    Form number
    Form name
    Job position in the queue
    Number of copies
    The path associated with the file being printed
    The name of the job file in the queue directory
    Target server name if specified
    The job status (open, ready, user hold, etc)
    The name of the object which enqueued the job
    Job execution time
    Number of bytes to be printed
  • Output may be limited to jobs submitted by a particular user.
  • Output may be filtered on banner user name.
  • The number of jobs can be returned as an error level.

Pqmovdir

Allows the changing of spool directories for existing print queues. The directory may be changed to a different location on the same volume, to a different volume, or to a different server.

Pqmovjob

Pqmovjob allows print jobs to be copied from one NDS or bindery queue to another possibly on a different server. The jobs may optionally be deleted from the source server.

Pqreljob

Pqreljob allows jobs to be released from user and/or operator hold on NDS or bindery queues. It may optionally be used to place existing jobs on user or operator hold.

Pqstatus

  • Pqstatus allows you to view and alter the status of multiple print queues across multiple servers. It displays:
  • Whether jobs can be submitted to the queue.
  • Whether print servers can attach to the queue.
  • Whether print servers can service the queue.
  • The number of jobs in the queue.
  • Attached print servers and their connection numbers.
  • The date and time that the queue was last used.

Features include:

  • Can use wildcards in queue names.
  • Any number of bindery file server names may be specified (e.g. hoki,moki,toki/laser*) or you may specify ‘A’ meaning all servers to which you are currently attached. File servers preceded by ‘!’ will be skipped.
  • Allows you to toggle or set to a specific value: (a) jobs can be submitted to the queue (b) servers can attach to the queue (c) servers can service the queue
  • Can display all of the above items for each queue, or just a single item.

Pqusers

Pqusers lists the queue users, operators and/or print servers for one or more queues. Features include:

  • Wildcards may be used in the queue name.
  • Any number of bindery file server names may be specified (e.g. hoki,moki,toki/laser*) or you may specify ‘A’ meaning all servers to which you are currently attached. File servers preceded by ‘!’ will be skipped.
  • The list of users, operators or print servers for each queue may be sorted.
  • Can limit the output to the total number of users, operators and/or print servers for each queue.
  • User or operator groups may be expanded so that all user objects which are queue users or queue operators are listed.
  • Can output pqadd commands for users, operators and print servers.

Pradd

Pradd allows queues to be added to NDS printers. The default queue may be set, and priorities may be assigned to queues.

Prdel

Prdel allows queues to be removed from NDS printers. The default queue may be removed, but NetWare will automatically make the first of the ‘other’ queues the default.

Profiles

The profiles program adds profiles to users, replaces profiles for users or removes profiles for users. It can process a single user, or multiple selected via wildcards, group membership, or a list in a file. Profiles can create a profile object, but currently cannot assign a login script to it, but you can use lscripts to do this. It can also display the users of a particular profile either by scanning the objects which have rights to the profile script (this is quick), or by scanning the NDS tree (this may be slow).

Prusers

This displays the queues and operators associated with NDS printers. It is for use with pradd and prdel.

Psadd

Psadd adds one or more users or groups as operators or users of the specified print server. Features include:

  • Can use wildcards in the print server name.
  • Can use an input file containing print server names.
  • Can create the print server(s).
  • You may specify multiple entities on the command line, each of which may be a single user, one or more users selected via wildcards (e.g. z*), a group, or a list of user names in a file.
  • Can make a group object a print server user or operator, or the individual members of the group may be made print server users or operators.
  • Can add both print server users and operators in a single invocation.
  • Can add printers to an NDS print server.

Psdel

Psdel removes one or more users or groups from being operators or users of the specified print server. Features include:

  • Can use wildcards in the print server name.
  • Can use an input file containing print server names.
  • You may specify multiple entities on the command line, each of which may be a single user, one or more users selected via wildcards (e.g. z*), a group, or a list of user names in a file.
  • Can remove a group object from being a print server user or operator, or the individual members of the group may be removed from being print server users or operators.
  • Can remove both print server users and operators in a single invocation.
  • Can remove printers from an NDS print server.

Psusers

Psusers lists NDS and bindery print server users and operators for one or more print servers on one or more file servers. Features include:

  • Wildcards may be used in the print server name.
  • Any number of bindery file server names may be specified (e.g. hoki,moki,toki/laser*) or you may specify ‘A’ meaning all servers to which you are currently attached. File servers preceded by ‘!’ will be skipped.
  • The list of users and operators for each print server may be sorted.
  • Can limit the output to the total number of users and operators for each print server.
  • User or operator groups may be expanded so that all user objects which are print server users or operators are listed.
  • Can output psadd commands for users and operators.
  • Can list the queues serviced by print servers.
  • Can list the printers associated with a print server, and optionally the printer numbers.

Pwdexp

Pwdexp is intended for use in a login script where it displays a warning if the user’s NetWare or Universal password is about to expire. The number of days before expiration at which warnings begin is adjustable and defaults to seven. Both text mode and GUI versions are available.

Pwdexp can also force a password change before or after password expiration. It will prompt for and change the password. However, there is a bug in all versions of Novell’s login programs where it still says the password has expired and asks if you want to change it, even when the password has already been changed by a program run within the login script.

The GUI version has a number of extra features including:

  • Can change local, AD domain, NT domain, NDS for NT and simple passwords.
  • Can force it to remain as the topmost window.
  • Can force a delay before checking the password expiration status, to allow replication to occur if the password has been changed before the login script begins executing.
  • Allows two lines of user supplied text to be displayed.
  • Can control how long the window warning of impending password expiration remains open.
  • Can prevent changing other passwords if the NetWare password is not changed successfully first.
  • Can display a customer supplied icon or bitmap on the right of the window.
  • Can force operations to occur on the server holding the master of the user’s replica.

Quotas

The quotas program combines the functionality of getquota and setquota for displaying and setting quotas in a GUI environment. The results are shown in a list view allowing selection of fields to be displayed and sorting by column. When displaying quotas, the quotas can do the following:

  • Process a single user, multiple users selected using wildcards, all members of a group, or a list of users in a file. The quota, space used and space available may be displayed.
  • Read the “Home Directory” attribute to show quotas on the home directory or home volume.
  • Show all volume quotas on a volume.
  • Summarize all usage on a volume based on file ownership.
  • Show volume quotas for all selected users, across all volumes on a server.
  • Filter on quota size, space used and space available so that for example, only those users without quotas, or users whose usage exceeds 200 MB are displayed.
  • Display values in bytes, 4096 bytes blocks, KB, MB and GB.
  • Calculate the usage for directories which do not have a quota on NSS volumes. Unlike traditional volumes, NSS keeps track of usage in a directory, only when a quota is set.
  • Display usage as a percentage of the quota, or as a percentage of the total usage for all selected objects or directories.
  • Displays values for queue directories and for paths pointed to by directory map objects.

The following features exist for setting quotas:

  • Process a single user, multiple users selected using wildcards, all members of a group, or a list of users in a file.
  • Read the “Home Directory” attribute to set quotas on the home directory or home volume.
  • Set directory quotas for a single directory, all first level subdirectories of a directory, or for all directories in a tree.
  • Set quotas to a given value, or adjust existing quotas by a given amount or percentage.
  • Remove quotas.
  • Prompt for confirmation before setting or modifying each quota.
  • Quotas may be changed by right clicking on the appropriate column in the results list view.

Qwatch.nlm

Qwatch provides a means by which directory and volume quotas can be set via LDAP. It requires an auxiliary class named jrbsQuotas with two optional attributes named jrbsHomeVolumeQuota and jrbsHomeDirectoryQuota. These must be single valued integer attributes which qwatch can create if required. Qwatch monitors changes to the two attributes and when a change is detected, it sets the relevant quota on either the home directory, or on the volume on which the home directory resides. The presence of these two attributes also allows quotas to be read via LDAP provided that whatever program sets the quotas, also maintains the correct values in NDS. Programs in JRButils which set quotas have new options which allow this.

Renobj

Renobj allows renaming of NDS or bindery objects of any class or type. Features include:

  • When renaming a user, it will check for the existence of an NDS “Home Directory” attribute or bindery HOME_DIR property. If either is found, renobj will rename the user’s home directory to match the user’s new name and update the contents of “Home Directory” attribute or HOME_DIR bindery property.
  • Can specify the home directory path on the command line when the user does not have a “Home Directory” attribute or HOME_DIR property.
  • Can process a file containing one old name and one new name per line.
  • Can change the case of the names of existing NDS objects to all lowercase, all uppercase, or to a mixture of upper and lowercase.
  • Can create an alias with the original name of the object and pointing to the renamed object.
  • Can rename users in GroupWise, or relink the renamed NDS user with their corresponding GroupWise object.
  • Updates the uniqueID attribute when renaming users.
  • Updates the homeDirectory attribute (not to be confused with the “Home Directory” attribute) when the user belongs to the posixAccount auxiliary class.
  • Can override “rename inhibit” status on home directories when renaming them.
  • Can set the old name as a nickname when renaming a user in GroupWise.
  • Can update the “Internet Email Address” and “Email Address” attributes.

Requests

Requests continuously displays the total requests, bytes read and bytes written for up to 20 connections since the program began running. This allows easy identification of workstations imposing the greatest load on a server. The output is sorted into descending order by whichever column you select, and the column on which you are sorting can be changed without restarting the program. Requests can perform a background authentication to the nominated server and works correctly across NDS trees. Both text mode and GUI versions are available. The GUI version can track more than 20 connections and can display the fields held open by each connection. It may also clear connections.

Note that this program currently does not work on OES Linux as the NCP function retrieving the bytes read and written is not fully implemented. It is expected that this will change in OES2 SP1.


 
Prev | Next

 

[ Home | Purchasing | JRButils for NetWare | JRButils for AD | Search ]