samba.git
24 years agoThis commit was manufactured by cvs2svn to create tag samba-2.0.5a
cvs2svn Import User [Thu, 22 Jul 1999 02:13:35 +0000 (02:13 +0000)]
This commit was manufactured by cvs2svn to create tag
'release-2-0-5a'.

24 years agopreparing for release of 2.0.5a
Samba Release Account [Thu, 22 Jul 1999 02:13:34 +0000 (02:13 +0000)]
preparing for release of 2.0.5a

24 years agoRemoved 'help requests'.
Jeremy Allison [Thu, 22 Jul 1999 02:06:24 +0000 (02:06 +0000)]
Removed 'help requests'.
Jeremy.

24 years agoUpdated for 2.0.5a.
Jeremy Allison [Thu, 22 Jul 1999 01:57:46 +0000 (01:57 +0000)]
Updated for 2.0.5a.
Jeremy.

24 years agochange spec file ot remove smbwrapper and add smbmount
Andrew Tridgell [Thu, 22 Jul 1999 01:52:57 +0000 (01:52 +0000)]
change spec file ot remove smbwrapper and add smbmount

24 years agoFix for DOS client on Win9x mask match bug.
Jeremy Allison [Thu, 22 Jul 1999 01:47:03 +0000 (01:47 +0000)]
Fix for DOS client on Win9x mask match bug.
Removed dead code.
Jeremy.

24 years agoFixed NT change password bug. Also fixed a purify UMR warning in ipc.c
Jeremy Allison [Thu, 22 Jul 1999 00:46:38 +0000 (00:46 +0000)]
Fixed NT change password bug. Also fixed a purify UMR warning in ipc.c
Jeremy

24 years agoif the netmask is 255.255.255.255 then we've probably found a PPP
Andrew Tridgell [Wed, 21 Jul 1999 05:55:29 +0000 (05:55 +0000)]
if the netmask is 255.255.255.255 then we've probably found a PPP
link, in which case ignore it

24 years agobugger
Andrew Tridgell [Wed, 21 Jul 1999 05:44:50 +0000 (05:44 +0000)]
bugger

The new string_sub() was still wrong, and causes smbd to segv when two
subs are done for the same variable.

looks like we'll need a new release soon

24 years agopreparing for release of 2.0.5
Samba Release Account [Wed, 21 Jul 1999 01:37:10 +0000 (01:37 +0000)]
preparing for release of 2.0.5

24 years agoupdated Caldera packaging
Andrew Tridgell [Wed, 21 Jul 1999 01:25:24 +0000 (01:25 +0000)]
updated Caldera packaging

24 years agoUpdated to 2.0.5.
Jeremy Allison [Tue, 20 Jul 1999 23:18:34 +0000 (23:18 +0000)]
Updated to 2.0.5.

24 years agoRe-added parameter changed list from 2.0.4 into WHATSNEW.
Jeremy Allison [Tue, 20 Jul 1999 20:56:00 +0000 (20:56 +0000)]
Re-added parameter changed list from 2.0.4 into WHATSNEW.
Re-ran make yodldocs.
Jeremy.

24 years agoThis code is too ugly to rock-n-roll, but too young to die.... :-).
Jeremy Allison [Tue, 20 Jul 1999 18:34:41 +0000 (18:34 +0000)]
This code is too ugly to rock-n-roll, but too young to die.... :-).

The special case in wildcard matching is *Win9x* - *NOT* WinNT.

It turns out that Win9x treats trailing '?' characters in a component
*differently* from both DOS and WinNT (and Win2K). In Win9x the number of
trailing '?' characters must match exactly, in all other MS clients
they do not have to.

This code is very ugly and needs re-writing but does work in the
test cases Herb & I have.

Jeremy.

24 years agochanged maintainer of Caldera packaging stuff
Andrew Tridgell [Tue, 20 Jul 1999 13:09:39 +0000 (13:09 +0000)]
changed maintainer of Caldera packaging stuff

24 years agoget rid of old README
Andrew Tridgell [Tue, 20 Jul 1999 13:07:56 +0000 (13:07 +0000)]
get rid of old README

