- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Samba/CIFS Line Feed (^M) Issue
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-06-2008 06:30 PM
тАО08-06-2008 06:30 PM
Samba/CIFS Line Feed (^M) Issue
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.
thanks,
amir
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-07-2008 07:40 AM
тАО08-07-2008 07:40 AM
Re: Samba/CIFS Line Feed (^M) Issue
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-07-2008 08:16 AM
тАО08-07-2008 08:16 AM
Re: Samba/CIFS Line Feed (^M) Issue
This is a problem with the smb.conf file nothing more.
Post the file, and myself or others will try and provide you with a fix.
I will leave the SCO remarks to others.
:-)
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-07-2008 08:49 AM
тАО08-07-2008 08:49 AM
Re: Samba/CIFS Line Feed (^M) Issue
here is the content of the file.
# Samba config file created using SWAT
# from 10.0.20.5 (10.0.20.5)
# Date: 2008/08/06 19:04:11
[global]
workgroup = SAMBA
server string = Samba Server
security = SHARE
null passwords = Yes
password server =
log file = /var/opt/samba/log.%m
max log size = 1000
local master = No
wins server = 10.0.20.7
read only = No
short preserve case = No
dos filetime resolution = Yes
[homes]
comment = Home Directories
browseable = No
[tmp]
comment = Temporary file space
path = /tmp
[test]
path = /test
force user = root
force group = sys
create mask = 0777
force create mode = 0777
directory mask = 0777
guest ok = Yes
amir
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-07-2008 10:48 AM
тАО08-07-2008 10:48 AM
Re: Samba/CIFS Line Feed (^M) Issue
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.
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...
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-07-2008 11:15 AM
тАО08-07-2008 11:15 AM
Re: Samba/CIFS Line Feed (^M) Issue
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.
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.
i attached a screenshot from vision.
any help would be appreciated.
thanks,
amir
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-07-2008 02:30 PM
тАО08-07-2008 02:30 PM
Re: Samba/CIFS Line Feed (^M) Issue
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).
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.
You can Google "samba line feed" and find many ways to manually edit the file/characters (sorry to state the obvious).
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.
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.
Eric Roseme
Hewlett-Packard