On Mon, 2010-06-14 at 22:43 +0100, Stroller wrote:
> 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.
>   
> 
I've got a couple of new errors in the logs:

>From /var/log/samba/log.__ffff_192.168.1.3:
[2010/06/15 11:56:58,  0] lib/util_sock.c:1564(matchname)
  matchname: host name/address mismatch: ::ffff:192.168.1.3 !=
camille.espersunited.com
[2010/06/15 11:56:58,  0] lib/util_sock.c:1685(get_peer_name)
  Matchname failed on camille.espersunited.com ::ffff:192.168.1.3

and from /var/log/samba/log.camille:

[2010/06/15 11:56:58,  0] smbd/service.c:942(make_connection_snum)
  Can't become connected user!


What's with the ffff:192.168.1.3?  Camille's address IS 192.168.1.3, and
it seems to know that because it calls the host at the address
'camille'...


Reply via email to