IBM OS/2 LAN Server REXX Utility DLL


Inf-HTML [About][Toc][Index] 0.9b (c) 1995 Peter Childs


LSRXUT.DLL History


The major changes in the different versions are: 
Version 1.0.0  Closed March 9th. 1993. All functions are described in 
               GG24-4043. 
Version 1.0.1  Added the functions Ls30utVer(), NetEnumerate() and 
               NetGetInfo(). Added the LS30UTIL.INF file. It is a draft 
               version. It contains spelling and wording errors. 
Version 1.0.2  Added the functions NetAdd(), NetDelete() and NetSetInfo(). 
               An additional alert part was added using the IBM 
               FASTService for OS/2, which of course, must be installed if 
               used. A IBM LAN Server 3.0 controlling workstation can now 
               together with FASTService for OS/2 and the addition of 
               Remote Operations from either Extended Services or CM/2 
               perform operations under control of NetView. The NetView 
               control is intended to be triggered by an alert, which will 
               trigger a NetView CLIST that performs a RUNCMD against the 
               IBM LAN Server 3.0 controlling workstation. 
Version 1.0.3  Bug fix in the function SetLogonAsn(). Was incorrectly 
               handling a NetUserGetLogonAsn() return code resulting in 
               the following return message 

               
               SetLogonAsn returned   0 Could not get user Logon assignment
               
               
               in functions using SetLogonAsn(). 
Version 1.0.4  Bug fix. Same problem as in 1.0.3, but with application 
               selectors. 
               Added the functions: 

               NetGetInfo(NETFINDADDRESS) to list LAN adapter
                                          address from a NetBIOS name
               NetSetInfo(NETEXPIREPASSWORD) to expire a password
               
               
               The LS30UT.DLL has been tested successfully with both 
               VisPro/REXX and Watcom Visual REXX. 
Version 1.0.5  Minor cosmetic corrections in the LS30UTIL.INF 
               documentation file. Added a more detailed description of 
               the LS30UT.DLL base functions. 
               Inserted a log entry for every userid successfully added in 
               the base function InsertAllUsers(). 
               Converted to the IBM C/C++ Tools 2.0 development 
               environment. 
               Added the function: 

               NetSetInfo(NETHOMEDIR) to assign a home directory
               
               
Version 1.0.6  Minor code changes in LS30UT.DLL. Compiled with the IBM 
               C/C++ Tools Version at 2.01 level. 
               The APAR PJ11200 was created to handle a Trap 000D in 
               HELPMGR.DLL when doing copy to clipboard, file and print 
               from the LS30UTIL.INF on some systems. 
               Added the function 

               NetAdd(NETUSERINITDCDB)
               
               
               to add a new userid and force the creation of the 
               \IBMLAN\DCDB\USERS\userid directory. 
Version 1.0.7  Added the function: 

               NetSetInfo(NETUSER)
               
               
               to supplement existing user account functions because of a 
               requirement to set the maximum storage parameter from 
               LS30UT.DLL. Also, the functions: 

               RxSplCreateDevice()
               RxSplCreateQueue()
               RxSplDeleteDevice()
               RxSplDeleteQueue()
               RxSplEnumDevice()
               RxSplEnumDriver()
               RxSplEnumPort()
               RxSplEnumPrinter()
               RxSplQueryDevice()
               RxSplQueryQueue()
               
               
               where added. 
Version 1.0.8  Made a set of modifications in the source code to solve a 
               thunk problem in the function NetAdd(NETALIAS) which may 
               happen on some server and requester systems. The function 
               NetAdd(NETAPP) had a problem with application types, which always 
               was forced to 'PUBLIC OS/2'. 
               Made the parameter 'auth_flags' available in the function 
               NetGetInfo(NETUSER). The parameter 'auth_flags' can also be 
               set in the function NetSetInfo(NETUSER). 
               Also a problem with empty server specifications was 
               discovered. This should be corrected in this version of the 
               DLL. Added the following functions: 

               RxSplControlDevice()
               RxSplDeleteJob()
               RxSplEnumJob()
               RxSplHoldJob()
               RxSplHoldQueue()
               RxSplPurgeQueue()
               RxSplQueryJob()
               RxSplReleaseJob()
               RxSplReleaseQueue()
               RxSplSetJob()
               
               
Version 1.0.9  Missed the 'A' attribute for Access Control profiles. This 
               has been added. Added a comment in the INF file regarding 
               the use of LS30UT.DLL in multiple processes. See Using 
               LSRXUT.DLL in multible processes. 
