[ale] Stripping EOL Characters with samba

Wandered Inn esoteric at denali.atlnet.com
Fri Aug 11 10:35:54 EDT 2000


This issue has been discussed on the Samba list.  There's really nothing
you can do about it, from a Samba perspective.  Your only option is to
run a script against the file after the M$ editing is complete.

I even wrote a perl script that strips the stuff out and tried using it
from a windows machine while editing a file across samba.  No go. 
Apparently, when you write a line out from a windows box, you get the
extra character regardless.  Point is, to fix this, you'll have to do it
from the UNIX side, unless you have some kind of windows binary editor
that will write the file without these characters (shudder...).  

We have a similar problem at work, in that all my folks (but me) use
windows for their development.  They send their html to another group
that supports the server (running UNIX) and the server group has to
strip the extra characters out.

Michael Phillips wrote:
> 
> I have a samba server running on RH 6.2 that has the users directories
> available as mount points via our NT network. We have a problem with EOL
> getting garbled whenever a file is edited on the client WinCrap box. Is
> there a method via samba to not mangle the EOL and leave it in unix format
> or will this have to be performed via the editor? Ideally, we would simply
> have everyone use vi to do editing, however our development environment
> requires some WinCrap interaction.
> 
> Currently, we are simply having to convert via vi once the editiing is done,
> however this is a problem waiting to happen. Any advice would be greatly
> appreciated.
> 
> Mike Phillips
> 
> ------------------------------------------------------------------------
> Michael Phillips                    UNIX Administrator
> <mike.phillips at ieionline.com >          Phone: 256-362-8562 Ext 143
> International Enterprises, Inc.         Fax: 256-362-0102
> 108 Allen St                        http://www.ieionline.com
> Talladega, AL 35160                 "Superior Avionics for the Military"
> 
> DISCLAIMER: Opionions expressed are not neccessarily those of my employer
> 
> --
> To unsubscribe: mail majordomo at ale.org with "unsubscribe ale" in message body.

--

Until later, Geoffrey
--
To unsubscribe: mail majordomo at ale.org with "unsubscribe ale" in message body.





More information about the Ale mailing list