[Samba] WinXP slow share access

Joel Hammer Joel at HammersHome.com
Mon Apr 29 14:49:04 GMT 2002


Would you consider running tcpdump on the linux server to watch the
interaction? I haven't noticed a slow access problem with XPpro, but I
don't use authenticatation (security=share and guest=ftp and guest ok = yes)
Joel

On Mon, Apr 29, 2002 at 04:30:00PM -0500, James Northcott wrote:
> 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]
> 
> 
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  http://lists.samba.org/mailman/listinfo/samba




More information about the samba mailing list