- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- samba config
Operating System - HP-UX
1752772
Members
4974
Online
108789
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
тАО05-20-2003 02:06 AM
тАО05-20-2003 02:06 AM
samba config
Dear Sir:
My server is 10.20 OS.
I install the samba-2.2.5.
I can see the files from win2k.
But I have the file format problem. 'cause I have lots files there.So do a awk command(awk '{print "%s%c\n",$0,013}' old_file > new_file ) to transfer all the files is difficult.
Is there any samba config parameter can be used ?
ps:the ftp function is ok to win2k.
thanks
Jack
My server is 10.20 OS.
I install the samba-2.2.5.
I can see the files from win2k.
But I have the file format problem. 'cause I have lots files there.So do a awk command(awk '{print "%s%c\n",$0,013}' old_file > new_file ) to transfer all the files is difficult.
Is there any samba config parameter can be used ?
ps:the ftp function is ok to win2k.
thanks
Jack
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-20-2003 02:40 AM
тАО05-20-2003 02:40 AM
Re: samba config
Hi Jack,
There isn't an easy way to solve your problem. How is Samba to know whether a file is a text file that needs converting or is a data file that shouldn't be touched?
You could use a cron job that runs ux2dos on any new file in a certain directory and then writes the output to another dir.
The reason ftp works correctly is probably down to it defaulting to a text transfer which performs the conversion - if you transferred a data file it could be damaged.
regards,
Darren.
There isn't an easy way to solve your problem. How is Samba to know whether a file is a text file that needs converting or is a data file that shouldn't be touched?
You could use a cron job that runs ux2dos on any new file in a certain directory and then writes the output to another dir.
The reason ftp works correctly is probably down to it defaulting to a text transfer which performs the conversion - if you transferred a data file it could be damaged.
regards,
Darren.
Calm down. It's only ones and zeros...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-20-2003 04:45 AM
тАО05-20-2003 04:45 AM
Re: samba config
Monitor acitivy on port 137 and check for dropped udp packtets.
Routine defragmentation will increase speed.
NFS is an alternative to SAMBA.
Same problem from 2.2.4 through 2.2.5. Suggested solution by patch here:
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x4415237a4bc6d611abdb0090277a778c,00.html
Routine defragmentation will increase speed.
NFS is an alternative to SAMBA.
Same problem from 2.2.4 through 2.2.5. Suggested solution by patch here:
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x4415237a4bc6d611abdb0090277a778c,00.html
Support Fatherhood - Stop Family Law
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО05-20-2003 10:12 PM
тАО05-20-2003 10:12 PM
Re: samba config
Hi,
as this is not really a samba but a UNIX<->DOS problem, there is no samba configuration for this.
You could use ux2dos to convert this files for you W2K boxes.
Also you could use a editor on your Windows box which can display UNIX textfiles correctly (e.g. Wordpad, VIM ...)
One thing you could do with samba, but this is tricky. You could use the preexec parameter to start a script everytime this share is accessed by a Windows box.
In this script you could search for new files since the last run of the script and convert them with ux2dos.
Hope this helps
Regards Stefan
as this is not really a samba but a UNIX<->DOS problem, there is no samba configuration for this.
You could use ux2dos to convert this files for you W2K boxes.
Also you could use a editor on your Windows box which can display UNIX textfiles correctly (e.g. Wordpad, VIM ...)
One thing you could do with samba, but this is tricky. You could use the preexec parameter to start a script everytime this share is accessed by a Windows box.
In this script you could search for new files since the last run of the script and convert them with ux2dos.
Hope this helps
Regards Stefan
No Mouse found. System halted. Press Mousebutton to continue.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP