1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-08 21:18:16 +03:00
Commit Graph

3664 Commits

Author SHA1 Message Date
Andrew Tridgell
225fae135a the beginnings of a description of how to setup a Samba appliance
(This used to be commit ec2b77e97d)
2000-05-09 04:02:31 +00:00
Jeremy Allison
c33b0a6074 Fix for VMS platforms from "John E. Malmberg" <wb8tyw@qsl.net>
Jeremy.
(This used to be commit eb281324fa)
2000-05-08 18:24:26 +00:00
Jeremy Allison
1684d534c8 Someone :-) forgot to add secrets.c to HEAD.
Jeremy.
(This used to be commit ac40971f30)
2000-05-08 18:14:25 +00:00
Andrew Tridgell
2958dfcdf8 added secrets.tdb and changed storage of trust account password to use
it
(This used to be commit 88ad00b82a)
2000-05-08 10:42:21 +00:00
Tim Potter
722a4bfa9f Added winbindd parameters to smb.conf documentation.
(This used to be commit 1d3bd3c486)
2000-05-08 10:38:52 +00:00
Tim Potter
b9036654ca Initial version of winbindd manual page.
(This used to be commit dbe26556e7)
2000-05-08 10:00:02 +00:00
Andrew Tridgell
12a38a4632 added winbindd options in head branch, so it is possible to combine
branches
(This used to be commit cd5e249427)
2000-05-06 15:06:45 +00:00
Andrew Tridgell
2684f50849 fixed a vfs crash bug
(This used to be commit 76da586396)
2000-05-06 15:00:49 +00:00
Andrew Tridgell
5612f6a2aa signed/unsigned fixes so we can handle a lock base close to 2^32
(This used to be commit 0ce2ca5ccd)
2000-05-06 01:36:59 +00:00
Jeremy Allison
6d9ce38306 Fix for uninitialized memory read in brlock code. brl_locktest now needs
to correctly set the fnum, as the brl_conflict code looks at it.
Jeremy.
(This used to be commit df87259a35)
2000-05-05 20:50:22 +00:00
Jeremy Allison
652d98c0bc Fix for dual unix_to_dos conversion in readdir from A.V.Shutko <AVShutko@mail.khstu.ru>
Jeremy.
(This used to be commit 1152f2ed00)
2000-05-05 19:57:02 +00:00
Herb Lewis
3f9fe64441 add new release notes chapter to samba for irix package
(This used to be commit e2de1cf222)
2000-05-05 14:31:36 +00:00
Tim Potter
c7ddaacd26 Fix for crash bug in OpenConfFile() if no smb.conf exists.
(This used to be commit b531ddb265)
2000-05-05 04:18:22 +00:00
Jeremy Allison
a12b2cd9e8 Fix for read_file() returning -1.
Jeremy.
(This used to be commit b899943658)
2000-05-05 02:39:02 +00:00
Jeremy Allison
091c970682 Two fixes. Added missong logic & case in lock split code.
Fixed range split into two, as DLIST_ADD has the wrong semantics...
Jeremy.
(This used to be commit 82681edda1)
2000-05-05 02:17:39 +00:00
Andrew Tridgell
044b569006 make debug easier to read
(This used to be commit c14a261644)
2000-05-05 01:26:52 +00:00
Andrew Tridgell
8ea45ac5ce make debug easier to read
(This used to be commit d64bb07f0a)
2000-05-05 01:20:25 +00:00
Andrew Tridgell
a6280d37c6 nasty hack to print posix locks
(This used to be commit efc9752f1e)
2000-05-05 01:11:23 +00:00
Andrew Tridgell
c7845863bb example of broken posix lock behaviour
(This used to be commit b3999f3b20)
2000-05-05 00:46:38 +00:00
Jeremy Allison
045469493c rpc_server/srv_lsa.c: Bring into sync with 2.0.x.
rpc_server/srv_pipe_hnd.c: Bring into sync with 2.0.x.
smbd/blocking.c: Improve blocking debug reporting.
utils/torture.c: Added check for NT locking bug.
Jeremy.
(This used to be commit e8ff6d3fb5)
2000-05-04 21:57:28 +00:00
Jeremy Allison
fffeaf527d Updated to fix overlapping problem.
Jeremy.
(This used to be commit 9bdfe0f502)
2000-05-04 19:01:14 +00:00
Andrew Tridgell
f6844e0b7e a minimal change to get appliance mode to work with winbindd
we needed to accept usernames of the form DOMAIN/user, which means we
needed to pass the domain to a getpwnam() like routine in certain
critical spots.

What I'd rather do is get rid of "char *user" everywhere and use the
new userdom_struct, but that will have to wait a few days.
(This used to be commit 8b7a10febe)
2000-05-04 16:01:47 +00:00
Andrew Tridgell
f74ea2b78b parameterize the lock timeout
(This used to be commit 98ad4095cc)
2000-05-04 09:32:21 +00:00
Andrew Tridgell
0236a14bac added a test for the NT byte range lock into smbtorture
(This used to be commit 7cfd45cc56)
2000-05-04 09:31:57 +00:00
Andrew Tridgell
420d7e02dc an even simpler example of NT gettings its locking code wrong. This
one doesn't even need two connections to the box, just two file handles.

