Problem if sharename is greater than 12 characters
Linux - NewbieThis 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!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Problem if sharename is greater than 12 characters
Hi,
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
Distribution: Debian testing/sid; OpenSuSE; Fedora; Mint
Posts: 5,524
Rep:
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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.