Version 1.0.10 A problem with many spooler printer devices was corrected. 
               The functions NetEnumerate(NETFILE) and 
               NetEnumerate(NETSESSION) was expanded on request and will 
               return additional information. 
               The function NetDelete(NETFILECLOSE) was added. 
               Using the NetAdd(NETUSE) functions acts differently on the 
               IBM LAN Server 3.0 versions IP07000, IP07001, IP07005 and 
               IP07045. To ensure the function works as intended, the 
               resource to be used must be shared at server startup. The 
               command line NET USE makes use of another undocumented API 
               to enable the use of a server resource which is shared at 
               request. 
Version 1.0.11 Added user account flags into the NetSetInfo(NETUSER) 
               function. If a user account is setup to have no password, 
               the password required functions in LS30UT.DLL require a 
               dummy password. 
               The NetSetInfo(NETUSER) is enabled for password setting for 
               an administrator. 
               The NetSetInfo(NETGROUP) was added to set group comment. 
               The NetEnumerate(NETUSE, NETCONNECTION, NETFILE) functions 
               can now use the returned stem variable.0 as a counter for 
               the number of items returned. 
               A problem with NetSetInfo(NETALIAS, 'path') was discovered 
               and corrected. 
Version 1.0.12 Added control on allocated memory. 
Version 1.0.13 Interim version 
Version 1.0.14 A TRAP D encountered. This is solved. 
               Removed FASTService support. It does not work correctly in 
               all REXX environments. 
Version 1.0.15 Interim version 
Version 1.0.18 Many Interim versions, each solving problems reported 
Version 2.0.0  Added support for IBM LAN Server 4.0 into the DLL. The DLL 
               was renamed and the following functions where renamed: 

               LS30UT.DLL           LSRXUT.DLL
               -----------------    -----------------
               LoadLs30utFuncs()    LoadLsRxutFuncs()
               LsRx30Ver()          LsRxutVer()
               DropLs30utFuncs()    DropLsRxutFuncs()
               
               
               
               The following list is a incomplete list of additional 
               functions added or functions modified: 

               NetAdd(NETMESSAGENAME)        New function
               NetAdd(NETUSER2)              New function
               NetDelete(NETAPPSEL)          New function
               NetDelete(NETLOGONASN)        New function
               NetDelete(NETMESSAGENAME)     New function
               NetEnumerate(NETAPP)          Added a type parameter for the enumeration
               NetGetInfo(NETMESSAGELOGFILE) New function
               NetMisc(NETACCESSAPPLY)       New function. This is only for LS40
               NetMisc(NETACCESSCHECK)       New function
               NetMisc(NETMESSAGEBUFFERSEND) New function
               NetMisc(NETMESSAGEFILESEND)   New function
               NetMisc(NETMESSAGENAMEFWD)    New function
               NetMisc(NETMESSAGENAMEUNFWD)  New function
               NetMisc(NETREMOTECOPY)        New function
               NetMisc(NETREMOTEMOVE)        New function
               NetMisc(NETREMOTETOD)         New function
               NetMisc(NETSERVERADMINCMD)    New function
               NetMisc(NETUSERDCDBINIT)      New function
               NetMisc(NETUSERVALIDATE2)     New function
               
               NetSetInfo(NETALIAS) Can now change the server location of the
                                    resource. This is only for LS40
               
               NetSetInfo(NETGROUPUSERS)     New function
               NetSetInfo(NETMESSAGELOGFILE) New function
               NetSetInfo(NETUSER)           Added more options
               NetSetInfo(NETUSERGROUPS)     New function
               NetSetInfo(NETUSERMODALS)     New function
               NetSetInfo(NETSERVERMODALS)   New function
               
               Added NetDASD support for the 4.0 version of the DLL
               
               
               The control variables returning the value '-none-' has been 
               changed for many of the functions. Please check with the 
               function documentation if you have procedures based on the 
               old version of the DLL. The source code was partially 
               cleaned up to reduce the DLL size. 
Version 2.0.1  We decided to add the error logging functions into the DLL. 
               Also the following functions were added: 

               NetMisc(NETAUDITLOGREAD)      Read from audit log file
               NetMisc(NETGETDCNAME)         Get domain controller name
               
               
               For some of the enumerate functions we added support to 
               return as many entries as possible. This can be checked by 
               the variable totalentries which in some cases is not 
               identical to the number of entries returned. Also, a 
               overrun condition in a control variable was not handled 
               correctly in the enumerate functions. 
               The user account flags have been changed for 
               NetAdd(NETUSER2), NetGetInfo(NETUSER) and 
               NetSetInfo(NETUSER). 

Inf-HTML End Run - Successful