it is a very simple case actually, and one I think will happen quite a
lot in real life. I wonder how they haven't noticed it? I checked and
W2K has the same bug.
(This used to be commit 0b335e4158)
2000-05-04 08:58:07 +00:00
Andrew Tridgell
f3a861e04e - use full_name instead of real_name
- got rid of guest map code in lpq parser
(This used to be commit 8e53f781d3)
2000-05-04 07:59:34 +00:00
Andrew Tridgell
a7820eb9af need LOCKING_OBJ in locktest now
(This used to be commit 89e7199445)
2000-05-04 06:57:26 +00:00
Andrew Tridgell
876dd8d9aa more locktest improvements
the current preset tests show a very interesting NT bug - it sometimes
refuses a lock that it shouldn't.
(This used to be commit 85b5dc64cf)
2000-05-04 06:30:17 +00:00
Andrew Tridgell
9faf18a4b0 fixed message text
(This used to be commit 99e522023e)
2000-05-04 06:29:13 +00:00
Andrew Tridgell
6ed606cab4 if the stat cache is off then don't initialise it
(This used to be commit cd5dcd9e65)
2000-05-04 06:28:38 +00:00
Andrew Tridgell
a5da647e10 added -A analyze mode to locktest - it can now automatically prune
the list of locks that cause a failure
(This used to be commit 0beee59432)
2000-05-04 04:14:23 +00:00
Andrew Tridgell
e6bc1dd64d found a much simpler case that kills the posix locking
(This used to be commit b703cecf81)
2000-05-04 02:12:33 +00:00
Andrew Tridgell
1246072d99 fixed a uninit memory read that insure found
(This used to be commit 43fe5b98b4)
2000-05-04 02:01:48 +00:00
Andrew Tridgell
82e6018ad8 added ability to present lock tests
(This used to be commit 3fc6a467fc)
2000-05-04 01:40:51 +00:00
Jeremy Allison
05a28f1dfd Fix for debug statement crash.
Jeremy.
(This used to be commit 57bf92d901)
2000-05-04 00:29:50 +00:00
Herb Lewis
7de6b0474b unicode code pages are detected as compiler intermediate file so set to
nostrip
(This used to be commit 5e7bc9c3e7)
2000-05-03 22:29:54 +00:00
Jeremy Allison
8c19fa8f7a Fix based on Elrond's code to reduce the store size on removing dead records.
Jeremy.
(This used to be commit 09e92a61a9)
2000-05-03 20:33:25 +00:00
Jeremy Allison
756798d000 Fixed the bug locktest.c found, it was an off-by-one error in the non-overlap
case.
Jeremy.
(This used to be commit 65150c408a)
2000-05-03 19:37:47 +00:00
Jeremy Allison
0d917c6cd6 Fixed silly bug where I wasn't checking for matching fd's in closing a file.
This caused smbd crashes on SIGKILL.
Jeremy.
(This used to be commit d4dcefd12d)
2000-05-03 18:57:21 +00:00
Jeremy Allison
f6bcf3d324 Added range info to the panic message to track down the bug with
locktest.
Jeremy.
(This used to be commit 91f038356b)
2000-05-03 17:50:42 +00:00
Andrew Tridgell
380d02c219 improved the lock test program
(This used to be commit a0a3931c6e)
2000-05-03 14:49:15 +00:00
Andrew Tridgell
c6230f6431 - clear dead locks at startup
- fixed a bug which caused lock records to not decrease in size
(This used to be commit 51624a3a2f)
2000-05-03 14:29:05 +00:00
Andrew Tridgell
1d3d724dd1 added a nasty lock testing program
it opens 2 connections to each of 2 servers, and opens 2 fnums on the
same file on each connection (a total of 8 file descriptors)

then it does random lock/unlock/reopen requests in a 100 byte range on
the file and compares the results from the 2 servers.

strangely enough, NT fails this test against itself right now - I'm
still trying to figure that out.
(This used to be commit 2f14d7c9bc)
2000-05-03 13:54:28 +00:00
Jeremy Allison
20ce61ccc8 Fix for stacking locks in brlock and POSIX. Windows only allows a read lock
to overlay a write lock on the same fnum. When overlaying read locks onto
a write lock, the number of locks is counted, and the first unlock removes
the write lock and downgrades this to a read lock. Do the same when mapping
to POSIX.
Jeremy.
(This used to be commit 74d42644e6)
2000-05-03 02:27:41 +00:00
Jeremy Allison
37a6e44ad8 Added read overlay write lock on same fnum test to locktest2.
Added locktest5 for locking stacks.
Jeremy.
(This used to be commit 65399ae1f0)
2000-05-03 02:24:56 +00:00
Jeremy Allison
99352a0986 Insure uninitialized memory read fixes.
Jeremy.
(This used to be commit 577ddbfbec)
2000-05-03 02:24:01 +00:00
Herb Lewis
ee42e492ce merge 2.0 changes
(This used to be commit 7b3afe300b)
2000-05-03 01:07:33 +00:00
Jeremy Allison
a7a4f4f67c Fixed wild pointer diff found by insure.
Jeremy.
(This used to be commit 158d9cada8)
2000-05-02 23:56:24 +00:00
Jeremy Allison
d009301464 Implemented the last (I hope:-) part of the locking puzzle, the reference
counting when Windows downgrades a write lock to a read lock, then reference
counts the unlocks to match the locks.
With this code the POSIX unlock isn't done until the final Windows unlock.
Jeremy.
(This used to be commit 6eb4fb6eef)
2000-05-02 21:07:25 +00:00
Andrew Tridgell
59fa2dbe2c added support for deleting printers into the spoolss system
(This used to be commit e72a571853)
2000-05-02 15:31:55 +00:00