aaptel/samba-autobuild/.git
25 years agoThis commit was manufactured by cvs2svn to create tag samba-2.0.2
cvs2svn Import User [Sat, 6 Feb 1999 22:57:25 +0000 (22:57 +0000)]
This commit was manufactured by cvs2svn to create tag
'release-2-0-2'.

25 years agopreparing for release of 2.0.2
Samba Release Account [Sat, 6 Feb 1999 22:57:24 +0000 (22:57 +0000)]
preparing for release of 2.0.2

25 years agofixed two compile warnings/errors
Andrew Tridgell [Sat, 6 Feb 1999 22:42:45 +0000 (22:42 +0000)]
fixed two compile warnings/errors
(not critical, just sloppy)

25 years agoFixed looping on SIGCLD problem. Missing break & missing CatchChild...
Jeremy Allison [Sat, 6 Feb 1999 22:10:41 +0000 (22:10 +0000)]
Fixed looping on SIGCLD problem. Missing break & missing CatchChild...
DAMN !!!!!
Jeremy.

25 years agoAnother quick fix for SSL support. Make sure that ssl.o is linked in with
Richard Sharpe [Sat, 6 Feb 1999 14:46:35 +0000 (14:46 +0000)]
Another quick fix for SSL support.  Make sure that ssl.o is linked in with
everything :-)

Now seems to link :-)

25 years agoUpdates to make SSL stuff work.
Richard Sharpe [Sat, 6 Feb 1999 14:42:05 +0000 (14:42 +0000)]
Updates to make SSL stuff work.

Modified configure.in to ensure that SSL related stuff gets into
configure.  Still a bit tacky, but a beginning.  We check to
ensure that if -with-ssl is called, that the SSL includes and libraries
are on the system or we fall over.

It seems to build OK under Linux.  Pity I could not have got it into
2.0.1

25 years agopreparing for release of 2.0.1
Samba Release Account [Sat, 6 Feb 1999 02:34:27 +0000 (02:34 +0000)]
preparing for release of 2.0.1

25 years agoUpdated for 2.0.1 release.
Jeremy Allison [Sat, 6 Feb 1999 02:09:59 +0000 (02:09 +0000)]
Updated for 2.0.1 release.
Jeremy.

25 years agoPreparing for 2.0.1 - updated rpm packaging now we can do
Jeremy Allison [Sat, 6 Feb 1999 00:56:26 +0000 (00:56 +0000)]
Preparing for 2.0.1 - updated rpm packaging now we can do
--with-lockdir and --with-privatedir.
JEremy.

