Problem with Samba 3.0.10

2006-09-25 Thread Guenter
Hi,
I'm new to Samba. Have installed the latest Version 3.0.10 of Samba which is 
available from HP on a Itanium VMS.
If I open a VMS-textfile on a WinXP computer via a texteditor the file looks 
corrupted.
e.g. a file which contains the following 4 lines:
this is a test with a textfile
2nd line
3rd line
4th line

looks like this on a WinXP (only first line):
this is a test with a textfile

It seems there are troubles with CR/FL. Anybody knows a solution for this 
promlem?

thanks 
günter


PLEASE READ THIS IMPORTANT ETIQUETTE MESSAGE BEFORE POSTING:

http://www.catb.org/~esr/faqs/smart-questions.html


Problem with Samba 3.0.10

2006-09-25 Thread Günter Gratzer
Hi,
I'm new to Samba. Have installed the latest Version 3.0.10 of Samba which is

available from HP on a Itanium VMS.
If I open a VMS-textfile on a WinXP computer via a texteditor the file looks

corrupted.
e.g. a file which contains the following 4 lines:
this is a test with a textfile
2nd line
3rd line
4th line
 
looks like this on a WinXP (only first line):
this is a test with a textfile
 
It seems there are troubles with CR/FL. Anybody knows a solution for this 
problem?
 
Thank's 
günter

-- 
No virus found in this outgoing message.
Checked by AVG Free Edition.
Version: 7.1.405 / Virus Database: 268.12.8/455 - Release Date: 22.09.2006
 
PLEASE READ THIS IMPORTANT ETIQUETTE MESSAGE BEFORE POSTING:

http://www.catb.org/~esr/faqs/smart-questions.html


Re: Problem with Samba 3.0.10

2006-09-25 Thread Marc Keulemans
Hi Guenter.


Heart the other week from HP that Samba 3   (their official CIFS version) 
is not complete yet and should not be used other then for field testing.

We use Samba 2.2.8 .   It is not very fast but stable.


Regards,

Marc Keulemans

Global ICT Operations  Infrastructure 
NXP (Philips Semiconductors)
Building FD 2.158 - Gerstweg 2
6534 AE Nijmegen - The Netherlands
Phone: +31 24 353 2001 / Fax: +31 24 3536215 
mailto: [EMAIL PROTECTED]









Guenter [EMAIL PROTECTED] 
Sent by:
[EMAIL PROTECTED]
2006-09-25 03:47 PM

To
samba-vms@lists.samba.org
cc

Subject
Problem with Samba 3.0.10
Classification







Hi,
I'm new to Samba. Have installed the latest Version 3.0.10 of Samba which 
is 
available from HP on a Itanium VMS.
If I open a VMS-textfile on a WinXP computer via a texteditor the file 
looks 
corrupted.
e.g. a file which contains the following 4 lines:
this is a test with a textfile
2nd line
3rd line
4th line

looks like this on a WinXP (only first line):
this is a test with a textfile

It seems there are troubles with CR/FL. Anybody knows a solution for this 
promlem?

thanks 
günter
 

PLEASE READ THIS IMPORTANT ETIQUETTE MESSAGE BEFORE POSTING:

http://www.catb.org/~esr/faqs/smart-questions.html



The information contained in this message is confidential and may be 
legally privileged. The message is intended solely for the addressee(s). 
If you are not the intended recipient, you are hereby notified that any 
use, dissemination, or reproduction is strictly prohibited and may be 
unlawful. If you are not the intended recipient, please contact the sender 
by return e-mail and destroy all copies of the original message.
PLEASE READ THIS IMPORTANT ETIQUETTE MESSAGE BEFORE POSTING:

http://www.catb.org/~esr/faqs/smart-questions.html


RE: Problem with Samba 3.0.10

2006-09-25 Thread Boyce, Nick
[disclaimer: I'm not a VMS sysadmin - just a lurking Unix one]

On 25th.September.2006, Günter Gratzer wrote :

 If I open a VMS-textfile on a WinXP computer via a texteditor the file 
 looks corrupted ... It seems there are troubles with CR/FL. Anybody 
 knows a solution for this problem?

I recall this topic coming up before on this list : text files getting 
corrupted, depending on whether you open them directly on the VMS share, or 
copy them from VMS to Windoze first, and on which Windows utility you use to 
view/edit the text file with - *AND* on whether your VMS file is defined with 
Stream Sequential or Sequential Variable file-type.

The problem has to do with the original Unix Samba code only being prepared for 
one kind of text file, the kind that has CR/LF line endings, rather than the 
kind that has a record prefix giving the record length.

IIRC, Notepad and Word can cause trouble if used directly on a VMS-resident 
file, by deleting/renaming the original file, and then saving a completely new 
file with the same name as the original -- or is it that they save completely 
new content OF A DIFFERENT CONTENT TYPE over the top of a file that started 
with the other content type ?  Other editors may operate in a different way 
that side-steps the problem.  Something like that, anyway  [somebody 
correct me].

There was no perfect solution at the time, but various work-arounds involving 
using different editors, or copying files from VMS to Windows first (using 
Explorer), or setting some kind of heuristic system parameter on VMS to analyse 
file content to decide how to handle it.

Have a look at these threads (and others nearby) on the Samba-VMS list from 
2002/2003 : 
http://lists.samba.org/archive/samba-vms/2002-September/000379.html
http://lists.samba.org/archive/samba-vms/2003-March/000648.html
http://lists.samba.org/archive/samba-vms/2003-March/000715.html
http://lists.samba.org/archive/samba-vms/2003-March/000718.html
http://lists.samba.org/archive/samba-vms/2003-March/000720.html
which may or may not describe the issue you're seeing.

Play about with file types, and with different editors.

NB: this was all back at Samba 2.2.4/2.2.8 time - I'd be surprised if HP didn't 
have a proper fix planned for their official Samba V3-for-VMS.

Good luck.

Nick Boyce
EDS Central  Ireland ADU (UKIA), Bristol, UK
PLEASE READ THIS IMPORTANT ETIQUETTE MESSAGE BEFORE POSTING:

http://www.catb.org/~esr/faqs/smart-questions.html