cvs2svn Import User [Tue, 6 Oct 1998 03:20:57 +0000 (03:20 +0000)]
This commit was manufactured by cvs2svn to create tag
'release-2-0-0-alpha-9'.
Andrew Tridgell [Tue, 6 Oct 1998 03:20:56 +0000 (03:20 +0000)]
removed unused variable
Andrew Tridgell [Tue, 6 Oct 1998 03:20:43 +0000 (03:20 +0000)]
remove unused arguments from some static functions.
Andrew Tridgell [Tue, 6 Oct 1998 03:12:40 +0000 (03:12 +0000)]
use smbw_errno() not smbw_error()
Andrew Tridgell [Mon, 5 Oct 1998 23:44:13 +0000 (23:44 +0000)]
set HOST_OS after canonical system test
Andrew Tridgell [Mon, 5 Oct 1998 23:34:50 +0000 (23:34 +0000)]
clean needs to delete po32 and .so files
Andrew Tridgell [Mon, 5 Oct 1998 23:31:55 +0000 (23:31 +0000)]
tell the user we are producing -32 code for the .32.so library
Andrew Tridgell [Mon, 5 Oct 1998 23:30:27 +0000 (23:30 +0000)]
the IRIX make is very fussy amount comment lines. If a comment line
has a trailing \ then it continues the comment and wipes out the next
non-blank line!
be careful when commenting out bits of the Makefile
Luke Leighton [Mon, 5 Oct 1998 15:41:41 +0000 (15:41 +0000)]
rpcclient srvsvc commands.
Andrew Tridgell [Mon, 5 Oct 1998 13:51:19 +0000 (13:51 +0000)]
- fixed errno return in smbw_open()
- updated README a bit
- fixed Linux compilation of utime()
John Terpstra [Mon, 5 Oct 1998 12:58:07 +0000 (12:58 +0000)]
More yuck changes for Red Hat RPM production.
Andrew Tridgell [Mon, 5 Oct 1998 12:43:05 +0000 (12:43 +0000)]
- keep IRIX cc -64 happy
- fixed a chdir bug
Andrew Tridgell [Mon, 5 Oct 1998 12:36:44 +0000 (12:36 +0000)]
ignore *.po32 files
Andrew Tridgell [Mon, 5 Oct 1998 12:36:23 +0000 (12:36 +0000)]
fixed some cast warnings from "cc -64" on IRIX
Andrew Tridgell [Mon, 5 Oct 1998 12:35:30 +0000 (12:35 +0000)]
- fixed cast warnings
- ignore *.po32 files
Andrew Tridgell [Mon, 5 Oct 1998 12:34:57 +0000 (12:34 +0000)]
new prototypes
Andrew Tridgell [Mon, 5 Oct 1998 12:34:43 +0000 (12:34 +0000)]
fixed a cast warning
Andrew Tridgell [Mon, 5 Oct 1998 12:34:22 +0000 (12:34 +0000)]
reran autoconf for IRIX changes
Andrew Tridgell [Mon, 5 Oct 1998 12:17:01 +0000 (12:17 +0000)]
got smbwrapper working on IRIX 6.4. Things got a bit tricky,
especially as the headers get the syscall numbers wrong!
Andrew Tridgell [Mon, 5 Oct 1998 10:53:07 +0000 (10:53 +0000)]
fixed Makefile for IRIX make (it doesn't know %.o=%.po, leaving off
the % works)
Andrew Tridgell [Mon, 5 Oct 1998 09:23:46 +0000 (09:23 +0000)]
this gets it compiling under IRIX 6.4. Doesn't work yet though.
Andrew Tridgell [Mon, 5 Oct 1998 09:01:49 +0000 (09:01 +0000)]
test for creat64()
Andrew Tridgell [Mon, 5 Oct 1998 08:54:55 +0000 (08:54 +0000)]
handle systems that are missing either SYS_utime or SYS_utimes
Andrew Tridgell [Mon, 5 Oct 1998 08:44:46 +0000 (08:44 +0000)]
ported smbwrapper to SunOS4. It seems to work. pity so many binaries on
my SunOS box are statically linked.
Andrew Tridgell [Mon, 5 Oct 1998 08:42:41 +0000 (08:42 +0000)]
fixed typo in getgroups code
Andrew Tridgell [Mon, 5 Oct 1998 08:42:22 +0000 (08:42 +0000)]
new file realcalls.c
John Terpstra [Mon, 5 Oct 1998 06:55:53 +0000 (06:55 +0000)]
Added rpcclient and smbwrapper stuff.
Andrew Tridgell [Mon, 5 Oct 1998 06:17:08 +0000 (06:17 +0000)]
IRIX uses -shared for shared libray creation.
Andrew Tridgell [Mon, 5 Oct 1998 06:09:44 +0000 (06:09 +0000)]
need to use SYS_open64 not _open64 for solaris 2.6 or stdio doesn't
work right.
Andrew Tridgell [Mon, 5 Oct 1998 04:58:33 +0000 (04:58 +0000)]
got rid of all assembly code and gcc special features. I'm hoping to
get smbsh working with the normal sun compiler
Alexandre Oliva [Mon, 5 Oct 1998 04:53:28 +0000 (04:53 +0000)]
added Solaris 2.5
Andrew Tridgell [Mon, 5 Oct 1998 03:56:09 +0000 (03:56 +0000)]
updated README
Andrew Tridgell [Mon, 5 Oct 1998 03:53:25 +0000 (03:53 +0000)]
get type of callback right
Andrew Tridgell [Mon, 5 Oct 1998 03:52:57 +0000 (03:52 +0000)]
test for loff_t and offset_t to support llseek() on Solaris and Linux.
Alexandre Oliva [Mon, 5 Oct 1998 03:44:39 +0000 (03:44 +0000)]
revert 64-bit file support; it's hard-coded already
Alexandre Oliva [Mon, 5 Oct 1998 03:44:12 +0000 (03:44 +0000)]
just try to rmdir bin after removing bin/.dummy, in realclean
Andrew Tridgell [Mon, 5 Oct 1998 03:24:08 +0000 (03:24 +0000)]
it's a bit dangerous to use rm -rf
Alexandre Oliva [Mon, 5 Oct 1998 02:56:31 +0000 (02:56 +0000)]
rm object files created by mkdir probes
make sure it works even if clobbering is not allowed
Andrew Tridgell [Mon, 5 Oct 1998 02:55:53 +0000 (02:55 +0000)]
removed requirement of having a smb.conf for smbwrapper to work.
Andrew Tridgell [Mon, 5 Oct 1998 02:45:50 +0000 (02:45 +0000)]
handle ENOTDIR errno in cli_error()
Andrew Tridgell [Mon, 5 Oct 1998 02:31:39 +0000 (02:31 +0000)]
- added pread pread64 pwrite pwrite64 and open64
- fixed utime() for null tbuf
Alexandre Oliva [Mon, 5 Oct 1998 02:19:09 +0000 (02:19 +0000)]
added 64-bit file support
Andrew Tridgell [Mon, 5 Oct 1998 02:14:19 +0000 (02:14 +0000)]
added pread pread64 pwrite pwrite64 and open64
Andrew Tridgell [Mon, 5 Oct 1998 01:57:03 +0000 (01:57 +0000)]
added a function set_maxfiles() to set our file rlimit to the max
possible and return the max.
Andrew Tridgell [Mon, 5 Oct 1998 01:42:46 +0000 (01:42 +0000)]
this gets smbwrapper working under Solaris 2.6. Not tested much yet.
Andrew Tridgell [Mon, 5 Oct 1998 01:25:39 +0000 (01:25 +0000)]
tests for readdir64
Andrew Tridgell [Mon, 5 Oct 1998 00:50:41 +0000 (00:50 +0000)]
reran autoconf
Andrew Tridgell [Mon, 5 Oct 1998 00:48:59 +0000 (00:48 +0000)]
some tests for stat64() and friends
Alexandre Oliva [Mon, 5 Oct 1998 00:43:48 +0000 (00:43 +0000)]
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 [Mon, 5 Oct 1998 00:32:09 +0000 (00:32 +0000)]
don't define creat() under linux until we get the CREAT_BITS stuff
sorted out.
Andrew Tridgell [Sun, 4 Oct 1998 23:47:02 +0000 (23:47 +0000)]
we need to use __readdir() in preference to SYS_readdir for systems
that use getdents.
Alexandre Oliva [Sun, 4 Oct 1998 22:42:05 +0000 (22:42 +0000)]
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 [Sun, 4 Oct 1998 20:54:05 +0000 (20:54 +0000)]
Avoid the message `make: [.deps/.P] Error 1 (ignored)'
Andrew Tridgell [Sun, 4 Oct 1998 16:03:32 +0000 (16:03 +0000)]
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 [Sun, 4 Oct 1998 15:54:04 +0000 (15:54 +0000)]
more solaris 2.5 fixups. It now seems to be working pretty well.
Andrew Tridgell [Sun, 4 Oct 1998 15:02:32 +0000 (15:02 +0000)]
ignore .po files
Andrew Tridgell [Sun, 4 Oct 1998 15:02:15 +0000 (15:02 +0000)]
warn user if LIBDIR isn't set right
Andrew Tridgell [Sun, 4 Oct 1998 14:56:19 +0000 (14:56 +0000)]
fixed some stuff for Linux that porting to Solaris broke
Andrew Tridgell [Sun, 4 Oct 1998 14:07:18 +0000 (14:07 +0000)]
don't list the IPC$ share in directory listings (it causes infinite
recursion)
Andrew Tridgell [Sun, 4 Oct 1998 14:02:50 +0000 (14:02 +0000)]
started basic support for solaris 2.5 in smbwrapper.
Andrew Tridgell [Sun, 4 Oct 1998 12:00:40 +0000 (12:00 +0000)]
- 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 [Sun, 4 Oct 1998 11:25:06 +0000 (11:25 +0000)]
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 [Sun, 4 Oct 1998 10:48:31 +0000 (10:48 +0000)]
support using #xx at end of netbios name to connect to the specified name type
Andrew Tridgell [Sun, 4 Oct 1998 10:46:52 +0000 (10:46 +0000)]
use *SMBSERVER convention in smbwrapper to allow us to connect to
servers that we don't know the netbios name of.
Andrew Tridgell [Sun, 4 Oct 1998 10:14:21 +0000 (10:14 +0000)]
add support for unlink() on printer shares in smbwrapper. unlink()
will remove the job from the pirnt queue.
Andrew Tridgell [Sun, 4 Oct 1998 09:42:51 +0000 (09:42 +0000)]
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 [Sun, 4 Oct 1998 07:52:00 +0000 (07:52 +0000)]
add support for dup() and dup2()
Andrew Tridgell [Sun, 4 Oct 1998 07:51:34 +0000 (07:51 +0000)]
use CLI_BUFFER_SIZE instead of BUFFER_SIZE
Andrew Tridgell [Sun, 4 Oct 1998 07:50:44 +0000 (07:50 +0000)]
set a default 16k client buffer size
Richard Sharpe [Sun, 4 Oct 1998 07:09:38 +0000 (07:09 +0000)]
Added E Jay Berkenbilt's fixes
Andrew Tridgell [Sun, 4 Oct 1998 06:44:20 +0000 (06:44 +0000)]
refuse symlinks to or from a smb path
Andrew Tridgell [Sun, 4 Oct 1998 06:43:41 +0000 (06:43 +0000)]
fix an error code in cli_error()
Andrew Tridgell [Sun, 4 Oct 1998 06:22:08 +0000 (06:22 +0000)]
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 [Sun, 4 Oct 1998 04:48:17 +0000 (04:48 +0000)]
use dummy file descriptors opened on /dev/null to ensure that the smbw
file descriptor allocation order is identical to the kernels.
Andrew Tridgell [Sun, 4 Oct 1998 04:33:56 +0000 (04:33 +0000)]
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 [Sun, 4 Oct 1998 03:28:43 +0000 (03:28 +0000)]
- split smbw directory code into smbw_dir.c
- fixed a bug in the handling of multiple connections to different
servers
Andrew Tridgell [Sun, 4 Oct 1998 03:27:29 +0000 (03:27 +0000)]
support a few more function types (like ino_t and off_t)
Andrew Tridgell [Sun, 4 Oct 1998 03:27:04 +0000 (03:27 +0000)]
use const char
Andrew Tridgell [Sun, 4 Oct 1998 01:36:40 +0000 (01:36 +0000)]
simplied the layout of the smbwrapper code. All those 3 line files
were getting unwieldy
Andrew Tridgell [Sun, 4 Oct 1998 01:10:18 +0000 (01:10 +0000)]
we need to do a load_interfaces() at startup to support broadcast
resolution of names.
Andrew Tridgell [Sat, 3 Oct 1998 16:40:32 +0000 (16:40 +0000)]
use __XXXdir() instead of __libc_XXXdir()
Andrew Tridgell [Sat, 3 Oct 1998 16:34:57 +0000 (16:34 +0000)]
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 [Sat, 3 Oct 1998 15:55:18 +0000 (15:55 +0000)]
fixed a authentication problem with non-encrypting servers
Andrew Tridgell [Sat, 3 Oct 1998 15:45:29 +0000 (15:45 +0000)]
fixed initialisation bug in rpcclient (stdout is not a constant)
Andrew Tridgell [Sat, 3 Oct 1998 15:29:39 +0000 (15:29 +0000)]
don't call functions that aren't there yet. (Luke had the code
commented out in the makefile)
Andrew Tridgell [Sat, 3 Oct 1998 15:28:47 +0000 (15:28 +0000)]
added fchdir() support
Andrew Tridgell [Sat, 3 Oct 1998 15:01:11 +0000 (15:01 +0000)]
fixed vi on smbwrappper (it was a problem in cli_read())
Andrew Tridgell [Sat, 3 Oct 1998 14:46:48 +0000 (14:46 +0000)]
fixed wrapper for access(). This gets xedit working.
Andrew Tridgell [Sat, 3 Oct 1998 13:58:07 +0000 (13:58 +0000)]
support getcwd() in smbwrapper
Andrew Tridgell [Sat, 3 Oct 1998 13:27:56 +0000 (13:27 +0000)]
added mkdir() and rmdir() support
Andrew Tridgell [Sat, 3 Oct 1998 13:12:08 +0000 (13:12 +0000)]
added simple device/inode number support based on a checksum of the
filename
Andrew Tridgell [Sat, 3 Oct 1998 12:47:52 +0000 (12:47 +0000)]
added a bit more to the docs
Andrew Tridgell [Sat, 3 Oct 1998 12:33:34 +0000 (12:33 +0000)]
added lseek() support for directories
Andrew Tridgell [Sat, 3 Oct 1998 12:32:18 +0000 (12:32 +0000)]
fixed a bug in name_len() (thanks to kooros@kooros.netrack.net)
Andrew Tridgell [Sat, 3 Oct 1998 11:54:20 +0000 (11:54 +0000)]
added lseek() to smbwrapper
Andrew Tridgell [Sat, 3 Oct 1998 11:54:00 +0000 (11:54 +0000)]
use O_ACCMODE
Andrew Tridgell [Sat, 3 Oct 1998 11:53:37 +0000 (11:53 +0000)]
- always open for reading (otherwise getattrE won't work).
- added somemore NT error codes
Andrew Tridgell [Sat, 3 Oct 1998 11:51:52 +0000 (11:51 +0000)]
updated prototypes
Andrew Tridgell [Sat, 3 Oct 1998 11:51:30 +0000 (11:51 +0000)]
define O_ACCMODE if not defined
Andrew Tridgell [Sat, 3 Oct 1998 11:51:01 +0000 (11:51 +0000)]
added lseek