25 years agolib/util_sock.c: Added debug print if core read or write fails to give UNIX errno.
Jeremy Allison [Fri, 5 Feb 1999 21:32:16 +0000 (21:32 +0000)]
lib/util_sock.c: Added debug print if core read or write fails to give UNIX errno.
tests/* - Added #if defined(HAVE_UNISTD_H) to help with large file stuff.
Jeremy.

25 years agoAdded updates to help users of "bind interfaces only".
Jeremy Allison [Fri, 5 Feb 1999 02:19:07 +0000 (02:19 +0000)]
Added updates to help users of "bind interfaces only".
Jeremy.

25 years agoDirectory tidyups to help me track any problems.
Jeremy Allison [Fri, 5 Feb 1999 01:59:08 +0000 (01:59 +0000)]
Directory tidyups to help me track any problems.
Upped MAX_OPEN_DIRECTORIES to 256.
Ensured new directory handles are only allocated between 255 - MAX.
Stopped re-open of a directory about to be closed.
Log a message if a directory is to be closed and the bitmap
is not set.
Jeremy.

25 years agoAllow large file support to succeed even if ino_t isn't 64 bits and there's
Jeremy Allison [Fri, 5 Feb 1999 00:49:27 +0000 (00:49 +0000)]
Allow large file support to succeed even if ino_t isn't 64 bits and there's
no ino64_t. AIX has large file support and doesn't use a 64 bit ino_t.
Jeremy.

25 years agoFixes for HPUX.
Jeremy Allison [Thu, 4 Feb 1999 21:29:18 +0000 (21:29 +0000)]
Fixes for HPUX.

I have added a new define for configure - HAVE_EXPLICIT_LARGEFILE_SUPPORT.
This is tested for at the end of configure by the following check :
"As a gating factor for large file support, in order to
use <4GB files we must have the following minimal support
available.
long long, a 64 bit off_t or off64_t, a 64 bit ino_t or
ino64_t. If we don't have all of these then disable large
file support."

I have to do this as HPUX will detect the open64 etc.
functions in libc but *THEY DON'T WORK* before HPUX11.x.

The definitions in include/includes.h that set up large
file defines, and the calls in lib/system.c that use the explicit
large file functions are now depended on HAVE_EXPLICIT_LARGEFILE_SUPPORT
also being defined.

include/rpc_lsa.h: Upped number of groups to 96 as a temporary
measure.

Jeremy.

25 years agoMinor wording change to the usage message for nmblookup.
Richard Sharpe [Thu, 4 Feb 1999 06:10:43 +0000 (06:10 +0000)]
Minor wording change to the usage message for nmblookup.

Now makes more sense, at least to my sleep deprived brain.

25 years agoFixed nmblookup docs to match new code from Richard.
Jeremy Allison [Thu, 4 Feb 1999 02:40:35 +0000 (02:40 +0000)]
Fixed nmblookup docs to match new code from Richard.
Jeremy.

25 years agoSomeone sent me a trace showing a client doing a readraw request
Jeremy Allison [Wed, 3 Feb 1999 22:30:38 +0000 (22:30 +0000)]
Someone sent me a trace showing a client doing a readraw request
with a completely bogus FID (0xFFFF). This was causing the new
2.0 code to crash by indirecting through a null pointer, as
the old debug code wanted to print this fid value, and was
using fsp->fnum to do it - erroneously assuming that fsp
was non-null.
Jeremy.

25 years agoA couple of malloc fail catches.
Jeremy Allison [Wed, 3 Feb 1999 21:04:38 +0000 (21:04 +0000)]
A couple of malloc fail catches.
Jeremy.

25 years agoFixed bug where cli->timeout was in milliseconds, but open_sockets_out
Jeremy Allison [Wed, 3 Feb 1999 03:18:38 +0000 (03:18 +0000)]
Fixed bug where cli->timeout was in milliseconds, but open_sockets_out
was in seconds. This meant that PDC -> BDC failover took so long it essentiually
didn't happen.

include/client.h: Added explicit comment that cli->timeout should be milliseconds.
include/local.h: Changed LONG_CONNECT_TIMEOUT & SHORT_CONNECT_TIMEOUT to be milliseconds.
lib/smbrun.c: Tidied up fork failure catching.
lib/util_sock.c: Ensured timeout treated as milliseconds.
libsmb/clientgen.c: Added comment.
rpc_server/srv_pipe_hnd.c: Luke's changes.
smbd/chgpasswd.c: Paranoia code for EINTR around sys_waitpid.
Jeremy.

25 years agoadd ISA define
Herb Lewis [Wed, 3 Feb 1999 01:30:01 +0000 (01:30 +0000)]
add ISA define

25 years agoApplying Luke's fix for the multiple DCE/RPC PDU problem to 2.0.
Jeremy Allison [Wed, 3 Feb 1999 01:23:12 +0000 (01:23 +0000)]
Applying Luke's fix for the multiple DCE/RPC PDU problem to 2.0.
Jeremy.

25 years agoallow specifying different instriction set arch. for regular and -32
Herb Lewis [Wed, 3 Feb 1999 01:17:11 +0000 (01:17 +0000)]
allow specifying different instriction set arch. for regular and -32
builds (needed for IRIX to build smbsh on mips4 ISA machines)

25 years agoMinor changes to the usage message in neblookup to explain what
Richard Sharpe [Tue, 2 Feb 1999 23:01:08 +0000 (23:01 +0000)]
Minor changes to the usage message in neblookup to explain what

  nmblookup -M -

does.

Also added a -T flag, which forces the translation of IP addresses to
names.  Not [yet] the default.

25 years agoFixed bug for Turbo Pascal users where
Jeremy Allison [Tue, 2 Feb 1999 19:25:32 +0000 (19:25 +0000)]
Fixed bug for Turbo Pascal users where

echo >test.~pa

would create a file called : test.~pa.~pa.~pa.~pa

Jeremy.

25 years agoFixed devide by zero on SIGHUP bug if no stat cache lookups
Jeremy Allison [Tue, 2 Feb 1999 00:47:53 +0000 (00:47 +0000)]
Fixed devide by zero on SIGHUP bug if no stat cache lookups
have been done.
Jeremy.

25 years agoTurns out that Win98 *can* display large volume sizes, even with
Herb Lewis [Mon, 1 Feb 1999 23:37:14 +0000 (23:37 +0000)]
Turns out that Win98 *can* display large volume sizes, even with
the non-trans2 call - if you set the return parameters right.
Jeremy.

25 years ago`
Michael Warfield [Mon, 1 Feb 1999 22:03:11 +0000 (22:03 +0000)]
`

25 years agolocking/locking_shm.c: Added printf to help track down negative share mode problem.
Jeremy Allison [Mon, 1 Feb 1999 21:03:43 +0000 (21:03 +0000)]
locking/locking_shm.c: Added printf to help track down negative share mode problem.
printing/print_svid.c: Fix for DG/UX lpstat.
smbd/dfree.c: Added 'max_four_gig' parameter to normalize to 4GB when asked
              (used to be the default).
smbd/open.c smbd/reply.c smbd/trans2.c:
              Changed to allow a <4GB volume size to be returned on a trans2
qfsinfo level 1 call. NT clients refuse to do the correct call to Samba servers
(Herb recons it's the unicode bit) - this allows even a level 1 to return a
volume size up to 9444732961341243916800 bytes (should be enough for now,
until we get the unicode support added :-).
Jeremy.

25 years agoBe very careful allowing "utility" functions to modify input strings.
Matthew Chapman [Sun, 31 Jan 1999 22:04:08 +0000 (22:04 +0000)]
Be very careful allowing "utility" functions to modify input strings.

check_mangled_cache was not always restoring the filename correctly
before returning False.

Thanks to Christoph Scheeder <christoph.scheeder@Scheeder.de> for tracking
this down.

25 years agoFixed large (<4GB) filesystem size reporting.
Jeremy Allison [Fri, 29 Jan 1999 02:43:23 +0000 (02:43 +0000)]
Fixed large (<4GB) filesystem size reporting.
Jeremy.

25 years agoFixed large (>4GB) filesystem size reporting.
Jeremy Allison [Fri, 29 Jan 1999 02:40:54 +0000 (02:40 +0000)]
Fixed large (>4GB) filesystem size reporting.
Jeremy.

25 years agofix for print files not being removed after printing. Samba was doing a
Herb Lewis [Thu, 28 Jan 1999 21:28:27 +0000 (21:28 +0000)]
fix for print files not being removed after printing. Samba was doing a
cd to the directory and only passing the filename not a full path so the
test for the file being in a tmp directory failed.

25 years agoAdded proto for the new cli_set_port() function.
Jeremy Allison [Tue, 26 Jan 1999 19:09:18 +0000 (19:09 +0000)]
Added proto for the new cli_set_port() function.
Jeremy.

25 years agoFirst set of changes for SSL support under Samba 2.0.x
Richard Sharpe [Tue, 26 Jan 1999 07:42:25 +0000 (07:42 +0000)]
First set of changes for SSL support under Samba 2.0.x

Fix bugs in loadparm.c and move location of
#ifdef WITH_SSL to a place that makes more sense!

25 years agoMaking the -p functionality in smbclient work again!
Richard Sharpe [Tue, 26 Jan 1999 07:29:34 +0000 (07:29 +0000)]
Making the -p functionality in smbclient work again!

Added a function cli_set_port to clientgen.c

25 years ago"Map to guest" should be a global parameter.
Matthew Chapman [Tue, 26 Jan 1999 04:38:09 +0000 (04:38 +0000)]
"Map to guest" should be a global parameter.

25 years agoMakefile.in: Removed SMB_PASSGRP_FILE - not used anywhere. Added --with-lockdir to
Jeremy Allison [Tue, 26 Jan 1999 02:18:44 +0000 (02:18 +0000)]
Makefile.in: Removed SMB_PASSGRP_FILE - not used anywhere. Added --with-lockdir to
allow HP to specify where they want the /usr/local/samba/var/locks directory to go.
local.h: Added DEFAULT_PASSWD_CHAT to allow it to be changed.
param/loadparm.c: Use DEFAULT_PASSWD_CHAT and also re-arranged HPUX printing.
Jeremy.

25 years agoAndrew paranoia fix with errno and EINTR.
Jeremy Allison [Mon, 25 Jan 1999 23:46:19 +0000 (23:46 +0000)]
Andrew paranoia fix with errno and EINTR.
Jeremy.

25 years agoAdded HPUX signal fix for non-restarted waitpid syscall. Fix from Panu Outinen <Panu...
Jeremy Allison [Mon, 25 Jan 1999 23:28:38 +0000 (23:28 +0000)]
Added HPUX signal fix for non-restarted waitpid syscall. Fix from Panu Outinen <Panu.Outinen@vertex.fi>
Jeremy.

25 years agoAdded sys_setgroups wrapper if getgroups are broken. Mainly used on SunOS.
Jeremy Allison [Sat, 23 Jan 1999 21:55:23 +0000 (21:55 +0000)]
Added sys_setgroups wrapper if getgroups are broken. Mainly used on SunOS.
Code <from Elmar.Daegele@bln.siemens.de>.
Jeremy.

25 years agohanged /dev/random to /dev/urandom to stop clients from waiting
Jeremy Allison [Fri, 22 Jan 1999 23:59:38 +0000 (23:59 +0000)]
hanged /dev/random to /dev/urandom to stop clients from waiting
on a read on /dev/random.
Jeremy.

25 years agoChanged path from BINDIR to SBINDIR. This was breaking on Linux systems.
John Terpstra [Fri, 22 Jan 1999 10:47:11 +0000 (10:47 +0000)]
Changed path from BINDIR to SBINDIR. This was breaking on Linux systems.

25 years agoFixed the 'truncate files' bug. NT uses the SMB_SET_FILE_ALLOCATION_INFO
Jeremy Allison [Fri, 22 Jan 1999 00:10:52 +0000 (00:10 +0000)]
Fixed the 'truncate files' bug. NT uses the SMB_SET_FILE_ALLOCATION_INFO
setfileinfo call with allocation set to zero instead of SMB_SET_FILE_END_OF_FILE_INFO
to truncate a file.
Jeremy.

25 years agoReversed the sense of the 21 -> 0x21 code test.
Jeremy Allison [Thu, 21 Jan 1999 19:36:56 +0000 (19:36 +0000)]
Reversed the sense of the 21 -> 0x21 code test.
This will cause trouble........
Jeremy.

25 years agoAdded code to let NT do a 'delete on close' request on an open
Jeremy Allison [Thu, 21 Jan 1999 02:41:42 +0000 (02:41 +0000)]
Added code to let NT do a 'delete on close' request on an open
directory handle. WinCenter (multi-user NT system) is doing
this. This code still needs testing....
Jeremy.

25 years agoTurns out NT can send an NTcancel request with an invalid uid. This can
Jeremy Allison [Wed, 20 Jan 1999 19:13:27 +0000 (19:13 +0000)]
Turns out NT can send an NTcancel request with an invalid uid. This can
cause smbd to crash. As we're only removing entries from a queue then
remove the AS_USER flag for reply_ntcancel.
Jeremy.

25 years agosmbd/ipc.c: Fixed potential return without calling va_end().
Jeremy Allison [Wed, 20 Jan 1999 02:44:50 +0000 (02:44 +0000)]
smbd/ipc.c: Fixed potential return without calling va_end().
smbd/password.c: Fixed ACB_DISABLED flag when doing 'update encrypted'.
Jeremy.

25 years agoFixed potential core-dump bug where conn pointer was being dereferenced
Jeremy Allison [Tue, 19 Jan 1999 18:01:28 +0000 (18:01 +0000)]
Fixed potential core-dump bug where conn pointer was being dereferenced
before check for NULL.
Jeremy.

25 years agoAdded bugfix from gotti@cs.tu-berlin.de for mangled name not matching in cache.
Jeremy Allison [Mon, 18 Jan 1999 23:25:21 +0000 (23:25 +0000)]
Added bugfix from gotti@cs.tu-berlin.de for mangled name not matching in cache.
Jeremy.

25 years agoFixed typo in bitmap code that could cause core dump on malloc fail.
Jeremy Allison [Mon, 18 Jan 1999 18:57:33 +0000 (18:57 +0000)]
Fixed typo in bitmap code that could cause core dump on malloc fail.
Jeremy.

25 years agoAs expected, people are complaining about the "32 bit lock message".
Jeremy Allison [Sun, 17 Jan 1999 23:39:41 +0000 (23:39 +0000)]
As expected, people are complaining about the "32 bit lock message".
Moved the message so it's printed only in the case where we can't map the lock range.
Jeremy.

25 years agoAdding Richard's change into 2.0.
Jeremy Allison [Sun, 17 Jan 1999 23:26:58 +0000 (23:26 +0000)]
Adding Richard's change into 2.0.
Jeremy

25 years agoUpdated package-prep script - should have been done much earlier.
John Terpstra [Sun, 17 Jan 1999 09:45:00 +0000 (09:45 +0000)]
Updated package-prep script - should have been done much earlier.

25 years agoAdded binary packaging scripts for solaris x86.
John Terpstra [Sat, 16 Jan 1999 09:41:31 +0000 (09:41 +0000)]
Added binary packaging scripts for solaris x86.

25 years agoFixed error in Sun2.6/gcc2.7 compile tests.
Jeremy Allison [Sat, 16 Jan 1999 03:43:41 +0000 (03:43 +0000)]
Fixed error in Sun2.6/gcc2.7 compile tests.
Jeremy.

25 years agopreparing for release of 2.0.0
Samba Release Account [Thu, 14 Jan 1999 22:12:48 +0000 (22:12 +0000)]
preparing for release of 2.0.0

25 years agoChanged version to 2.0.0 for official release.
Jeremy Allison [Thu, 14 Jan 1999 20:31:03 +0000 (20:31 +0000)]
Changed version to 2.0.0 for official release.
Jeremy.

25 years agoChanged 'large lock' warning message to debug level 1, not zero, to
Jeremy Allison [Thu, 14 Jan 1999 19:50:13 +0000 (19:50 +0000)]
Changed 'large lock' warning message to debug level 1, not zero, to
allow people to turn it off if it really bugs them and in case we
get it a lot.
Jeremy.

25 years agoAdding Volkers SuSE 6.0 pacakging files for 2.0.0.
Jeremy Allison [Thu, 14 Jan 1999 19:44:21 +0000 (19:44 +0000)]
Adding Volkers SuSE 6.0 pacakging files for 2.0.0.
Jermey.

25 years agoEnsuring docs are up-to-date for 2.0.0.
Jeremy Allison [Thu, 14 Jan 1999 19:42:11 +0000 (19:42 +0000)]
Ensuring docs are up-to-date for 2.0.0.
Jeremy.

25 years agoPreparing for official 2.0.0 release.
Jeremy Allison [Thu, 14 Jan 1999 19:15:17 +0000 (19:15 +0000)]
Preparing for official 2.0.0 release.
Jeremy.

25 years agoFixed problem where with POSIX signal handling (as used in Solaris and
Jeremy Allison [Thu, 14 Jan 1999 18:29:55 +0000 (18:29 +0000)]
Fixed problem where with POSIX signal handling (as used in Solaris and
IRIX) we would infinately loop on a SIGCLD in the password changing code.
Just lucky we didn't get bitten in the generic SIGCLD case (but I fixed
that too).
Jeremy.

25 years agoFixed the *other* typo in the mapping of 64 bit to 32 bit lock ranges :-).
Jeremy Allison [Thu, 14 Jan 1999 17:35:53 +0000 (17:35 +0000)]
Fixed the *other* typo in the mapping of 64 bit to 32 bit lock ranges :-).
Jeremy.

25 years agofixed a missing IVAL in get_lock_offset(). There was no way that this
Andrew Tridgell [Thu, 14 Jan 1999 03:07:59 +0000 (03:07 +0000)]
fixed a missing IVAL in get_lock_offset(). There was no way that this
code could have worked, so I'm a little suspicious of the testing that
has been done on it!

25 years agoFixed typo in uname command for HPUX that was preventing large file support.
Jeremy Allison [Wed, 13 Jan 1999 19:39:09 +0000 (19:39 +0000)]
Fixed typo in uname command for HPUX that was preventing large file support.
Jeremy.

25 years agoutils/testparm.c: Fixed "passwd program" tests to look for the correct program.
Jeremy Allison [Wed, 13 Jan 1999 18:32:56 +0000 (18:32 +0000)]
utils/testparm.c: Fixed "passwd program" tests to look for the correct program.
smbd/reply.c: Changed "Error" in level 0 debug message about NT bug to "Warning"
              as Samba will continue without it.
Jeremy.

25 years agoconfigure configure.in: Fixed the compile problem with Solaris 2.6/2.7 and
Jeremy Allison [Wed, 13 Jan 1999 04:17:24 +0000 (04:17 +0000)]
configure configure.in: Fixed the compile problem with Solaris 2.6/2.7 and
gcc2.7.x - this condition is now auto detected and uses the correct flags.

smbd/reply.c: Did more mapping for 64-bit lock requests on 32 bit systems.

smbd/nttrans.c:
smbd/oplock.c: Fixed the MS-Office not noticing files are open problem. This
was a *subtle* problem and now needs testing to ensure the fix is correct.

It's past 8pm, I'm tired and I'm going for a pizza.

Jeremy.

25 years agodon't show create printer entries on printers page if you don't have have
Herb Lewis [Tue, 12 Jan 1999 22:04:49 +0000 (22:04 +0000)]
don't show create printer entries on printers page if you don't have have
write access.

25 years agoFixed biffer too small error to have 0xC0000000 OR'ed into it just
Jeremy Allison [Tue, 12 Jan 1999 02:24:40 +0000 (02:24 +0000)]
Fixed biffer too small error to have 0xC0000000 OR'ed into it just
to be the same as NT (seems to work without it but you never know...).
Jeremy.

25 years agoImplemented NT_QUERY_SECURITY_DESCRIPTOR in the same way that NT responds
Jeremy Allison [Tue, 12 Jan 1999 02:16:34 +0000 (02:16 +0000)]
Implemented NT_QUERY_SECURITY_DESCRIPTOR in the same way that NT responds
if you send this query to a FAT volume. Phew - I'm glad I got this one in
under the wire for 2.0.0.....
Jeremy.

25 years agolibsmb/nmblib.c: Fixed bug where odd byte count could cause nmbd to
Jeremy Allison [Mon, 11 Jan 1999 22:24:27 +0000 (22:24 +0000)]
libsmb/nmblib.c: Fixed bug where odd byte count could cause nmbd to
do too many iterations.
nmbd/nmbd.c: Fixed SIGHUP handling to act the same as smbd.
smbd/reply.c: Added code to map 64-bit lock ranges where possible on 32-bit systems.
smbd/server.c: Fixed comment.
Jeremy.

25 years agoFixed tests for platforms that have setreuid but not setresuid (such
Jeremy Allison [Mon, 11 Jan 1999 01:04:30 +0000 (01:04 +0000)]
Fixed tests for platforms that have setreuid but not setresuid (such
as RedHat 5.x).
Jeremy.

25 years agodon't panic on a null params in api_reply(). instead just return an
Andrew Tridgell [Sun, 10 Jan 1999 06:40:47 +0000 (06:40 +0000)]
don't panic on a null params in api_reply(). instead just return an
error (smbtorture sends null params)

25 years agofixed two compiler warnings
Andrew Tridgell [Sun, 10 Jan 1999 02:52:16 +0000 (02:52 +0000)]
fixed two compiler warnings

25 years agofixed (harmless) bug in DEBUG() message
Andrew Tridgell [Sun, 10 Jan 1999 02:51:26 +0000 (02:51 +0000)]
fixed (harmless) bug in DEBUG() message

25 years agoFixed change notify for Visual C++.
Jeremy Allison [Sat, 9 Jan 1999 00:59:00 +0000 (00:59 +0000)]
Fixed change notify for Visual C++.

No-one seemed to have noticed it wasn't working (this worries
me....).

ChangeNotify now scans the directory if necessary and uses the
sum of all timestamps and the number of entries as the 'hash'
to determin if anything changed.

Jeremy.

25 years agojeremy had already added code to handle null paths :)
Andrew Tridgell [Sat, 9 Jan 1999 00:16:57 +0000 (00:16 +0000)]
jeremy had already added code to handle null paths :)

25 years agohandle null path in smbw_path()
Andrew Tridgell [Fri, 8 Jan 1999 23:19:36 +0000 (23:19 +0000)]
handle null path in smbw_path()

25 years agoCheck for a null pointer in smbw_path.
Jeremy Allison [Fri, 8 Jan 1999 20:37:48 +0000 (20:37 +0000)]
Check for a null pointer in smbw_path.
Jeremy.

25 years agoRemoving auto-generated file at the request of the packaging maintainer.
Jeremy Allison [Fri, 8 Jan 1999 20:29:23 +0000 (20:29 +0000)]
Removing auto-generated file at the request of the packaging maintainer.
Jeremy.

25 years agoFixed the 16-bit app directory handle problem (this took *way* longer
Jeremy Allison [Fri, 8 Jan 1999 20:16:54 +0000 (20:16 +0000)]
Fixed the 16-bit app directory handle problem (this took *way* longer
than it should :-).
SMBsearch now gets directory handles that are 8 bit in the range
1-255 and will close the oldest non-expect-close handle if the table gets full.
findfirst gets 16 bit directory handles starting at 256 and above.
Jeremy.

25 years agoAdded contributed HPUX packaging tools. Thank-you <leon@hermes.si>
John Terpstra [Fri, 8 Jan 1999 13:58:03 +0000 (13:58 +0000)]
Added contributed HPUX packaging tools. Thank-you <leon@hermes.si>

25 years agonmbd/nmbd_incomingrequests.c: Split long debug message.
Jeremy Allison [Thu, 7 Jan 1999 23:02:00 +0000 (23:02 +0000)]
nmbd/nmbd_incomingrequests.c: Split long debug message.
utils/smbpasswd.c: Added load_interfaces() to allow name resolution to work correctly
for multihomed smb.confs.
Jeremy.

25 years agoNow we're mallocing our directory handles rather then using a static
Jeremy Allison [Thu, 7 Jan 1999 20:20:22 +0000 (20:20 +0000)]
Now we're mallocing our directory handles rather then using a static
array, leaks are rather more severe :-). This fixes a bug in trans2
findfirst where I forgot to close a directory handle if returning a
'no such file' error. Also fixed a similar case in smbsearch.
Jeremy.

25 years agoRemoved 'counter' from timeout processing. Timeouts now depend on actual
Jeremy Allison [Thu, 7 Jan 1999 19:21:56 +0000 (19:21 +0000)]
Removed 'counter' from timeout processing. Timeouts now depend on actual
time calculations, not by incrementing a counter.
The select timeout is set to the old (lower) value of 10 seconds if there
are blocking locks pending, and to the newer 60 second value if not.
Jeremy.

25 years agoRemember to return after idling the oldest dirptr so we don't idle all
Jeremy Allison [Thu, 7 Jan 1999 02:52:50 +0000 (02:52 +0000)]
Remember to return after idling the oldest dirptr so we don't idle all
of them.
Jeremy.

25 years agoFixed the blocking locks and change notify code that got broken in
Jeremy Allison [Wed, 6 Jan 1999 23:32:13 +0000 (23:32 +0000)]
Fixed the blocking locks and change notify code that got broken in
beta5. The problem was that I had increased the select timeout so much
that the client was sending echo requests as a sort of keepalive.
As smbd only did timeout processing on select timeout then not
much timeout processing was being done :-).
I've fixed this by moving the timeout code to a function and
calling it every time we get an SMBecho request (we must have
been idle at that point).
Jeremy.

25 years agoAdded full pathname lock patch from Andy <thwartedefforts@wonky.org>
Jeremy Allison [Wed, 6 Jan 1999 21:37:58 +0000 (21:37 +0000)]
Added full pathname lock patch from Andy <thwartedefforts@wonky.org>
Jeremy.

25 years agoAllow force user to take %S substitution.
Jeremy Allison [Wed, 6 Jan 1999 19:07:05 +0000 (19:07 +0000)]
Allow force user to take %S substitution.
Jeremy.

25 years agolib/util_sec.c: Fixed order of calls to setresuid/setreuid/seteuid based on autoconf...
Jeremy Allison [Wed, 6 Jan 1999 03:20:35 +0000 (03:20 +0000)]
lib/util_sec.c: Fixed order of calls to setresuid/setreuid/seteuid based on autoconf tests.
tests/trapdoor.c: Fixed problem where setresgid was being called in block of code that was
#ifdefed for setregid.
Jeremy.

25 years agoConverted the code in smbd/dir.c to use bitmaps instead of a static
Jeremy Allison [Wed, 6 Jan 1999 02:18:57 +0000 (02:18 +0000)]
Converted the code in smbd/dir.c to use bitmaps instead of a static
array for directory handles. This tidied up the code a *lot*.
Plus it means I've fixed the bug in PR#10058, which was due to an
NT app that wanted to simultaneously open >256 directory handles.

Jeremy.

25 years agoUpdated compilation options and fixed Digital package-prep script.
John Terpstra [Tue, 5 Jan 1999 14:01:53 +0000 (14:01 +0000)]
Updated compilation options and fixed Digital package-prep script.

25 years agoModified BROKEN_CC rule in .c.o so that it doesn't rely on basename,
Alexandre Oliva [Tue, 5 Jan 1999 09:13:15 +0000 (09:13 +0000)]
Modified BROKEN_CC rule in .c.o so that it doesn't rely on basename,
using sed instead.  Systems that lack `-o' abilities are very likely
to lack basename too.  Also modified the rules .c.po and .c.po32 so
that the .o file is renamed to .po*.o, since a later `mv' will take
care of removing the `.o' suffix

25 years agochange man page suffix to .z instead of .Z
Herb Lewis [Tue, 5 Jan 1999 06:31:30 +0000 (06:31 +0000)]
change man page suffix to .z instead of .Z

25 years agoall other man pages are using pack instead of compress format so I will too
Herb Lewis [Tue, 5 Jan 1999 01:51:59 +0000 (01:51 +0000)]
all other man pages are using pack instead of compress format so I will too

25 years agoAdded autoconf test for FTRUNCATE_NEEDS_ROOT.
Jeremy Allison [Mon, 4 Jan 1999 21:53:51 +0000 (21:53 +0000)]
Added autoconf test for FTRUNCATE_NEEDS_ROOT.
Fixed <rpc/rpc.h> include bug for SCO.
Test for <arpa/inet.h> include for HPUX7.x.
Jeremy.

25 years agoacconfig.h configure configure.in include/config.h.in lib/system.c: Fixed --with...
Jeremy Allison [Mon, 4 Jan 1999 19:21:51 +0000 (19:21 +0000)]
acconfig.h configure configure.in include/config.h.in lib/system.c: Fixed --with-mmap code.
lib/time.c: Changed %T to %H:%M:%S for systems that don't have %T.
locking/locking_slow.c: Re-added FTRUNCATE_NEEDS_ROOT code - now to test for it...
smbd/quotas.c: Fixed IRIX quota compile.
Jeremy.

25 years agoRemoved one reference to Red Hat, changed to PHT TurboLinux.
John Terpstra [Sat, 2 Jan 1999 03:26:22 +0000 (03:26 +0000)]
Removed one reference to Red Hat, changed to PHT TurboLinux.

25 years agoChanged spaces to tabs in BROKEN_CC line (doh!).
Jeremy Allison [Thu, 31 Dec 1998 07:25:58 +0000 (07:25 +0000)]
Changed spaces to tabs in BROKEN_CC line (doh!).
Problem spotted by Tim Rice, who sent in the original patch.
This problem will only bite beta5 users who have a broken CC
that won't use -c -o simultaneously.
Jeremy.

25 years agopreparing for release of 2.0.0beta5
Samba Release Account [Thu, 31 Dec 1998 01:52:00 +0000 (01:52 +0000)]
preparing for release of 2.0.0beta5