search for: cli_reestablish_connect

Displaying 3 results from an estimated 3 matches for "cli_reestablish_connect".

1999 May 01
0
smb client support in midnight commander
...o i could redirect messages to a fifo to view them on another terminal. Of particular difficulty is: since i cant send cli_chkpath when idle to keep connection alive, NT server times out & closes in 15-20min. So I have to catch the EPIPE myself to know when i need to close & reconnect. cli_reestablish_connect() in libsmb/clientgen.c is disfunctional. I seem to have it reconnecting fine in this situation. Additional functionality that should be added to midnight commander to better support smb filesystem is to support the comments field in server & share listings. Also, the servers are currently...
1999 Dec 18
0
problems while compiling samba 2.0.6
hi everyone, I am trying to compile samba 2.0.6 on a Debian Linux 2.1 and I have the followin result: .... Compiling smbd/ssl.c Compiling lib/fnmatch.c Linking bin/smbd libsmb/clientgen.o: In function `cli_reestablish_connection': libsmb/clientgen.o(.text+0x4f47): undefined reference to `__inet_ntoa' libsmb/clientgen.o: In function `cli_establish_connection': libsmb/clientgen.o(.text+0x5051): undefined reference to `__inet_ntoa' libsmb/clientgen.o(.text+0x50d8): undefined reference to `__inet_ntoa' l...
2003 Dec 01
0
No subject
...tten,len - nwritten); + ret = write_socket(cli->fd,outbuf+nwritten,len - nwritten); if (ret <= 0 && errno == EPIPE && !reestablished) { + bufsize = sizeof(char) * cli->bufsize; + outbuf = (char*)malloc(bufsize); + memcpy(outbuf, cli->outbuf, bufsize); + if (cli_reestablish_connection(cli)) { reestablished = True; nwritten=0; continue; } + + free(outbuf); } if (ret <= 0) { DEBUG(0,("Error writing %d bytes to client. %d\n", (int)len,(int)ret)); + return False; } nwritten += ret; } - + + if(reestablished) + free...