Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Aug 2003 10:25:23 -0600
From:      acc@anthonychavez.org
To:        freebsd-questions@freebsd.org
Subject:   Samba: very strange truncation error
Message-ID:  <brubf4p8.fsf@anthonychavez.org>

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

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:

=2DDWITH_AUDIT -DWITH_RECYCLE -DWITH_SSL -DWITH_UTMP -DWITH_MSDFS
=2DDWITHOUT_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!

=2D-=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_THR=
OUGHPUT
	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

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

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

iD8DBQA/TNt5bZTbIaRBRXERAhBKAJ9Qyc9hzfaFgCcZqqTGPUbSrCu/MACeJEbe
1gw6PyEarckViuC9bL1Zq6c=
=q+5h
-----END PGP SIGNATURE-----
--=-=-=--



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