[CDBUG-talk] mount_smbfs question
Patrick Muldoon
doon at inoc.net
Thu Mar 17 09:31:01 EST 2005
Jonathan Franks wrote:
>
> Password:
> mount_smbfs: unable to open connection: syserr = Connection reset by peer
>
> So, using -I seems to get me a little closer, in that it at least
> prompts for a password. I've tested with several servers across the
> network, and without exception the ones on vlan 10 work perfectly, and
> those on any other vlan behave as above. I am able to ping all of the
> servers using either their IP address or their dns name. Nonetheless,
> on a whim I tried adding them to /etc/hosts, but this had no effect.
>
> Anyhow I'm running low on ideas for this so I thought I'd throw it out
> to you guys to see if anyone might have an answer. Any thoughts?
how are you routing between the 2 VLANS?
Any Access lists that would be blocking SMB? Or any access lists on the
target server that would prevent it from talking to a non local (same
subnet IP)
Can you ping the the IP on VLAN20?
can you nmap the ip in question?
Does the Server in VLAN 20 have a Default GW or a route to be able to
see you FreeBSD box.
If you reverse it, go to the server in VLAN 20, and try to ping /
connect to the freebsd box what happens?
Just some quick thoughts of the top of my head.
not sure if it matters when acting as a client...
from /usr/local/etc/smb.conf
# This option is important for security. It allows you to restrict
# connections to machines which are on your local network. The
# following example restricts access to two C class networks and
# the "loopback" interface. For more examples of the syntax see
# the smb.conf man page
hosts allow = 192.168.10. 127. 192.168.11. 192.168.12.
This allows the various subnets I have here at home access to the the
SMB server on hobbiton (but with only 1 winders box left, i not sure how
long I will need to still run samba ... :) )
-Patrick
--
Patrick Muldoon
Network/Software Engineer
INOC (http://www.inoc.net)
PGPKEY (http://www.inoc.net/~doon)
Key ID: 0x370D752C
Field tested: Manufacturing doesn't have a test system.
More information about the CDBUG-talk
mailing list