Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | | fixed message text | Andrew Tridgell | 2000-05-04 | 1 | -1/+1 | |
| | | ||||||
* | | if the stat cache is off then don't initialise it | Andrew Tridgell | 2000-05-04 | 1 | -0/+2 | |
| | | ||||||
* | | added -A analyze mode to locktest - it can now automatically prune | Andrew Tridgell | 2000-05-04 | 1 | -139/+242 | |
| | | | | | | | | the list of locks that cause a failure | |||||
* | | found a much simpler case that kills the posix locking | Andrew Tridgell | 2000-05-04 | 1 | -5/+5 | |
| | | ||||||
* | | fixed a uninit memory read that insure found | Andrew Tridgell | 2000-05-04 | 1 | -6/+3 | |
| | | ||||||
* | | added ability to present lock tests | Andrew Tridgell | 2000-05-04 | 1 | -16/+40 | |
| | | ||||||
* | | Fix for debug statement crash. | Jeremy Allison | 2000-05-04 | 1 | -1/+1 | |
| | | | | | | | | Jeremy. | |||||
* | | unicode code pages are detected as compiler intermediate file so set to | Herb Lewis | 2000-05-03 | 1 | -1/+1 | |
| | | | | | | | | nostrip | |||||
* | | Fix based on Elrond's code to reduce the store size on removing dead records. | Jeremy Allison | 2000-05-03 | 1 | -0/+1 | |
| | | | | | | | | Jeremy. | |||||
* | | Fixed the bug locktest.c found, it was an off-by-one error in the non-overlap | Jeremy Allison | 2000-05-03 | 1 | -1/+1 | |
| | | | | | | | | | | case. Jeremy. | |||||
* | | Fixed silly bug where I wasn't checking for matching fd's in closing a file. | Jeremy Allison | 2000-05-03 | 1 | -7/+24 | |
| | | | | | | | | | | This caused smbd crashes on SIGKILL. Jeremy. | |||||
* | | Added range info to the panic message to track down the bug with | Jeremy Allison | 2000-05-03 | 1 | -1/+5 | |
| | | | | | | | | | | locktest. Jeremy. | |||||
* | | improved the lock test program | Andrew Tridgell | 2000-05-03 | 1 | -15/+27 | |
| | | ||||||
* | | - clear dead locks at startup | Andrew Tridgell | 2000-05-03 | 1 | -2/+47 | |
| | | | | | | | | - fixed a bug which caused lock records to not decrease in size | |||||
* | | added a nasty lock testing program | Andrew Tridgell | 2000-05-03 | 2 | -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 lock | Jeremy Allison | 2000-05-03 | 2 | -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 Allison | 2000-05-03 | 1 | -1/+117 | |
| | | | | | | | | | | Added locktest5 for locking stacks. Jeremy. | |||||
* | | Insure uninitialized memory read fixes. | Jeremy Allison | 2000-05-03 | 3 | -3/+5 | |
| | | | | | | | | Jeremy. | |||||
* | | merge 2.0 changes | Herb Lewis | 2000-05-03 | 1 | -5/+6 | |
| | | ||||||
* | | Fixed wild pointer diff found by insure. | Jeremy Allison | 2000-05-02 | 1 | -1/+1 | |
| | | | | | | | | Jeremy. | |||||
* | | Implemented the last (I hope:-) part of the locking puzzle, the reference | Jeremy Allison | 2000-05-02 | 1 | -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 system | Andrew Tridgell | 2000-05-02 | 6 | -1/+139 | |
| | | ||||||
* | | split the username in the vuser structure into a separate | Andrew Tridgell | 2000-05-02 | 10 | -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 client | Andrew Tridgell | 2000-05-02 | 1 | -0/+5 | |
| | | ||||||
* | | fixed a memory leak (calling hash_table_init twice) | Andrew Tridgell | 2000-05-02 | 1 | -1/+7 | |
| | | ||||||
* | | fixed a memory leak | Andrew Tridgell | 2000-05-02 | 1 | -0/+2 | |
| | | ||||||
* | | Moved uglyness needed in fcntl locking (64->32 bit mapping, NFS | Jeremy Allison | 2000-05-02 | 6 | -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 overhead | Jeremy Allison | 2000-05-02 | 38 | -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 Allison | 2000-05-01 | 3 | -4/+10 | |
| | | | | | | | | | | | | utils/make_smbcodepage.c: utils/make_unicodemap.c: Insure 'make install' fixes. Jeremy. | |||||
* | | handle tabs in printcap files | Andrew Tridgell | 2000-05-01 | 1 | -2/+2 | |
| | | | | | | | | this is needed for lprng | |||||
* | | allow a DEFAULT_PRINTING to be specified in CFLAGS | Andrew Tridgell | 2000-05-01 | 1 | -0/+4 | |
| | | ||||||
* | | fixed typo | Andrew Tridgell | 2000-05-01 | 1 | -1/+1 | |
| | | ||||||
* | | added TDB_INTERNAL, TDB_NOLOCK and TDB_NOMMAP flags. | Andrew Tridgell | 2000-05-01 | 6 | -48/+79 | |
| | | | | | | | | TDB_INTERNAL replaces the old method of passing a null filename | |||||
* | | - added some error checking | Andrew Tridgell | 2000-04-30 | 3 | -73/+67 | |
| | | | | | | | | - removed the VTP hook in smbd | |||||
* | | fixed dptr_wcard handling (need to use strdup) | Andrew Tridgell | 2000-04-30 | 1 | -1/+1 | |
| | | ||||||
* | | fixed parsing of broken NT short name | Andrew Tridgell | 2000-04-30 | 1 | -1/+1 | |
| | | ||||||
* | | handle the special rule of *.* for old style listings when old_list is | Andrew Tridgell | 2000-04-30 | 1 | -0/+3 | |
| | | | | | | | | true | |||||
* | | removed more cruft from our old wildcard matching code | Andrew Tridgell | 2000-04-30 | 1 | -37/+0 | |
| | | ||||||
* | | go back to ascii in SMB_FIND_FILE_BOTH_DIRECTORY_INFO | Andrew Tridgell | 2000-04-30 | 1 | -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, this | Andrew Tridgell | 2000-04-30 | 2 | -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_unistr | Andrew Tridgell | 2000-04-30 | 1 | -19/+19 | |
| | | ||||||
* | | - get the findclose code right | Andrew Tridgell | 2000-04-30 | 1 | -9/+17 | |
| | | | | | | | | - handle broken NT response to trans2 findfirst | |||||
* | | added cli_list_old() to allow for old style directory listing from | Andrew Tridgell | 2000-04-30 | 3 | -11/+158 | |
| | | | | | | | | masktest | |||||
* | | some cleanups | Andrew Tridgell | 2000-04-30 | 1 | -10/+13 | |
| | | ||||||
* | | we don't need fnmatch.c any more | Andrew Tridgell | 2000-04-30 | 6 | -348/+100 | |
| | | ||||||
* | | changed masktest to test the internal algorithm against one server, | Andrew Tridgell | 2000-04-30 | 1 | -78/+30 | |
| | | | | | | | | rather than 2 servers | |||||
* | | - removed all our old wildcard matching code and replaced it with a | Andrew Tridgell | 2000-04-30 | 15 | -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 Tridgell | 2000-04-30 | 6 | -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 file | Andrew Tridgell | 2000-04-29 | 3 | -45/+71 | |
| | | ||||||
* | | Removed tdb locking calls (picky Andrew...:-) | Jeremy Allison | 2000-04-29 | 1 | -25/+12 | |
| | |