search for: cli_chkpath

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

2001 Oct 23
1
PATCH to Samba >= 2.2.1, accents and special chars
.... I backpatched to Samba 2.2.0, since several people told me they did not have this kind of problem. And it's true :-) The 'core' of my grudge seems to lie in the new clistr_push function, which does not exist in release 2.2.0. A 'cd directory' command is thus processed by cli_chkpath, which does : cli_setup_packet(cli); p = smb_buf(cli->outbuf); *p++ = 4; safe_strcpy(p,path2,strlen(path2)); unix_to_dos(p,True); cli_send_smb(cli); It is clear the path is known to be in Unix format, and is properly translated to dos stuff. But cli_chkpath, in smbclient 2.2.1a/...
1999 May 01
0
smb client support in midnight commander
...39;m not sure I want everybody & their brother sucking up my bandwidth. The only change I had to make to samba source is dbf = stderr in setup_logging() in lib/debug.c so 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. Additiona...
2003 Dec 01
0
No subject
...source/client/client.c Tue Jul 10 13:45:46 2001 @@ -1829,8 +1829,8 @@ session keepalives and then drop them here. */ if (FD_ISSET(cli->fd,&fds)) { - receive_smb(cli->fd,cli->inbuf,0); - goto again; + if (receive_smb(cli->fd,cli->inbuf,0)) + goto again; } cli_chkpath(cli, "\\"); @@ -1954,6 +1954,8 @@ } } + pwd_set_cleartext(&c->pwd, password); + if (!cli_session_setup(c, username, password, strlen(password), password, strlen(password), @@ -2207,6 +2209,8 @@ pstring term_code; pstring new_name_resolve_order;...