[configuration] socket options

Cedric Jeanneret cedric.jeanneret at camptocamp.com
Fri Sep 10 00:49:04 MDT 2010


We use samba to share some directories on our LAN. 99% of the clients are Linux (ubuntu jaunty and lucid).
We have a little problem with some kind of session duration:
our users mount a share, open a document, edit it for some time, makes some break and so on. When they want to save their opened document, the mount is expired, and they have an error.
I don't know if we can do something on samba server side. I supposed we can set some socket options, but as nothing is documented (I found this link: http://us1.samba.org/samba/docs/man/manpages-3/smb.conf.5.html#SOCKETOPTIONS), and as it's a production server, I cannot test as I want.
And as it's maybe a client problem, I prefer asking you.

So, questions are:
is this "session expiration" a server or a client problem ?
how can we prevent it ? is there some option we can set on either client or server side ? I was thinking to SO_KEEPALIVE... ?

Thank you!

Best regards,


Cédric Jeanneret                 |  System Administrator
021 619 10 32                    |  Camptocamp SA
cedric.jeanneret at camptocamp.com  |  PSE-A / EPFL
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20100910/8d492942/attachment.pgp>

More information about the samba-technical mailing list