summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2000-05-04parameterize the lock timeoutAndrew Tridgell1-2/+3
(This used to be commit 98ad4095ccc8d0349d05e6e9223eaad057029626)
2000-05-04added a test for the NT byte range lock into smbtortureAndrew Tridgell1-1/+16
(This used to be commit 7cfd45cc56e01a20a122c7742dc7e6a4ed59415f)
2000-05-04an even simpler example of NT gettings its locking code wrong. ThisAndrew Tridgell1-20/+14
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 0b335e415818028ac0daad5f99c2fd9086a2a656)
2000-05-04 - use full_name instead of real_nameAndrew Tridgell8-21/+9
- got rid of guest map code in lpq parser (This used to be commit 8e53f781d3cf6a7007764916a0d8e8f1abea1f66)
2000-05-04need LOCKING_OBJ in locktest nowAndrew Tridgell2-4/+8
(This used to be commit 89e71994450f479a0f3839f192d868924626fc84)
2000-05-04more locktest improvementsAndrew Tridgell1-31/+81
the current preset tests show a very interesting NT bug - it sometimes refuses a lock that it shouldn't. (This used to be commit 85b5dc64cf7cc80567f9069a48c4d20c10ccec01)
2000-05-04fixed message textAndrew Tridgell1-1/+1
(This used to be commit 99e522023eae7cf1a88e5de50f2b09df3ea318d3)
2000-05-04if the stat cache is off then don't initialise itAndrew Tridgell1-0/+2
(This used to be commit cd5dcd9e659a7255f03eb496c0202986375e73a6)
2000-05-04added -A analyze mode to locktest - it can now automatically pruneAndrew Tridgell1-139/+242
the list of locks that cause a failure (This used to be commit 0beee59432f17f90a1c4c2c68a7ea6022b5d0908)
2000-05-04found a much simpler case that kills the posix lockingAndrew Tridgell1-5/+5
(This used to be commit b703cecf81dc62234171eaaa4c0cae448f144e1f)
2000-05-04fixed a uninit memory read that insure foundAndrew Tridgell1-6/+3
(This used to be commit 43fe5b98b4514d59e1c4bbc54a628cfbd771fc4f)
2000-05-04added ability to present lock testsAndrew Tridgell1-16/+40
(This used to be commit 3fc6a467fc3dfd2a59d4509ec52172d2dd048c80)
2000-05-04Fix for debug statement crash.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 57bf92d90147b207664152d44ce4bfb5235dc7d8)
2000-05-03Fix based on Elrond's code to reduce the store size on removing dead records.Jeremy Allison1-0/+1
Jeremy. (This used to be commit 09e92a61a966d09f543ba541ddb3240cc4718579)
2000-05-03Fixed the bug locktest.c found, it was an off-by-one error in the non-overlapJeremy Allison1-1/+1
case. Jeremy. (This used to be commit 65150c408a5254215de89c8c774c33c4d011c2c0)
2000-05-03Fixed silly bug where I wasn't checking for matching fd's in closing a file.Jeremy Allison1-7/+24
This caused smbd crashes on SIGKILL. Jeremy. (This used to be commit d4dcefd12d14df112f083c312acbea0196bc5c23)
2000-05-03Added range info to the panic message to track down the bug withJeremy Allison1-1/+5
locktest. Jeremy. (This used to be commit 91f038356b7efa04cf4bfa5e6afd8b144b6b4ad5)
2000-05-03improved the lock test programAndrew Tridgell1-15/+27
(This used to be commit a0a3931c6e5824121bf4a8d075ef24b9b70e8aa1)
2000-05-03- clear dead locks at startupAndrew Tridgell1-2/+47
- fixed a bug which caused lock records to not decrease in size (This used to be commit 51624a3a2f5a4ac55b4f26f572a2fc399f9c808e)
2000-05-03added a nasty lock testing programAndrew Tridgell2-1/+350
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 2f14d7c9bca5e170b8d2c169801cb200021fd467)
2000-05-03Fix for stacking locks in brlock and POSIX. Windows only allows a read lockJeremy Allison2-92/+130
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 74d42644e6e52808037975e909aa56c850838b76)
2000-05-03Added read overlay write lock on same fnum test to locktest2.Jeremy Allison1-1/+117
Added locktest5 for locking stacks. Jeremy. (This used to be commit 65399ae1f058886b8779a01fb35fe3080cc3c145)
2000-05-03Insure uninitialized memory read fixes.Jeremy Allison3-3/+5
Jeremy. (This used to be commit 577ddbfbec857dec3ade811f735ec6b183566435)
2000-05-02Fixed wild pointer diff found by insure.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 158d9cada8c12725981d495faf8ed9f5d4306e23)
2000-05-02Implemented the last (I hope:-) part of the locking puzzle, the referenceJeremy Allison1-23/+90
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 6eb4fb6eef367f68169d6ec1c816226b1ad9f110)
2000-05-02added support for deleting printers into the spoolss systemAndrew Tridgell6-1/+139
(This used to be commit e72a5718537b84409fc20ff21951b1d1ab24d97f)
2000-05-02split the username in the vuser structure into a separateAndrew Tridgell10-27/+34
userdom_struct. As the name implies this also contains a domain (unused at the moment). This will be important shortly, as operation in appliance mode needs the domain to be always carried with the username. (This used to be commit ee8546342d5be90e730372b985710d764564b124)
2000-05-02and yet another memory leak - this one in the clientAndrew Tridgell1-0/+5
(This used to be commit a85ae6e0ae39530a96e8b86ab868cfd7ea5bc967)
2000-05-02fixed a memory leak (calling hash_table_init twice)Andrew Tridgell1-1/+7
(This used to be commit 610fcef4d33db2b62e6298bdb68546a2411d03b1)
2000-05-02fixed a memory leakAndrew Tridgell1-0/+2
(This used to be commit d4743ec0be419565c805fbc5ba2680c6ad5fe36d)
2000-05-02Moved uglyness needed in fcntl locking (64->32 bit mapping, NFSJeremy Allison6-108/+141
errors etc.) into locking/posix.c, where it is needed. fcntl_lock in lib/util.c is now very small and clean. Added (*lock) op to vfs layer. Jeremy. (This used to be commit 46092ee1410faa4e3c143d80a960a8adaa19d7fc)
2000-05-02Added sys_fork() and sys_getpid() functions to stop the overheadJeremy Allison38-64/+98
of doing a system call every time we want to just get our pid. Jeremy. (This used to be commit 148628b616b5c29ba6340d65fc3ddbcabba6e67a)
2000-05-01locking/posix.c: Fixed double-free nasty crash bug found by insure.Jeremy Allison3-4/+10
utils/make_smbcodepage.c: utils/make_unicodemap.c: Insure 'make install' fixes. Jeremy. (This used to be commit 3b25f7368be3877e9ad27498bc9451ec88d4b07f)
2000-05-01handle tabs in printcap filesAndrew Tridgell1-2/+2
this is needed for lprng (This used to be commit c40e0a5d3bfa11cb3699bdba1ded91515cabaf5d)
2000-05-01allow a DEFAULT_PRINTING to be specified in CFLAGSAndrew Tridgell1-0/+4
(This used to be commit 80ebb0ad5499745f988921eceb4584b43ef9aaf1)
2000-05-01fixed typoAndrew Tridgell1-1/+1
(This used to be commit 5341597de6772027034cad7dacbdbd6d2108332a)
2000-05-01added TDB_INTERNAL, TDB_NOLOCK and TDB_NOMMAP flags.Andrew Tridgell6-48/+79
TDB_INTERNAL replaces the old method of passing a null filename (This used to be commit 8ec815920d46f205b9f3fff82397c731753c3a10)
2000-04-30 - added some error checkingAndrew Tridgell3-73/+67
- removed the VTP hook in smbd (This used to be commit 09355fcd50e6c9c0c81e5f70ab9b7ff88aa897bf)
2000-04-30fixed dptr_wcard handling (need to use strdup)Andrew Tridgell1-1/+1
(This used to be commit 0bab0300748a22b4b861fa443be2014bcd7b348c)
2000-04-30fixed parsing of broken NT short nameAndrew Tridgell1-1/+1
(This used to be commit 9e4b3529455840f11940136dd55c641d89b46961)
2000-04-30handle the special rule of *.* for old style listings when old_list isAndrew Tridgell1-0/+3
true (This used to be commit cdf4c4c812086d6e7cdc0436f5e31c420dcfb3e5)
2000-04-30removed more cruft from our old wildcard matching codeAndrew Tridgell1-37/+0
(This used to be commit 4a15924ffe36ed37ec193a0ef5a0487238edc311)
2000-04-30go back to ascii in SMB_FIND_FILE_BOTH_DIRECTORY_INFOAndrew Tridgell1-10/+4
NT gives out unicode, but NT clients can't handle a unicode response! (This used to be commit 85d634974f4f8841bf68cd2b22d134fbc010b568)
2000-04-30fixed our smbsearch code. We now store the mask with the dptr, thisAndrew Tridgell2-32/+19
turns out to be essential for a correct implementation (there ins't enough room to store all possible masks in the status return structure!) (This used to be commit 38f5e133670ada6e5799a16cf1a0e2e3ee1d9afd)
2000-04-30fix handing of ascii_to_unistrAndrew Tridgell1-19/+19
(This used to be commit 385b1844b60beeb9db5f412a452816444e25cb83)
2000-04-30- get the findclose code rightAndrew Tridgell1-9/+17
- handle broken NT response to trans2 findfirst (This used to be commit 64f91a7a98fe9aaf176e665677e751e4e03d4c3d)
2000-04-30added cli_list_old() to allow for old style directory listing fromAndrew Tridgell3-11/+158
masktest (This used to be commit 8a5c8cfa0ede1d119bf9013e321a497beefd4dda)
2000-04-30some cleanupsAndrew Tridgell1-10/+13
(This used to be commit 95f6c0f84ab9f3649ddf53ac2ca5261448af2383)
2000-04-30we don't need fnmatch.c any moreAndrew Tridgell6-348/+100
(This used to be commit e23f43e7d3d2a068f527baa63a31f7fe4e60e79d)
2000-04-30changed masktest to test the internal algorithm against one server,Andrew Tridgell1-78/+30
rather than 2 servers (This used to be commit 0e63b4b36334aeb6de6691436b82e1d9784b1541)