[Samba] WinXP slow share access
James Northcott
jnorthcott at dpmg.com
Mon Apr 29 14:25:29 GMT 2002
My WinXP clients are able to map a network drive on my samba server.
However, it takes 30 seconds to do so, and accessing the contents of the
shared drive is also quite slow.
Linux (smbclient) and Windows 2000 clients are able to map the share
instantly, and access files without delay.
I am using Linux 2.4.5, with samba 2.2.3a compiled from source on the
server. The delay is consistent at 30 seconds, and occurs just after
the authentication protocol is negotiated. Authentication succeeds
after a 30 second delay.
I use this command line on the windows clients (both 2000 and XP use the
same command):
net use * \\demeter\jamesn /user:jamesn
The NetBIOS name Demeter resolves correctly and instantly to
192.168.0.77 on any machine (I've added a static mapping in the WINS
server). The negotiated protocol is NT LM 0.12 - I've tried restricting
this to LANMAN1, but the 30 second delay still occurs at the same spot.
I've included my smb.conf below, as well as part of a level 3 log
showing when the timeout occurs.
I would appreciate any help that you can give me on this. I have no
idea what changed from Windows 2000 to Windows XP to cause this problem.
Smb.conf:
[global]
log file = /usr/local/samba/var/log.smbd
log level = 10
workgroup = ARIES
interfaces = 192.168.0.0/24 lo
bind interfaces only = Yes
encrypt passwords = Yes
socket address = 192.168.0.77
guest account =
security = user
wins server = 192.168.0.167
name resolve order = wins lmhosts hosts bcast
[homes]
read only = No
hide dot files = No
create mask = 0644
invalid users = root
Level 3 log:
[2002/04/29 13:37:55, 3] smbd/negprot.c:reply_negprot(348)
Requested protocol [PC NETWORK PROGRAM 1.0]
[2002/04/29 13:37:55, 3] smbd/negprot.c:reply_negprot(348)
Requested protocol [LANMAN1.0]
[2002/04/29 13:37:55, 3] smbd/negprot.c:reply_negprot(348)
Requested protocol [Windows for Workgroups 3.1a]
[2002/04/29 13:37:55, 3] smbd/negprot.c:reply_negprot(348)
Requested protocol [LM1.2X002]
[2002/04/29 13:37:55, 3] smbd/negprot.c:reply_negprot(348)
Requested protocol [LANMAN2.1]
[2002/04/29 13:37:55, 3] smbd/negprot.c:reply_negprot(348)
Requested protocol [NT LM 0.12]
[2002/04/29 13:37:55, 3] smbd/negprot.c:reply_negprot(432)
Selected protocol NT LM 0.12
[2002/04/29 13:38:25, 3] smbd/process.c:process_smb(860)
Transaction 2 of length 197
[2002/04/29 13:38:25, 3] smbd/process.c:switch_message(667)
switch message SMBsesssetupX (pid 31398)
[2002/04/29 13:38:25, 3] smbd/sec_ctx.c:set_sec_ctx(314)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2002/04/29 13:38:25, 3] smbd/reply.c:reply_sesssetup_and_X(848)
Domain=[ARIES] NativeOS=[Windows 2002 2600] NativeLanMan=[Windows
2002 5.1]
[2002/04/29 13:38:25, 3] smbd/reply.c:reply_sesssetup_and_X(858)
sesssetupX:name=[jamesn]
More information about the samba
mailing list