sfrench/samba-autobuild/.git
25 years agoThis commit was manufactured by cvs2svn to create tag samba-2.0.0alpha9
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'.

25 years agoremoved unused variable
Andrew Tridgell [Tue, 6 Oct 1998 03:20:56 +0000 (03:20 +0000)]
removed unused variable

25 years agoremove unused arguments from some static functions.
Andrew Tridgell [Tue, 6 Oct 1998 03:20:43 +0000 (03:20 +0000)]
remove unused arguments from some static functions.

25 years agouse smbw_errno() not smbw_error()
Andrew Tridgell [Tue, 6 Oct 1998 03:12:40 +0000 (03:12 +0000)]
use smbw_errno() not smbw_error()

25 years agoset HOST_OS after canonical system test
Andrew Tridgell [Mon, 5 Oct 1998 23:44:13 +0000 (23:44 +0000)]
set HOST_OS after canonical system test

25 years agoclean needs to delete po32 and .so files
Andrew Tridgell [Mon, 5 Oct 1998 23:34:50 +0000 (23:34 +0000)]
clean needs to delete po32 and .so files

25 years agotell the user we are producing -32 code for the .32.so library
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

25 years agothe IRIX make is very fussy amount comment lines. If a comment line
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

25 years agorpcclient srvsvc commands.
Luke Leighton [Mon, 5 Oct 1998 15:41:41 +0000 (15:41 +0000)]
rpcclient srvsvc commands.

25 years ago- fixed errno return in smbw_open()
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()

25 years agoMore yuck changes for Red Hat RPM production.
John Terpstra [Mon, 5 Oct 1998 12:58:07 +0000 (12:58 +0000)]
More yuck changes for Red Hat RPM production.

25 years ago- keep IRIX cc -64 happy
Andrew Tridgell [Mon, 5 Oct 1998 12:43:05 +0000 (12:43 +0000)]
- keep IRIX cc -64 happy
- fixed a chdir bug

25 years agoignore *.po32 files
Andrew Tridgell [Mon, 5 Oct 1998 12:36:44 +0000 (12:36 +0000)]
ignore *.po32 files

25 years agofixed some cast warnings from "cc -64" on IRIX
Andrew Tridgell [Mon, 5 Oct 1998 12:36:23 +0000 (12:36 +0000)]
fixed some cast warnings from "cc -64" on IRIX

25 years ago- fixed cast warnings
Andrew Tridgell [Mon, 5 Oct 1998 12:35:30 +0000 (12:35 +0000)]
- fixed cast warnings
- ignore *.po32 files

25 years agonew prototypes
Andrew Tridgell [Mon, 5 Oct 1998 12:34:57 +0000 (12:34 +0000)]
new prototypes

25 years agofixed a cast warning
Andrew Tridgell [Mon, 5 Oct 1998 12:34:43 +0000 (12:34 +0000)]
fixed a cast warning

25 years agoreran autoconf for IRIX changes
Andrew Tridgell [Mon, 5 Oct 1998 12:34:22 +0000 (12:34 +0000)]
reran autoconf for IRIX changes

25 years agogot smbwrapper working on IRIX 6.4. Things got a bit tricky,
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!

25 years agofixed Makefile for IRIX make (it doesn't know %.o=%.po, leaving off
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)

25 years agothis gets it compiling under IRIX 6.4. Doesn't work yet though.
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.

25 years agotest for creat64()
Andrew Tridgell [Mon, 5 Oct 1998 09:01:49 +0000 (09:01 +0000)]
test for creat64()

25 years agohandle systems that are missing either SYS_utime or SYS_utimes
Andrew Tridgell [Mon, 5 Oct 1998 08:54:55 +0000 (08:54 +0000)]
handle systems that are missing either SYS_utime or SYS_utimes

25 years agoported smbwrapper to SunOS4. It seems to work. pity so many binaries on
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.

25 years agofixed typo in getgroups code
Andrew Tridgell [Mon, 5 Oct 1998 08:42:41 +0000 (08:42 +0000)]
fixed typo in getgroups code

25 years agonew file realcalls.c
Andrew Tridgell [Mon, 5 Oct 1998 08:42:22 +0000 (08:42 +0000)]
new file realcalls.c

25 years agoAdded rpcclient and smbwrapper stuff.
John Terpstra [Mon, 5 Oct 1998 06:55:53 +0000 (06:55 +0000)]
Added rpcclient and smbwrapper stuff.

25 years agoIRIX uses -shared for shared libray creation.
Andrew Tridgell [Mon, 5 Oct 1998 06:17:08 +0000 (06:17 +0000)]
IRIX uses -shared for shared libray creation.

25 years agoneed to use SYS_open64 not _open64 for solaris 2.6 or stdio doesn't
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.

25 years agogot rid of all assembly code and gcc special features. I'm hoping to
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

25 years agoadded Solaris 2.5
Alexandre Oliva [Mon, 5 Oct 1998 04:53:28 +0000 (04:53 +0000)]
added Solaris 2.5

