Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | add support for dup() and dup2() | Andrew Tridgell | 1998-10-04 | 5 | -25/+181 | |
| | ||||||
* | use CLI_BUFFER_SIZE instead of BUFFER_SIZE | Andrew Tridgell | 1998-10-04 | 1 | -10/+12 | |
| | ||||||
* | set a default 16k client buffer size | Andrew Tridgell | 1998-10-04 | 1 | -0/+4 | |
| | ||||||
* | Added E Jay Berkenbilt's fixes | Richard Sharpe | 1998-10-04 | 3 | -2/+10 | |
| | ||||||
* | refuse symlinks to or from a smb path | Andrew Tridgell | 1998-10-04 | 3 | -2/+17 | |
| | ||||||
* | fix an error code in cli_error() | Andrew Tridgell | 1998-10-04 | 1 | -1/+1 | |
| | ||||||
* | modified cli_read() and cli_write() to issue multiple outstanding | Andrew Tridgell | 1998-10-04 | 5 | -58/+139 | |
| | | | | | | | | | read/write requests for large reads. up to max_mux requests may be outstanding. This gives _much_ better throughput and should allow smbsh to saturate just about any network. this is an implementation of the "fast SMB" method I described on the CIFS list a couple of months back. | |||||
* | use dummy file descriptors opened on /dev/null to ensure that the smbw | Andrew Tridgell | 1998-10-04 | 5 | -12/+23 | |
| | | | | file descriptor allocation order is identical to the kernels. | |||||
* | more smbw cleanups. | Andrew Tridgell | 1998-10-04 | 9 | -167/+288 | |
| | | | | | | - cleaned up prototyping. Unfortunately we can't auto-prototype wrapped.c because it replaces system functions. - split stat functions into smbw_stat.c | |||||
* | - split smbw directory code into smbw_dir.c | Andrew Tridgell | 1998-10-04 | 3 | -619/+658 | |
| | | | | | - fixed a bug in the handling of multiple connections to different servers | |||||
* | support a few more function types (like ino_t and off_t) | Andrew Tridgell | 1998-10-04 | 1 | -1/+1 | |
| | ||||||
* | use const char | Andrew Tridgell | 1998-10-04 | 1 | -2/+2 | |
| | ||||||
* | simplied the layout of the smbwrapper code. All those 3 line files | Andrew Tridgell | 1998-10-04 | 32 | -1076/+556 | |
| | | | | were getting unwieldy | |||||
* | we need to do a load_interfaces() at startup to support broadcast | Andrew Tridgell | 1998-10-04 | 1 | -0/+2 | |
| | | | | resolution of names. | |||||
* | use __XXXdir() instead of __libc_XXXdir() | Andrew Tridgell | 1998-10-03 | 6 | -26/+5 | |
| | ||||||
* | drat. | Andrew Tridgell | 1998-10-03 | 8 | -6/+263 | |
| | | | | | | | on Linux 2.0 libc detects the lack of getdents in the kernel and used opendir() etc. so we need to implement those ... it would be needed for a port to others OSes anyway I suppose. | |||||
* | fixed a authentication problem with non-encrypting servers | Andrew Tridgell | 1998-10-03 | 1 | -2/+3 | |
| | ||||||
* | fixed initialisation bug in rpcclient (stdout is not a constant) | Andrew Tridgell | 1998-10-03 | 1 | -1/+3 | |
| | ||||||
* | don't call functions that aren't there yet. (Luke had the code | Andrew Tridgell | 1998-10-03 | 1 | -0/+2 | |
| | | | | commented out in the makefile) | |||||
* | added fchdir() support | Andrew Tridgell | 1998-10-03 | 5 | -5/+67 | |
| | ||||||
* | fixed vi on smbwrappper (it was a problem in cli_read()) | Andrew Tridgell | 1998-10-03 | 4 | -8/+6 | |
| | ||||||
* | fixed wrapper for access(). This gets xedit working. | Andrew Tridgell | 1998-10-03 | 1 | -1/+1 | |
| | ||||||
* | support getcwd() in smbwrapper | Andrew Tridgell | 1998-10-03 | 4 | -2/+66 | |
| | ||||||
* | added mkdir() and rmdir() support | Andrew Tridgell | 1998-10-03 | 5 | -0/+152 | |
| | ||||||
* | added simple device/inode number support based on a checksum of the | Andrew Tridgell | 1998-10-03 | 4 | -5/+21 | |
| | | | | filename | |||||
* | added a bit more to the docs | Andrew Tridgell | 1998-10-03 | 3 | -14/+25 | |
| | ||||||
* | added lseek() support for directories | Andrew Tridgell | 1998-10-03 | 5 | -6/+85 | |
| | ||||||
* | fixed a bug in name_len() (thanks to kooros@kooros.netrack.net) | Andrew Tridgell | 1998-10-03 | 1 | -7/+7 | |
| | ||||||
* | added lseek() to smbwrapper | Andrew Tridgell | 1998-10-03 | 2 | -7/+54 | |
| | ||||||
* | use O_ACCMODE | Andrew Tridgell | 1998-10-03 | 1 | -1/+1 | |
| | ||||||
* | - always open for reading (otherwise getattrE won't work). | Andrew Tridgell | 1998-10-03 | 1 | -4/+11 | |
| | | | | - added somemore NT error codes | |||||
* | updated prototypes | Andrew Tridgell | 1998-10-03 | 1 | -2/+2 | |
| | ||||||
* | define O_ACCMODE if not defined | Andrew Tridgell | 1998-10-03 | 1 | -0/+4 | |
| | ||||||
* | added lseek | Andrew Tridgell | 1998-10-03 | 1 | -1/+1 | |
| | ||||||
* | added basic chmod(), chown() and utime() support (not fully | Andrew Tridgell | 1998-10-03 | 7 | -4/+257 | |
| | | | | | | | implemented). this is enough to be able to edit files using emacs on the smbwrapper filesystem | |||||
* | added unlink() and rename() support to smbwrapper | Andrew Tridgell | 1998-10-03 | 13 | -67/+242 | |
| | ||||||
* | ignore *.p files | Andrew Tridgell | 1998-10-03 | 1 | -0/+1 | |
| | ||||||
* | lots of improvements to smbwrapper. It now works with Samba, Win95 and | Andrew Tridgell | 1998-10-03 | 8 | -66/+271 | |
| | | | | WinNT servers, and correctly lists share names in /smb/SERVER/ | |||||
* | - ignore *.p files | Andrew Tridgell | 1998-10-03 | 1 | -0/+1 | |
| | ||||||
* | - ignore *.p files | Andrew Tridgell | 1998-10-03 | 2 | -87/+222 | |
| | | | | | | | | | | | | - enable cli_RNetSharEnum - fix password handling in sesssetup for NT1 protocol - handle partial reads and writes in cli_{read,write} - added cli_getattrE - modify cli_qpathinfo() to swap byte order for win95 servers - handle temporary errors from FINDFIRST/FINDNEXT from win95 servers, when we get a error we sleep for a bit and retry - return approx unix errno from cli_error(). Need to add a lot more cases to this. | |||||
* | - ignore *.p files | Andrew Tridgell | 1998-10-03 | 2 | -1/+2 | |
| | | | | - make msleep() non-static | |||||
* | updated prototypes | Andrew Tridgell | 1998-10-03 | 1 | -3/+7 | |
| | ||||||
* | - remove .p files in make clean | Andrew Tridgell | 1998-10-03 | 2 | -3/+4 | |
| | | | | - added readlink support to smbwrapper | |||||
* | added capabilities ab win95 fields to client structure. Used for | Andrew Tridgell | 1998-10-03 | 1 | -0/+2 | |
| | | | | detecting win95 server for bug handling | |||||
* | Makefile.in : | Luke Leighton | 1998-10-02 | 9 | -582/+780 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - added srvsvc client files clientgen.c : - replaced cli_error(cli, int *cls, int *err) with cli_error(cli, uint8 cls, uint32 *err). this version detects 32 bit status messages. the DOS error "MORE_DATA", the equivalent of the 32 bit *warning* 0x8000 0005 (STATUS_BUFFER_OVERFLOW), was being processed as an error, terminating the cli_receive_trans() call. cli_pipe.c : - replaced calls that had been incorrectly modified from 32 bit warnings (0x8000 0005 - STATUS_BUFFER_OVERFLOW) to 8 bit DOS errors (0x01 0xEA - MORE_DATA). the use of the old version of cli_error (DOS only) instead of the new one (DOS and 32 bit) caused the dce/rpc client code to fail. - replaced 2 space indentation with tab indentation in all functions. cli_srvsvc.c : cmd_srvsvc.c : - added these files back in, fixing them up to use jeremy's modified versions of the dce/rpc client functions. parse_srv.c : - added back in some "unused" functions required by dce/rpc client-side code. it would be helpful if all such "unused" functions could be added back in. rpcclient.c : - added "session", "file", "share", "connection" enumeration functions back in. these are equivalent to nt's "NetXXXXXEnum" Win32 (MSDN) functions. - added "srvinfo" function back in. this is equivalent to nt's NetServerGetInfo Win32 (MSDN) function. | |||||
* | - static function "create_new_hashes" was identical to "nt_lm_owf_gen". | Luke Leighton | 1998-10-02 | 4 | -36/+41 | |
| | | | | | | | | | | create_new_hashes didn't zero the buffer for the md4hash: nt_lm_owf_gen did, because jeremy sorted this out a couple of days ago. call nt_lm_owf_gen instead. - call SMBOWFencrypt from SMBencrypt and SMBNTencrypt. - added #ifdef DEBUG_PASSWORD debug password calls. | |||||
* | microsoft is slowly fixing some buffer overflow errors in dce/rpc code (SP4). | Luke Leighton | 1998-10-02 | 1 | -2/+2 | |
| | | | | | | | | therefore, they are being more strict, first in the server-side code, and now in the client-side code. this fixes a bind-request that was too short by 16 bytes, and an rpc-request that was too long by 24 bytes. | |||||
* | some changes in smbtorture as a result of clientgen interface changes | Andrew Tridgell | 1998-10-02 | 1 | -5/+5 | |
| | | | | | | | for smbwrapper note that Lukes client changes broke smbtorture. This doesn't fix it, but at least I didn't break it more than it was. | |||||
* | the guts of the smbwrapper code. I may change the layout of this at | Andrew Tridgell | 1998-10-02 | 19 | -0/+1700 | |
| | | | | some stage. | |||||
* | several clientgen mods to support smbwrapper. In particular added | Andrew Tridgell | 1998-10-02 | 1 | -3/+272 | |
| | | | | | cli_list() for directory listing and expended some other functions a bit. |