search for: cli_reestablish_connection

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

1999 May 01
0
smb client support in midnight commander
I have implemented smb client functionality in midnight commander file manager. It is implemented in its virtual filesystem layer, just like the ftpfs and others. It mostly uses the functionality provided by the libsmb/clientgen.c in samba. The functionality of browsing for servers, showing shares on server as directories, and all read/write/erase/mkdir/rmdir/etc.. is all implemented. The
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' libs...
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(ou...