Networking Forums

Networking Forums > Computer Networking > Linux Networking > no connection to samba shares

Reply
Thread Tools Display Modes

no connection to samba shares

 
 
Urs Schuerch
Guest
Posts: n/a

 
      01-29-2012, 08:55 AM

When I try to browse samba shares I am stuck with this:

$ smbclient //madura/home/data -U shareaccess
Enter shareaccess's password:
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.5.6-86.el6_1.4]
tree connect failed: NT_STATUS_BAD_NETWORK_NAME

I can ping client from host and host from client smbd is running on the
remote host with the -D option

testparm gave no errors

my smb.conf looks like this:

[global]
workgroup = WORKGROUP
server string = samba
security = user
passdb backend = tdbsam
load printers = no

[data]
comment = data directory
path = /home/data
writeable = yes
public = no

any help greatly appreciated!

Urs
 
Reply With Quote
 
 
 
 
J G Miller
Guest
Posts: n/a

 
      01-29-2012, 03:22 PM
On Sunday, January 29th, 2012, at 10:55:30h +0100, Urs Schuerch wrote:

> When I try to browse samba shares I am stuck with this:
>
> $ smbclient //madura/home/data -U shareaccess Enter shareaccess's
> password:
> Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.5.6-86.el6_1.4] tree
> connect failed: NT_STATUS_BAD_NETWORK_NAME


First of all you should be doing a test with just

smbclient -L madura

and just hit <CR> at the password prompt.

If that does not work then it means that your SAMBA server
is not accessible from the current host.

Just because you can ping it, does not give any indication
if there is a firewall blocking the port 139 (netbios-ssn)
needed for SAMBA to work properly.

Have a look in /var/log/samba to see, after the above tests,
if a log file log.[IP_ADDRESS_OF_CLIENT_MACHINE] has been
created.

If not, then probably your client machine just cannot connect for
some reason to the SAMBA server, and if it does exist, have a look
inside at the messages. Also check in the log.nmbd file to
see if there was a client request from the client machine.
 
Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Access samba shares via VPN from outside? Tom Muller Linux Networking 0 05-04-2007 03:22 PM
Samba shares vs. OS/2 Don Guy Linux Networking 1 04-05-2006 05:22 PM
Strange way to get LAN to see Samba shares. olczyk Linux Networking 0 12-29-2005 06:59 AM
Shares with blanks in the name with samba Daniel Camps Linux Networking 1 01-15-2005 06:57 PM
Shares with blanks in the name with samba Daniel Camps Linux Networking 1 01-15-2005 01:32 AM



1 2 3 4 5 6 7 8 9 10 11