[Samba] Samba Client <--> Server Timeout

Eric Liu eric.liu at uniquesoft.com
Fri Dec 14 03:44:56 MST 2012


Hi Folk,

Note, I am using Samba 3.5.10. I have tried to change
source3\libsmb\clientgen.c line 591. But it does not work.
        cli->timeout = 20000 * 360; /* was 20000, Timeout in in
milliseconds. */

Thanks
Eric

On Fri, Dec 14, 2012 at 6:36 PM, Eric Liu <eric.liu at uniquesoft.com> wrote:

> Hi Folk,
>
> I am writing a Samba VFS module. The VFS CLOSE operation takes a longer
> time, much greater than 20s, to return. Looks this will cause Samba client
> server communication timeout. And Samba will load a new module, which is
> not what I want. I want Samba to wait, until VFS CLOSE operation finishes
> what it should do. I don't want Samba to load a new module. Can anyone tell
> me how/where to change Samba source code to realize this?
>
> Many thanks
> Eric
>


More information about the samba mailing list