Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Oct 2003 12:03:31 -0700
From:      Anthony Chavez <acc@anthonychavez.org>
To:        freebsd-questions@freebsd.org
Subject:   Re: Samba: very strange truncation error
Message-ID:  <m28yn5w5fg.fsf@pegasus.anthonychavez.org>
References:  <brubf4p8.fsf@anthonychavez.org>

next in thread | previous in thread | raw e-mail | index | archive | help
--=-=-=
Content-Transfer-Encoding: quoted-printable

On Tue, 28 Oct 2003 12:53:03 -0500 Brandon Lodriguss <brandon@eastern.k12.n=
j.us> wrote:
> Hi Anthony,

Hi Brandon.  I'm following up to my post to freebsd-questions with your
response.

> I was searching the net for some help with a problem it appears you've
> had before (saw an email of yours on the freebsd-questions mailing
> list)...A bunch of Samba error messages that say "can't connect to
> service _____".  I'm not having much luck, I have 4 samba fileservers
> running, all configured virtually identically except for different
> share names...Two of which are having this problem, and two of which
> aren't.

Define "configured virutally identically."  In what ways do they differ,
exactly?  Assuming they're all FreeBSD boxen, were they each built from
the same source tree?

> Did you ever have any success in finding out why this was happening?
> Any pointers in the right direction would be much appreciated.

I received no response from freebsd-questions, so I posted to the samba
mailing list (http://lists.samba.org/pipermail/samba/), but received no
response from that list, either.  I have been ignoring the problem
(well, that's not entirely accurate---I purchased a Powerbook to replace
my dying Win2k notebook) since I posted, but AFAIK, it hasn't been
resolved.

Based on the description of your configuration, you probably have the
better chance of determining root cause.  I currently have many other
priorities, so I will be unable to look into this any deeper until
further notice.

One possible solution would be to upgrade to 3.0.0 (net/samba-devel).  I
have yet to do so myself, but I'm hoping that by doing so, cosmic rays
will shine down from the distribution servers and send the issue
hurtling off to /dev/null, at least for the time being. :-)

Best of luck!

=2D-=20
Anthony Chavez                             http://www.anthonychavez.org/
mailto:acc@anthonychavez.org                jabber:acc@anthonychavez.org

