[Samba] share persistence problem

John H Terpstra jht at samba.org
Wed May 28 16:19:32 GMT 2003


On Wed, 28 May 2003, Paul Trepanier wrote:

> After awhile, my connections from my PC to my samba server end up with a
> red "X" in them (share disappeared) if I leave my explorer window open.
>       If I click on these, they "wake up" and continue to function (and
> the red X's go away).  If I close my explorer window (while the red X's
> are there) and reopen it , they are gone.  An attempt to reestablish
> these  dropped connections is immediately successful.
>
> This is obviously a connection persistence issue and I've tried setting
> both keepalive= and SO_KEEPALIVE (individually, of course) to no avail.
>
> Any ideas?

Your MS Windows client is the culprit - it is dropping idle connections as
I recall. Also, you may find that there is a registry setting to turn that
feature off.

- John T.

>
> My installation is samba 2.2.8 running as a daemon (not inetd) on
> Solaris 8 configured to use a WINS server and provide authentication via
> a PDC (same host as WINS server).  I do have an lmhosts file in the
> samba /lib directory with the PDC/WINS server address in it.
>
> My globals section;
>
> [global]
>          workgroup = WORKGROUP
>          netbios name = SAMBASERVER
>          security = SERVER
>          encrypt passwords = Yes
>          password server = pdc
>          lanman auth = No
>          log level = 2
>          log file = /usr/local/depot/samba-2.2.8/var/%m.log
>          deadtime = 5
>          max smbd processes = 5
>          socket options = IPTOS_LOWDELAY TCP_NODELAY SO_KEEPALIVE
>          load printers = No
>          show add printer wizard = No
>          preferred master = No
>          local master = No
>          domain master = No
>          wins server = [IP address of WINS/PDC server]
>          follow symlinks = No
>
>
>

-- 
John H Terpstra
Email: jht at samba.org



More information about the samba mailing list