LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 01-29-2004, 09:34 PM   #1
tisource
Member
 
Registered: Feb 2002
Posts: 322

Rep: Reputation: 30
Samba - no commas in filenames?


Pardon me if this question has been asked before, but I stumbled upon a very interesting issue recently, and was just curious why samba does what it does.

I have a couple of users connected to a samba file server in our office, and recently, one approached me about commas in filenames. I wouldn't know because I don't use commas in filenames.

Anyway, samba 2.x doesn't allow me to create files with commas in them. I can create and edit files files with such filenames via the console (vi), etc. IF I create a file with commas in the filename via the command line and then open the files up in windows via samba, I get strange behavior (app lockups, connection errors (on that file), etc).

This isn't a big deal (training), but I was just curious if anyone knew why samba does this, or if there is a way to turn it off.

Thanks
 
Old 01-30-2004, 02:13 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 79
AFAIK windows doesn't accept commas in file names so I think it is a security message on the samba side.
 
Old 01-31-2004, 01:31 AM   #3
tisource
Member
 
Registered: Feb 2002
Posts: 322

Original Poster
Rep: Reputation: 30
But windows does allow commas in filenames.........at least 2000/XP does. Win 95/98 might be another story.

Security doesn't make sense to me. Perhaps rigid conformity to industry standards are to blame. Sometimes Microsoft likes to stretch things a bit (add their own "features").

I was hoping someone might know why exactly.
 
Old 02-01-2004, 05:31 PM   #4
codedv
Member
 
Registered: Nov 2003
Location: Slough, UK
Distribution: Debian
Posts: 146

Rep: Reputation: 15
I'm not sure of their exact function. But in Windows comma's appear to be used as DLL and EXE entry points. e.g user32.exe,LockWorkstation

They are also used to identify icons in icon libraries. I'd imagain a file with comma's in its name would cause some Windows App's a fair bit of confusion.
 
Old 02-01-2004, 08:26 PM   #5
tisource
Member
 
Registered: Feb 2002
Posts: 322

Original Poster
Rep: Reputation: 30
All I know is that I have several users that use commas in their filenames all the time. They have for years. It has become commonplace for them. Yes, commas can seperate parameters passed to DLL's, but apparently they are used more than that. NT/2000/XP doesn't mind commas.
 
Old 03-18-2004, 05:17 PM   #6
tisource
Member
 
Registered: Feb 2002
Posts: 322

Original Poster
Rep: Reputation: 30
Just wanted to add to this message. Samba 3.0.2a allows commas in filenames. Must be a character set issue.

Samba 3 fixed the problem.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Sharing Filenames with Spanish letters over SAMBA Burgin Linux - Networking 1 06-27-2005 09:51 AM
Samba won't view long filenames mjtice Linux - Networking 1 04-15-2005 09:03 AM
printf output with commas eastsuse Linux - General 1 03-09-2004 07:26 PM
Samba, PDFs, and Windows filenames kdavidson Linux - Networking 1 12-09-2003 12:37 AM
Samba & Filenames from XP chiefobeef Linux - Newbie 1 10-22-2003 04:58 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 03:23 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration