NOVELL TECHNICAL INFORMATION DOCUMENT TITLE: NWFTPD.NLM - Final update for NetWare 6.0 SP5 TID #: 2972532 README FOR: n60nwftpd.exe NOVELL PRODUCTS and VERSIONS: UNIX Connectivity NetWare FTP Server - NW6 ABSTRACT: NWFTPD.NLM v5.05, January 6, 2005 contains a number of enhancements and fixes beyond what was in NetWare 6.0 SP5. See the 'issue' section for details. This supercedes the updates from NWFTPD10.EXE (NWFTPD.NLM 5.04.25, Oct 19, 2004). Two new abend fixes are the only changes. This update is for NetWare 6.0 SP5, and is the last NWFTPD.NLM update supported on that platform, which is no longer receiving maintenance. NetWare 5.1 already contains the same final update in NW 5.1 SP8. NetWare 6.5 SP3 already contains this update as well, and newer updates are available for that platform through subsequent support packs or other downloads. NetWare FTP Server must previously have been installed from the NetWare CD, to supply other FTP components. ----------------------------------------------------------------- DISCLAIMER THE ORIGIN OF THIS INFORMATION MAY BE INTERNAL OR EXTERNAL TO NOVELL. NOVELL MAKES ALL REASONABLE EFFORTS TO VERIFY THIS INFORMATION. HOWEVER, THE INFORMATION PROVIDED IN THIS DOCUMENT IS FOR YOUR INFORMATION ONLY. NOVELL MAKES NO EXPLICIT OR IMPLIED CLAIMS TO THE VALIDITY OF THIS INFORMATION. ----------------------------------------------------------------- INSTALLATION INSTRUCTIONS: 1. Rename the existing SYS:SYSTEM\NWFTPD.NLM. 2. This download contains a directory named N60NWFTPD. Copy the subdirectories from within N60NWFTPD\ to the root of SYS. These subdirectories (system and etc) already exist on SYS, so the object of this operation is to merge the contents of these sub-directories into the existing, matching directory structure. If prompted, allow files of the same name to be overwritten. 3. At the NetWare system console, load FTPUPGRD.NLM. It will insure the SYS:ETC\FTPSERV.CFG is correctly modified for the new available features. 4. UNLOAD NWFTPD 5. LOAD NWFTPD ISSUE: N60NWFTPD.EXE provides an updated FTP Server, NWFTPD.NLM 5.05, January 6, 2005. The history of NWFTPD changes over the previous 16 months is documented below. For a full history of NWFTPD.NLM changes, see TID 10060768, also known as Solution NOVL41172. Most recent fixes: Fix for DEFECT000382749: Abend in ResumeThread API. Invalid thread handle passed. Fix for DEFECT000398218: Double Page Fault abends caused by running out of stack space in NWFTPD. Doubled the stack size to accomodate. Other changes, previously included in NWFTPD10.EXE (NWFTPD v5.04.25): FIX for DEFECT500370012: Removed trailing slash from PWD and CWD responses when at the root of a volume. Previous response of "/vol1/" was not consistent with response in a sub-directory, "/vol1/dir1" FIX for DEFECT000383564: The ability to rename a file to a different path (effectively moving it) was restored. This ability had been broken in v5.04.20, May 25, 2004. MODIFIED FEATURE: Changed the error message when failing to overwrite a read-only file from "File exists with Read access" to "Failed: File is Read-Only" MODIFIED FEATURE: Information from FTPSTAT.NLM is now provided over a secure connection and is only available in iManager. This change is only for NetWare 6.5. Older versions of NetWare should not use the FTPSTAT update. FIX for DEFECT500368598: Delays in closing DS connections were holding FTP connections open longer than necessary, causing the max FTP sessions allowed to be reached prematurely on heavily used FTP servers. The order was changed so the FTP session is closed before the DS connection is closed. MODIFIED FEATURE: Restored the feature of accepting multiple slashes within a path, and treating them as 1 slash. For example, /vol/dir1////dir2 is treated as /vol/dir1/dir2. NOTE: Beginning a path with 2 slashes is always treated as indicating a server name. I.E. CD //SERVER/Vol1/dir MODIFIED FEATURE: Changed PSEUDO_PERMISSIONS parameter to PSEUDO_SERVER_FLAG to support multiple Unix-related options. This setting (a decimal number) is converted to binary and each bit represents an optional behavior. Currently there are only 2 flags that can be used, so the decimal value must be within 0 - 3 (inclusive). In binary, the least-significant bit (right-most bit) represents whether Unix permissions will be shown is a dir (LIST) response. 1 means Unix permissions are shown; 0 means the default NetWare owner trustee rights are shown. The 2nd bit from the right represents whether Unix will be reported as the system type. 1 means the reply to the SYST command will be "UNIX Type: L8" 0 means the default of "NETWARE Type : L8" will be used. So in decimal, 1 represents Unix-style permissions; 2 represents Unix system type; and adding both together (3) means both features are active. Running FTPUPGRD.NLM will automatically update the FTPSERV.CFG file to add this setting and convert the old PSEUDO_PERMISSIONS value to the appropriate decimal value. NEW FEATURE (unsupported): Added a new parameter, DISABLE_PATH_DIR_LISTING. Normally, if a user includes a path on a ls or dir command, the files listed in the response are prefixed with that path. This allows operations like mget to succeed when a path to the files is specified. If this new parameter is turned on, the path will not be included in the response, and some FTP operations may fail. This setting will only be available within the FTPSERV.CFG file, not within the NetWare 6.5 iManager interface. FIX for DEFECT000374943: Address_Range restrictions in FTPREST.TXT involving nested ranges were failing. Other changes, already included in NetWare 6.0 SP5 and NetWare 6.5 SP2 (NWFTPD.NLM 5.04.20, May 25, 2004). FIX for DEFECT500367363: Data Connections are now initiated from port L-1 (control port minus 1). Previously port 20 was used for active data connections even if control port was set to something other than the default of 21. FIX for DEFECT500272228: KeepAlive option was only watching control connections. Now it also watches data connections. FIX for DEFECT000353990: March 19, 2004 - Corrected the PWD response, which was leaving out the volume name if the GUEST restriction was in force. (Only relevant if the volume was considered underneath the home directory, i.e. DEFAULT_USER_HOME=\ ). May 25, 2004: Corrected side effect of March 19th change: Hided the true path to the anonymou user's home directory. NEW FEATURE: NWFTPD will sense whether it is running on NetWare 5.1 and avoid using 64 bit reads and writes accordingly. This allows the same NLM to function on both NetWare 5.1 and 6.x. (There was a period from November 2003 to March 2004 where NetWare 5.1 could not receive the current NWFTPD.NLM updates.) Other changes, already included in NetWare 6.0 SP4 and NetWare 6.5 SP1 (NWFTPD.NLM late November, 2003). FIX for DEFECT500350446: Previously the system console could hang when unloading NWFTPD.NLM if 1000 active ftp sessions were present. FIX for DEFECT000353973: Prevents an ABEND due to buffer overflow, when pushing over 1024 characters into username or password. NEW FEATURE: FTP server now supports the storage or retrieval of files larger than 4 Gigabytes. This feature is only for file transfers, not displaying file sizes in directory lists. This feature requires NetWare 6.0 or higher. MODIFIED FEATURE: Minor improvement to message given for the opening of a data connection. MODIFIED FEATURE: Stopped accepting multiple sequential slashes within paths. I.E. get dir1////dir2/file1.txt will now return "invalid path." NOTE: this change was temporary, previous behavior was later returned to accept multiple slashes within a path and treat them as 1 slash. NOTE: Beginning a path with 2 slashes is always treated as indicating a server name. I.E. CD //SERVER/Vol1/dir MODIFIED FEATURE: Paramter DISABLE_SITE_CMDS was re-introduced. Controls whether the SITE command can executed. FIX for DEFECT000338587: Added support for extended characters in passwords. FIX for DEFECT100309544: FTP restrictions could fail if login name was a relative name (no leading dot) and had a trailing dot (i.e. user.container. ). FIX for DEFECT500287422: Domain name login restrictions were not coming into effect. FIX for DEFECT000349126: Use of SEARCH_LIST could cause NWFTPD to locate a user object in a context other than that specified by a FDN login attempt. FIX for DEFECT000349127: FTP restrictions could fail depending on bindery context setting. FIX for DEFECT000349295: Corrected a problem with dynamically learning of changes to the FTP restrictions file. (Default FTPREST.TXT). FIX for DEFECT500289807: Previously, if an NWFTPD -A operation was not completed, an attempt to unload NWFTPD would hang the server console. FIX for DEFECT100275271: PWD response now shows correct case of directory names, instead of all lower-case. Self-Extracting File Name: n60nwftpd.exe Files Included Size Date Time ..\ N60NWFTPD.TXT (This file) ..\N60NWFTPD\ ..\N60NWFTPD\ETC\ FTPREST.NEW 3392 7-31-2003 5:41:58 pm FTPSERV.NEW 7874 9-10-2004 1:25:38 pm ..\N60NWFTPD\SYSTEM\ FTPIF.NLM 3077 7-28-2004 12:44:30 pm FTPUPGRD.NLM 26609 10-19-2004 11:11:24 am NWFTPD.NLM 177747 1-6-2005 6:41:52 am ..\N60NWFTPD\SYSTEM\NFSFTP\ JNFSFTP.JAR 24830 7-28-2004 1:19:54 pm ..\N60NWFTPD\SYSTEM\NLS\ ..\N60NWFTPD\SYSTEM\NLS\4\ FTPSTAT.MSG 2647 7-13-2004 10:23:08 am FTPUPGRD.MSG 493 10-29-2003 3:06:50 pm NWFTPD.MSG 6851 2-20-2004 10:27:00 am ----------------------------------------------------------------- Any trademarks referenced in this document are the property of their respective owners. Consult your product manuals for complete trademark information. -----------------------------------------------------------------