[Samba] closed connection

finjon at helawann.de finjon at helawann.de
Fri Feb 6 11:41:13 GMT 2004


Hello List.

I have a problem with Samba 2.2.8a and a Win-Add that collects and calculates data 
using Turbo-DB SQL.
In case two Win2K Clients are doing the same process it sometimes stopps executing 
(it hangs), so that the clients just can be reseted. After turning the log-level to 4 there 
ist the following piece loged:

snipp - - - - 

[2004/02/06 12:16:19, 3] smbd/process.c:process_smb(846)
  Transaction 71087 of length 39
[2004/02/06 12:16:19, 3] smbd/process.c:switch_message(685)
  switch message SMBtdis (pid 13690)
[2004/02/06 12:16:19, 3] smbd/sec_ctx.c:set_sec_ctx(329)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2004/02/06 12:16:19, 3] smbd/sec_ctx.c:set_sec_ctx(329)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2004/02/06 12:16:19, 1] smbd/service.c:close_cnum(677)
  o10604gb1 (10.51.11.236) closed connection to service w-lohn
[2004/02/06 12:16:19, 3] smbd/connection.c:yield_connection(48)
  Yielding connection to w-lohn
[2004/02/06 12:16:19, 3] smbd/sec_ctx.c:set_sec_ctx(329)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2004/02/06 12:16:19, 3] smbd/vfs.c:vfs_ChDir(574)
  vfs_ChDir to /

snapp - - - -

Here is my smb.conf:
[global]
	workgroup = TEST
	encrypt passwords = Yes
	map to guest = Bad User
	null passwords = Yes
	keepalive = 10
	logon script = login.bat
	domain logons = Yes
	os level = 256
	socket options = TCP_NODELAY
	preferred master = Yes
	domain master = Yes
	local master = Yes
	security = user
	wins support = Yes
	kernel oplocks = yes
	time server = Yes
	log level = 4
	printing = CUPS
	printcap name = /etc/printcap
	add user script = /usr/sbin/useradd -d /dev/null -g 100 -s /dev/false -M %u
	character set = ISO8859-1
	client code page = 850
	level2 oplocks = no

[netlogon]
	comment = Network Logon Service
	path = /data/stb/logon
	writeable = Yes

[homes]
	comment = Heimatverzeichnis
	writeable = Yes
	browseable = No

[w-lohn]
	path = /data/w-lohn
	writeable = Yes
	create mask = 0777
	directory mask = 0777
	oplocks = no
	admin users = +lohn
# END of /etc/smb.conf

Why does the Client close the connection?

Thanks a lot for your help!

Andre Klocke
Linux Developer
Cologne, Germany



More information about the samba mailing list