David Dyer-Bennet
Patron
- Joined
- Jul 13, 2013
- Messages
- 286
Been using the FreeNAS box from Windows for ages, working basically fine.
But started trying to connect to an existing share from a Linux box the other day, and it never works. Played with a lot of things, not seeing anything that gives me any ideas.
For testing, smbclient seems to be the easiest / quickest way to go through ideas. With debug level set at 5, I'm finding consistently that it's getting the error "protocol negotiation failed: NT_STATUS_INVALID_NETWORK_RESPONSE" just before the final failure.
The last thing in the log (after stuff about successfully looking up the right IP address for the server) is:
This happens for both attempts to connect to a service (x0, one I created just for this testing) and for attempts to list services with the -L option.
Some of the shares have no IP addresses in the hosts allow box on the server; that must default to allowing everybody to connect, because that's the way the ones Windows uses regularly are configured. Is that true? (I can't really find anything in the docs on what those mean). As a test, I tried listing the IP of the linux box I was running my smbclient tests from in the config, and that didn't change anything. So that doesn't seem like it's the problem.
Any thoughts?
But started trying to connect to an existing share from a Linux box the other day, and it never works. Played with a lot of things, not seeing anything that gives me any ideas.
For testing, smbclient seems to be the easiest / quickest way to go through ideas. With debug level set at 5, I'm finding consistently that it's getting the error "protocol negotiation failed: NT_STATUS_INVALID_NETWORK_RESPONSE" just before the final failure.
The last thing in the log (after stuff about successfully looking up the right IP address for the server) is:
Code:
Connecting to 192.168.1.205 at port 445 Socket options: SO_KEEPALIVE = 0 SO_REUSEADDR = 0 SO_BROADCAST = 0 TCP_NODELAY = 1 TCP_KEEPCNT = 9 TCP_KEEPIDLE = 7200 TCP_KEEPINTVL = 75 IPTOS_LOWDELAY = 0 IPTOS_THROUGHPUT = 0 SO_REUSEPORT = 0 SO_SNDBUF = 87040 SO_RCVBUF = 372480 SO_SNDLOWAT = 1 SO_RCVLOWAT = 1 SO_SNDTIMEO = 0 SO_RCVTIMEO = 0 TCP_QUICKACK = 1 TCP_DEFER_ACCEPT = 0 session request ok protocol negotiation failed: NT_STATUS_INVALID_NETWORK_RESPONSE
This happens for both attempts to connect to a service (x0, one I created just for this testing) and for attempts to list services with the -L option.
Some of the shares have no IP addresses in the hosts allow box on the server; that must default to allowing everybody to connect, because that's the way the ones Windows uses regularly are configured. Is that true? (I can't really find anything in the docs on what those mean). As a test, I tried listing the IP of the linux box I was running my smbclient tests from in the config, and that didn't change anything. So that doesn't seem like it's the problem.
Any thoughts?