[Samba] Problem with character mappings, underscore, and smbfs
Viraj Alankar
valankar at bigfoot.com
Sat Dec 14 23:05:00 GMT 2002
Hello,
I have a problem accessing certain files on a Win2000 server either through
smbfs or smbclient on Linux.
In a certain directory, smbfs mounted filesystem shows via ls:
Dicom 3.0 Conformance Statement - ViewPoint-Voyager 6.0 2.doc
Dicom 3.0 Conformance Statement - ViewPoint-Voyager 6.0.doc
But if I try to access any of these files it fails:
cp Dicom\ 3.0\ Conformance\ Statement\ -\ ViewPoint-Voyager\ 6.0.doc /tmp/
cp: cannot stat `Dicom 3.0 Conformance Statement - ViewPoint-Voyager 6.0.doc':
No such file or directory
Via smbclient it looks different, but still not accessible:
Dicom 3.0 Conformance Statement _ ViewPoint-Voyager 6.0 2.doc 74240 Mon Sep 25 16:09:04 2000
Dicom 3.0 Conformance Statement _ ViewPoint-Voyager 6.0.doc 80896 Mon Sep 25 15:24:32 2000
34726 blocks of size 1048576. 4535 blocks available
get "Dicom 3.0 Conformance Statement _ ViewPoint-Voyager 6.0.doc"
NT_STATUS_OBJECT_NAME_NOT_FOUND opening remote file ... (full path)
The '-' are now underscores in smbclient. I tried using the unicode patches
here:
http://www.hojdpunkten.ac.se/054/samba/
And when using smbfs with unicode ls shows:
Dicom 3.0 Conformance Statement :2013 ViewPoint-Voyager 6.0 2.doc
Dicom 3.0 Conformance Statement :2013 ViewPoint-Voyager 6.0.doc
'-' to '_' to ':2013'. I have no idea what the problem is, and have tried
diffferent codepages without luck. Any ideas?
Viraj.
More information about the samba
mailing list