[Samba] Disapearing Drives: Urgent help needed - IT WORKS

Kevin T nevikintx at yahoo.com
Sat Feb 24 01:11:30 GMT 2007


WOW  paint me happy !!

i have trying to understand why the samba drive was
always becoming 'not availabe'. was it the router??
was it the samba setup??

two days and multiple power save periods and the samba
drive is still there!!

i checked the registry entries and could not find
anything like what you had mentioned.  i executed the
command line suggested, no complaints from the system,
and wallah.

dennis, and others, you have made my day/week/month
thanks for participating!!

kevin


--- Dennis McLeod <dmcleod at foranyauto.com> wrote:

> I BELIEVE this might be a client issue. I'm not
> really up to speed on Samba yet, but there are some
> settings on XP that can affect this.
> If so, switching to a Windows server won't fix it.
> On the XP Client, command window:
> 
> C:\WINDOWS|â–º net config server
> Server Name                           \\xxxx
> Server Comment
> 
> Software version                      Windows 2002
> Server is active on
>         NetbiosSmb (000000000000)
> 
> 
> Server hidden                         No
> Maximum Logged On Users               10
> Maximum open files per session        16384
> 
> Idle session time (min)               15
> The command completed successfully.
> 
> Idle session time is 15 minutes.
> While this sounds like it will disconnect clients
> connecting TO the XP machine, I think it works both
> ways.
> Change it by:
>  C:\WINDOWS|â–º net config server /AUTODISCONNECT:-1
> The output should change to:
> Idle session time (min)               -1
> 
> If this doesn't work try the registry:
> 
>
[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Tcpip\Parameters]
> 
> "KeepAliveTime"=dword:00300000
> "KeepAliveInterval"=dword:00001000
> 
> 300000 ms or, 5 minutes
> 
> >From http://support.microsoft.com/kb/314053:
> 
> 
> KeepAliveInterval 
> Key: Tcpip\Parameters
> Value Type: REG_DWORD - Time in milliseconds
> Valid Range: 1 - 0xFFFFFFFF
> Default: 1000 (one second)
> Description: This parameter determines the interval
> that separates keepalive retransmissions until a
> response is received. After a response is received,
> KeepAliveTime again controls the delay until the
> next keepalive transmission. The connection is
> aborted after the number of retransmissions that are
> specified by TcpMaxDataRetransmissions are
> unanswered.
> 
> 
> KeepAliveTime 
> Key: Tcpip\Parameters
> Value Type: REG_DWORD - Time in milliseconds
> Valid Range: 1 - 0xFFFFFFFF
> Default: 7,200,000 (two hours)
> Description: The parameter controls how frequently
> TCP tries to verify that an idle connection is still
> intact by sending a keepalive packet. If the remote
> computer is still reachable and functioning, the
> remote computer acknowledges the keepalive
> transmission. By default, keepalive packets are not
> sent. A program can turn on this feature on a
> connection
> 
> Let us know!
> Dennis
> 
> 
> 
> -----Original Message-----
> From:
> samba-bounces+dmcleod=foranyauto.com at lists.samba.org
>
[mailto:samba-bounces+dmcleod=foranyauto.com at lists.samba.org]
> On Behalf Of Ron Garcia-Vidal
> Sent: Thursday, February 22, 2007 5:06 AM
> To: samba at lists.samba.org
> Subject: [Samba] Disapearing Drives: Urgent help
> needed
> 
> I need help on this urgently.  Does anyone have any
> ideas?  Is mine the only place that is experiencing
> this problem?  The suits are making noises about
> getting a windows server in here, I don't want to
> see that happen, but I don't know how to fix this
> very serious Samba problem.
> 
> +++++++++++++++++++++++++++++++++++++
> 
> Ok, Unfortunately, this doesn't work.  I've tried
> all manner of optimizing WINS settings on the
> file-server as well as on the clients, this problem
> seems to be getting worse and I feel like I'm just
> plugging leaks in the dike with my fingers!  When
> the drive disappears, the samba logs show no errors
> or even connection attempts, and here's what shows
> up on a tcpdump:
> 
> 12:26:41.025409 IP tmc152.millburncorp.com.3046 >
> tmcsamba1.millburncorp.com.netbios-ssn: P
> 3364121045:3364121171(126) ack
> 1939213 win 64417 NBT Session Packet: Session
> Message
> 12:26:41.025949 IP
> tmcsamba1.millburncorp.com.netbios-ssn >
> tmc152.millburncorp.com.3046: P 1:40(39) ack 126 win
> 18194 NBT Session
> Packet: Session Message
> 12:26:41.026751 IP tmc152.millburncorp.com.3046 >
> tmcsamba1.millburncorp.com.netbios-ssn: P
> 126:252(126) ack 40 win 64378 NBT Session Packet:
> Session Message
> 12:26:41.026863 IP
> tmcsamba1.millburncorp.com.netbios-ssn >
> tmc152.millburncorp.com.3046: P 40:79(39) ack 252
> win 18194 NBT Session
> Packet: Session Message
> 12:26:41.034295 IP tmc152.millburncorp.com.3046 >
> tmcsamba1.millburncorp.com.netbios-ssn: P
> 252:378(126) ack 79 win 64339 NBT Session Packet:
> Session Message
> 12:26:41.034388 IP
> tmcsamba1.millburncorp.com.netbios-ssn >
> tmc152.millburncorp.com.3046: P 79:118(39) ack 378
> win 18194 NBT Session
> Packet: Session Message
> 12:26:41.044727 IP tmc152.millburncorp.com.3046 >
> tmcsamba1.millburncorp.com.netbios-ssn: P
> 378:504(126) ack 118 win 64300 NBT Session Packet:
> Session Message
> 12:26:41.044816 IP
> tmcsamba1.millburncorp.com.netbios-ssn >
> tmc152.millburncorp.com.3046: P 118:157(39) ack 504
> win 18194 NBT Session Packet: Session Message
> 12:26:41.045349 IP tmc152.millburncorp.com.3046 >
> tmcsamba1.millburncorp.com.netbios-ssn: P
> 504:630(126) ack 157 win 64261 NBT Session Packet:
> Session Message
> 12:26:41.045449 IP
> tmcsamba1.millburncorp.com.netbios-ssn >
> tmc152.millburncorp.com.3046: P 157:196(39) ack 630
> win 18194 NBT Session Packet: Session Message
> 12:26:41.054110 IP tmc152.millburncorp.com.3046 >
> tmcsamba1.millburncorp.com.netbios-ssn: P
> 630:756(126) ack 196 win 64222 NBT Session Packet:
> Session Message
> 12:26:41.054372 IP
> tmcsamba1.millburncorp.com.netbios-ssn >
> tmc152.millburncorp.com.3046: P 196:235(39) ack 756
> win 18194 NBT Session Packet: Session Message
> 12:26:41.055076 IP tmc152.millburncorp.com.3046 >
> tmcsamba1.millburncorp.com.netbios-ssn: P
> 756:882(126) ack 235 win 64183 NBT Session Packet:
> Session Message
> 12:26:41.055192 IP
> tmcsamba1.millburncorp.com.netbios-ssn >
> tmc152.millburncorp.com.3046: P 235:274(39) ack 882
> win 18194 NBT Session Packet: Session Message
> 12:26:41.065061 IP tmc152.millburncorp.com.3046 >
> tmcsamba1.millburncorp.com.netbios-ssn: P
> 882:1008(126) ack 274 win
> 64144 NBT Session Packet: Session Message
> 12:26:41.065170 IP
> tmcsamba1.millburncorp.com.netbios-ssn >
> tmc152.millburncorp.com.3046: P 274:313(39) ack 1008
> win 18194 NBT Session Packet: Session Message
> 12:26:41.065785 IP tmc152.millburncorp.com.3046 >
> tmcsamba1.millburncorp.com.netbios-ssn: P
> 1008:1134(126) ack 313 win
> 64105 NBT Session Packet: Session Message
> 12:26:41.065891 IP
> tmcsamba1.millburncorp.com.netbios-ssn >
> tmc152.millburncorp.com.3046: P 313:352(39) ack 1134
> win 18194 NBT Session Packet: Session Message
> 12:26:41.074449 IP tmc152.millburncorp.com.3046 >
> tmcsamba1.millburncorp.com.netbios-ssn: P
> 1134:1260(126) ack 352 win
> 65535 NBT Session Packet: Session Message
> 12:26:41.074556 IP
> tmcsamba1.millburncorp.com.netbios-ssn >
> tmc152.millburncorp.com.3046: P 352:391(39) ack 1260
> win 18194 NBT Session Packet: Session Message
> 12:26:41.075035 IP tmc152.millburncorp.com.3046 >
> tmcsamba1.millburncorp.com.netbios-ssn: P
> 1260:1386(126) ack 391 win
> 65496 NBT Session Packet: Session Message
> 12:26:41.075143 IP
> tmcsamba1.millburncorp.com.netbios-ssn >
> tmc152.millburncorp.com.3046: P 391:430(39) ack 1386
> win 18194 NBT Session Packet: Session Message
> 12:26:41.084052 IP tmc152.millburncorp.com.3046 >
> tmcsamba1.millburncorp.com.netbios-ssn: P
> 1386:1512(126) ack 430 win
> 65457 NBT Session Packet: Session Message
> 12:26:41.084150 
=== message truncated ===


to reply s/nowhere/nevikintx/

kevin t


 
____________________________________________________________________________________
No need to miss a message. Get email on-the-go 
with Yahoo! Mail for Mobile. Get started.
http://mobile.yahoo.com/mail 


More information about the samba mailing list