24 years agonew Caldera packaging from ray@Caldera.DE
Andrew Tridgell [Tue, 20 Jul 1999 13:07:15 +0000 (13:07 +0000)]
new Caldera packaging from ray@Caldera.DE

24 years agomake cvs ignore a bunch of files
Andrew Tridgell [Tue, 20 Jul 1999 03:43:00 +0000 (03:43 +0000)]
make cvs ignore a bunch of files

24 years agoFix for wildcard bug where I was checking the wrong extension variable !
Jeremy Allison [Tue, 20 Jul 1999 02:10:56 +0000 (02:10 +0000)]
Fix for wildcard bug where I was checking the wrong extension variable !
Should check cp1, not ext.
Desired behaviour :

files in directory.

DEBUG
DORM

Win95 client :

dir d*.???

should return no files.

dir d*.*

should return both files.

WinNT client returns both files in both cases.

Jeremy.

24 years agoFixed wierd mask_match bug introduced in new code.
Jeremy Allison [Tue, 20 Jul 1999 00:52:51 +0000 (00:52 +0000)]
Fixed wierd mask_match bug introduced in new code.
Jeremy.

24 years agofixed a typo (thanks to tarvin@mdb.ku.dk)
Andrew Tridgell [Tue, 20 Jul 1999 00:47:22 +0000 (00:47 +0000)]
fixed a typo (thanks to tarvin@mdb.ku.dk)

24 years agoUpdates to WHATSNEW.txt (from Herb).
Jeremy Allison [Mon, 19 Jul 1999 23:39:06 +0000 (23:39 +0000)]
Updates to WHATSNEW.txt (from Herb).
smb.conf.X fixes to level2 oplocks description.
Jeremy.

24 years agoFixed bug with signed/unsigned (size_t) comparison.
Jeremy Allison [Mon, 19 Jul 1999 23:33:28 +0000 (23:33 +0000)]
Fixed bug with signed/unsigned (size_t) comparison.
Caused core dump on PHT linux (thanks for catching that John :-).
Jeremy.

24 years agoGetting ready for 2.0.5.
Jeremy Allison [Mon, 19 Jul 1999 21:21:33 +0000 (21:21 +0000)]
Getting ready for 2.0.5.
Jeremy.

24 years agoAdded documentation on level2 oplocks in smb.conf and Speed.txt.
Jeremy Allison [Mon, 19 Jul 1999 20:12:11 +0000 (20:12 +0000)]
Added documentation on level2 oplocks in smb.conf and Speed.txt.
Jeremy.

24 years agoCompile with --fullwarn on IRIX.
Jeremy Allison [Mon, 19 Jul 1999 19:27:57 +0000 (19:27 +0000)]
Compile with --fullwarn on IRIX.
Jeremy.

24 years agoAdded Matt's changes for WIN2K detection.
Jeremy Allison [Mon, 19 Jul 1999 18:10:18 +0000 (18:10 +0000)]
Added Matt's changes for WIN2K detection.
Jeremy.

24 years agouse strcasecmp() for the fast mask_match() where appropriate
Andrew Tridgell [Mon, 19 Jul 1999 15:43:36 +0000 (15:43 +0000)]
use strcasecmp() for the fast mask_match() where appropriate

24 years agoready for pre4
Andrew Tridgell [Mon, 19 Jul 1999 15:32:53 +0000 (15:32 +0000)]
ready for pre4

24 years agomore places where all_string_sub() is needed
Andrew Tridgell [Mon, 19 Jul 1999 15:30:15 +0000 (15:30 +0000)]
more places where all_string_sub() is needed

24 years agodon't do string subs on programs!
Andrew Tridgell [Mon, 19 Jul 1999 15:29:21 +0000 (15:29 +0000)]
don't do string subs on programs!

24 years agomore places where we need all_string_sub()
Andrew Tridgell [Mon, 19 Jul 1999 15:28:42 +0000 (15:28 +0000)]
more places where we need all_string_sub()

24 years agosome places where we need all_string_sub()
Andrew Tridgell [Mon, 19 Jul 1999 15:28:04 +0000 (15:28 +0000)]
some places where we need all_string_sub()

