summaryrefslogtreecommitdiffstats
path: root/source/utils
Commit message (Collapse)AuthorAgeFilesLines
...
* fixed bugs in fdpass testsAndrew Tridgell2000-05-271-8/+11
|
* move srandom to after connect so random stuff in clientgen doesn'tAndrew Tridgell2000-05-271-2/+4
| | | | change seed
* minor fixesAndrew Tridgell2000-05-242-7/+4
|
* 2nd evil simultaneous read-write test. forks. one writer. othersLuke Leighton2000-05-241-1/+118
| | | | | are readers. writes between 1 and 20 bytes. reads as much as possible. compares. repeat until end of buffer (fixed size: 131072 bytes) reached.
* we don't do "revalidate = yes" any moreAndrew Tridgell2000-05-241-5/+0
|
* added -u hide_unlock_fails optionAndrew Tridgell2000-05-241-2/+7
|
* use \\ in front of filenamesAndrew Tridgell2000-05-241-2/+2
|
* use lp_workgroup()Andrew Tridgell2000-05-241-10/+13
| | | | | use \\ in front of filenames get short name via a separate trans2 level 260 call
* use lp_workgroup()Andrew Tridgell2000-05-241-3/+4
| | | | use \\ in front of filenames
* torture test:Luke Leighton2000-05-241-0/+91
| | | | | | | | | | same cli_state: open file rw/denynone, open *same* file r/denynone. write to file (fd1) read from file (fd2). compare. repeat. two cli_states: open file rw/denynone (cli1), open *same* file r/denynone (cli2). write to file (fd1) read from file (fd2). compare. repeat.
* Added -W workgroup command line option.Tim Potter2000-05-222-2/+12
| | | | Added call to codepage_initialise().
* added secrets.tdb and changed storage of trust account password to useAndrew Tridgell2000-05-081-14/+3
| | | | it
* signed/unsigned fixes so we can handle a lock base close to 2^32Andrew Tridgell2000-05-061-31/+29
|
* make debug easier to readAndrew Tridgell2000-05-051-6/+9
|
* 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-041-2/+14
| | | | | | | 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.
* 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.
* need LOCKING_OBJ in locktest nowAndrew Tridgell2000-05-041-3/+7
|
* 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
|
* 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
|
* improved the lock test programAndrew Tridgell2000-05-031-15/+27
|
* added a nasty lock testing programAndrew Tridgell2000-05-031-0/+340
| | | | | | | | | | | 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.
* Added read overlay write lock on same fnum test to locktest2.Jeremy Allison2000-05-031-1/+117
| | | | | Added locktest5 for locking stacks. Jeremy.
* locking/posix.c: Fixed double-free nasty crash bug found by insure.Jeremy Allison2000-05-012-1/+10
| | | | | | utils/make_smbcodepage.c: utils/make_unicodemap.c: Insure 'make install' fixes. Jeremy.
* handle the special rule of *.* for old style listings when old_list isAndrew Tridgell2000-04-301-0/+3
| | | | true
* added cli_list_old() to allow for old style directory listing fromAndrew Tridgell2000-04-301-5/+12
| | | | masktest
* changed masktest to test the internal algorithm against one server,Andrew Tridgell2000-04-301-78/+30
| | | | rather than 2 servers
* YIPEE!!!!!Andrew Tridgell2000-04-301-78/+16
| | | | | | | | | | | 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 :)
* Fixed subtle unlocking bug when a file is closed. We need to store theJeremy Allison2000-04-271-1/+1
| | | | | | | | smbpid used when a file was opened in the files_struct. Else we use the wrong global_smbpid when we are closing the file and trying to remove the brl locks - this causes the brl locks to be left when the file is closed as the samba_context check fails. Jeremy.
* quick hack to get smbtorture working againAndrew Tridgell2000-04-271-0/+2
|
* fixed a memory leak in nmblookupAndrew Tridgell2000-04-251-0/+2
|
* load smb.conf and interfaces in masktest (to allow for netbios nameAndrew Tridgell2000-03-261-0/+4
| | | | resolution)
* Fixed parsing issue with HP printer defs reported by HP.Jeremy Allison2000-03-141-26/+62
| | | | Jeremy.
* added a tcon test: make two tconXs with the same user/pass, open a fileLuke Leighton2000-03-071-0/+72
| | | | with one of them and try to write to the file with the other.
* Fixed smbpasswd crash bugs found by Giulio.Jeremy Allison2000-03-011-3/+2
| | | | Jeremy.
* client/client.c:Jeremy Allison2000-02-251-53/+43
| | | | | | | libsmb/clientgen.c: Fixes for Win2k smbclient browsing. Other fixes implement smbpasswd -x user to delete users. Also allows swat to do the same. Jeremy.
* Added replacement functions sys_popen and sys_pclose. These are basedJeremy Allison2000-02-151-9/+35
| | | | | | | | | on the glibc source code and are safer than the traditional popen as they don't use a shell to exec the requested command. Now we have these functions they can be tightened up (environment etc.) as required to make a safe popen. It should now be safe to add the environement variable loading code to loadparm.c Jeremy.
* the beginnings of a fnmatch() based wildcard matching routineAndrew Tridgell2000-02-101-20/+66
|
* update masktest for new make_nmb_name() syntaxAndrew Tridgell2000-02-091-3/+3
|
* added masktest to head branch, in preparation for another assault onAndrew Tridgell2000-02-091-0/+435
| | | | the wildcard handling code
* 1) added void* state argument to tdb_traverse. guess what! there wereLuke Leighton2000-02-041-2/+2
| | | | | | | | | | | | | | | | | | two places i found where it was appropriate to _use_ that third argument, in locking.c and brlock.c! there was a static traverse_function and i removed the static variable, typecast it to a void*, passed it to tdb_traverse and re-cast it back to the traverse_function inside the tdb_traverse function. this makes the use of tdb_traverse() reentrant, which is never going to happen, i know, i just don't like to see statics lying about when there's no need for them. as i had to do in samba-tng, all uses of tdb_traverse modified to take the new void* state argument. 2) disabled rpcclient: referring people to use SAMBA_TNG rpcclient. i don't know how the other samba team members would react if i deleted rpcclient from cvs main. damn, that code's so old, it's unreal. 20 rpcclient commands, instead of about 70 in SAMBA_TNG.
* renamed DENY to DENY1Andrew Tridgell2000-01-161-5/+95
| | | | | added DENY2 test that checks all 648 deny combinations for the case of two opens on the same connection