Post v23 Enhancements to JRButils for Micro Focus

New programs

  • Jrbencrypt. A small program to AES encrypt a password and save it to a file for use by programs such as jrbimprt, mattach, and those supporting GroupWise 2014.

Changes to multiple programs

  • Updated all programs supporting GroupWise 2014 to support retrieving the Admin Console password from an AES encrypted file. Use the jrbencrypt program described above to encrypt the password.
  • Updated programs displaying network addresses to correctly format type 12 addresses. See TID 7018425 for more information.
  • Updated programs displaying network addresses to display the type and the value in hexadecimal for unrecognised types. Previously only the type was displayed.
  • Fixed a cosmetic issue under Windows 10 where the vertical arrows in the in-built help were not displaying correctly.
  • Modified all programs to utilize the full 120 character width of a command window for output in recent versions of Windows. Previously the command window was always 80 characters wide.

Changes to individual programs

Getname

  • Added the ability to the GUI versions to display all attributes of each object.
  • Fixed an issue in the GUI versions where the object class combo box was not updating to show the correct object class upon exit from the object edit box.
  • Made various minor changes to the location of options including placing the object formatting options on a separate tab.

Getquota

  • Corrected an oversight where volume names were not accepted in UNC format e.g. \\mars\vol2.

Getrest

  • Added the ability to specify a second date when filtering on date or date and time values, by separating two values with a comma e.g. today,today+10. A range may be used only with operators ‘eq’ and ‘ne’.

Groups

  • Added a sorting tab allowing primary and secondary sorting by any combination of fields.
  • Moved the position of the “Search subcontainers” checkbox on the Main tab to improve the presentation.
  • Replaced the "Create group" checkbox under “Add members” with a “Create” button present at all times on the main tab. This opens a new dialog box making it easier to create multiple groups, and provides the ability to set both the full name and description fields.

Gwgroups

  • Fixed an issue where the parts 2 and 5 versions did not prompt for a username and password for GroupWise 2014 when needed.
  • Modified to assume GroupWise 2014 if the GroupWise 2014 client is installed when a value is not given for /h. It will then prompt for the address of the GroupWise Admin service, and if necessary for a username and password.
  • Modified the GUI version to display the name of the GroupWise system.
  • Modified the GUI version to suppress the display of the eDirectory tree and current context when working with GroupWise 2014.
  • Moved the eDirectory name formatting options to a separate tab.
  • Fixed an issue where if the GUI version failed to connect to GroupWise at startup, but did so subsequently, browsing to select objects may not work.

Gwusers

  • Modified the fully GUI versions to allow user selection via the virtual treeview browser rather than selecting a post office from a combo box, then entering a name.
  • Modified the fully GUI versions to hide the eDirectory options when working with GroupWise 2014.
  • Made various minor changes to the main tab in the fully GUI versions.
  • Fixed an issue where the parts 2 and 5 versions did not prompt for a username and password for GroupWise 2014 when needed.
  • Modified to assume GroupWise 2014 if the GroupWise 2014 client is installed when a value is not given for /h. It will then prompt for the address of the GroupWise Admin service, and if necessary for a username and password. Note that the 2014 client cannot be used to work with GroupWise 2012 and earlier.
  • Fixed a cosmetic issue where the GUI versions reported they were quitting when unable to initialise GroupWise on startup, when in fact they started normally.

Homedirs

  • Fixed an issue introduced last year where in “set” mode, it did not set directory or volume quotas depending on the units selected.

Jblookup

  • Fixed an issue in the fully GUI versions where specifying a value for /c (starting container) on the command line was ignored.
  • Modified the fully GUI versions so that the search results are now displayed on a separate form.
  • Modified the fully GUI versions to support the following options previously only available in the command line versions:
    • Select a search operator (greater than or equal to, etc).
    • Specify a file of labels allowing attribute names to be replaced with alternative strings.
    • Select the format in which object names are displayed.
    • Suppress field names.
    • Display totals only.
    • Select the naming attributes to search.
    • Select whether the display for consecutive objects is separated by a line of dashes, a blank line or there is no separation.
    • Sort the search results by object name or the value of the search attribute.
  • Added an option to the fully GUI version to clear previous output before starting each new search.
  • Added to all versions, the ability to search the attributes of groups. Use /o in the command line versions to select the object class.