On Wed, 27 Aug 2003 10:25:23 -0600 acc@anthonychavez.org wrote:
> Fellow Samba- and FreeBSD-lovers:
>
> I'm encountering a very peculiar error.  I first encountered it when
> doing an upgrade to Samba 2.2.8a (from a fairly recent version---I don't
> recally exactly which, but it couldn't have been older than 2.2.7) on
> FreeBSD 4.8-STABLE.
>
> The error I'm encountering is twofold.  In the first example, I try to
> connect to the "shared" service, which results in the following:
>
> [2003/08/26 18:21:17, 0] smbd/service.c:make_connection(252)
>   aphrodite (192.168.1.4) couldn't find service share
>
> Second, when trying to connect to service acc I get:
>
> [2003/08/18 13:36:22, 0] smbd/service.c:make_connection(252)
>   aphrodite (192.168.1.4) couldn't find service accproject.ede
> [2003/08/18 13:36:22, 0] smbd/service.c:make_connection(252)
>   aphrodite (192.168.1.4) couldn't find service accmakefile.am
>
> The former example doesn't seem to phase Win2k SP4 at all, but certain
> apps (such as Emacs 21.3.1) freeze up when the latter is encountered.
> However, when I try to access the acc service again, it works fine
> (i.e., it alternates from functional to non-functional, ad nauseum).
>
> I've tried rebuilding a couple of times, which doesn't fix the problem
> at all.  The make variables (which should be obvious to any FreeBSD user
> experienced with portupgrade and fairly straightforward to everyone
> else) I pass to the build process are:
>
> -DWITH_AUDIT -DWITH_RECYCLE -DWITH_SSL -DWITH_UTMP -DWITH_MSDFS
> -DWITHOUT_CUPS -DWITH_WINBIND_AUTH_CHALLENGE
>
> I would very much appreciate any insight that you could lend.  This is
> only a slight nuisance, but one that is starting become slightly more
> irritating as time goes on.  I've included my (very minimal) smb.conf
> below.  Thanks!
>
> --=20
> Anthony Chavez                             http://www.anthonychavez.org/
> mailto:acc@anthonychavez.org         jabber:acc@jabber.anthonychavez.org
>
> # Samba config file created using SWAT
> # from aphrodite.anthonychavez.org (192.168.1.4)
> # Date: 2003/07/17 02:56:37
>
> # Global parameters
> [global]
> 	workgroup =3D ATHENS
> 	server string =3D Samba %v
> 	interfaces =3D rl0 127.0.0.1
> 	bind interfaces only =3D Yes
> 	encrypt passwords =3D Yes
> 	passwd chat =3D *password* %n\n *password* %n\n *done*
> 	username map =3D /usr/local/etc/smb.usermap
> 	unix password sync =3D Yes
> 	log level =3D 1
> 	log file =3D /var/log/samba.%m
> 	max log size =3D 50
> 	socket options =3D TCP_NODELAY SO_RCVBUF=3D8192 SO_SNDBUF=3D8192 IPTOS_T=
HROUGHPUT
> 	load printers =3D No
> 	domain admin group =3D @staff
> 	add user script =3D /root/bin/addmachine.pl %u
> 	delete user script =3D /root/bin/rmmachine.pl %u
> 	logon path =3D \\%N\profiles\%u
> 	domain logons =3D Yes
> 	os level =3D 65
> 	preferred master =3D Yes
> 	domain master =3D Yes
> 	hosts allow =3D 192.168.1. 127.
>
> [netlogon]
> 	path =3D /usr/local/samba/netlogon
> 	write list =3D root
> 	browseable =3D No
>
> [profiles]
> 	path =3D /usr/local/samba/profiles
> 	read only =3D No
> 	create mask =3D 0600
> 	directory mask =3D 0700
> 	browseable =3D No
>
> [homes]
> 	comment =3D Home Directory
> 	valid users =3D %S
> 	read only =3D No
> 	hide dot files =3D No
> 	browseable =3D No
>
> [acc]
> 	comment =3D Home Directory
> 	path =3D /usr/home/acc
> 	valid users =3D root acc
> 	force user =3D acc
> 	force group =3D acc
> 	read only =3D No
>
> [tlc]
> 	comment =3D Home Directory
> 	path =3D /usr/home/tlc
> 	valid users =3D root tlc
> 	force user =3D tlc
> 	force group =3D tlc
> 	read only =3D No
>
> [archive]
> 	path =3D /usr/local/samba/arc
> 	force user =3D samba
> 	read only =3D No
> 	force create mode =3D 0600
> 	force directory mode =3D 0700
>
> [multimedia]
> 	path =3D /usr/local/samba/mm
> 	force user =3D samba
> 	read only =3D No
> 	force create mode =3D 0600
> 	force directory mode =3D 0700
>
> [roms]
> 	path =3D /usr/local/samba/roms
> 	force user =3D samba
> 	read only =3D No
> 	force create mode =3D 0600
> 	force directory mode =3D 0700
>
> [shared]
> 	path =3D /usr/local/samba/shared
> 	read only =3D No
> 	force create mode =3D 0600
> 	force directory mode =3D 0700

=2D-=20
Anthony Chavez                             http://www.anthonychavez.org/
mailto:acc@anthonychavez.org                jabber:acc@anthonychavez.org

--=-=-=
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (Darwin)

iD8DBQA/nr2HbZTbIaRBRXERAk6zAJ0Z1y+qd82A+Q6Je5eJG3+D7I5c3gCfbp3o
0rdBi2WwRbWaXwDLHVVMOoc=
=Po+B
-----END PGP SIGNATURE-----
--=-=-=--



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