21-Apr-2001 J. malmberg Preliminary analysis of SAMBA 2.0.8 for UNIX. Changed files where an OpenVMS specific variant exists: [.include]proto.h The OpenVMS version had a bugfix that is now incorporated in the new file. New routines have been added. The OpenVMS version should be set to /NOREF to remove it from the build. [.client]client.c The new file needs an edit for a prompt. OpenVMS uses Control-Z for end of file, and UNIX uses Control-D by default. Note while OpenVMS is coded this way in the driver, it appears that this can be changed for some versions of UNIX like operating system. This is also an issue with SAMBA 2.2.0 [.lib]interface.c The OpenVMS version has a bug fix needed to prevent an access violation in some cases. This bug fix apparently did not make it into the 2.0.7 or 2.0.8 releases. It does not appear to be fixed in SAMBA 2.2.0 [.lib]smbrun.c The OpenVMS version has a bug fix that is needed to compile it if certain compile options are set. This fix did is *NOT* in the 2.0.8 UNIX version. In the 2.2.0 version, the code that OpenVMS requires has been removed. [.lib]util.c The OpenVMS version had a bug fix that is now in the many changes in 2.0.8 UNIX version. [.lib]util_sid.c The OpenVMS version had a bug fix that is now in the 2.0.8 UNIX version. [.passdb]passdb.c The OpenVMS version needs a change, as OpenVMS can only lock sections of a file that exists. The 2.0.8 Unix version has a new routine. This change can be probably be eliminated with an internal change to FRONTPORT. [.rpcclient]cmd_lsarpc.c The OpenVMS version had a bug fix that is now in the 2.0.8 UNIX version. [.rpc_server]srv_lsa_hnd.c The OpenVMS version had a bug fix that is now in the 2.0.8 UNIX version. [.smbd]connection.c The OpenVMS version has a change to allow running the SMBD multiple times in an interactive session. The 2.0.8 Unix version has UTMP code, which needs to be mapped to $SNDACC calls, or compiled out. [.smbd]open.c The OpenVMS version has a change to open files READONLY that were requested readonly. [.smbd]reply.c The OpenVMS version has a DEBUGGING enhancement that is *NOT* in the many changed in 2.0.8 UNIX version. [.smbwrapper]shared.c The OpenVMS version had a bug fix that is *NOT* in the changes in 2.0.8 UNIX version. [.utils]make_smbcodepage.c The OpenVMS version has some casts needed to get it to compile with DEC C. This fix is not in the 2.0.8 UNIX version. ------------------------------------------------------------------------ 12-May-2001 J. Malmberg Started the build of SAMBA-VMS 2.0.8, chosen as a first step instead of 2.2.0 as the changes are less. 2.2.0 will require porting Andrew Trigdell's TDB program. A lot of work in cleaning up the 2.0.6 to make the porting easier: 1. Change to have CONFIG.H generated from config.h.in file. 2. Change to use more generic porting logical names. 3. Change Now using Compaq C with /WARN=ENABLE=(LEVEL4,QUESTCODE) Quite a few informational messages needed to be suppressed. Also in LOADPARM, it is using "struct stat" instead of "smb_stat_st". Fixed FRONTPORT.H to now be tolerant of that by putting the casts in the macro for stat() and fstat(). Still have some bugs in the CONFIG_H.COM procedure that generates the CONFIG.H file. Hand changes are now in CONFIG_VMS.H. Now there are 22 undefined symbols in lib.exe. Need to put the fix from the old connection.c to the new one. New module talloc.c file_size() is now get_file_size() 13-May-2001 J. Malmberg fchmod() implicitly described in function PRJ_PASSDB:SMBPASS. Something needed for frontport. If fstat() is set to know about the fake file extensions for fcntl() locking, a VMS specific patch can be removed. LIBSMB failing the link with undefined symbol GLOBAL_SCOPE. SMBD has 18 undefined symbols. 15-May-2001 J. Malmberg The MMS file is now working. Rebuilding the world to a log file. PWD_CACHE.C was not updated, but the build seems to be continuing.