Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Aug 2001 10:26:45 +0800
From:      "Paul Hamilton" <paul@compwest.net.au>
To:        <questions@FreeBSD.ORG>
Subject:   Running Samba on FreeBSD 4.2 and 4.3 - errors on FreeBSD side of things!
Message-ID:  <02983B795AEAD311BAEE0040C7993AA908A25E@CWSVR>
In-Reply-To: <02983B795AEAD311BAEE0040C7993AA9271064@CWSVR>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

I have tried installing Samba 2.0.7 and 2.2 from the cd packages, and 2.0.9
from source onto FreeBSD 4.2.  I kept getting:

/usr/local/samba/bin/smbclient -d 9 -L 192.168.0.4

INFO: Debug class all level = 5   (pid 21362 from pid 21362)
pm_process() returned Yes
added interface ip=192.168.0.4 bcast=192.168.0.255 nmask=255.255.255.0
Client started (version 2.2.1a).
Connecting to 192.168.0.4 at port 139
socket option SO_KEEPALIVE = 0
socket option SO_REUSEADDR = 0
socket option SO_BROADCAST = 0
socket option TCP_NODELAY = 4
socket option IPTOS_LOWDELAY = 0
socket option IPTOS_THROUGHPUT = 0
socket option SO_REUSEPORT = 0
socket option SO_SNDBUF = 17520
socket option SO_RCVBUF = 32
socket option SO_SNDLOWAT = 2048
socket option SO_RCVLOWAT = 1
socket option SO_SNDTIMEO = 0
socket option SO_RCVTIMEO = 0
write_socket(3,76)
write_socket(3,76) wrote 76
Sent session request
read_socket_with_timeout: timeout read. read error = Connection reset by
peer.
size=0
< - snip - >

This is with the default smb.conf file, which passes testparm!  Thinking
it's a 4.2 problem, I upgraded to 4.3.  Same problem!  I tried 2.0.8 and 2.2
from the packages cd, and also 2.2 built from source.

I looked through the samba news archives, and find a few references to the
problem, but no fixes.

I tend to think it's a FreeBSD problem, as I get the same error all the
time.  I have seen a reference about trying to access udp port 0x10007 (from
memory, as I don't have access to the smbd.log file ATT.  I just remember
that it was a large numbered port, and that it couldn't open it).   nmbd
seems to work ok.

Any idea's anyone?

Thanks,

Paul Hamilton


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?02983B795AEAD311BAEE0040C7993AA908A25E>