1.9.17p4-VMS-2		28-Sep-1998

	[.VMS]STM_READ.C

	- somewhat better error handling if a DEC RTL read() fails.

	[.VMS]STAT.C

	- use FID word 1 and 3 for ino member (instead of word 1 and 2).

	[.VMS]STAT.C

	- use VMS logical SAMBA_SWAP_FILE_TIMES
	  If present, swap VMS Creation Time and VMS Modification Time
	  when presenting them to the client.

	[.VMS]VMS_SUP.C

	- mkdir(): use VMS logical SAMBA_ALTERNATE_DIRECTORY_PROTECTION.
	  If present, ignore VMS directory protection policy and
	  unconditionally use samba specific settings from SMB.CONF
	  This allows directories created with Delete-bit set.

	[.VMS]STM_READ.C

	- Fixed bug in STM_READ where calculating fill byte size, which
	  prevented on-the-fly-conversion of big VAR/CC files (thanks to
	  Wolfgang Moeller <moeller@gwdg.de>).

	[.VMS]SMBD_STARTUP.COM

	- Added a line "$ set rms_default/extend_quantity=10000" to
	  speed up disk space allocation for big files (thanks to
	  Ken.Woloschuk@sasktel.sk.ca).

	[.VMS]DESCRIP.MMS

	- Added a line just containing ".SUFFIXES" before the .SUFFIXES
	  declaration to fix a small incompatiblility between MMS and MMK
	  (thanks to Martin.J.Pensak@usa.dupont.com).

	[.VMS]POSIXTIM.C

	- Added test for logical SYS$TIMEZONE_RULE which seems the
	  correct name on newer VMS systems. SYS$TIME_ZONERULE is
	  still checked (first).

	[.VMS]TIME_ZONERULE.TXT renamed to [.VMS]TIMEZONE_RULE.TXT

	- Replaced SYS$TIME_ZONERULE with SYS$TIMEZONE_RULE.

	[.VMS]VMS_DIR.C

	- Removes a single dot from the end of any filename to conform
	  the clients' behaviour.

	[.VMS]VMS_SUP.C

	- vms_rename: When a file is renamed to a file name with an empty
	  file type, a dot is appended to prevent the VMS rename to use
	  a default file type from the old file name.

1.9.17p4-VMS-1		15-Nov-1997

	SERVER.C

	- Completly disable the code which always opens a file in read/write
	  mode. It's useless anyway since it was invented because of a
	  "misfeature" of UNIX fcntl(), which is not available on VMS anyway.

	LOADPARM.C

	- Let lp_share_modes() always return FALSE, since share modes do
	  not work correctly on VMS.

	[.VMS]LINK.COM

	- fixed missing ENDIF

	My distribution procedures

	- fixed typo which prevents SAMBA_STARTUP1.COM to be included
	  in the kits.

	SMB.H

	- Changed struct file_info to define element name as char [512].
	  pstring makes the struct too long for VAX/VMS, since the struct
	  is passed by value sometimes (I consider this a bug in the original
	  code).

