smbfs reads Variable files incorrectly from VMS Samb

COLLOT Jean-Yves Jean-Yves.COLLOT at cofiroute.fr
Mon Mar 31 20:40:13 GMT 2003


> Why shouldn't Samba handle files in the same way that most FTP 
> servers on VMS do: use RMS to read the records and push them 
> to the client?

It's basically what Samba does, but, for the moment, only when the
variable-record file is opened in Read-only mode, and this single test was
OK when dealing with native Windows clients.
Remember that FTP has two modes (ASCII and BINARY), and that usually the
user has two choose himself which mode is appropriate for the file he wants
to upload or download. Samba has to decide itself which mode is the good
one.
In addition, both cooperating FTP programs are doing the same thing, in
ASCII mode : they send and receive records. This is not the case with Samba.
When Wordpad reads the file, for example, it must be pushed to it as records
separated by CR/LF, but when it writes it back, it sends it to Samba as big
buffers, the end of one buffer is not always the end of a record.
Anyway, I am going well, and the smbfs issue will be fixed soon. 


More information about the samba-vms mailing list