1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-10 12:58:35 +03:00
Andrew Tridgell 5ade894f32 modified cli_read() and cli_write() to issue multiple outstanding
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.
(This used to be commit c728d1c5d6e4626d2f8e318eab4df32acc8cb505)
1998-10-04 06:22:08 +00:00
..
1998-10-03 15:28:47 +00:00
1998-10-03 12:47:52 +00:00
1998-10-04 04:33:56 +00:00
1998-10-04 04:33:56 +00:00
1998-10-04 04:33:56 +00:00

This is a prelodable shared library that provides SMB client services
for existing executables. Using this you can simulate a smb
filesystem.

Currently this code only works on Linux with glibc2 (tested on
RH5.1). Eventually I hope to make it portable to lots of OSes but at
the moment if you don't have Linux then don't even try to use it.

To use it you need to do this:

1) build smbwrapper.so using the command "make smbwrapper/smbwrapper.so"
2) edit smbsh and set the LIBDIR line to point to the smbwrapper directory
3) run smbsh

then try to access /smb/SERVER for some SMB server name and see what
happens.

For debugging you can set SMBW_DEBUG to an integer debug level.

This is code under development. Lots of things don't work yet.

Things that I have tried and do seem to work include:

  emacs, tar, ls, cmp, cp, rsync, du, cat, rm, mv, less, more, wc, head,
  tail, bash, tcsh, mkdir, rmdir, vim, xedit, diff

things that I know don't work:
 
 anything executing from the share
 anything that uses mmap

If you want to help with the development of this code then join the
samba-technical mailing list.