24 years agodisallow % \n and \r in standard string substitions.
Andrew Tridgell [Mon, 19 Jul 1999 15:27:11 +0000 (15:27 +0000)]
disallow % \n and \r in standard string substitions.

24 years agowhen subsitutings special chars we need to use all_string_sub() or
Andrew Tridgell [Mon, 19 Jul 1999 15:26:25 +0000 (15:26 +0000)]
when subsitutings special chars we need to use all_string_sub() or
we'll end up with a _ in the name.

24 years agowhen doing multiple substitutions in string_sub() we were usng the
Andrew Tridgell [Mon, 19 Jul 1999 14:57:11 +0000 (14:57 +0000)]
when doing multiple substitutions in string_sub() we were usng the
long length to memmove(). Thanks to okir@monad.swb.de for pointing
this out.

24 years agofix a integer overflow warning under AIX
Andrew Tridgell [Mon, 19 Jul 1999 14:31:03 +0000 (14:31 +0000)]
fix a integer overflow warning under AIX
(patch from roamdad@ibm.net)

24 years agoget rid of a warning
Andrew Tridgell [Mon, 19 Jul 1999 02:31:36 +0000 (02:31 +0000)]
get rid of a warning

24 years agofixed a silly bug in the torture code
Andrew Tridgell [Mon, 19 Jul 1999 02:29:28 +0000 (02:29 +0000)]
fixed a silly bug in the torture code

24 years agoMake sure that the stamp file is newer than configure.in
Alexandre Oliva [Sun, 18 Jul 1999 20:34:52 +0000 (20:34 +0000)]
Make sure that the stamp file is newer than configure.in
Not a problem unless --enable-maintainer-mode is specified, and, even then
the probability of encountering a problem is minor, but so what? :-)

24 years agoAvoid multiple ``Updating dependencies'' messages before .deps/.stamp
Alexandre Oliva [Sun, 18 Jul 1999 20:31:55 +0000 (20:31 +0000)]
Avoid multiple ``Updating dependencies'' messages before .deps/.stamp
is created

24 years agoRemoved the NT4-Locking.reg file as too many people were blindly applying
John Terpstra [Sun, 18 Jul 1999 20:01:18 +0000 (20:01 +0000)]
Removed the NT4-Locking.reg file as too many people were blindly applying
it to their systems. The information contained in this file is intended
for use as a guide only.

24 years agorearranged name_ptr() to avoid a egcs bug, simplifying the code at the
Andrew Tridgell [Sun, 18 Jul 1999 07:34:19 +0000 (07:34 +0000)]
rearranged name_ptr() to avoid a egcs bug, simplifying the code at the
same time. (thanks to hel@admin.de)

24 years agochange version to pre3
Andrew Tridgell [Sat, 17 Jul 1999 23:37:59 +0000 (23:37 +0000)]
change version to pre3

24 years agoadd a smbd_mktemp to avoid a problem with mktemp on some machines
Andrew Tridgell [Sat, 17 Jul 1999 12:09:39 +0000 (12:09 +0000)]
add a smbd_mktemp to avoid a problem with mktemp on some machines
On some OSes mktemp() can return a string with a % in it which is very nasty
in printer file names after macro expansion is applied

24 years agoworked around a mask_match() bug, making it much faster at the same
Andrew Tridgell [Sat, 17 Jul 1999 08:57:56 +0000 (08:57 +0000)]
worked around a mask_match() bug, making it much faster at the same
time.

the real bug is still there though, we need to find it. I suspect it
is a string array bounds bug.

24 years agoUpdated NT_Security with new parameter descriptions.
Jeremy Allison [Sat, 17 Jul 1999 00:39:23 +0000 (00:39 +0000)]
Updated NT_Security with new parameter descriptions.
Jeremy.

24 years agoUpdated docs.
Jeremy Allison [Fri, 16 Jul 1999 23:21:38 +0000 (23:21 +0000)]
Updated docs.
Jeremy.

24 years agoUpdated to add new security parameters.
Jeremy Allison [Fri, 16 Jul 1999 22:55:11 +0000 (22:55 +0000)]
Updated to add new security parameters.
Jeremy.

