<?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/CIFS Line Feed (^M) Issue in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/samba-cifs-line-feed-m-issue/m-p/4247598#M677690</link>
    <description>&lt;!--!*#--&gt;thanks steven,&lt;BR /&gt;&lt;BR /&gt;here is the content of the file.&lt;BR /&gt;&lt;BR /&gt;# Samba config file created using SWAT&lt;BR /&gt;# from 10.0.20.5 (10.0.20.5)&lt;BR /&gt;# Date: 2008/08/06 19:04:11&lt;BR /&gt;&lt;BR /&gt;[global]&lt;BR /&gt; workgroup = SAMBA&lt;BR /&gt; server string = Samba Server&lt;BR /&gt; security = SHARE&lt;BR /&gt; null passwords = Yes&lt;BR /&gt; password server = &lt;BR /&gt; log file = /var/opt/samba/log.%m&lt;BR /&gt; max log size = 1000&lt;BR /&gt; local master = No&lt;BR /&gt; wins server = 10.0.20.7&lt;BR /&gt; read only = No&lt;BR /&gt; short preserve case = No&lt;BR /&gt; dos filetime resolution = Yes&lt;BR /&gt;&lt;BR /&gt;[homes]&lt;BR /&gt; comment = Home Directories&lt;BR /&gt; browseable = No&lt;BR /&gt;&lt;BR /&gt;[tmp]&lt;BR /&gt; comment = Temporary file space&lt;BR /&gt; path = /tmp&lt;BR /&gt;&lt;BR /&gt;[test]&lt;BR /&gt; path = /test&lt;BR /&gt; force user = root&lt;BR /&gt; force group = sys&lt;BR /&gt; create mask = 0777&lt;BR /&gt; force create mode = 0777&lt;BR /&gt; directory mask = 0777&lt;BR /&gt; guest ok = Yes&lt;BR /&gt;&lt;BR /&gt;amir&lt;BR /&gt;</description>
    <pubDate>Thu, 07 Aug 2008 15:49:58 GMT</pubDate>
    <dc:creator>Amir Haboosheh</dc:creator>
    <dc:date>2008-08-07T15:49:58Z</dc:date>
    <item>
      <title>Samba/CIFS Line Feed (^M) Issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/samba-cifs-line-feed-m-issue/m-p/4247595#M677687</link>
      <description>ok, i know this is a known thing and i looked all over ITRC for help but the latest solution is still dos2unix. is there a way with the current version of samba to convert the line feed windows creates within samba?&lt;BR /&gt;&lt;BR /&gt;i have a hard time believing that SCO's VisionFS can handle it but HPUX with Samba cannot. so please any help on this will be greatlly appreciated.&lt;BR /&gt;&lt;BR /&gt;thanks,&lt;BR /&gt;amir&lt;BR /&gt;</description>
      <pubDate>Thu, 07 Aug 2008 01:30:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/samba-cifs-line-feed-m-issue/m-p/4247595#M677687</guid>
      <dc:creator>Amir Haboosheh</dc:creator>
      <dc:date>2008-08-07T01:30:46Z</dc:date>
    </item>
    <item>
      <title>Re: Samba/CIFS Line Feed (^M) Issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/samba-cifs-line-feed-m-issue/m-p/4247596#M677688</link>
      <description>The job of a network filesystem is to store what the client writes and return what's  stored when the client reads. If you're going to manipulate file contents then you suddenly need to care very, very deeply about what kind of file you have. Windows doesn't have any real mechanism to record that information. There isn't any metadata saying "this is a text file" or "this isn't a text file" or "this is a text file but don't change it".&lt;BR /&gt;&lt;BR /&gt;SCO's way is inherently wrong, just like ASCII mode in FTP is wrong. You don't usually see it in newer protocols because people realized that it was a mistake after many years of repeatedly explaining that files are corrupted because somebody used the wrong mode.</description>
      <pubDate>Thu, 07 Aug 2008 14:40:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/samba-cifs-line-feed-m-issue/m-p/4247596#M677688</guid>
      <dc:creator>Heironimus</dc:creator>
      <dc:date>2008-08-07T14:40:20Z</dc:date>
    </item>
    <item>
      <title>Re: Samba/CIFS Line Feed (^M) Issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/samba-cifs-line-feed-m-issue/m-p/4247597#M677689</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;This is a problem with the smb.conf file nothing more.&lt;BR /&gt;&lt;BR /&gt;Post the file, and myself or others will try and provide you with a fix.&lt;BR /&gt;&lt;BR /&gt;I will leave the SCO remarks to others.&lt;BR /&gt;&lt;BR /&gt;:-)&lt;BR /&gt;&lt;BR /&gt;SEP&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 07 Aug 2008 15:16:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/samba-cifs-line-feed-m-issue/m-p/4247597#M677689</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2008-08-07T15:16:07Z</dc:date>
    </item>
    <item>
      <title>Re: Samba/CIFS Line Feed (^M) Issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/samba-cifs-line-feed-m-issue/m-p/4247598#M677690</link>
      <description>&lt;!--!*#--&gt;thanks steven,&lt;BR /&gt;&lt;BR /&gt;here is the content of the file.&lt;BR /&gt;&lt;BR /&gt;# Samba config file created using SWAT&lt;BR /&gt;# from 10.0.20.5 (10.0.20.5)&lt;BR /&gt;# Date: 2008/08/06 19:04:11&lt;BR /&gt;&lt;BR /&gt;[global]&lt;BR /&gt; workgroup = SAMBA&lt;BR /&gt; server string = Samba Server&lt;BR /&gt; security = SHARE&lt;BR /&gt; null passwords = Yes&lt;BR /&gt; password server = &lt;BR /&gt; log file = /var/opt/samba/log.%m&lt;BR /&gt; max log size = 1000&lt;BR /&gt; local master = No&lt;BR /&gt; wins server = 10.0.20.7&lt;BR /&gt; read only = No&lt;BR /&gt; short preserve case = No&lt;BR /&gt; dos filetime resolution = Yes&lt;BR /&gt;&lt;BR /&gt;[homes]&lt;BR /&gt; comment = Home Directories&lt;BR /&gt; browseable = No&lt;BR /&gt;&lt;BR /&gt;[tmp]&lt;BR /&gt; comment = Temporary file space&lt;BR /&gt; path = /tmp&lt;BR /&gt;&lt;BR /&gt;[test]&lt;BR /&gt; path = /test&lt;BR /&gt; force user = root&lt;BR /&gt; force group = sys&lt;BR /&gt; create mask = 0777&lt;BR /&gt; force create mode = 0777&lt;BR /&gt; directory mask = 0777&lt;BR /&gt; guest ok = Yes&lt;BR /&gt;&lt;BR /&gt;amir&lt;BR /&gt;</description>
      <pubDate>Thu, 07 Aug 2008 15:49:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/samba-cifs-line-feed-m-issue/m-p/4247598#M677690</guid>
      <dc:creator>Amir Haboosheh</dc:creator>
      <dc:date>2008-08-07T15:49:58Z</dc:date>
    </item>
    <item>
      <title>Re: Samba/CIFS Line Feed (^M) Issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/samba-cifs-line-feed-m-issue/m-p/4247599#M677691</link>
      <description>This is not a SAMBA/CIFS problem. You are trying to jam fit two completely different filesystems together. PCs require that every line in an ASCII file be terminated with two characters: CR and LF, while Unix uses just the LF character. SAMBA is accessing the filesystem  at the record level and presents the contents  exactly as stored on the disk. You DO NOT want anything else. The reason is that if you change the SAMBA code to convert records, where do you do the conversion? There are many ways to access data in a file. And what if the file is a binary data file full of measurements? The file will be completely corrupted if you convert LF to CR/LF or vice versa, exactly what would happen if you used ux2dos.&lt;BR /&gt; &lt;BR /&gt;If you look at a mainframe filesystem, it is 100 times worse. Some files have no separator but are fixed record lengths defined in a file control record. Other formats put a binary character with the length in front and behind every record. And on and on the list goes.&lt;BR /&gt; &lt;BR /&gt;What you are asking a a very special case of looking at certain files (mainly ASCII) and trying to make two operating systems make sense out of each other's code.  As far as VisionFS, from the manual, the conversion seems to be limited to print options and not an actual conversion of records as read or written. I may have missed something though...</description>
      <pubDate>Thu, 07 Aug 2008 17:48:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/samba-cifs-line-feed-m-issue/m-p/4247599#M677691</guid>
      <dc:creator>Bill Hassell</dc:creator>
      <dc:date>2008-08-07T17:48:36Z</dc:date>
    </item>
    <item>
      <title>Re: Samba/CIFS Line Feed (^M) Issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/samba-cifs-line-feed-m-issue/m-p/4247600#M677692</link>
      <description>hey bill,&lt;BR /&gt;&lt;BR /&gt;i understand what i am asking is not normal to the usual use of samba. but we use unix just for an accounting software (MAS90) and import and export text files to and from windows for EDI use only. no other type of file is being shared. just text or csv. so i don't care about any file corruption. &lt;BR /&gt;&lt;BR /&gt;under visionfs if you go to the properties of the share and select the "files" tab and then click on the "Line Endings" button you can choose what "type" of files you want it to convert back and forth. it can even be * or *.* but it does give you that option.&lt;BR /&gt;&lt;BR /&gt;i attached a screenshot from vision.&lt;BR /&gt;&lt;BR /&gt;any help would be appreciated.&lt;BR /&gt;&lt;BR /&gt;thanks,&lt;BR /&gt;amir&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 07 Aug 2008 18:15:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/samba-cifs-line-feed-m-issue/m-p/4247600#M677692</guid>
      <dc:creator>Amir Haboosheh</dc:creator>
      <dc:date>2008-08-07T18:15:31Z</dc:date>
    </item>
    <item>
      <title>Re: Samba/CIFS Line Feed (^M) Issue</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/samba-cifs-line-feed-m-issue/m-p/4247601#M677693</link>
      <description>Hi Amir,&lt;BR /&gt;&lt;BR /&gt;No - Samba does not provide an automated utility to do this.  I cannot imagine a scenario where the Samba developers would implement such a feature (which could never look like the SCO screen shot that you supplied).  &lt;BR /&gt;&lt;BR /&gt;Just for fun, I used our CIFS client to mount a W2003 directory and then looked around for ways to configure for a converted file - it would make more since for the UNIX client to convert it than the server.  But our (UNIX) client does not do it either.&lt;BR /&gt;&lt;BR /&gt;You can Google "samba line feed" and find many ways to manually edit the file/characters (sorry to state the obvious).&lt;BR /&gt;&lt;BR /&gt;Regarding VisionFS - which I confess to know nothing about - from your screen shot (if it is from a Windows client) it would appear that SCO supplies some sort of hook on the client to export a bunch of non-Windows file attributes.  Our HP CIFS Server allows a Windows client to manage POSIX ACLs on the Samba share, but only by using the standard Windows management utilities and attributes.  &lt;BR /&gt;&lt;BR /&gt;I remember being asked about this in 1993 for LMX on HP-UX.  Surprisingly, I do not think I have heard about it since then.  Sorry to not provide you with what you are looking for.&lt;BR /&gt;&lt;BR /&gt;Eric Roseme&lt;BR /&gt;Hewlett-Packard</description>
      <pubDate>Thu, 07 Aug 2008 21:30:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/samba-cifs-line-feed-m-issue/m-p/4247601#M677693</guid>
      <dc:creator>eric roseme</dc:creator>
      <dc:date>2008-08-07T21:30:02Z</dc:date>
    </item>
  </channel>
</rss>

