1
0
mirror of https://github.com/samba-team/samba.git synced 2025-06-30 08:49:41 +03:00

52 Commits

Author SHA1 Message Date
Jeremy Allison
60dc1a4a00 Small tidyups for gcc in 'preen' mode....
Jeremy.
-
Andrew Tridgell
121e321a12 changed some debug levels -
Jeremy Allison
04d79a9ae5 Re-added code to tell the user how many open files they
have. Needed for server diagnosis purposes...
Jeremy.
-
Luke Leighton
aa9dd697d4 tridge, i had to put a #ifdef _STAT_VER_LINUX_OLD round a bit of code
that didn't have _STAT_VER_LINUX_OLD defined.  maybe you want to sort
this out properly...
-
Luke Leighton
e0445419b2 dce/rpc. -
Luke Leighton
62fdeef1b7 dce/rpc -
Andrew Tridgell
91597c12fb - fixed a bunch of warnings and minor errors
- got smbtorture to compile
- removed %D from some of lukes code - Luke, what is %D? it ain't
  portable anyway
-
Andrew Tridgell
9efbb21f35 don't prototype the acl() functions -
Andrew Tridgell
f374706cbf restore errno after smbw initialisation -
Andrew Tridgell
8fc7bc0ee6 - updated docs to say OSF1 works
- more solaris acl fixes
-
Andrew Tridgell
fd6a59d8ca yet another attempt at making this stuff portable. This time I use
minimal includes in wrapped.c
-
Andrew Tridgell
6f2239c935 more OSF1 changes as well as changes to allow us to use the standard
includes.h in wrapped.c, thus making porting much simpler
-
Andrew Tridgell
0ee3e0c623 do an anonymous login if the username/password is rejected. -
Andrew Tridgell
a5c18f9c82 implemented unix semantics for rename in smbwrapper -
Andrew Tridgell
b7ecbca3af 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.
-
Andrew Tridgell
2f4506a33c fixed a bug in time setting (utime() call) -
Andrew Tridgell
0a5dcddd3f implemented attribute mapping and chmod. file attributes are mapped in
the same manner as smbd. See the README for a full explanation.
-
Andrew Tridgell
71acf338d7 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.
-
Andrew Tridgell
be7ae2a4e7 use smbw_errno() not smbw_error() -
Andrew Tridgell
4bacf32755 - fixed errno return in smbw_open()
- updated README a bit
- fixed Linux compilation of utime()
-
Andrew Tridgell
a5405f1ab0 got smbwrapper working on IRIX 6.4. Things got a bit tricky,
especially as the headers get the syscall numbers wrong!
-
Andrew Tridgell
541f1c4211 ported smbwrapper to SunOS4. It seems to work. pity so many binaries on
my SunOS box are statically linked.
-
Andrew Tridgell
c6ee915336 got rid of all assembly code and gcc special features. I'm hoping to
get smbsh working with the normal sun compiler
-
Andrew Tridgell
af58bf2ff8 removed requirement of having a smb.conf for smbwrapper to work. -
Andrew Tridgell
9047bf59b4 - added pread pread64 pwrite pwrite64 and open64
- fixed utime() for null tbuf
-
Andrew Tridgell
7a7b5ee168 added a function set_maxfiles() to set our file rlimit to the max
possible and return the max.
-
Andrew Tridgell
a4e607c17d - 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/
-
Andrew Tridgell
64699810e2 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.
-
Andrew Tridgell
147d49dade use *SMBSERVER convention in smbwrapper to allow us to connect to
servers that we don't know the netbios name of.
-
Andrew Tridgell
7bd738c30a add support for unlink() on printer shares in smbwrapper. unlink()
will remove the job from the pirnt queue.
-
Andrew Tridgell
080fb61b69 added support for printing via smbwrapper
You can print using "cp filename /smb/SERVER/PRINTER/jobname"

You can list the current printqueue using ls
-
Andrew Tridgell
c5210cb0ff add support for dup() and dup2() -
Andrew Tridgell
83e93d2a44 refuse symlinks to or from a smb path -
Andrew Tridgell
c728d1c5d6 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.
-
Andrew Tridgell
60a6834656 use dummy file descriptors opened on /dev/null to ensure that the smbw
file descriptor allocation order is identical to the kernels.
-
Andrew Tridgell
04e92e692e 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
-
Andrew Tridgell
a9f9d8c3d8 - split smbw directory code into smbw_dir.c
- fixed a bug in the handling of multiple connections to different
  servers
-
Andrew Tridgell
a59d4e93da simplied the layout of the smbwrapper code. All those 3 line files
were getting unwieldy
-
Andrew Tridgell
c0931b6770 we need to do a load_interfaces() at startup to support broadcast
resolution of names.
-
Andrew Tridgell
e3fd861590 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.
-
Andrew Tridgell
a42729dbf5 added fchdir() support -
Andrew Tridgell
1dcc84b942 fixed vi on smbwrappper (it was a problem in cli_read()) -
Andrew Tridgell
3c839a5231 fixed wrapper for access(). This gets xedit working. -
Andrew Tridgell
d516ee383c support getcwd() in smbwrapper -
Andrew Tridgell
ce748e5ea9 added mkdir() and rmdir() support -
Andrew Tridgell
5674fb4e9d added simple device/inode number support based on a checksum of the
filename
-
Andrew Tridgell
67ca971b0b added lseek() support for directories -
Andrew Tridgell
752e90b24f added lseek() to smbwrapper -
Andrew Tridgell
e5c3f36ef2 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
-
Andrew Tridgell
b85d961447 added unlink() and rename() support to smbwrapper -