fromdos - todos

John H Terpstra jht at
Fri Apr 4 16:22:39 GMT 2003


There is no way to do this without risk to file integrity. There is no
option for smb.conf to automate file conversion.

If you search the archives you will see that this has been raised
thousands of time before.

Your best approach will be to find a text editor for MS Windows that
recognises Unix file formats. There are quite a few of them out there.

In response to:

> Hi all,
> Probably this is a sample question described somewhere but I can't find
> any reference on samba manuals.
> As you all know there's a difference between unix text files and dos
> text files, i.e. the first ones uses a \n as eol and the second uses
> \r\n
> I have some troubles reading text files created for unix using a dos
> program for example.
> Is there a parameter to set in smb.conf or everywhere to avoid this
> problem?
> Thanks for any help.

- John T.
John H Terpstra
Email: jht at

More information about the samba-docs mailing list