1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-20 14:03:59 +03:00

15 Commits

Author SHA1 Message Date
Tim Potter
ae7911e4d8 Added a authentication hook to smbwrapper which allows a (username,
workgroup, password) tuple to be provided by another function.
(This used to be commit 644c78d64a6d7b7e44414c579de660321a0a6b34)
2000-11-01 04:31:19 +00:00
Andrew Tridgell
517806e676 fixed problems with PWD - we no longer use the PWD env variable
instead the shared variable area is used.

this fixes problems with /bin/sh under solaris
(This used to be commit 4eb7b5c6a81447755dfa1be27479027333ed6f26)
1998-10-23 01:27:23 +00:00
Andrew Tridgell
f08565a834 - don't use env variables for passwords and usernames (yeah!)
- added a shared variable area based on a unlinked open file, and
  implement a general get/set interface to it
- cache hostname lookups and master ip lookups in shared variable area
(This used to be commit 279cbe69efd75450113d2da0da5e67b29f3702b1)
1998-10-19 01:03:00 +00:00
Andrew Tridgell
4750ce1760 use 1 second resolution calls if possible
(This used to be commit 349469221a84658048790d7567b4fcea43c0b759)
1998-10-08 02:28:21 +00:00
Andrew Tridgell
58f6c75bab implemented attribute mapping and chmod. file attributes are mapped in
the same manner as smbd. See the README for a full explanation.
(This used to be commit 0a5dcddd3fa23081d7cd214acc32b8046125a74e)
1998-10-06 11:14:52 +00:00
Andrew Tridgell
ce843e9735 add support for dup() and dup2()
(This used to be commit c5210cb0fffd406ef1809db8644b299bb661df4d)
1998-10-04 07:52:00 +00: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
Andrew Tridgell
d71c04f927 use dummy file descriptors opened on /dev/null to ensure that the smbw
file descriptor allocation order is identical to the kernels.
(This used to be commit 60a683465647932f7241ba9f92443d5e5294e20b)
1998-10-04 04:48:17 +00:00
Andrew Tridgell
57a58f592b more smbw cleanups.
- cleaned up prototyping. Unfortunately we can't auto-prototype
  wrapped.c because it replaces system functions.
- split stat functions into smbw_stat.c
(This used to be commit 04e92e692e49234df6fbbfd07a33b315ed62f0de)
1998-10-04 04:33:56 +00:00
Andrew Tridgell
977d601556 - split smbw directory code into smbw_dir.c
- fixed a bug in the handling of multiple connections to different
  servers
(This used to be commit a9f9d8c3d8c18a5ab4c18c1348ee9c8d643880fa)
1998-10-04 03:28:43 +00:00
Andrew Tridgell
13b431ff2d added a bit more to the docs
(This used to be commit e040047c647df3991becbf2b45de785fc875d1ff)
1998-10-03 12:47:52 +00:00
Andrew Tridgell
4b760a63da added lseek() to smbwrapper
(This used to be commit 752e90b24f37d4697b87c65a53b45799c21ecab7)
1998-10-03 11:54:20 +00:00
Andrew Tridgell
909ca3a887 added basic chmod(), chown() and utime() support (not fully
implemented).

this is enough to be able to edit files using emacs on the smbwrapper
filesystem
(This used to be commit e5c3f36ef2e8fc0195d70b2f5db7d88d9ae4507a)
1998-10-03 10:24:49 +00:00
Andrew Tridgell
a139078c4d lots of improvements to smbwrapper. It now works with Samba, Win95 and
WinNT servers, and correctly lists share names in /smb/SERVER/
(This used to be commit 1ea349728b8984bfe5cf5df41a87efbe17ff5ccd)
1998-10-03 08:34:35 +00:00
Andrew Tridgell
24bf006d52 the guts of the smbwrapper code. I may change the layout of this at
some stage.
(This used to be commit 3f34a3cac817de19d227c36bc792db8b2c3798f9)
1998-10-02 12:37:31 +00:00