Build/install procedure for SAMBA 2.2.12. Based on the documentation at: www.pi-net.dyndns.org/anonymous/jyc Samba 2.2.12 for OpenVMS 8.2 (And possibly earlier) This version is a merge of the SAMBA 2.2.12 from http://www.samba.org, and the 2.2.8 release from Jean-Yves Collot. It contains updates for I64 and OpenVMS 8.2 EFT. This software has not been extensively tested, so use at your own risk. At this time it has only been built on OpenVMS Alpha 8.2 EFT. You may need to apply fixes to get it to build on older versions of OpenVMS. Only a .ZIP of the source kit has been provided to save space. There is no backup save set in it, but otherwise the instructions from Jean-Yves Collot generally apply. This kit is intended for people who can provide their own support to help get them started learning SAMBA. 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 : Modification history 31-Oct-2004 1. OpenVMS 8.2 Alpha and IA64 updates. Some tests for 8.2 features may not work on some older OpenVMS releases with out code changes. It has been shown not to compile on OpenVMS VAX 7.2. 2. Attempting to debug at level 5 or higher would result in a infinite recursion until the stack is exhausted. This has been fixed. 3. strcpy was used in several places to move overlapping sections of a string. This is documented as to cause undefined behavior, and showed up as causing a corrupted stack during debug. Replaced all occurrences that I found of this with memmove() instructions. 4. Out of memory conditions from realloc() calls were not being detected, resulting in the SMBD process crashing with an access violation. Added messages to write the error condition to the log and then exit SMBD. 5. Larger memory allocation sizes used for the "stat cache" to reduce memory pool fragmentation, which could result in running out of memory even though there still was plenty available. 6. Bug fixes from Jean-Yves Collot not yet in the October 2.2.8 kit: * Improved ODS-5 detection. * Improved text file handling. * Improved speed for transfering large files. 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 * 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 * 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 * 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.COM 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.