On 14 Jun 2010, at 21:41, Michael Sullivan wrote:
... When I try to connect to the samba share from my
linux install, I get this:

mich...@camille ~ $ smbclient //carter//home
Enter michael's password:
Domain=[MYGROUP] OS=[Unix] Server=[Samba 3.4.6]
tree connect failed: NT_STATUS_BAD_NETWORK_NAME
mich...@camille ~ $ smbclient //carter//michael
Enter michael's password:
Domain=[MYGROUP] OS=[Unix] Server=[Samba 3.4.6]
tree connect failed: NT_STATUS_BAD_NETWORK_NAME

(The host name is carter, and I didn't understand what the second part
should be.)

If you're referring to the //first/second syntax, then the first part is the computer name, the second part the share name.

Also, I didn't know if "michael's password" meant my password on my
local box, my password on the remote box, or some password I set up for
Samba forever ago...

The second / third option.

Each user on the Samba server has a password, but it isn't the same as their system password. Log on to the Samba server (i.e. `ssh carter`) and run smbpasswd (possibly `sudo smbpasswd -U michael`).

Here's my /etc/samba/smb.conf file:
...
  hosts allow = 192.168.1. 127.

If it's been some time since this system was used, are you still using the 192.168.1.x subnet? If your ISP sent you a new router, you might now be on 192.168.0.x. IMO change this to:
   hosts allow = 192.168. 127.

Also run `smbtree` (works without a password).

I appreciate that Samba tends not to make any sense when you're inexperienced, but there ought to be lots of troubleshooting guides out there. Google "troubleshooting samba", follow through the steps suggested by 2 or 3 and report back & tell us what you've done.

Stroller.

Reply via email to