<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Samba Problems in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/samba-problems/m-p/3276524#M885698</link>
    <description>From the Samba documentation:&lt;BR /&gt;&lt;BR /&gt;--[begin extract]--&lt;BR /&gt;Unix text-file lines are terminated by 0A (LF)&lt;BR /&gt;&lt;BR /&gt;MS text-file lines are terminated by 0D 0A (CR LF) &lt;BR /&gt;&lt;BR /&gt;Samba does not do and will not do any conversion of these files at all. There are a number of conversion utilities on both platforms, these will have to be used.  Samba 2.0.4 introduced a new document saying this, it vanished again in version 2.2.0.&lt;BR /&gt;I saw a Perl-script recently that purported to do the conversion, so if you have access to Perl try: &lt;BR /&gt;&lt;BR /&gt;# cat file.unix | perl -e 'while (&amp;lt;&amp;gt;) {$_ =~s/$/\015/; print$_}' &amp;gt; file.dos&lt;BR /&gt;&lt;BR /&gt;--[end extract]--&lt;BR /&gt;</description>
    <pubDate>Mon, 17 May 2004 16:50:32 GMT</pubDate>
    <dc:creator>Chris Saunderson</dc:creator>
    <dc:date>2004-05-17T16:50:32Z</dc:date>
    <item>
      <title>Samba Problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/samba-problems/m-p/3276517#M885691</link>
      <description>i have a problems with samba.&lt;BR /&gt;when i copy a text file windows to HP-UX, &lt;BR /&gt;in the file, place ^M the end of the each line.&lt;BR /&gt;</description>
      <pubDate>Fri, 14 May 2004 08:45:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/samba-problems/m-p/3276517#M885691</guid>
      <dc:creator>Fernando Jose P de Souz</dc:creator>
      <dc:date>2004-05-14T08:45:25Z</dc:date>
    </item>
    <item>
      <title>Re: Samba Problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/samba-problems/m-p/3276518#M885692</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;Your text file in Windows has a carriage return and line feed characters at the end of each line, while in Unix the lines are just terminated with line feeds.  You'll need to run the 'dos2ux' command to remove the CR characters from your file.&lt;BR /&gt;&lt;BR /&gt;Samba doesn't remove these characters because it is too difficult to figure out when to remove them and when not to.&lt;BR /&gt;&lt;BR /&gt;JP&lt;BR /&gt;</description>
      <pubDate>Fri, 14 May 2004 09:01:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/samba-problems/m-p/3276518#M885692</guid>
      <dc:creator>John Poff</dc:creator>
      <dc:date>2004-05-14T09:01:08Z</dc:date>
    </item>
    <item>
      <title>Re: Samba Problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/samba-problems/m-p/3276519#M885693</link>
      <description>Where i find the dos2ux command?</description>
      <pubDate>Fri, 14 May 2004 09:11:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/samba-problems/m-p/3276519#M885693</guid>
      <dc:creator>Fernando Jose P de Souz</dc:creator>
      <dc:date>2004-05-14T09:11:26Z</dc:date>
    </item>
    <item>
      <title>Re: Samba Problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/samba-problems/m-p/3276520#M885694</link>
      <description>The 'dos2ux' command should be a standard part of an HP-UX 11.X system.  On our boxes it is located at /usr/bin/dos2ux.  The man page explains it all.  Just try 'dos2ux filename'.&lt;BR /&gt;&lt;BR /&gt;JP&lt;BR /&gt;</description>
      <pubDate>Fri, 14 May 2004 09:15:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/samba-problems/m-p/3276520#M885694</guid>
      <dc:creator>John Poff</dc:creator>
      <dc:date>2004-05-14T09:15:12Z</dc:date>
    </item>
    <item>
      <title>Re: Samba Problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/samba-problems/m-p/3276521#M885695</link>
      <description>but i always have to execute this command when i copy the file?? &lt;BR /&gt;&lt;BR /&gt;Don't exist other option ??&lt;BR /&gt;</description>
      <pubDate>Fri, 14 May 2004 09:39:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/samba-problems/m-p/3276521#M885695</guid>
      <dc:creator>Fernando Jose P de Souz</dc:creator>
      <dc:date>2004-05-14T09:39:43Z</dc:date>
    </item>
    <item>
      <title>Re: Samba Problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/samba-problems/m-p/3276522#M885696</link>
      <description>In this case you have to check how's the script created in Windows environment?&lt;BR /&gt;&lt;BR /&gt;Simon</description>
      <pubDate>Fri, 14 May 2004 09:45:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/samba-problems/m-p/3276522#M885696</guid>
      <dc:creator>Camel_1</dc:creator>
      <dc:date>2004-05-14T09:45:05Z</dc:date>
    </item>
    <item>
      <title>Re: Samba Problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/samba-problems/m-p/3276523#M885697</link>
      <description>No, there isn't really any other option.  When you use FTP it will do the CR/LF conversion for you, but Samba won't.  Does having the CR in the file create a problem for you in HP-UX?&lt;BR /&gt;&lt;BR /&gt;I suppose you could write a script that runs periodically, looks for new files, and runs 'dos2ux' on them.&lt;BR /&gt;&lt;BR /&gt;JP&lt;BR /&gt;</description>
      <pubDate>Fri, 14 May 2004 09:50:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/samba-problems/m-p/3276523#M885697</guid>
      <dc:creator>John Poff</dc:creator>
      <dc:date>2004-05-14T09:50:50Z</dc:date>
    </item>
    <item>
      <title>Re: Samba Problems</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/samba-problems/m-p/3276524#M885698</link>
      <description>From the Samba documentation:&lt;BR /&gt;&lt;BR /&gt;--[begin extract]--&lt;BR /&gt;Unix text-file lines are terminated by 0A (LF)&lt;BR /&gt;&lt;BR /&gt;MS text-file lines are terminated by 0D 0A (CR LF) &lt;BR /&gt;&lt;BR /&gt;Samba does not do and will not do any conversion of these files at all. There are a number of conversion utilities on both platforms, these will have to be used.  Samba 2.0.4 introduced a new document saying this, it vanished again in version 2.2.0.&lt;BR /&gt;I saw a Perl-script recently that purported to do the conversion, so if you have access to Perl try: &lt;BR /&gt;&lt;BR /&gt;# cat file.unix | perl -e 'while (&amp;lt;&amp;gt;) {$_ =~s/$/\015/; print$_}' &amp;gt; file.dos&lt;BR /&gt;&lt;BR /&gt;--[end extract]--&lt;BR /&gt;</description>
      <pubDate>Mon, 17 May 2004 16:50:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/samba-problems/m-p/3276524#M885698</guid>
      <dc:creator>Chris Saunderson</dc:creator>
      <dc:date>2004-05-17T16:50:32Z</dc:date>
    </item>
  </channel>
</rss>