24 years agoRemoved smbrun from HPUX packaging.
Jeremy Allison [Fri, 16 Jul 1999 18:57:28 +0000 (18:57 +0000)]
Removed smbrun from HPUX packaging.
Jeremy.

24 years agoadded registry hack for Win2000 Plain Text Passwords
Herb Lewis [Fri, 16 Jul 1999 16:36:03 +0000 (16:36 +0000)]
added registry hack for Win2000 Plain Text Passwords

24 years agofix path for include/.cvsignore file
Herb Lewis [Fri, 16 Jul 1999 14:23:39 +0000 (14:23 +0000)]
fix path for include/.cvsignore file

24 years agoready for 2.0.5-pre2
Andrew Tridgell [Fri, 16 Jul 1999 12:34:31 +0000 (12:34 +0000)]
ready for 2.0.5-pre2

24 years agoallow %S expansion on share comment (to match existing expansion in ipc.c)
Andrew Tridgell [Fri, 16 Jul 1999 11:28:13 +0000 (11:28 +0000)]
allow %S expansion on share comment (to match existing expansion in ipc.c)

24 years agothe logrotate files used an invalid "endrotate" keyword that
Andrew Tridgell [Fri, 16 Jul 1999 11:19:44 +0000 (11:19 +0000)]
the logrotate files used an invalid "endrotate" keyword that
should have been "endscript"

24 years agoreopen the logfiles after a HUP
Andrew Tridgell [Fri, 16 Jul 1999 11:09:42 +0000 (11:09 +0000)]
reopen the logfiles after a HUP

24 years agoensure that nothing happening on stderr stuffs up the output from swat
Andrew Tridgell [Fri, 16 Jul 1999 10:51:08 +0000 (10:51 +0000)]
ensure that nothing happening on stderr stuffs up the output from swat

24 years ago- added check for FCVT
Andrew Tridgell [Fri, 16 Jul 1999 10:40:53 +0000 (10:40 +0000)]
- added check for FCVT
- use FCVT in snprintf if available, to support large floats

24 years agosupply the right length to string_sub() in % expansions
Andrew Tridgell [Fri, 16 Jul 1999 08:55:08 +0000 (08:55 +0000)]
supply the right length to string_sub() in % expansions

24 years agofixed a race condition in smbmnt. We now chdir() to the mount point
Andrew Tridgell [Fri, 16 Jul 1999 08:41:47 +0000 (08:41 +0000)]
fixed a race condition in smbmnt. We now chdir() to the mount point
then operate on "."

24 years agomake sure only relative paths are used in cgi processing in swat
Andrew Tridgell [Fri, 16 Jul 1999 07:39:34 +0000 (07:39 +0000)]
make sure only relative paths are used in cgi processing in swat

24 years agofixed usage of tm_year in softq print parsing
Andrew Tridgell [Fri, 16 Jul 1999 07:31:50 +0000 (07:31 +0000)]
fixed usage of tm_year in softq print parsing

24 years agothe errno fix from the 2.0 branch
Andrew Tridgell [Fri, 16 Jul 1999 07:13:26 +0000 (07:13 +0000)]
the errno fix from the 2.0 branch

24 years agojeremys new env variable expansion from the 2.0 branch
Andrew Tridgell [Fri, 16 Jul 1999 07:12:48 +0000 (07:12 +0000)]
jeremys new env variable expansion from the 2.0 branch

24 years agouse the server workgroup in the browse tests
Andrew Tridgell [Fri, 16 Jul 1999 06:57:39 +0000 (06:57 +0000)]
use the server workgroup in the browse tests