Jrbimprt

  • Added the ability to add pictures to GroupWise 2014 via one of two methods. A “GroupWise picture” field name may be used with the value provided in the data file being the path and file name. Alternatively, a “GroupWise picture path” control statement may be used. For each user, jrbimprt will search the named path for a file matching the GroupWise user name e.g. bronwyn.jpg. It uses a wildcard search for the extension and so will locate a file using any picture format e.g. jpg, gif, png, etc.
  • Added the ability to specify a file containing an encrypted password as a value for /z. Use the JRButils jrbencrypt program described above to create the file.
  • Added /b to the Linux versions to allow conversion of characters in the control and data files from a non-UTF-8 code page to UTF-8 e.g. /b=cp1252.
  • Modified the Linux versions to check for and ignore the UTF-8 byte order marker (BOM) if present in the control and data files.
  • Modified the Linux versions to provide an explanatory message for error -500 which can occur when creating an object or setting attribute values and an invalid character appears in the control or data file.
  • Fixed an issue where creating a group failed when using “Create groups=y” and a group name given in the data file did not include a container.
  • Modified so that when running jrbimprt from a workstation with no prior authentication to a tree, and /u is used, it will attempt to establish a connection and authenticate as the designated user.
  • Modified /u so that a tree or server name can precede the username e.g. mars/admin.abc. Jrbimprt will then attempt to authenticate to the specified server or tree. If only a username is given when no prior authentication exists at program startup, jrbimprt retrieves the name of the last server logged into from the workstation registry.

Listobj

  • Fixed an issue where an application error (or a segmentation fault on Linux) occurred after reporting “No connection to a file server” in the unusual circumstance where that was true.

Mattach

  • Added the ability to read the password from an AES encrypted file created by the new JRButils jrbencrypt program. This may be useful when authenticating to a tree via a script.

Quotas

  • Fixed an issue where an error would result when the value entered in a quota edit box included units e.g. 250mb.
  • Corrected an oversight where volume names were not accepted in UNC format e.g. \\mars\vol2.

Setacl

  • Fixed an issue where /s was not working for more than 20 objects.
  • Fixed an issue where an application error could occur when using /s with /o=container or /o=leaf.
  • Added the ability to reverse the sort order.
  • Added the ability to sort the ACLs for each object by trustee, protected attribute or rights.
  • Modified to sort on the object name as formatted for display rather than the form in which it is stored internally. This changes the sort order only for /o=container where the different types (C=, CN=, O= and OU=) could lead to the results appearing to have been sorted incorrectly.
  • Fixed a cosmetic issue where it could report something like “28 Objects, 18 selected” in the totals line when no filtering was used, but not all objects had an ACL.

Setname

  • Fixed an issue when deleting an attribute using the path syntax (e.g. “Home Directory”) where it would report that an object of class volume was required when no value was given.

Setpword

  • Added the ability to process GroupWise 2014 user and group names rather than having to specify eDirectory object names. Names may or may not include the post office and domain. Wildcards may be used in user names given in the form name.po.domain.
  • Updated the GUI versions to support browsing for GroupWise 2014 users and groups.
  • Added the ability for the 64 bit versions to process GroupWise 2014 names without the presence of the client for OES Enterprise Server.
  • Added the ability to verify Windows domain passwords via /m=z and /v.
  • Fixed an issue where the GroupWise password checkbox could be disabled for GroupWise 2014.
  • Fixed an issue where the GUI versions ignored /v (verify passwords) when used on the command line.

Setquota

  • Fixed an issue where specifying a quota in the form u+20mb was not setting the correct quota on OES 2015.
  • Modified so that a quota in the form u+20mb can be used when there is no existing quota. In this case, the usage has to be calculated by summing the space used by the files in the directory structure.
  • Corrected an oversight where volume names were not accepted in UNC format e.g. \\mars\vol2.

Settrust

  • Updated to no longer accept ‘d’ (delete) as a synonym for ‘e’ (erase) in file system rights following a support issue where the presence of ‘d’ was not resulting in an error. ‘d’ was originally used instead of ‘e’ in early NetWare versions.

Trstlist

  • Added a header line giving field names. This is suppressed via /j, but may be reinstated without other headings and totals when using /w via /w=j.
  • Modified /w to allow selection of columns for columnar output by using /w=z. Previously, /w always resulted in delimited output.
  • Modified /w to allow specification of field widths for columnar output.
  • Fixed an issue where the full name was not being displayed when using /z=t for two-line output with /d.

Whodidit

  • Added the ability via /u to easily skip files and directories with specific attributes set e.g. hidden. This does not offer filtering on the full set of attributes but is intended for easy avoidance of certain system directories and files when processing a volume root.