25 years agoupdated README
Andrew Tridgell [Mon, 5 Oct 1998 03:56:09 +0000 (03:56 +0000)]
updated README

25 years agoget type of callback right
Andrew Tridgell [Mon, 5 Oct 1998 03:53:25 +0000 (03:53 +0000)]
get type of callback right

25 years agotest for loff_t and offset_t to support llseek() on Solaris and Linux.
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.

25 years agorevert 64-bit file support; it's hard-coded already
Alexandre Oliva [Mon, 5 Oct 1998 03:44:39 +0000 (03:44 +0000)]
revert 64-bit file support; it's hard-coded already

25 years agojust try to rmdir bin after removing bin/.dummy, in realclean
Alexandre Oliva [Mon, 5 Oct 1998 03:44:12 +0000 (03:44 +0000)]
just try to rmdir bin after removing bin/.dummy, in realclean

25 years agoit's a bit dangerous to use rm -rf
Andrew Tridgell [Mon, 5 Oct 1998 03:24:08 +0000 (03:24 +0000)]
it's a bit dangerous to use rm -rf

25 years agorm object files created by mkdir probes
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

25 years agoremoved requirement of having a smb.conf for smbwrapper to work.
Andrew Tridgell [Mon, 5 Oct 1998 02:55:53 +0000 (02:55 +0000)]
removed requirement of having a smb.conf for smbwrapper to work.

25 years agohandle ENOTDIR errno in cli_error()
Andrew Tridgell [Mon, 5 Oct 1998 02:45:50 +0000 (02:45 +0000)]
handle ENOTDIR errno in cli_error()

25 years ago- added pread pread64 pwrite pwrite64 and open64
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

25 years agoadded 64-bit file support
Alexandre Oliva [Mon, 5 Oct 1998 02:19:09 +0000 (02:19 +0000)]
added 64-bit file support

25 years agoadded pread pread64 pwrite pwrite64 and open64
Andrew Tridgell [Mon, 5 Oct 1998 02:14:19 +0000 (02:14 +0000)]
added pread pread64 pwrite pwrite64 and open64

25 years agoadded a function set_maxfiles() to set our file rlimit to the max
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.

25 years agothis gets smbwrapper working under Solaris 2.6. Not tested much yet.
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.

25 years agotests for readdir64
Andrew Tridgell [Mon, 5 Oct 1998 01:25:39 +0000 (01:25 +0000)]
tests for readdir64

25 years agoreran autoconf
Andrew Tridgell [Mon, 5 Oct 1998 00:50:41 +0000 (00:50 +0000)]
reran autoconf

25 years agosome tests for stat64() and friends
Andrew Tridgell [Mon, 5 Oct 1998 00:48:59 +0000 (00:48 +0000)]
some tests for stat64() and friends

25 years agoSpeed up directory creation for the common case (i.e., it exists already)
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

25 years agodon't define creat() under linux until we get the CREAT_BITS stuff
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.

25 years agowe need to use __readdir() in preference to SYS_readdir for systems
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.

25 years agobin/cvsignore: deleted, so that bin can be removed from the repository
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

25 years agoAvoid the message `make: [.deps/.P] Error 1 (ignored)'
Alexandre Oliva [Sun, 4 Oct 1998 20:54:05 +0000 (20:54 +0000)]
Avoid the message `make: [.deps/.P] Error 1 (ignored)'

25 years agodrat. We can't include sys/fcntl.h because that gives
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.

25 years agomore solaris 2.5 fixups. It now seems to be working pretty well.
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.

25 years agoignore .po files
Andrew Tridgell [Sun, 4 Oct 1998 15:02:32 +0000 (15:02 +0000)]
ignore .po files

25 years agowarn user if LIBDIR isn't set right
Andrew Tridgell [Sun, 4 Oct 1998 15:02:15 +0000 (15:02 +0000)]
warn user if LIBDIR isn't set right

25 years agofixed some stuff for Linux that porting to Solaris broke
Andrew Tridgell [Sun, 4 Oct 1998 14:56:19 +0000 (14:56 +0000)]
fixed some stuff for Linux that porting to Solaris broke

25 years agodon't list the IPC$ share in directory listings (it causes infinite
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)

25 years agostarted basic support for solaris 2.5 in smbwrapper.
Andrew Tridgell [Sun, 4 Oct 1998 14:02:50 +0000 (14:02 +0000)]
started basic support for solaris 2.5 in smbwrapper.

25 years ago- modified resolve_name() to take a name_type
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/

25 years agosupport NetServerEnum in smbwrapper. You can now do a ls in /smb/ and
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.

25 years agosupport using #xx at end of netbios name to connect to the specified name type
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

25 years agouse *SMBSERVER convention in smbwrapper to allow us to connect to
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.

25 years agoadd support for unlink() on printer shares in smbwrapper. unlink()
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.

25 years agoadded support for printing via smbwrapper
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

25 years agoadd support for dup() and dup2()
Andrew Tridgell [Sun, 4 Oct 1998 07:52:00 +0000 (07:52 +0000)]
add support for dup() and dup2()

