Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Samba file names

Posted on 2004-10-25
3
Medium Priority
?
222 Views
Last Modified: 2010-04-20
I have funny file names comming up on my Samba (on FD 2) when seen from within my application.

Files like OE#INKRS.dat should show up in the DOS Accpac application as the name after the #. So it should be INKRS but it shows up as 8AB~I and when I use explorer to look for this, there is no such file around. This happens whenever I have to select a report name or import file (in other words access the file system) from withing Accpac.

So where does this funny file name come from?

My workstations are XP or Win98.

0
Comment
Question by:Alex Angus
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 23

Accepted Solution

by:
brettmjohnson earned 2000 total points
ID: 12412332
See this explanation on filename mangling in Samba:

http://freebooks.by.ru/view/SambaIn24h/ch07-05.htm

0
 

Author Comment

by:Alex Angus
ID: 12413349
The file names all follow the 8.3 naming convention and are created by the application which was originally designed for Novell networks then adapted for Windows but kept the DOS naming. So this is pure DOS and I am aware of long file names in a dos environment.
But this is something else I have never seen in my 30 odd years in IT. Then again I have been in the mainframe, Novell & Microsoft sector and am new to Linux and only once toughed a Unix machine.

I am certainly new to Linux/Samba and am having some strange things happen with this Samba server on Fedora 2. My last one I did was RH 7.3 about 2 years ago and that worked like a dream and did not have all these funnies.
 
How does it change a file name of OE#INKRS to 8AB~I ? Does the # in the 3rd position have anything to do with it? If so why does the Samba on RH 7.3 work fine?
0
 

Author Comment

by:Alex Angus
ID: 12442828
Did further tests and have the situation where I have the funny file names from 4 PC's but not from the main PC where I originally copied the application from.

The main PC also runs the applications fine but the other systems will not run applications correctly as the file names are wrong. Why is everything fine on the main PC. Is this something to do with ownership of the files, therefore everything fine from the one main PC that was the source of the application and data?
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you have a server on collocation with the super-fast CPU, that doesn't mean that you get it running at full power. Here is a preamble. When doing inventory of Linux servers, that I'm administering, I've found that some of them are running on l…
Little introduction about CP: CP is a command on linux that use to copy files and folder from one location to another location. Example usage of CP as follow: cp /myfoder /pathto/destination/folder/ cp abc.tar.gz /pathto/destination/folder/ab…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Suggested Courses

597 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question