[Samba] Samba 3.0.21 and WinXPSP2 problems
info at v-art.ru
info at v-art.ru
Sun Jul 2 08:23:33 GMT 2006
Hi all,
I have a OpenBSD box running samba 3.0.21, it's configured to offer one
publicly available share. The problem is that when i connect from WinXPSP2
box and start browsing the share client hangs for ~5 mins without any
success when tries to access any file. Browsing folders is ok and
everything is 100% working for smbclient.
Here's my smb.conf:
[global]
workgroup = YAVAM
netbios name = GANDALF
interfaces = 192.168.1.128/0
log level = 3
log file = /var/log/samba/%m.log
max log size = 500
max wins ttl = 30
min wins ttl = 30
os level = 65
preferred master = Yes
domain master = Yes
local master = Yes
wins support = Yes
remote browse sync = 192.168.1.255
map to guest = Bad User
[data]
path = /var/archive
read only = No
guest ok = Yes
force user = ikido
force group = users
Here's smbd's log of an incoming connection:
[2006/07/01 13:39:56, 3]
/usr/ports/net/samba/w-samba-3.0.21bp2/samba-3.0.21b/source/smbd/connection.c:yield_connection(69)
Yielding connection to IPC$
[2006/07/01 13:39:56, 3]
/usr/ports/net/samba/w-samba-3.0.21bp2/samba-3.0.21b/source/smbd/sec_ctx.c:set_sec_ctx(288)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2006/07/01 13:39:56, 3]
/usr/ports/net/samba/w-samba-3.0.21bp2/samba-3.0.21b/source/smbd/sec_ctx.c:push_sec_ctx(256)
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2006/07/01 13:39:56, 3]
/usr/ports/net/samba/w-samba-3.0.21bp2/samba-3.0.21b/source/smbd/uid.c:push_conn_ctx(393)
push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2006/07/01 13:39:56, 3]
/usr/ports/net/samba/w-samba-3.0.21bp2/samba-3.0.21b/source/smbd/sec_ctx.c:set_sec_ctx(288)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2006/07/01 13:39:56, 3]
/usr/ports/net/samba/w-samba-3.0.21bp2/samba-3.0.21b/source/smbd/sec_ctx.c:pop_sec_ctx(386)
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2006/07/01 13:39:56, 2]
/usr/ports/net/samba/w-samba-3.0.21bp2/samba-3.0.21b/source/smbd/close.c:close_normal_file(308)
nobody closed file bfbackreal.jpg (numopen=0)
[2006/07/01 13:39:56, 3]
/usr/ports/net/samba/w-samba-3.0.21bp2/samba-3.0.21b/source/smbd/sec_ctx.c:set_sec_ctx(288)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2006/07/01 13:39:56, 1]
/usr/ports/net/samba/w-samba-3.0.21bp2/samba-3.0.21b/source/smbd/service.c:close_cnum(885)
dozcaps (192.168.1.140) closed connection to service data
[2006/07/01 13:39:56, 3]
/usr/ports/net/samba/w-samba-3.0.21bp2/samba-3.0.21b/source/smbd/connection.c:yield_connection(69)
Yielding connection to data
[2006/07/01 13:39:56, 3]
/usr/ports/net/samba/w-samba-3.0.21bp2/samba-3.0.21b/source/smbd/sec_ctx.c:set_sec_ctx(288)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2006/07/01 13:39:56, 3]
/usr/ports/net/samba/w-samba-3.0.21bp2/samba-3.0.21b/source/smbd/connection.c:yield_connection(69)
Yielding connection to
[2006/07/01 13:39:56, 3]
/usr/ports/net/samba/w-samba-3.0.21bp2/samba-3.0.21b/source/smbd/server.c:exit_server(655)
Server exit (normal exit)
[2006/07/01 13:39:56, 3]
/usr/ports/net/samba/w-samba-3.0.21bp2/samba-3.0.21b/source/auth/auth.c:check_ntlm_password(219)
check_ntlm_password: Checking password for unmapped user
[DOZCAPS]\[z]@[DOZCAPS] with the new password interface
[2006/07/01 13:39:56, 3]
/usr/ports/net/samba/w-samba-3.0.21bp2/samba-3.0.21b/source/auth/auth.c:check_ntlm_password(222)
check_ntlm_password: mapped user is: [GANDALF]\[z]@[DOZCAPS]
[2006/07/01 13:39:56, 3]
/usr/ports/net/samba/w-samba-3.0.21bp2/samba-3.0.21b/source/smbd/sec_ctx.c:push_sec_ctx(256)
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2006/07/01 13:39:56, 3]
/usr/ports/net/samba/w-samba-3.0.21bp2/samba-3.0.21b/source/smbd/uid.c:push_conn_ctx(393)
push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2006/07/01 13:39:56, 3]
/usr/ports/net/samba/w-samba-3.0.21bp2/samba-3.0.21b/source/smbd/sec_ctx.c:set_sec_ctx(288)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2006/07/01 13:39:56, 3]
/usr/ports/net/samba/w-samba-3.0.21bp2/samba-3.0.21b/source/smbd/sec_ctx.c:pop_sec_ctx(386)
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2006/07/01 13:39:56, 3]
/usr/ports/net/samba/w-samba-3.0.21bp2/samba-3.0.21b/source/auth/auth_sam.c:check_sam_security(264)
check_sam_security: Couldn't find user 'z' in passdb.
[2006/07/01 13:39:56, 2]
/usr/ports/net/samba/w-samba-3.0.21bp2/samba-3.0.21b/source/auth/auth.c:check_ntlm_password(317)
check_ntlm_password: Authentication for user [z] -> [z] FAILED with
error NT_STATUS_NO_SUCH_USER
[2006/07/01 13:39:56, 3]
/usr/ports/net/samba/w-samba-3.0.21bp2/samba-3.0.21b/source/smbd/sesssetup.c:do_map_to_guest(39)
No such user z [DOZCAPS] - using guest account
[2006/07/01 13:39:56, 3]
/usr/ports/net/samba/w-samba-3.0.21bp2/samba-3.0.21b/source/smbd/password.c:register_vuid(257)
User name: nobody Real name: Unprivileged user
[2006/07/01 13:39:56, 3]
/usr/ports/net/samba/w-samba-3.0.21bp2/samba-3.0.21b/source/smbd/password.c:register_vuid(276)
UNIX uid 32767 is UNIX user nobody, and will be vuid 101
[2006/07/01 13:39:56, 3]
/usr/ports/net/samba/w-samba-3.0.21bp2/samba-3.0.21b/source/smbd/process.c:process_smb(1194)
Transaction 3 of length 84
[2006/07/01 13:39:56, 3]
/usr/ports/net/samba/w-samba-3.0.21bp2/samba-3.0.21b/source/smbd/process.c:switch_message(993)
switch message SMBtconX (pid 25377) conn 0x0
[2006/07/01 13:39:56, 3]
/usr/ports/net/samba/w-samba-3.0.21bp2/samba-3.0.21b/source/smbd/sec_ctx.c:set_sec_ctx(288)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2006/07/01 13:39:56, 3]
/usr/ports/net/samba/w-samba-3.0.21bp2/samba-3.0.21b/source/smbd/service.c:make_connection_snum(488)
Connect path is '/tmp' for service [IPC$]
[2006/07/01 13:39:56, 3]
/usr/ports/net/samba/w-samba-3.0.21bp2/samba-3.0.21b/source/lib/util_seaccess.c:se_access_check(250)
[2006/07/01 13:39:56, 3]
/usr/ports/net/samba/w-samba-3.0.21bp2/samba-3.0.21b/source/lib/util_seaccess.c:se_access_check(251)
se_access_check: user sid is
S-1-5-21-1812841568-2825347343-3435213962-501
se_access_check: also S-1-5-21-1812841568-2825347343-3435213962-514
se_access_check: also S-1-1-0
se_access_check: also S-1-5-2
se_access_check: also S-1-5-32-546
se_access_check: also S-1-5-21-1812841568-2825347343-3435213962-66535
[2006/07/01 13:39:56, 3]
/usr/ports/net/samba/w-samba-3.0.21bp2/samba-3.0.21b/source/smbd/vfs.c:vfs_init_default(216)
Initialising default vfs hooks
[2006/07/01 13:39:56, 3]
/usr/ports/net/samba/w-samba-3.0.21bp2/samba-3.0.21b/source/lib/util_seaccess.c:se_access_check(250)
[2006/07/01 13:39:56, 3]
/usr/ports/net/samba/w-samba-3.0.21bp2/samba-3.0.21b/source/lib/util_seaccess.c:se_access_check(251)
se_access_check: user sid is S-1-5-21-1812841568-2825347343-3435213962-501
se_access_check: also S-1-5-21-1812841568-2825347343-3435213962-514
se_access_check: also S-1-1-0
se_access_check: also S-1-5-2
se_access_check: also S-1-5-32-546
se_access_check: also S-1-5-21-1812841568-2825347343-3435213962-66535
[2006/07/01 13:39:56, 3]
/usr/ports/net/samba/w-samba-3.0.21bp2/samba-3.0.21b/source/smbd/sec_ctx.c:set_sec_ctx(288)
setting sec ctx (32767, 32767) - sec_ctx_stack_ndx = 0
[2006/07/01 13:39:56, 3]
/usr/ports/net/samba/w-samba-3.0.21bp2/samba-3.0.21b/source/smbd/service.c:make_connection_snum(693)
dozcaps (192.168.1.140) connect to service IPC$ initially as user nobody
(uid=32767, gid=32767) (pid 25377)
[2006/07/01 13:39:56, 3]
/usr/ports/net/samba/w-samba-3.0.21bp2/samba-3.0.21b/source/smbd/sec_ctx.c:set_sec_ctx(288)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2006/07/01 13:39:56, 3]
/usr/ports/net/samba/w-samba-3.0.21bp2/samba-3.0.21b/source/smbd/reply.c:reply_tcon_and_X(708)
tconX service=IPC$
[2006/07/01 13:39:56, 3]
/usr/ports/net/samba/w-samba-3.0.21bp2/samba-3.0.21b/source/smbd/process.c:process_smb(1194)
Transaction 4 of length 84
[2006/07/01 13:39:56, 3]
/usr/ports/net/samba/w-samba-3.0.21bp2/samba-3.0.21b/source/smbd/process.c:switch_message(993)
switch message SMBtconX (pid 25377) conn 0x0
[2006/07/01 13:39:56, 3]
/usr/ports/net/samba/w-samba-3.0.21bp2/samba-3.0.21b/source/smbd/sec_ctx.c:set_sec_ctx(288)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2006/07/01 13:39:56, 3]
/usr/ports/net/samba/w-samba-3.0.21bp2/samba-3.0.21b/source/smbd/service.c:make_connection_snum(488)
Connect path is '/var/archive' for service [data]
[2006/07/01 13:39:56, 3]
/usr/ports/net/samba/w-samba-3.0.21bp2/samba-3.0.21b/source/lib/util_seaccess.c:se_access_check(250)
[2006/07/01 13:39:56, 3]
/usr/ports/net/samba/w-samba-3.0.21bp2/samba-3.0.21b/source/lib/util_seaccess.c:se_access_check(251)
se_access_check: user sid is
S-1-5-21-1812841568-2825347343-3435213962-501
se_access_check: also S-1-5-21-1812841568-2825347343-3435213962-514
se_access_check: also S-1-1-0
se_access_check: also S-1-5-2
se_access_check: also S-1-5-32-546
se_access_check: also S-1-5-21-1812841568-2825347343-3435213962-66535
[2006/07/01 13:39:56, 3]
/usr/ports/net/samba/w-samba-3.0.21bp2/samba-3.0.21b/source/smbd/vfs.c:vfs_init_default(216)
Initialising default vfs hooks
[2006/07/01 13:39:56, 3]
/usr/ports/net/samba/w-samba-3.0.21bp2/samba-3.0.21b/source/lib/util_seaccess.c:se_access_check(250)
[2006/07/01 13:39:56, 3]
/usr/ports/net/samba/w-samba-3.0.21bp2/samba-3.0.21b/source/lib/util_seaccess.c:se_access_check(251)
se_access_check: user sid is
S-1-5-21-1812841568-2825347343-3435213962-501
se_access_check: also S-1-5-21-1812841568-2825347343-3435213962-514
se_access_check: also S-1-1-0
se_access_check: also S-1-5-2
se_access_check: also S-1-5-32-546
se_access_check: also S-1-5-21-1812841568-2825347343-3435213962-66535
[2006/07/01 13:39:56, 3]
/usr/ports/net/samba/w-samba-3.0.21bp2/samba-3.0.21b/source/smbd/sec_ctx.c:set_sec_ctx(288)
setting sec ctx (32767, 32767) - sec_ctx_stack_ndx = 0
[2006/07/01 13:39:56, 1]
/usr/ports/net/samba/w-samba-3.0.21bp2/samba-3.0.21b/source/smbd/service.c:make_connection_snum(693)
dozcaps (192.168.1.140) connect to service data initially as user nobody
(uid=32767, gid=32767) (pid 25377)
[2006/07/01 13:39:56, 3]
/usr/ports/net/samba/w-samba-3.0.21bp2/samba-3.0.21b/source/smbd/sec_ctx.c:set_sec_ctx(288)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2006/07/01 13:39:56, 3]
/usr/ports/net/samba/w-samba-3.0.21bp2/samba-3.0.21b/source/smbd/reply.c:reply_tcon_and_X(708)
tconX service=DATA
[2006/07/01 13:39:56, 3]
/usr/ports/net/samba/w-samba-3.0.21bp2/samba-3.0.21b/source/smbd/process.c:process_smb(1194)
Transaction 5 of length 120
[2006/07/01 13:39:56, 3]
/usr/ports/net/samba/w-samba-3.0.21bp2/samba-3.0.21b/source/smbd/process.c:switch_message(993)
switch message SMBntcreateX (pid 25377) conn 0x8801f830
[2006/07/01 13:39:56, 3]
/usr/ports/net/samba/w-samba-3.0.21bp2/samba-3.0.21b/source/smbd/sec_ctx.c:set_sec_ctx(288)
setting sec ctx (32767, 32767) - sec_ctx_stack_ndx = 0
[2006/07/01 13:39:56, 3]
/usr/ports/net/samba/w-samba-3.0.21bp2/samba-3.0.21b/source/smbd/dosmode.c:unix_mode(121)
unix_mode(bfbackreal.jpg) returning 0744
[2006/07/01 13:39:56, 2]
/usr/ports/net/samba/w-samba-3.0.21bp2/samba-3.0.21b/source/smbd/open.c:open_file(369)
z opened file bfbackreal.jpg read=Yes write=No (numopen=1)
[2006/07/01 13:39:56, 3]
/usr/ports/net/samba/w-samba-3.0.21bp2/samba-3.0.21b/source/smbd/process.c:process_smb(1194)
Transaction 6 of length 74
[2006/07/01 13:39:56, 3]
/usr/ports/net/samba/w-samba-3.0.21bp2/samba-3.0.21b/source/smbd/process.c:switch_message(993)
switch message SMBtrans2 (pid 25377) conn 0x8801f830
[2006/07/01 13:39:56, 3]
/usr/ports/net/samba/w-samba-3.0.21bp2/samba-3.0.21b/source/smbd/trans2.c:call_trans2qfsinfo(2134)
call_trans2qfsinfo: level = 258
[2006/07/01 13:39:56, 3]
/usr/ports/net/samba/w-samba-3.0.21bp2/samba-3.0.21b/source/smbd/process.c:process_smb(1194)
Transaction 7 of length 76
[2006/07/01 13:39:56, 3]
/usr/ports/net/samba/w-samba-3.0.21bp2/samba-3.0.21b/source/smbd/process.c:switch_message(993)
switch message SMBtrans2 (pid 25377) conn 0x8801f830
[2006/07/01 13:39:56, 3]
/usr/ports/net/samba/w-samba-3.0.21bp2/samba-3.0.21b/source/smbd/trans2.c:call_trans2qfilepathinfo(2797)
call_trans2qfilepathinfo: TRANSACT2_QFILEINFO: level = 1004
[2006/07/01 13:39:56, 3]
/usr/ports/net/samba/w-samba-3.0.21bp2/samba-3.0.21b/source/smbd/trans2.c:call_trans2qfilepathinfo(2911)
call_trans2qfilepathinfo bfbackreal.jpg (fnum = 5645) level=1004 call=7
total_data=0
[2006/07/01 13:39:56, 3]
/usr/ports/net/samba/w-samba-3.0.21bp2/samba-3.0.21b/source/smbd/process.c:process_smb(1194)
Transaction 8 of length 76
[2006/07/01 13:39:56, 3]
/usr/ports/net/samba/w-samba-3.0.21bp2/samba-3.0.21b/source/smbd/process.c:switch_message(993)
switch message SMBtrans2 (pid 25377) conn 0x8801f830
[2006/07/01 13:39:56, 3]
/usr/ports/net/samba/w-samba-3.0.21bp2/samba-3.0.21b/source/smbd/trans2.c:call_trans2qfilepathinfo(2797)
call_trans2qfilepathinfo: TRANSACT2_QFILEINFO: level = 1006
[2006/07/01 13:39:56, 3]
/usr/ports/net/samba/w-samba-3.0.21bp2/samba-3.0.21b/source/smbd/trans2.c:call_trans2qfilepathinfo(2911)
call_trans2qfilepathinfo bfbackreal.jpg (fnum = 5645) level=1006 call=7
total_data=0
[2006/07/01 13:39:56, 3]
/usr/ports/net/samba/w-samba-3.0.21bp2/samba-3.0.21b/source/smbd/process.c:process_smb(1194)
Transaction 9 of length 63
[2006/07/01 13:39:56, 3]
/usr/ports/net/samba/w-samba-3.0.21bp2/samba-3.0.21b/source/smbd/process.c:switch_message(993)
switch message SMBreadX (pid 25377) conn 0x8801f830
[2006/07/01 13:39:56, 3]
/usr/ports/net/samba/w-samba-3.0.21bp2/samba-3.0.21b/source/smbd/reply.c:send_file_readX(2613)
send_file_readX fnum=5645 max=4096 nread=4096
[2006/07/01 13:39:56, 3]
/usr/ports/net/samba/w-samba-3.0.21bp2/samba-3.0.21b/source/smbd/process.c:process_smb(1194)
Transaction 10 of length 104
[2006/07/01 13:39:56, 3]
/usr/ports/net/samba/w-samba-3.0.21bp2/samba-3.0.21b/source/smbd/process.c:switch_message(993)
switch message SMBntcreateX (pid 25377) conn 0x86765830
[2006/07/01 13:39:56, 3]
/usr/ports/net/samba/w-samba-3.0.21bp2/samba-3.0.21b/source/smbd/sec_ctx.c:set_sec_ctx(288)
setting sec ctx (32767, 32767) - sec_ctx_stack_ndx = 0
[2006/07/01 13:39:56, 3]
/usr/ports/net/samba/w-samba-3.0.21bp2/samba-3.0.21b/source/smbd/nttrans.c:nt_open_pipe(351)
nt_open_pipe: Known pipe srvsvc opening.
[2006/07/01 13:40:56, 3]
/usr/ports/net/samba/w-samba-3.0.21bp2/samba-3.0.21b/source/smbd/sec_ctx.c:set_sec_ctx(288)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2006/07/01 13:41:01, 3]
/usr/ports/net/samba/w-samba-3.0.21bp2/samba-3.0.21b/source/smbd/process.c:timeout_processing(1447)
timeout_processing: End of file from client (client has disconnected).
[2006/07/01 13:41:01, 3]
/usr/ports/net/samba/w-samba-3.0.21bp2/samba-3.0.21b/source/smbd/sec_ctx.c:set_sec_ctx(288)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2006/07/01 13:41:01, 2]
/usr/ports/net/samba/w-samba-3.0.21bp2/samba-3.0.21b/source/smbd/server.c:exit_server(614)
Closing connections
[2006/07/01 13:41:01, 3]
/usr/ports/net/samba/w-samba-3.0.21bp2/samba-3.0.21b/source/smbd/sec_ctx.c:push_sec_ctx(256)
push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2006/07/01 13:41:01, 3]
/usr/ports/net/samba/w-samba-3.0.21bp2/samba-3.0.21b/source/smbd/uid.c:push_conn_ctx(393)
push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2006/07/01 13:41:01, 3]
/usr/ports/net/samba/w-samba-3.0.21bp2/samba-3.0.21b/source/smbd/sec_ctx.c:set_sec_ctx(288)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2006/07/01 13:41:01, 3]
/usr/ports/net/samba/w-samba-3.0.21bp2/samba-3.0.21b/source/smbd/sec_ctx.c:pop_sec_ctx(386)
pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2006/07/01 13:41:01, 2]
/usr/ports/net/samba/w-samba-3.0.21bp2/samba-3.0.21b/source/smbd/close.c:close_normal_file(308)
nobody closed file bfbackreal.jpg (numopen=0)
[2006/07/01 13:41:01, 3]
/usr/ports/net/samba/w-samba-3.0.21bp2/samba-3.0.21b/source/smbd/sec_ctx.c:set_sec_ctx(288)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2006/07/01 13:41:01, 1]
/usr/ports/net/samba/w-samba-3.0.21bp2/samba-3.0.21b/source/smbd/service.c:close_cnum(885)
dozcaps (192.168.1.140) closed connection to service data
It seems like Windows is just disconnecting when recieving part of a
file.. does anybody have an idea what can cause this? I've been struggling
for two weeks and had no luck with this issue.
Thanks in advance,
Alex Ponomarov.
More information about the samba
mailing list