Samba  2.2.8 for OpenVMS  If you want to be  up-to-date about Samba/VMS, you can subscribe to the samba-vms mailing list  at http://lists.samba.org/listinfo/samba-vms       Note :     -          The kits can be downloaded from the list at the bottom of this page.   -          The kits are named SAMBA-2_2_8-specific-buildnumber.zip   -          The specific part means :   o       OBJ    : Objects files for Alpha/VMS .   o       OBJ-VAX : Objects files for  VAX/VMS.   o       SRC : Sources and procedures,  Alpha/VMS and VAX/VMS versions.   -          The buildnumber part will be  formed with the release date (i.e. 20040908 for the 08-SEP-2004). There will never exist more  than one kit per day       Depending  upon your version of VMS and/or of the patch level of your DECC run-time  library, you may need snprintf.zip if you encounter DECC$GXSNPRINTF and  DECC$GXVSNPRINTF undefined symbols at link time. The zip file will give you a  SNPRINTF.OBJ file that you’ll have to insert in the SAMBA.OLB library before  linking.       For information for  installing Samba on a VMS server, see the Installation  paragraph below.    Please check the Prerequisite information too.   Modification history  17-Aug-2005  ·         Remove  the 1022 bytes length limitation for variable record files.   31-Mar-2005  Sorry, there is no VAX  distribution for that version : I have no more VAXes for compiling.  ·         Fix an  error when getting total/free size of the disk on ODS-5 structure  01-Feb-2005  ·         Warning : If upgrading from a previous version,  please delete SAMBA_ROOT:[VAR.LOCKS]*LOCK*.TDB;* before restarting Samba.  ·         Special  processing for the case of existence of both XXX. And XXX.DIR files. The XXX.  file is now hidden, so the [.XXX] subdirectory can be normally accessed.  ·         Fix for  access authorization problems from Outlook when McAfee Antivirus is present  on the client.  ·         Fix for  SMBD loop when trace level is over 5 and trace output is redirected to SYS$OUTPUT  ·         Fixes  in the processing of file interlocks. Actually, interlocks never worked in  prior Samba/VMS versions (for example, the same Excel or Word file could be  opened for modifications simultaneously on several clients). In addition,  there were occasional failures when deleting files.  21-Oct-2004  ·         The  “VMS73” specific kits disappear. They are replaced by two different sets of  procedures in a unique kit. In the [VMS] subdirectory:  1.      BUILD.COM, COMPILE.COM and LINK.COM generate a  Samba/VMS “standard version”  2.      BUILD73, COMPILE73.COM and LINK73.COM generate a  Samba/VMS supporting big files, but needing VMS 7.3-1 or later.  ·          The ODS-5 support has been fixed in order to  give the possibility of creating directories with embedded dots in their  names (i.e. SAMBA.LAST.VERSION.DIR). This feature works only on ODS-5 disks.  ·         A  shutdown procedure has been added to SYS$STARTUP: SAMBA_SHUTDOWN.COM (Thanks  to Rod   Regier).  ·         Another  memory leak has been fixed, it could make SMBD loop and/or create lots of  BROWSE.DAT_NEW files in the SAMBA_ROOT:[VAR.LOCKS] directory  ·         Hard-to-reproduce  variable-record files problems has been fixed, including files erroneously  seen as empty, and disappearing lines or part of lines.  08-Sep-2004  -          Beginning with this release, there is a new policy of naming the kit  files. See above for details.   -          A new “VMS Record Format” share parameter has been added. It defines  the RMS record type of the files created by Samba, i.e. the way VMS will see those  files. The default is “stream”, but it can be forced to “stream_lf”. Support  of this parameter has been added in SWAT, at the end of the Miscellaneous  Options (Advanced View).   -          A procedure MAKE_SAMBA_GUEST_ACCOUNT.COM has been added in the [BIN]  area. It creates a Samba “Guest” account named SAMBA__GUEST (taken from  Samba/VMS 2.0.6, thanks to John E. Malmberg)   -          A procedure SAMBA_COMMANDS.COM has been added in the [BIN] area. It  creates DCL symbols for a easier way of using the Samba utilities. (thanks to  John E. Malmberg too)   -          The template SMB.CONF has been reviewed to be compatible with version  2.2.8. It gives an example of a VMS server within a Windows Domain.   -          The default debug level of some utilities (SMBCLIENT,NMBLOOKUP) has  been reset to 0   -          An erroneous message in the sub-feature of sending messages with  SMBCLIENT has been corrected.   -          The code has been checked in order to remove the /STANDARD=VAXC  compiler option, and to remove irrelevant warnings and informations.    9-Aug-2004, Another  Variable-length/VFC fix  Fixed  problem when accessing VFC or Variable-length files with some specific  products (Word, Visual SlickEdit, …)   26-Jul-2004, VFC files  Fix  Fixed  problems when accessing VFC or Variable-length files containing a mix of text  and binary records.   Fixed  NMBD memory consumption   21-Jun-2004, Unrelsolved  symbols at Link Time  When  linking Samba on old VMS versions, you may encounter the following errors :   %LINK-W-NUDFSYMS,  2 undefined symbols:   %LINK-I-UDFSYM,         DECC$GXSNPRINTF   %LINK-I-UDFSYM,         DECC$GXVSNPRINTF   To resolve this issue,  first try to download and install the latest DECC RTL patches from HP.   If it does not work,  download from here the file snprintf.zip. This file contains a zipped .OBJ  file that you can add to the SAMBA.OLB object library before linking.    10-May-2004, smbpasswd  fixes  Adding and deleting users in the  smbpasswd file did not work correctly (smbpasswd -a and –x features).  16-Apr-2004, Support of  Big Files  If you use VMS 7.3-1 or later  (Alpha only) , with DECC RTL support of big files (“big” meaning larger than  2 GigaBytes), you can now use the samba-2_2_8-vms73-src and  samba-2_2_8-vms73-obj kits.  Please note that it works  only on Alpha, with VMS 7.3-1 or later. Except the “big” files support,  this kit has no other feature than the standard one.  29-Sep-2003, New Version  ·         Changes  in the previous version introduced a bug in the file name encoding, and it  was impossible to create files with blanks in the name, to save from Word or  Excel, etc…  ·         SMB.CONF  Parameters now defaults to “oplocks=no” and “level2 oplocks=no”  ·         Fix in  smbpasswd (it was impossible to delete a user)  ·         Enhancements  in the “readline” routine used by the Samba client programs(thanks to Dave Jones)   07-Aug-2003, New Version  Some small fixes and  enhancements :   -          Fix of NMBD not starting (unable to write NMBD.PID file)   -          Fix of access to Fortran-Carriage-Control Variable-Record files from  Notepad, Wordpad and so on   -          Fix for access of variable-record files from third party software (PowerGrep,  Slick Edit, …)   -          Fix for privileges (CMKRNL) needed without reason in smbpasswd and  other utilities   -          The Link procedure now supports both VAX and ALPHA hardware   28-Apr-2003, New Version  The biggest change is that  this version does not use the F11$POSIX_FASTRDSEQNOS undocumented routine  anymore. It uses exactly the same method, but all has been re-written in C,  so VAX and ALPHA versions are now the same. Because the method itself takes  advantage of some locks used by the XQP subsystem, this new code has been  separated in a new C source file named VMS_TRICKS.C, which includes comments  explaining how it works. A full “documentation” of the XQP internal behaviour  and lock manager usage can be found in a book named “VMS File System  Internals” (Digital Press 1990). It seems that an updated version of this  book will be published at the end of 2003.   In addition, all the  problems that were submitted to me via the samba-vms mailing list since the  last version have been fixed:   -          Error messages from GETDVI when running in VMS 7.3 or 7.3-1   -          Correct read of Variable-Record files from Linux client   -          Smbcontrol sending commands to nmbd process   -          Smbstatus display of client’s IP address   -          Fix concerning “valid list”, “write list” and VMS groups   -          SMBD loops when high debug level selected   Some enhancements have  been given to INSTALL.COM and to other procedures by Alan B. Hunt. Thanks a  lot.   27-Mar-2003, New 2.2.8  Version  Integration of changes  from the Unix Version to be up-to-date to 2.2.8   Specific VMS fixes :   -          File date/time display (there was an GMT/localtime difference)   -          Fix of SMBD crash when sharing a disk at master directory (000000)  level   -          Fix of unexpected changes of files from VARIABLE to STREAM structure,  and of unexpected changes in the modification date.   -          Automatic creation of TDB indexed files when needed (thanks to Dave Jones). INIT_TDB.COM procedure is no  more needed.   In addition, note that the VAX  version needs VAXY2K01_071 and  VAXACRT10_071 patches to run correctly in version VAX/VMS 7.1       10-Mar-2003, New Version  Performance enhancements  : the TDB processing routines has been rewritten for VMS, and now use Indexed  RMS Files. A new procedure (INIT_TDB.COM) is provided in SAMBA_ROOT:[BIN] for  creating a new TDB file. If you used  the DOMAIN security mode with a previous release, you’ll have to join the  Windows domain again after installing this version (smbpasswd –j …)   Enhancements in  processing of memory cache validity   Some problems/bugs fixed  (incorrect checking of passwords, …)   23-Jan-2003, New Version  Support for ODS-5  volumes, starting with VMS version 7.2-1. You'll need the last ACRTL patch to  make it work properly. Check at http://ftp.support.compaq.com/patches/.new/openvms.shtml for your current system.   Some (minor) problems  fixed.    2-Jan-2003, First 2.2.7a Version  Upgrade from 2.2.4 to  2.2.7a from the original SAMBA/Unix source, with integration of VMS  specifics. Documentation on this page has been updated accordingly.   More performances  enhancements and some bug fixes.   17-Dec-2002, new  version, last 2.2.4 version  Performances enhancements  by caching file information.   3-Oct-2002, new version  Bug fixes.   Added identifier SAMBA_ROOT. Makes users holding it considered as  "root" by Samba. Installation procedure grants it to SYSTEM user.   This file updated (installation procedure)    26-Sep-2002, new version  Bugfix version.    19-Sep-2002, new version  Add a forgotten fix into  CGI.C.    18-Sep-2002, new version  Various corrections.    12-Sep-2002, new version  Optimisation version.    VAX objects kit.    10-Sep-2002, new version  3-Sep-2002, new kit and installation  procedure  Prerequisites     - Open VMS version 7.1 or later for       « standard » version
    - OpenVMS version 7.3-1 or later for version       supporting “big” files (over 2 Gbytes).
    - Compaq TCP/IP Services for OpenVMS       version 5.0 ECO 1 or later 
    - to compile from sources, DECC Compiler       version 6.5 or later 
      Installation     - Download the kit containing the source       part (-SRC) 
    - Unzip the zip file which extract a .BCK       file of the same name.
        example : unzip "-V" samba-2_2_8-src-001.zip     - explode that BCK file 
        backup samba-2_2_8-src-001.bck/sav/sel=[samba-2_2_8-src...]       dev:[dir...]         where dev:[dir] is the directory where you want to put the kit.     - If you don't have a C compiler 
        - Donwnload also the needed (Alpha or        VAX) object kit (-OBJ). 
     - unzip that file will give a .BCK file        of the same name 
         example : unzip "-V" samba-2_2_8-obj.zip      - explode that BCK file 
         backup samba-2_2_8-obj.bck/sav/sel=[samba-2_2_8-src...] dev:[dir...]                 where dev:[dir] is the directory where you have extract the kit.         - go to directory dev:[dir.source.vms] 
        set default dev:[dir.source.vms]         where dev:[dir] is the directory where you have extract the kit.     - If you want to rebuild from source: 
        @build will build the “standard” version        @build73 will build the “bigfile” version for VMS7.3-1 or later    - Note that, depending upon your version       of the DECC compiler,  recompiling       Samba may give you lots of compile and link messages or even fail.
    - If you just want to relink and have       restored the objects files: 
        @link will build the “standard” version        @link73 will build the “bigfile” version for VMS7.3-1 or later    - If you encounter “Undefined Symbols”       errors at link time, please read the information here.       
    - Then, you can execute the installation       procedure, located in the same subdirectory (dev:[dir.source.vms]): 
        @install     - Before running this installation       procedure, please stop all SAMBA processes that could be currently       running on your system. Those processes are named NMBD,       SMBD* and SWAT*
    - This procedure generates a       SAMBA_STARTUP.COM procedure in SYS$STARTUP: SAMBA_STARTUP.C OM must be       executed during the boot procedure.
        It also creates a new SAMBA_ROOT identifier and grants it to the SYSTEM user.     - Optionally, you can delete the directory       containing the kit. 
       |