Alexandre Oliva
eff11b81fd
rm object files created by mkdir probes
...
make sure it works even if clobbering is not allowed
-
Andrew Tridgell
af58bf2ff8
removed requirement of having a smb.conf for smbwrapper to work.
-
Andrew Tridgell
f1d82e02ff
handle ENOTDIR errno in cli_error()
-
Andrew Tridgell
9047bf59b4
- added pread pread64 pwrite pwrite64 and open64
...
- fixed utime() for null tbuf
-
Alexandre Oliva
43ec91ac1f
added 64-bit file support
-
Andrew Tridgell
2087e0ce89
added pread pread64 pwrite pwrite64 and open64
-
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
bdf02378c6
tests for readdir64
-
Andrew Tridgell
32695b1606
reran autoconf
-
Andrew Tridgell
16e7b19634
some tests for stat64() and friends
-
Alexandre Oliva
a38e7ea04a
Speed up directory creation for the common case (i.e., it exists already)
...
Link $(LIBS) in when creating smbwrapper.so
rm -rf bin in distclean
rm smbwrapper files in realclean
remove .h from .SUFFIXES
-
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
-
Alexandre Oliva
9ba19d19ad
Avoid the message `make: [.deps/.P] Error 1 (ignored)'
-
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
269a7938fc
ignore .po files
-
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
bf409a40e2
support using #xx at end of netbios name to connect to the specified name type
-
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
98f9bb94fc
use CLI_BUFFER_SIZE instead of BUFFER_SIZE
-
Andrew Tridgell
cc1a0cf82b
set a default 16k client buffer size
-
Richard Sharpe
fcdc9bc208
Added E Jay Berkenbilt's fixes
-
Andrew Tridgell
83e93d2a44
refuse symlinks to or from a smb path
-
Andrew Tridgell
bbc891727e
fix an error code in cli_error()
-
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
758048f1e1
support a few more function types (like ino_t and off_t)
-
Andrew Tridgell
83b7bfa821
use const char
-
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
e28f55c0a3
use __XXXdir() instead of __libc_XXXdir()
-
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
06f1af12c3
fixed a authentication problem with non-encrypting servers
-
Andrew Tridgell
1388a6fe8c
fixed initialisation bug in rpcclient (stdout is not a constant)
-
Andrew Tridgell
c626214e23
don't call functions that aren't there yet. (Luke had the code
...
commented out in the makefile)
-
Andrew Tridgell
a42729dbf5
added fchdir() support
-
Andrew Tridgell
1dcc84b942
fixed vi on smbwrappper (it was a problem in cli_read())
-