1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-07 01:58:28 +03:00

170 Commits

Author SHA1 Message Date
Andrew Tridgell
ab49ffe37f possibly use __sys_llseek() -
Andrew Tridgell
1918ea2991 won't need wrapper.h anymore -
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
4dbfec81b2 test whether seekdir() returns void or not -
Andrew Tridgell
77aea37bb8 - no getdents on OSF1
- try a new method of handling prototype mismatches in wrapped.c. We
  now try to disable prototypes!
-
Andrew Tridgell
699777a5c1 fixed a bug in real_seekdir() -
Andrew Tridgell
ffa7d0461f some changes for OSF1 support in smbwrapper (just preliminary changes,
doesn't work yet)
-
Andrew Tridgell
bf1e257afb added a document on how to port smbwrapper to a new system -
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
b923bb2aae removed unused variable -
Andrew Tridgell
be7ae2a4e7 use smbw_errno() not smbw_error() -
Andrew Tridgell
fc602e5e26 set HOST_OS after canonical system test -
Andrew Tridgell
4bacf32755 - fixed errno return in smbw_open()
- updated README a bit
- fixed Linux compilation of utime()
-
Andrew Tridgell
80d1c5118a - keep IRIX cc -64 happy
- fixed a chdir bug
-
Andrew Tridgell
01de9a50e0 ignore *.po32 files -
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
0c8288a72c this gets it compiling under IRIX 6.4. Doesn't work yet though. -
Andrew Tridgell
8aa6c16eeb test for creat64() -
Andrew Tridgell
4379f0fe48 handle systems that are missing either SYS_utime or SYS_utimes -
Andrew Tridgell
541f1c4211 ported smbwrapper to SunOS4. It seems to work. pity so many binaries on
my SunOS box are statically linked.
-
Andrew Tridgell
c185585dd9 need to use SYS_open64 not _open64 for solaris 2.6 or stdio doesn't
work right.
-
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
-
Alexandre Oliva
788992f586 added Solaris 2.5 -
Andrew Tridgell
507646d4e5 updated README -
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
6a1b346d98 this gets smbwrapper working under Solaris 2.6. Not tested much yet. -
Andrew Tridgell
86b66d9277 don't define creat() under linux until we get the CREAT_BITS stuff
sorted out.
-
Andrew Tridgell
c63ad1b698 we need to use __readdir() in preference to SYS_readdir for systems
that use getdents.
-
Alexandre Oliva
8f95ee8fc3 bin/cvsignore: deleted, so that bin can be removed from the repository
.cvsignore: added bin; it is no longer part of the source tree

smbwrapper/smbsh: now auto-generated from smbsh.in
smbwrapper/.cvsignore: added smbsh

configure.in: generate @builddir@
configure, include/stamp-h.in: regen

Makefile.in: new target `smbwrapper'; sped up directory creation
-
Andrew Tridgell
cfc06af0b7 drat. We can't include sys/fcntl.h because that gives
conflicts. Instead use "01101" for O_CREAT|O_WRONLY|O_TRUNC.

uggh.
-
Andrew Tridgell
c4e4508178 more solaris 2.5 fixups. It now seems to be working pretty well. -
Andrew Tridgell
70c2eb1ed9 warn user if LIBDIR isn't set right -
Andrew Tridgell
ee349bb329 fixed some stuff for Linux that porting to Solaris broke -
Andrew Tridgell
8d74f7bfdc don't list the IPC$ share in directory listings (it causes infinite
recursion)
-
Andrew Tridgell
e5c7cabae4 started basic support for solaris 2.5 in smbwrapper. -
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.
-