Andrew Tridgell [Thu, 8 Oct 1998 06:21:33 +0000 (06:21 +0000)]
- 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 [Thu, 8 Oct 1998 06:19:29 +0000 (06:19 +0000)]
add "smbtorture" alias for building smbtorture
Andrew Tridgell [Thu, 8 Oct 1998 04:57:59 +0000 (04:57 +0000)]
removed extra comma (some compilers don't like it).
Luke, I fixed this yesterday as well! grumble.
Andrew Tridgell [Thu, 8 Oct 1998 04:52:11 +0000 (04:52 +0000)]
auto-detect the right flag for the compiler to produce PIC code
Andrew Tridgell [Thu, 8 Oct 1998 02:28:21 +0000 (02:28 +0000)]
use 1 second resolution calls if possible
Andrew Tridgell [Thu, 8 Oct 1998 01:23:33 +0000 (01:23 +0000)]
fixed a problem with fchdir() that broke "cvs -d" in smbsh
Andrew Tridgell [Thu, 8 Oct 1998 00:23:08 +0000 (00:23 +0000)]
added some comments
Andrew Tridgell [Thu, 8 Oct 1998 00:02:43 +0000 (00:02 +0000)]
removed lukes acl check in configure (not needed)
Andrew Tridgell [Wed, 7 Oct 1998 23:57:02 +0000 (23:57 +0000)]
don't prototype the acl() functions
Luke Leighton [Wed, 7 Oct 1998 21:42:24 +0000 (21:42 +0000)]
dce/rpc
Luke Leighton [Wed, 7 Oct 1998 16:49:32 +0000 (16:49 +0000)]
added aclent_t autoconf test (defines as an int if it doesn't exist).
this is to stop a compilation error caused by make proto putting
functions that are wrapped in #if HAVE_ACLxxx code.
maybe a better fix would be to have mkproto.awk exclude any functions
wrapped in #if HAVEs that don't exist.
Luke Leighton [Wed, 7 Oct 1998 16:45:44 +0000 (16:45 +0000)]
return False _and_ a break in a switch statement.
Luke Leighton [Wed, 7 Oct 1998 15:24:48 +0000 (15:24 +0000)]
make proto required
Luke Leighton [Wed, 7 Oct 1998 15:22:49 +0000 (15:22 +0000)]
dce/rpc
Andrew Tridgell [Wed, 7 Oct 1998 13:27:54 +0000 (13:27 +0000)]
compile to .po.o first then mv to .po in order to make the sun
compilers happy
Andrew Tridgell [Wed, 7 Oct 1998 11:07:24 +0000 (11:07 +0000)]
restore errno after smbw initialisation
Andrew Tridgell [Wed, 7 Oct 1998 10:58:12 +0000 (10:58 +0000)]
we need realcalls.h in realcalls.c
Andrew Tridgell [Wed, 7 Oct 1998 10:57:51 +0000 (10:57 +0000)]
SunOS doesn't need any ld flags
Andrew Tridgell [Wed, 7 Oct 1998 10:49:27 +0000 (10:49 +0000)]
fixed a warning on SunOS
Andrew Tridgell [Wed, 7 Oct 1998 10:44:12 +0000 (10:44 +0000)]
use double for dummy arrays to ensure alignment
Andrew Tridgell [Wed, 7 Oct 1998 10:41:38 +0000 (10:41 +0000)]
fixed fork() on SunOS4
Andrew Tridgell [Wed, 7 Oct 1998 10:37:09 +0000 (10:37 +0000)]
more solaris acl fixes
Andrew Tridgell [Wed, 7 Oct 1998 10:35:18 +0000 (10:35 +0000)]
- updated docs to say OSF1 works
- more solaris acl fixes
Andrew Tridgell [Wed, 7 Oct 1998 10:27:40 +0000 (10:27 +0000)]
fixed facl() bug for solaris
Andrew Tridgell [Wed, 7 Oct 1998 10:12:29 +0000 (10:12 +0000)]
fixed __xstat() under linux
Andrew Tridgell [Wed, 7 Oct 1998 10:08:08 +0000 (10:08 +0000)]
remoevd a misplaced comma
Andrew Tridgell [Wed, 7 Oct 1998 10:06:28 +0000 (10:06 +0000)]
return type cleanups for IRIX
Andrew Tridgell [Wed, 7 Oct 1998 09:57:22 +0000 (09:57 +0000)]
yet another attempt at making this stuff portable. This time I use
minimal includes in wrapped.c
Andrew Tridgell [Wed, 7 Oct 1998 09:48:21 +0000 (09:48 +0000)]
not needed any more
Andrew Tridgell [Wed, 7 Oct 1998 08:39:37 +0000 (08:39 +0000)]
fix the SEEKDIR_RETURNS_VOID test
Andrew Tridgell [Wed, 7 Oct 1998 08:12:04 +0000 (08:12 +0000)]
detect __sys_llseek()
Andrew Tridgell [Wed, 7 Oct 1998 08:11:12 +0000 (08:11 +0000)]
possibly use __sys_llseek()
Andrew Tridgell [Wed, 7 Oct 1998 08:10:48 +0000 (08:10 +0000)]
won't need wrapper.h anymore
Andrew Tridgell [Wed, 7 Oct 1998 07:55:14 +0000 (07:55 +0000)]
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 [Wed, 7 Oct 1998 06:15:08 +0000 (06:15 +0000)]
test whether seekdir() returns void or not
Andrew Tridgell [Wed, 7 Oct 1998 05:58:09 +0000 (05:58 +0000)]
- no getdents on OSF1
- try a new method of handling prototype mismatches in wrapped.c. We
now try to disable prototypes!
Andrew Tridgell [Wed, 7 Oct 1998 05:02:37 +0000 (05:02 +0000)]
reran autoconf
Andrew Tridgell [Wed, 7 Oct 1998 04:54:42 +0000 (04:54 +0000)]
fix typo
Andrew Tridgell [Wed, 7 Oct 1998 04:52:12 +0000 (04:52 +0000)]
fixed a bug in real_seekdir()
Andrew Tridgell [Wed, 7 Oct 1998 04:44:31 +0000 (04:44 +0000)]
some changes for OSF1 support in smbwrapper (just preliminary changes,
doesn't work yet)
Andrew Tridgell [Wed, 7 Oct 1998 04:24:42 +0000 (04:24 +0000)]
added a document on how to port smbwrapper to a new system
Andrew Tridgell [Wed, 7 Oct 1998 04:24:04 +0000 (04:24 +0000)]
added some comments
Andrew Tridgell [Wed, 7 Oct 1998 01:03:35 +0000 (01:03 +0000)]
somehow "in_client" got included twice in two places.
Andrew Tridgell [Wed, 7 Oct 1998 01:01:26 +0000 (01:01 +0000)]
put #if BROKEN_CODE around all the bits of code in rpc_parse.c that
don't compile.
Luke, you'll need to remove these when you've fixed the code.
Andrew Tridgell [Wed, 7 Oct 1998 00:40:18 +0000 (00:40 +0000)]
do an anonymous login if the username/password is rejected.
Richard Sharpe [Tue, 6 Oct 1998 23:46:01 +0000 (23:46 +0000)]
Added capability for smbclient to use the local WINS server on the same
machine if WINSsupport configured
Luke Leighton [Tue, 6 Oct 1998 22:03:04 +0000 (22:03 +0000)]
dce/rpc
Luke Leighton [Tue, 6 Oct 1998 21:43:58 +0000 (21:43 +0000)]
crc32 algorithm. obtained from dr dobb's journal
http://www.ddj.com/ftp/1992/1992.05/crcman.zip.
copyright 1992 mark r nelson.
Luke Leighton [Tue, 6 Oct 1998 16:25:24 +0000 (16:25 +0000)]
using wrong cli_state in "security = domain" call.
Andrew Tridgell [Tue, 6 Oct 1998 13:20:06 +0000 (13:20 +0000)]
fixed rename error code from NT servers
Andrew Tridgell [Tue, 6 Oct 1998 13:10:06 +0000 (13:10 +0000)]
implemented unix semantics for rename in smbwrapper
Andrew Tridgell [Tue, 6 Oct 1998 12:23:37 +0000 (12:23 +0000)]
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 [Tue, 6 Oct 1998 11:56:44 +0000 (11:56 +0000)]
fixed a bug in time setting (utime() call)
Andrew Tridgell [Tue, 6 Oct 1998 11:14:52 +0000 (11:14 +0000)]
implemented attribute mapping and chmod. file attributes are mapped in
the same manner as smbd. See the README for a full explanation.
Andrew Tridgell [Tue, 6 Oct 1998 10:24:22 +0000 (10:24 +0000)]
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 [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