25 years agouse CLI_BUFFER_SIZE instead of BUFFER_SIZE
Andrew Tridgell [Sun, 4 Oct 1998 07:51:34 +0000 (07:51 +0000)]
use CLI_BUFFER_SIZE instead of BUFFER_SIZE

25 years agoset a default 16k client buffer size
Andrew Tridgell [Sun, 4 Oct 1998 07:50:44 +0000 (07:50 +0000)]
set a default 16k client buffer size

25 years agoAdded E Jay Berkenbilt's fixes
Richard Sharpe [Sun, 4 Oct 1998 07:09:38 +0000 (07:09 +0000)]
Added E Jay Berkenbilt's fixes

25 years agorefuse symlinks to or from a smb path
Andrew Tridgell [Sun, 4 Oct 1998 06:44:20 +0000 (06:44 +0000)]
refuse symlinks to or from a smb path

25 years agofix an error code in cli_error()
Andrew Tridgell [Sun, 4 Oct 1998 06:43:41 +0000 (06:43 +0000)]
fix an error code in cli_error()

25 years agomodified cli_read() and cli_write() to issue multiple outstanding
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.

25 years agouse dummy file descriptors opened on /dev/null to ensure that the smbw
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.

25 years agomore smbw cleanups.
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

25 years ago- split smbw directory code into smbw_dir.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

25 years agosupport a few more function types (like ino_t and off_t)
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)

25 years agouse const char
Andrew Tridgell [Sun, 4 Oct 1998 03:27:04 +0000 (03:27 +0000)]
use const char

25 years agosimplied the layout of the smbwrapper code. All those 3 line files
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

25 years agowe need to do a load_interfaces() at startup to support broadcast
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.

25 years agouse __XXXdir() instead of __libc_XXXdir()
Andrew Tridgell [Sat, 3 Oct 1998 16:40:32 +0000 (16:40 +0000)]
use __XXXdir() instead of __libc_XXXdir()

25 years agodrat.
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.

25 years agofixed a authentication problem with non-encrypting servers
Andrew Tridgell [Sat, 3 Oct 1998 15:55:18 +0000 (15:55 +0000)]
fixed a authentication problem with non-encrypting servers

25 years agofixed initialisation bug in rpcclient (stdout is not a constant)
Andrew Tridgell [Sat, 3 Oct 1998 15:45:29 +0000 (15:45 +0000)]
fixed initialisation bug in rpcclient (stdout is not a constant)

25 years agodon't call functions that aren't there yet. (Luke had the code
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)

25 years agoadded fchdir() support
Andrew Tridgell [Sat, 3 Oct 1998 15:28:47 +0000 (15:28 +0000)]
added fchdir() support

25 years agofixed vi on smbwrappper (it was a problem in cli_read())
Andrew Tridgell [Sat, 3 Oct 1998 15:01:11 +0000 (15:01 +0000)]
fixed vi on smbwrappper (it was a problem in cli_read())

25 years agofixed wrapper for access(). This gets xedit working.
Andrew Tridgell [Sat, 3 Oct 1998 14:46:48 +0000 (14:46 +0000)]
fixed wrapper for access(). This gets xedit working.

25 years agosupport getcwd() in smbwrapper
Andrew Tridgell [Sat, 3 Oct 1998 13:58:07 +0000 (13:58 +0000)]
support getcwd() in smbwrapper

25 years agoadded mkdir() and rmdir() support
Andrew Tridgell [Sat, 3 Oct 1998 13:27:56 +0000 (13:27 +0000)]
added mkdir() and rmdir() support

25 years agoadded simple device/inode number support based on a checksum of the
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

25 years agoadded a bit more to the docs
Andrew Tridgell [Sat, 3 Oct 1998 12:47:52 +0000 (12:47 +0000)]
added a bit more to the docs

25 years agoadded lseek() support for directories
Andrew Tridgell [Sat, 3 Oct 1998 12:33:34 +0000 (12:33 +0000)]
added lseek() support for directories

25 years agofixed a bug in name_len() (thanks to kooros@kooros.netrack.net)
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)

25 years agoadded lseek() to smbwrapper
Andrew Tridgell [Sat, 3 Oct 1998 11:54:20 +0000 (11:54 +0000)]
added lseek() to smbwrapper

25 years agouse O_ACCMODE
Andrew Tridgell [Sat, 3 Oct 1998 11:54:00 +0000 (11:54 +0000)]
use O_ACCMODE

25 years ago- always open for reading (otherwise getattrE won't work).
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

25 years agoupdated prototypes
Andrew Tridgell [Sat, 3 Oct 1998 11:51:52 +0000 (11:51 +0000)]
updated prototypes

25 years agodefine O_ACCMODE if not defined
Andrew Tridgell [Sat, 3 Oct 1998 11:51:30 +0000 (11:51 +0000)]
define O_ACCMODE if not defined

25 years agoadded lseek
Andrew Tridgell [Sat, 3 Oct 1998 11:51:01 +0000 (11:51 +0000)]
added lseek