Displaying 1 result from an estimated 1 matches for "connectcnt".
Did you mean:
connectant
2005 Feb 02
0
Re: VFS calls after disconnect
...) use the back button of the explorer to return back to the share and map
it to a network drive.
Is there some way that this data can be preserved irrespective of the number
of times that an already connected client tries a reconnection?
Any help is highly appreciated!
Thanks,
Chetana
static int connectCnt = 0;
struct example_privates {
char *some_string;
int db_connection;
};
static int example_connect(vfs_handle_struct *handle,
connection_struct *conn, const char *service,
const char* user)
{
struct example_privates *data = NULL;
if ( connectCnt > 0 ) {
DEBUG(0,("connection to cli...