summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | 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
| |
* | go back to ascii in SMB_FIND_FILE_BOTH_DIRECTORY_INFOAndrew Tridgell2000-04-301-10/+4
| | | | | | | | NT gives out unicode, but NT clients can't handle a unicode response!
* | fixed our smbsearch code. We now store the mask with the dptr, thisAndrew Tridgell2000-04-302-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!)
* | fix handing of ascii_to_unistrAndrew Tridgell2000-04-301-19/+19
| |
* | - get the findclose code rightAndrew Tridgell2000-04-301-9/+17
| | | | | | | | - handle broken NT response to trans2 findfirst
* | added cli_list_old() to allow for old style directory listing fromAndrew Tridgell2000-04-303-11/+158
| | | | | | | | masktest
* | some cleanupsAndrew Tridgell2000-04-301-10/+13
| |
* | we don't need fnmatch.c any moreAndrew Tridgell2000-04-306-348/+100
| |
* | changed masktest to test the internal algorithm against one server,Andrew Tridgell2000-04-301-78/+30
| | | | | | | | rather than 2 servers
* | - removed all our old wildcard matching code and replaced it with aAndrew Tridgell2000-04-3015-975/+391
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | call to ms_fnmatch(). This also removes all the Win9X semantics stuff and a bunch of other associated cruft. - moved the stat cache code into statcache.c - fixed the uint16 alignment requirements of ascii_to_unistr() and unistr_to_ascii() - trans2 SMB_FIND_FILE_BOTH_DIRECTORY_INFO returns the short name as unicode always (at least thats what NT4 does) - fixed some errors in the in-memory tdb code. Still ugly, but doesn't crash as much
* | YIPEE!!!!!Andrew Tridgell2000-04-306-79/+166
| | | | | | | | | | | | | | | | | | | | | | We finally have a perfect emulation of Microsoft wildcard matching. The routine ms_fnmatch() does wildcard matching with all MS wildcards (including the unicode wildcards), and masktest against a NT4 workstation with hundreds of thousands of random exmaples has not found a single error. amazingly it is only about 60 lines of code, but it has taken us years to get it right. I didn't sleep much last night :)
* | put tdb utility functions in a separate fileAndrew Tridgell2000-04-293-45/+71
| |
* | Removed tdb locking calls (picky Andrew...:-)Jeremy Allison2000-04-291-25/+12
| |