libsmbclient fails after some time

Richard Sharpe root at
Tue Oct 22 19:15:03 GMT 2002

On Mon, 21 Oct 2002, Abhijeet Paturkar wrote:

> Hi,
> I am using libsmbclient on Linux Red Hat 7.2
> We have developed C++ wrapper around libsmbclient 2.2.5.
> This wrapper is integrated with Java using JNI.
> And this Java class is used in Application server in JSP
> The stat for libsmbclient works properly for some time and then fails
> when the link for the JSP is tried after say 3-4 hours.
> The perror on stat prints "Success".
> We are using following compiler options for building the wrapper.
> g++3 -c -pipe -fPIC -Wall -W -O2 -DUSE_GETTIMEOFDAY -DINTEL_LINUX_70
> Does any one encountered such an error ?

Can you get a network trace of the activity? That will help pinpoint what
the problem is. It could be that the TCP connection to the server has
dropped and the client library is not dealing with it correctly.

rsharpe at,,
sharpe at, sharpe at

More information about the samba-technical mailing list