summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* make debug easier to readAndrew Tridgell2000-05-051-5/+6
|
* nasty hack to print posix locksAndrew Tridgell2000-05-051-0/+17
|
* example of broken posix lock behaviourAndrew Tridgell2000-05-051-0/+8
|
* rpc_server/srv_lsa.c: Bring into sync with 2.0.x.Jeremy Allison2000-05-044-19/+41
| | | | | | | 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.
* Updated to fix overlapping problem.Jeremy Allison2000-05-041-68/+142
| | | | Jeremy.
* a minimal change to get appliance mode to work with winbinddAndrew Tridgell2000-05-045-16/+70
| | | | | | | | | 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.
* parameterize the lock timeoutAndrew Tridgell2000-05-041-2/+3
|
* added a test for the NT byte range lock into smbtortureAndrew Tridgell2000-05-041-1/+16
|
* an even simpler example of NT gettings its locking code wrong. ThisAndrew Tridgell2000-05-041-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.
* - use full_name instead of real_nameAndrew Tridgell2000-05-048-21/+9
| | | | - got rid of guest map code in lpq parser
* need LOCKING_OBJ in locktest nowAndrew Tridgell2000-05-042-4/+8
|
* more locktest improvementsAndrew Tridgell2000-05-041-31/+81
| | | | | the current preset tests show a very interesting NT bug - it sometimes refuses a lock that it shouldn't.
* fixed message textAndrew Tridgell2000-05-041-1/+1
|
* if the stat cache is off then don't initialise itAndrew Tridgell2000-05-041-0/+2
|
* added -A analyze mode to locktest - it can now automatically pruneAndrew Tridgell2000-05-041-139/+242
| | | | the list of locks that cause a failure
* found a much simpler case that kills the posix lockingAndrew Tridgell2000-05-041-5/+5
|
* fixed a uninit memory read that insure foundAndrew Tridgell2000-05-041-6/+3
|
* added ability to present lock testsAndrew Tridgell2000-05-041-16/+40
|
* Fix for debug statement crash.Jeremy Allison2000-05-041-1/+1
| | | | Jeremy.
* unicode code pages are detected as compiler intermediate file so set toHerb Lewis2000-05-031-1/+1
| | | | nostrip
* Fix based on Elrond's code to reduce the store size on removing dead records.Jeremy Allison2000-05-031-0/+1
| | | | Jeremy.
* Fixed the bug locktest.c found, it was an off-by-one error in the non-overlapJeremy Allison2000-05-031-1/+1
| | | | | case. Jeremy.
* Fixed silly bug where I wasn't checking for matching fd's in closing a file.Jeremy Allison2000-05-031-7/+24
| | | | | This caused smbd crashes on SIGKILL. Jeremy.
* Added range info to the panic message to track down the bug withJeremy Allison2000-05-031-1/+5
| | | | | locktest. Jeremy.
* improved the lock test programAndrew Tridgell2000-05-031-15/+27
|
* - clear dead locks at startupAndrew Tridgell2000-05-031-2/+47
| | | | - fixed a bug which caused lock records to not decrease in size
* added a nasty lock testing programAndrew Tridgell2000-05-032-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.
* Fix for stacking locks in brlock and POSIX. Windows only allows a read lockJeremy Allison2000-05-032-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.
* Added read overlay write lock on same fnum test to locktest2.Jeremy Allison2000-05-031-1/+117
| | | | | Added locktest5 for locking stacks. Jeremy.
* Insure uninitialized memory read fixes.Jeremy Allison2000-05-033-3/+5
| | | | Jeremy.
* merge 2.0 changesHerb Lewis2000-05-031-5/+6
|
* Fixed wild pointer diff found by insure.Jeremy Allison2000-05-021-1/+1
| | | | Jeremy.
* Implemented the last (I hope:-) part of the locking puzzle, the referenceJeremy Allison2000-05-021-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.
* added support for deleting printers into the spoolss systemAndrew Tridgell2000-05-026-1/+139
|
* split the username in the vuser structure into a separateAndrew Tridgell2000-05-0210-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.
* and yet another memory leak - this one in the clientAndrew Tridgell2000-05-021-0/+5
|
* fixed a memory leak (calling hash_table_init twice)Andrew Tridgell2000-05-021-1/+7
|
* fixed a memory leakAndrew Tridgell2000-05-021-0/+2
|
* Moved uglyness needed in fcntl locking (64->32 bit mapping, NFSJeremy Allison2000-05-026-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.
* Added sys_fork() and sys_getpid() functions to stop the overheadJeremy Allison2000-05-0238-64/+98
| | | | | of doing a system call every time we want to just get our pid. Jeremy.
* locking/posix.c: Fixed double-free nasty crash bug found by insure.Jeremy Allison2000-05-013-4/+10
| | | | | | utils/make_smbcodepage.c: utils/make_unicodemap.c: Insure 'make install' fixes. Jeremy.
* handle tabs in printcap filesAndrew Tridgell2000-05-011-2/+2
| | | | this is needed for lprng
* allow a DEFAULT_PRINTING to be specified in CFLAGSAndrew Tridgell2000-05-011-0/+4
|
* fixed typoAndrew Tridgell2000-05-011-1/+1
|
* added TDB_INTERNAL, TDB_NOLOCK and TDB_NOMMAP flags.Andrew Tridgell2000-05-016-48/+79
| | | | TDB_INTERNAL replaces the old method of passing a null filename
* - added some error checkingAndrew Tridgell2000-04-303-73/+67
| | | | - removed the VTP hook in smbd
* fixed dptr_wcard handling (need to use strdup)Andrew Tridgell2000-04-301-1/+1
|
* fixed parsing of broken NT short nameAndrew Tridgell2000-04-301-1/+1
|
* handle the special rule of *.* for old style listings when old_list isAndrew Tridgell2000-04-301-0/+3
| | | | true
* removed more cruft from our old wildcard matching codeAndrew Tridgell2000-04-301-37/+0
|