Download your favorite Linux distribution at LQ ISO.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 10-25-2005, 04:06 PM   #1
Registered: Aug 2004
Location: a small village faraway in the mountains
Distribution: Fedora Core 1, Slackware 10.0 | 2.4.26 | custom, Slackware 10.2 | 11.0, Slackware64-13
Posts: 345

Rep: Reputation: 32
Problem if sharename is greater than 12 characters


I am using Slackware 10.0 I am on a lan that has both windows as well as linux boxes. When a windows XP user shares a folder over the network and the share name is greater than 12 characters, he gets a warning that since the sharename is greater than 12 characters, some other computers running Windoze Me, 2000, etc might have some problems.
The problem is that those shares are not visible under linux. I type smb://i.p. and get all shares except those (sometimes it even asks for passwords). What I want to say is that if a shared winows folder has a name of greater than 12 characters I cannot access it while people using windows XP have no problems at all.

Is there some way to fix this?
Thanks in anticipation
Old 10-25-2005, 04:17 PM   #2
Senior Member
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 3,115

Rep: Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548Reputation: 548
I think there is an informal rule that share names should not exceed 12 characters for this very reason. The way to fix it is reduce the length of the share names to 12 characters or less. I know that can be a pain. I have faith, though. You can do it. Be courageous, and don't take no for an answer.
Old 10-25-2005, 05:15 PM   #3
Senior Member
Registered: Jan 2002
Location: St Louis, MO
Distribution: Ubuntu
Posts: 1,284

Rep: Reputation: 47
I don't know a way around it other than reduce the length of your shares. You should still be able to manually connect to the shares even if they are over 12 characters in length, so you could set a script to mount these, it's just browsing and listing shares over characters that creates problems I think.
Old 10-26-2005, 02:49 PM   #4
Registered: Aug 2004
Location: a small village faraway in the mountains
Distribution: Fedora Core 1, Slackware 10.0 | 2.4.26 | custom, Slackware 10.2 | 11.0, Slackware64-13
Posts: 345

Original Poster
Rep: Reputation: 32
Okay, let me make this clear. I personally have no problems with sharenames less than 12 characters. When I ask somebody (on XP) to share stuff for me, I tell him in advance to keep the share name less than 12 characters.

Fouldsy, could you elaborate as to how I could manually connect to those shares. I think the problem is with smbclient itself. I tried listing the shares with smbclient -L \\\\<i.p. address> and got all shares except those having names greater than 12 characters.

As I told already, I am on a lan that has both linux and windows(mostly XP) boxes. When people get new stuff they usually share it over the lan so that others can copy it. Suppose somebody gets two movies Shutter and The Shawshank Redemption he names them instinctively by their names and shares them over the network. I while browsing through the network get Shutter but have no idea about The Shawshank Redemption. Okay, one might say that eventually, after some days, I may get the movie, but isn't this a sort of an inherent disadvantage? I have already asked people I know to keep the sharename less than 12 characters whenver they share suff, but I don't know everybody and also not everybody would do it coz I said so.

Did I just notice a bit of sarcasm from somewhere? I don't think that would help anyone.

Okay, I think I've blabbered too much..... The jist of the matter is that, is there a workaround to this or am I doing something stupid.
Thanks in anticipation.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
80x25 and Greater... SpEcIeS Debian 4 02-07-2005 12:10 PM
3Com 905-b and RedHat greater than 7.2 depdiver Linux - Newbie 4 11-11-2004 10:27 AM
No Greater Gift ... moorege Member Intro 0 08-24-2003 02:02 PM
Samba / Computer or Sharename could not be found Froggy Linux - Networking 2 08-13-2003 03:32 PM
i can upload file that is greater than 1MB marconi8 Linux - General 0 12-17-2002 10:13 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:50 PM.

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