24 years agowhen syncing workgroup lists uses the server domain where possible
Andrew Tridgell [Fri, 16 Jul 1999 06:56:53 +0000 (06:56 +0000)]
when syncing workgroup lists uses the server domain where possible
(Samba doesn't care, but NT does)

24 years agoalways query the servers workgroup list using the servers workgroup,
Andrew Tridgell [Fri, 16 Jul 1999 06:49:50 +0000 (06:49 +0000)]
always query the servers workgroup list using the servers workgroup,
not the clients.

24 years agofixed the secondary SMBtrans handling in the server. We should expect
Andrew Tridgell [Fri, 16 Jul 1999 06:43:19 +0000 (06:43 +0000)]
fixed the secondary SMBtrans handling in the server. We should expect
a SMBtranss not a SMBtrans for secondary requests.

24 years agofixed the handling of secondary SMBtrans requests in the client. I
Andrew Tridgell [Fri, 16 Jul 1999 06:42:06 +0000 (06:42 +0000)]
fixed the handling of secondary SMBtrans requests in the client. I
tested it by forcing the primary request to be at most 4 bytes and
tested against NT and Samba.

24 years agoif the len argument to string_sub() is zero then don't do length
Andrew Tridgell [Fri, 16 Jul 1999 06:16:42 +0000 (06:16 +0000)]
if the len argument to string_sub() is zero then don't do length
checking.

24 years agoadd note about reducing shared memory size by 0.8 until OS accepts it
Andrew Tridgell [Fri, 16 Jul 1999 04:42:54 +0000 (04:42 +0000)]
add note about reducing shared memory size by 0.8 until OS accepts it

24 years agolimit the buffer size when expanding cr/lf in smbclient
Andrew Tridgell [Fri, 16 Jul 1999 03:14:00 +0000 (03:14 +0000)]
limit the buffer size when expanding cr/lf in smbclient

24 years agoAdded changes to get back to Tim Cole's semantics for the security parameters.
Jeremy Allison [Thu, 15 Jul 1999 21:07:53 +0000 (21:07 +0000)]
Added changes to get back to Tim Cole's semantics for the security parameters.
Jeremy.

24 years agoAdded correct error message on read-only filesystem on open_directory().
Jeremy Allison [Thu, 15 Jul 1999 17:37:58 +0000 (17:37 +0000)]
Added correct error message on read-only filesystem on open_directory().
Jeremy.

24 years agoI'm going to do a snapshot release of 2.0.5-pre1. This is just to get
Andrew Tridgell [Thu, 15 Jul 1999 12:39:48 +0000 (12:39 +0000)]
I'm going to do a snapshot release of 2.0.5-pre1. This is just to get
the version number right.

24 years agofix from matty for directory creation on read-only shares
Andrew Tridgell [Thu, 15 Jul 1999 11:42:53 +0000 (11:42 +0000)]
fix from matty for directory creation on read-only shares

24 years agoadd a length to string_sub() and add fstring_sub() and pstring_sub()
Andrew Tridgell [Thu, 15 Jul 1999 10:43:26 +0000 (10:43 +0000)]
add a length to string_sub() and add fstring_sub() and pstring_sub()

24 years agoMoved log message to correct place.
Jeremy Allison [Thu, 15 Jul 1999 00:42:40 +0000 (00:42 +0000)]
Moved log message to correct place.
Jeremy.

24 years agoforce_group and force_user fixes. Added '+' element to force_group.
Jeremy Allison [Wed, 14 Jul 1999 18:55:59 +0000 (18:55 +0000)]
force_group and force_user fixes. Added '+' element to force_group.
Jeremy.

24 years agoif the share modes fail to initialise and we are root then allow them
Andrew Tridgell [Wed, 14 Jul 1999 14:16:22 +0000 (14:16 +0000)]
if the share modes fail to initialise and we are root then allow them
to init read-write. This allows people to run smbstatus directly after
a install/upgrade without nasty messages.

24 years agoremoved the HAVE_CRYPT_DECL autoconf stuff as it doesn't work with
Andrew Tridgell [Wed, 14 Jul 1999 13:58:46 +0000 (13:58 +0000)]
removed the HAVE_CRYPT_DECL autoconf stuff as it doesn't work with
glibc 2.1

24 years agonew prototypes
Andrew Tridgell [Wed, 14 Jul 1999 13:31:20 +0000 (13:31 +0000)]
new prototypes

24 years agoan update from 2.0
Andrew Tridgell [Wed, 14 Jul 1999 13:30:34 +0000 (13:30 +0000)]
an update from 2.0

24 years agomake the default printing model on all Linux systems BSD
Andrew Tridgell [Wed, 14 Jul 1999 13:29:35 +0000 (13:29 +0000)]
make the default printing model on all Linux systems BSD

24 years agothe smbd changes from the 2.0 branch. This is going to need a _lot_ of
Andrew Tridgell [Wed, 14 Jul 1999 13:22:05 +0000 (13:22 +0000)]
the smbd changes from the 2.0 branch. This is going to need a _lot_ of
testing over the next few days.

24 years agolib changes from the 2.0 branch
Andrew Tridgell [Wed, 14 Jul 1999 13:12:13 +0000 (13:12 +0000)]
lib changes from the 2.0 branch

this includes the wildcard fixes, some grotesque reformatting and some
pid_t stuff

24 years agoinclude changes to support the new stuff, particularly levelII
Andrew Tridgell [Wed, 14 Jul 1999 13:06:36 +0000 (13:06 +0000)]
include changes to support the new stuff, particularly levelII
oplocks.

all taken from the 2.0 branch

24 years agoconfigure.in changes for .so as a variable
Andrew Tridgell [Wed, 14 Jul 1999 13:01:47 +0000 (13:01 +0000)]
configure.in changes for .so as a variable

24 years agoMakefile.in changes for .so as a variable
Andrew Tridgell [Wed, 14 Jul 1999 13:00:58 +0000 (13:00 +0000)]
Makefile.in changes for .so as a variable

24 years agothe locking code from 2.0
Andrew Tridgell [Wed, 14 Jul 1999 12:55:25 +0000 (12:55 +0000)]
the locking code from 2.0

I've finally decided that Jeremy's new levelII code should go into
2.0.5, but disabled by default. We have a few days to make sure that
the changes required to support the new code, with the option
disabled, don't break anything. This seemed like the only sane
decision.

24 years agoparameter changes from 2.0, except I've made levelII oplocks off by
Andrew Tridgell [Wed, 14 Jul 1999 12:48:07 +0000 (12:48 +0000)]
parameter changes from 2.0, except I've made levelII oplocks off by
default

24 years agothe password database updates from 2.0. This is mostly the fix for the
Andrew Tridgell [Wed, 14 Jul 1999 12:38:53 +0000 (12:38 +0000)]
the password database updates from 2.0. This is mostly the fix for the
constant string problem

24 years agoACL order change from the 2.0 branch
Andrew Tridgell [Wed, 14 Jul 1999 12:31:17 +0000 (12:31 +0000)]
ACL order change from the 2.0 branch

24 years agosmbtar fix from 2.0
Andrew Tridgell [Wed, 14 Jul 1999 12:27:35 +0000 (12:27 +0000)]
smbtar fix from 2.0

24 years ago- cleanups in namequery code from 2.0
Andrew Tridgell [Wed, 14 Jul 1999 12:25:44 +0000 (12:25 +0000)]
- cleanups in namequery code from 2.0
- use only one outstanding read until we find the multiplex bug
- add oplocks to client code (only used by smbtorture)

24 years agopid_t and testparm cleanups from the 2.0 branch
Andrew Tridgell [Wed, 14 Jul 1999 12:19:13 +0000 (12:19 +0000)]
pid_t and testparm cleanups from the 2.0 branch

24 years agomore pid_t cleanups from the 2.0 branch
Andrew Tridgell [Wed, 14 Jul 1999 12:18:10 +0000 (12:18 +0000)]
more pid_t cleanups from the 2.0 branch

24 years agoswat fixes from 2.0 branch
Andrew Tridgell [Wed, 14 Jul 1999 06:58:24 +0000 (06:58 +0000)]
swat fixes from 2.0 branch
this cnludes updates to the status page for levelII oplocks. Once we
decide if the levelII code goes into 2.0.5 we will work out if this
stays

24 years agotransfer some more fixes from the 2.0 branch (mostly smbtorture changes)
Andrew Tridgell [Wed, 14 Jul 1999 06:56:06 +0000 (06:56 +0000)]
transfer some more fixes from the 2.0 branch (mostly smbtorture changes)

24 years agotransfered nmbd fixes from the 2.0 branch
Andrew Tridgell [Wed, 14 Jul 1999 06:54:31 +0000 (06:54 +0000)]
transfered nmbd fixes from the 2.0 branch