1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00
Commit Graph

41 Commits

Author SHA1 Message Date
Andrew Tridgell
d836bedb40 more OSF1 changes as well as changes to allow us to use the standard
includes.h in wrapped.c, thus making porting much simpler
(This used to be commit 6f2239c935)
1998-10-07 07:55:14 +00:00
Andrew Tridgell
029144cd8c do an anonymous login if the username/password is rejected.
(This used to be commit 0ee3e0c623)
1998-10-07 00:40:18 +00:00
Andrew Tridgell
404f14fb36 implemented unix semantics for rename in smbwrapper
(This used to be commit a5c18f9c82)
1998-10-06 13:10:06 +00:00
Andrew Tridgell
fff618aeb4 added a wrapper for fork()
in a fork we have to close all server connections otherwise we can end
up with two processes writing to the same socket.
(This used to be commit b7ecbca3af)
1998-10-06 12:23:37 +00:00
Andrew Tridgell
4fe9c5b656 fixed a bug in time setting (utime() call)
(This used to be commit 2f4506a33c)
1998-10-06 11:56:44 +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 0a5dcddd3f)
1998-10-06 11:14:52 +00:00
Andrew Tridgell
ed75bab8e2 added SMBW_PREFIX environment variable (allowing you to specify root
of smb filesystem)

fixed "cd /smb" bug

updated README with full list of environment variables.
(This used to be commit 71acf338d7)
1998-10-06 10:24:22 +00:00
Andrew Tridgell
0f87638b5f use smbw_errno() not smbw_error()
(This used to be commit be7ae2a4e7)
1998-10-06 03:12:40 +00:00
Andrew Tridgell
36ee52334b - fixed errno return in smbw_open()
- updated README a bit
- fixed Linux compilation of utime()
(This used to be commit 4bacf32755)
1998-10-05 13:51:19 +00:00
Andrew Tridgell
bfaff8ed1a got smbwrapper working on IRIX 6.4. Things got a bit tricky,
especially as the headers get the syscall numbers wrong!
(This used to be commit a5405f1ab0)
1998-10-05 12:17:01 +00:00
Andrew Tridgell
81905488ff ported smbwrapper to SunOS4. It seems to work. pity so many binaries on
my SunOS box are statically linked.
(This used to be commit 541f1c4211)
1998-10-05 08:44:46 +00:00
Andrew Tridgell
4e8b4a20ab got rid of all assembly code and gcc special features. I'm hoping to
get smbsh working with the normal sun compiler
(This used to be commit c6ee915336)
1998-10-05 04:58:33 +00:00
Andrew Tridgell
ca3d1b9bf0 removed requirement of having a smb.conf for smbwrapper to work.
(This used to be commit af58bf2ff8)
1998-10-05 02:55:53 +00:00
Andrew Tridgell
92b21b3e82 - added pread pread64 pwrite pwrite64 and open64
- fixed utime() for null tbuf
(This used to be commit 9047bf59b4)
1998-10-05 02:31:39 +00:00
Andrew Tridgell
93bbfce02b added a function set_maxfiles() to set our file rlimit to the max
possible and return the max.
(This used to be commit 7a7b5ee168)
1998-10-05 01:57:03 +00:00
Andrew Tridgell
40984f6b55 - modified resolve_name() to take a name_type
- cleaned up resolve_name() (split into separate functions for each resolver)
- if can't find local master then use #1B name
- support listing of foreign workgroups in /smb/
(This used to be commit a4e607c17d)
1998-10-04 12:00:40 +00:00
Andrew Tridgell
1970c92c0a support NetServerEnum in smbwrapper. You can now do a ls in /smb/ and
it will list all servers in your workgroup. You can set your workgroup
with the SMBW_WORKGROUP environment variable.
(This used to be commit 64699810e2)
1998-10-04 11:25:06 +00:00
Andrew Tridgell
7c3c022a89 use *SMBSERVER convention in smbwrapper to allow us to connect to
servers that we don't know the netbios name of.
(This used to be commit 147d49dade)
1998-10-04 10:46:52 +00:00
Andrew Tridgell
a1b002fcbe add support for unlink() on printer shares in smbwrapper. unlink()
will remove the job from the pirnt queue.
(This used to be commit 7bd738c30a)
1998-10-04 10:14:21 +00:00
Andrew Tridgell
6760e69a68 added support for printing via smbwrapper
You can print using "cp filename /smb/SERVER/PRINTER/jobname"

You can list the current printqueue using ls
(This used to be commit 080fb61b69)
1998-10-04 09:42:51 +00:00
Andrew Tridgell
ce843e9735 add support for dup() and dup2()
(This used to be commit c5210cb0ff)
1998-10-04 07:52:00 +00:00
Andrew Tridgell
af4a13b37a refuse symlinks to or from a smb path
(This used to be commit 83e93d2a44)
1998-10-04 06:44:20 +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 c728d1c5d6)
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 60a6834656)
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 04e92e692e)
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 a9f9d8c3d8)
1998-10-04 03:28:43 +00:00
Andrew Tridgell
819a6785b3 simplied the layout of the smbwrapper code. All those 3 line files
were getting unwieldy
(This used to be commit a59d4e93da)
1998-10-04 01:36:40 +00:00
Andrew Tridgell
0e76d371ae we need to do a load_interfaces() at startup to support broadcast
resolution of names.
(This used to be commit c0931b6770)
1998-10-04 01:10:18 +00:00
Andrew Tridgell
1fa3478aaf drat.
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.
(This used to be commit e3fd861590)
1998-10-03 16:34:57 +00:00
Andrew Tridgell
86701c6a3c added fchdir() support
(This used to be commit a42729dbf5)
1998-10-03 15:28:47 +00:00
Andrew Tridgell
f2d8f110db fixed vi on smbwrappper (it was a problem in cli_read())
(This used to be commit 1dcc84b942)
1998-10-03 15:01:11 +00:00
Andrew Tridgell
76aa53bce1 fixed wrapper for access(). This gets xedit working.
(This used to be commit 3c839a5231)
1998-10-03 14:46:48 +00:00
Andrew Tridgell
4d9ab2add2 support getcwd() in smbwrapper
(This used to be commit d516ee383c)
1998-10-03 13:58:07 +00:00
Andrew Tridgell
aa7aacacab added mkdir() and rmdir() support
(This used to be commit ce748e5ea9)
1998-10-03 13:27:56 +00:00
Andrew Tridgell
03a06267f4 added simple device/inode number support based on a checksum of the
filename
(This used to be commit 5674fb4e9d)
1998-10-03 13:12:08 +00:00
Andrew Tridgell
f651787785 added lseek() support for directories
(This used to be commit 67ca971b0b)
1998-10-03 12:33:34 +00:00
Andrew Tridgell
4b760a63da added lseek() to smbwrapper
(This used to be commit 752e90b24f)
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 e5c3f36ef2)
1998-10-03 10:24:49 +00:00
Andrew Tridgell
cce5f09a90 added unlink() and rename() support to smbwrapper
(This used to be commit b85d961447)
1998-10-03 09:39:11 +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 1ea349728b)
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 3f34a3cac8)
1998-10-02 12:37:31 +00:00