[Samba] RE: CRLF << -- >> LF

Green, Paul Paul.Green at stratus.com
Wed Apr 27 18:04:11 GMT 2005

No, I don't. But I do know that Samba provides transparent file access -- it
has no idea what data is in the files it offers to the clients. It could be
a database, a JPEG, a text document, or an executable program. What you
suggest would be an extremely bad idea.  You need better clients -- it is
the clients that interpret the contents of the file. Samba is just another
file access method.

In the future, do not send blanket email to the Samba developers. Post your
questions to the public samba at samba.org mailing list, and read previous
responses at the list archives. See http://lists.samba.org for details.


-----Original Message-----
From: magnus.fyr at nordea.se [mailto:magnus.fyr at nordea.se] 
Sent: Wednesday, April 27, 2005 2:22 PM
To: paulg at samba.org
Subject: CRLF << -- >> LF

Hi Paul,

I'm trying to set up a samba envirment beetwen a PC (Windows 2000) and a
server (UNIX solaris 9.0). When a user is copying a text file, Samba should
use ASCII when the file is copied so the file will only have LF (LineFeed)
when the file is copied to the server. When the user is copy from UNIX to PC
the file will have both CR (CarragieReturn) and LF.

When images are copied, samba should use Binary mode.

Do you know how I shall do to make this work?

Best Regards!

More information about the samba mailing list