[Samba] Very strange truncation error

acc at anthonychavez.org acc at anthonychavez.org
Wed Aug 27 06:59:43 GMT 2003


Fellow Samba-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!

-- 
Anthony Chavez                             http://www.anthonychavez.org/
mailto:acc at anthonychavez.org         jabber:acc at 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 = ATHENS
	server string = Samba %v
	interfaces = rl0 127.0.0.1
	bind interfaces only = Yes
	encrypt passwords = Yes
	passwd chat = *password* %n\n *password* %n\n *done*
	username map = /usr/local/etc/smb.usermap
	unix password sync = Yes
	log level = 1
	log file = /var/log/samba.%m
	max log size = 50
	socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192 IPTOS_THROUGHPUT
	load printers = No
	domain admin group = @staff
	add user script = /root/bin/addmachine.pl %u
	delete user script = /root/bin/rmmachine.pl %u
	logon path = \\%N\profiles\%u
	domain logons = Yes
	os level = 65
	preferred master = Yes
	domain master = Yes
	hosts allow = 192.168.1. 127.

[netlogon]
	path = /usr/local/samba/netlogon
	write list = root
	browseable = No

[profiles]
	path = /usr/local/samba/profiles
	read only = No
	create mask = 0600
	directory mask = 0700
	browseable = No

[homes]
	comment = Home Directory
	valid users = %S
	read only = No
	hide dot files = No
	browseable = No

[acc]
	comment = Home Directory
	path = /usr/home/acc
	valid users = root acc
	force user = acc
	force group = acc
	read only = No

[tlc]
	comment = Home Directory
	path = /usr/home/tlc
	valid users = root tlc
	force user = tlc
	force group = tlc
	read only = No

[archive]
	path = /usr/local/samba/arc
	force user = samba
	read only = No
	force create mode = 0600
	force directory mode = 0700

[multimedia]
	path = /usr/local/samba/mm
	force user = samba
	read only = No
	force create mode = 0600
	force directory mode = 0700

[roms]
	path = /usr/local/samba/roms
	force user = samba
	read only = No
	force create mode = 0600
	force directory mode = 0700

[shared]
	path = /usr/local/samba/shared
	read only = No
	force create mode = 0600
	force directory mode = 0700
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 185 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba/attachments/20030827/a294067d/attachment.bin


More information about the samba mailing list