LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 12-06-2001, 01:22 PM   #1
Tuzinor
Member
 
Registered: Feb 2001
Posts: 102

Rep: Reputation: 15
Smbclient problem


Been working on this for quite some time now! Networking between my main puter Win2K Pro & 2nd with Linux Mandrake 8.1. Am able to see the Linux machine in the Network Neighborhood and access it BUT not able to access the share directory.Net view,nmblookup,smbclient -L all are positive. I can see the shared disk from the W2K machine on Linux machine.The problem is on the Linux machine:
Smbclient -L shows my sharename,type and comment sections from my Linux machine but running the command :
smbclient '\\servername\sharename' gives me the following message >"tree connect failed: ERRDOS-ERRnosuchshare (you specified an invalid share name)".Running this command from Linux to access the Win2K shared disk is successful.I have not been able to find any posts on the net where someone found a solution to this problem. Anyone have a solution???
Thank's- Dave
 
Old 12-06-2001, 10:47 PM   #2
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
some firewall stuff for ipchains and samba


-A input -p tcp -j ACCEPT -s 192.168.0.0/24 -d 0.0.0.0/0 137:139
-A input -p tcp -j DENY -s 0.0.0.0/0 -d 0.0.0.0/0 137:139
-A input -p udp -j ACCEPT -s 192.168.0.0/24 -d 0.0.0.0/0 137:139
-A input -p udp -j DENY -s 0.0.0.0/0 -d 0.0.0.0/0 137:139
-A input -p tcp -j ACCEPT -s 192.168.0.0/24 -d 0.0.0.0/0 901

Is the share name actually there in the absolute path specified?

Does the user have permission to access it.
Are they added to smb users?




Are you sure it's not //server/share ?

Also try with windows 2k enable the guest account.




Last edited by DavidPhillips; 12-06-2001 at 10:52 PM.
 
Old 12-06-2001, 10:53 PM   #3
DavidPhillips
LQ Guru
 
Registered: Jun 2001
Location: South Alabama
Distribution: Fedora / RedHat / SuSE
Posts: 7,163

Rep: Reputation: 58
mount -t smbfs //win2k/share /mnt/win2k
 
  


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
problem with smbclient -M nice_indian Linux - Networking 0 10-28-2004 12:20 PM
smbclient -p 139 -M hostname. PROBLEM! oma Linux - Software 7 02-28-2004 02:35 PM
smbclient -p 139 -M hostname. PROBLEM! oma Linux - Software 2 02-28-2004 11:06 AM
still got the smbclient problem! e1000 Linux - Networking 1 01-03-2004 04:37 AM
smbclient problem brijesh Linux - Security 1 09-23-2003 01:44 PM

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

All times are GMT -5. The time now is 08:26 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