1.9.16p11-VMS-1		08-Apr-1997

	All source files now have a file type of STREAM (and therfore
	may be unpacked on a DOS/Windows system).

	Add call to vms_make_name() to fopen() and open(). This
	eleminates VMS specific changes at various places to handle
	forbidden filenames like 'status..lock'.

	INCLUDES.H

	- F_GETLK at al were defined to be 0 if HAVE_FCNTL_LOCK is not
	  defined. Change to redefine only if F_GETLK is not already
	  defined. Used for the workaround below, but should be included
	  in generic Samba.

	UTIL.C

	- A small change to fcntl_lock() as a workaround for locking.
	  Setting a lock now always succeed, asking for a lock always
	  returns no lock. Maybe eventually Digital will implement
	  fcntl() into the DEC-C runtime - or someone writes an emulation.
	  In spite of this, the samba internal locking mechanisms *do* work
	  now.

	[.VMS]VMS1.H

	- Added definition of mkdir() -> vms_mkdir() (see [.VMS]VMS_SUP.C)

	- Added definition of delete() -> vms_delete() (see [.VMS]VMS_SUP.C)

	[.VMS]VMS2.H

	- Changed definition of chmod() to use VMSMakeFilename() instead
	  of just vms_make_name() to allow modifying directory files
	  (DEC-C chmod() doesn't like dir-files in UNIX file syntax).

	- Removed definition of mkdir().

	- Removed definition of unlink().

	[.VMS]STATUS.C

	- smbstatus now may show username and group as text. Done by
	  implementing the routines getpwuid() and getgrgid().

	- smbstatus displays the pid in hex now.

	[.VMS]PRIV.C

	- Implemented getpwuid() - Get user from UID. This is done by
	  assuming the UID to be the VMS UIC and that there is an
	  VMS identifier with the name of the user and the value of the UIC.
	  This is the normal case. If not, returns NULL.

	[.VMS]GET.C

	- Implemented getgrgid() - Get group name from GID. This is done
	  by assuming that there is a group identifier [group,-1] (or
	  hex ggggFFFF, e.g. [7,-1] is 0007FFFF) with the name of the group.
	  If no identifier found, returns NULL.
	
	[.VMS]VMS_SUP.C

	- Added vms_mkdir(). Used Juergen Burkhard's code but changed
	  it to unconditionally create the directory with parent directory
	  protection to make the new directory VMS conform. This means,
	  the D bit is never set!
	  Note that dots are still *not* allowed in directory names.

	- Added vms_delete(). Code also from Juergen Burkhard. This
	  routine deletes *all* versions of a file.

	- Moved vms_rename() here.

	- Corrections to vms_rename() so that it works for renaming
	  directories (thanks to Juergen Burkhard).
	  Note that dots are still *not* allowed in directory names.

	[.VMS]BUILD.COM

	- Fixed bug with missing symbol 'dir'.

	[.VMS]PRIV.C

	- Fixed bug which prevented connect to an account with a home
	  directory other than simply DEV:[DIR]. Now decc$translate_vms()
	  is used to convert from VMS filespec to UNIX style filespec.

	[.VMS]STM_READ.C, SERVER.C, PRINTING.C, REPLY.C

	- Special print file attributes are no longer done in SERVER.C.
	  Instead we use an undefined flag bit to pass this information
	  to stm_open() (yes, that *is* a hack...).

	[.VMS]STM_READ.C

	- Add compiler choice to fill var length file either with NUL
	  (current behaviour) or with CONTROL/Z (now the default).

	[.VMS]SETUID.C

	- More privilege/identifier fiddling. I think, identifiers with
	  resource attribute were not revoked before. This could explain
	  strange access right behaviour.
	  Note that SMBD will always change itself to run under the
	  SYSTEM account if the starting account has enough privileges.

	- [.VMS]STAT.C

	  Quick and very dirty hack to allow operations on files which
	  are protected by the standard mechanism (SYSTEM,OWNER,GROUP,WORLD -
	  those are reported to the client by stat()) but would allow
	  access via ACL's (which the client does not know). We simply
	  lie about the standard bits and always return writable. Next,
	  the client can at least *try* the operation. Then VMS security
	  will reject or accept.
	  Everyone is invited to contribute the code to make stat() check
	  the full VMS security (which is probably slow...).
	  And we'll have to check how UNIX systems capable of ACL's handle
	  this.

	  The result is, that the DOS READONLY bit is never set with a
	  writable service.

	- [.VMS]TCP.C

	  Remove all SOCKETSHR stuff and use UCX' socket library. In fact
	  this file only contains fcntl() now.

1.9.16p2-VMS-4		01-Nov-1996

	This update contains changes to the command procedures to
	support TCPware. New file [.VMS]SMBD_SETUP_TCPWARE.COM.
	(Thanks to Bernie Volz).

	[.VMS]SMBD_STARTUP.COM, [.VMS]NMBD_STARTUP.COM

	- Include workaround to use MultiNet and TCPware in UCX mode even when
	  SOCKETSHR is installed for native support.

1.9.16p2-VMS-3		18-Oct-1996

	This update contains only changes to the command procedures.

	Support for MultiNet. UCX compatibility mode must be enabled.
	Added SMBD_SETUP_MULTINET.COM (Thanks to Aaron Leonard).

	[.VMS]INSTALL.COM, [.VMS]SAMBA_STARTUP.COM

	- The command procedure call to SMBD_SETUP_{UCX|MULTINET}.COM
	  is moved from SAMBA_STARTUP.COM to INSTALL.COM since we don't
	  need to call it at every samba startup.

	[.VMS]INSTALL.COM

	- Ask for the temporary directory. Stored in SAMBA_TMPDIR.

	- Set various file and directory protections.

	[.VMS]SMBD_STARTUP.COM

	- Use SAMBA_TMPDIR to setup a temporary directory for SMBD
	
	- Remove definition of SYS$OUTPUT. The file SMBD_STARTUP.LOG
	  is created in SYS$MANAGER - obviously UCX ignores the
	  logfile specification for the SMBD service. Multinet does
	  not support log file specification anyway.

	- Security enhancements concerning job logical table of the
	  server process (thanks to Wolfgang Moeller).

1.9.16p2-VMS-2		08-Oct-1996

	[.VMS]VMS_DIR.C

	- changed readdir to strip off ".DIR" from any file name.
	  This is a quick solution, not a good one. I didn't want another
	  stat() on the file just to see if it is a directory - there are
	  too many stat() anyway which slows down samba. We could replace
	  lib$find_file by lib$scan_file and supply a XAB in which the
	  file header is to be returned (if lib$scan_file reads the file
	  header anyway).

	[.VMS]TRANS2.C

	- removed stripping of .DIR *after* a stat(). Doing it only
	  after stat() didn't work. TRANS2 is now "VMS-free" again.

1.9.16p2-VMS-1		06-Oct-1996

	Now based on 1.9.16p2.

	Make it compile with DEC-C V5.0 and on VMS Alpha V6.x.
	Added DIRENT.H, IF.H, IF_ARP.H and IOCTL.H for older compilers
	which does not have them. Add dummy WAIT.H - its included but
	we do not use it - not present on older compilers.

	Here are the main changes:

	[.VMS]SETUP.COM

	- Removed SYS$LIBRARY in /include on CC definition (Thanks to
	  Bob Graham!).

	- Add configuration routine: Determine versions of VMS and
	  DEC-C and which header files are missing. Supply the missing
	  ones (see above). If present, use those belonging to the
	  actual compiler version.

	- nearly completly rewritten.

	[.VMS]BUILD.COM

	- nearly completly rewritten.

	[.VMS]INCL.H

	- Add some definitions. Add __VMS_VER and __DECC_VER to some
	  of them so that they are only used on older versions. Newer
	  header files do have those definitions.

	[.VMS]VMS_SUP.C

	- Fixed ACCVIO if SOCKETSHR is not defined. The logical is no
	  longer neccessary since SOCKETSHR it still not supported anyway.

	- On Alphas, got an ACCVIO from a "!" command in SMBCLIENT
	  (ie. no command on the command line). Fixed. (Thanks to
	  Bob Graham!).

	[.VMS]GET.C

	- set_echo did not work, so that the password was displayed
	  on the terminal. Fixed. (Again, thanks to Bob Graham for his
	  two-character bugfix).

	[.VMS]TCP.C

	- New file. All TCP/IP related routines from VMS_SUP.C.
	  It does no longer need any TCP/IP package related include file
	  (like UCX$INETDEF.H).

	[.VMS]SETUID.C		(Thanks to Wolfgang Moeller!)

	- SMBD would set UIC to [0,0] or to an extra identifier
	  owned by the user, _not_ to the user's UIC
	  *fixed* by fiddling with process rights
	  _prior_ to SET_UIC

	- $SETPRV() would modify PROCPRIV (irrelevant within
	  a program), not CURPRIV (which determines actual rights)
	  Symptom: in spite of bad UIC, SMBD would create files.
	  *fixed* by using $SETPRV(,,0,) instead of (,,1,)

	[.VMS]REPLY.C

	- I couln't resist: Name our OS "OpenVMS", not "Unix"...
	  (will be displayed by foreign smbclient).

	Many other small changes, mainly to satisfy the compiler...

1.9.16alpha8-VMS-1	15-Jul-1996

	First public port.
