summaryrefslogtreecommitdiffstats
path: root/source/utils
Commit message (Collapse)AuthorAgeFilesLines
* added NEGNOWAIT. sent to secure@microsoft.comLuke Leighton2000-09-261-2/+35
|
* first cut at smbcontrol program. It currently allows syntax like:Andrew Tridgell2000-09-132-14/+159
| | | | | | | smbcontrol nmbd debug 7 smbcontrol smbd debug 9 smbcontrol 3278 debug 1 smbcontrol nmbd force-election
* - fixed some memory leaks in the messages codeAndrew Tridgell2000-09-121-3/+21
| | | | - added a MSG_PING message for performance testing.
* - changed the msg_type to be an int instead of an enum so that it isAndrew Tridgell2000-09-121-1/+1
| | | | | | | easier to add new message types to messages.h without breaking old binaries - added a MSG_FORCE_ELECTION message to force nmbd to hold an election
* a simple test program I use to test the debug message systemAndrew Tridgell2000-09-111-0/+63
|
* Fix for safe_free freeing static strings. From Robert August Vincent, II.Jeremy Allison2000-08-211-5/+6
| | | | Jeremy.
* fixed help stringAndrew Tridgell2000-08-091-1/+2
|
* Fixed memory leaks in root and non-root password changing.Tim Potter2000-07-261-7/+20
|
* Removed the sanity check on the WINS SERVER parameter because it simplyChristopher R. Hertel2000-07-181-17/+0
| | | | | | checked to see that only one server was listed. As I am working on an enhancement that allows multiple servers to be listed...this was a bit contrary. ;)
* the smbw sample progAndrew Tridgell2000-07-061-0/+93
|
* slightly saner defaultsAndrew Tridgell2000-06-291-3/+3
|
* add -d debuglevel optionAndrew Tridgell2000-06-151-1/+5
|
* If I use nmblookup to search for node ZOOB#1B and there is no such nameChristopher R. Hertel2000-06-131-4/+6
| | | | | | | | | | | | | | | registered within the search space, nmblookup would report name_query failed to find name ZOOB I've changed it to report any non-zero type, so the above message becomes name_query failed to find name ZOOB#1B If the query is for ZOOB or even ZOOB#00 then the old style error message is given. Chris -)-----
* argv parsing fixesAndrew Tridgell2000-06-131-2/+2
|
* allow for lots of connections per serverAndrew Tridgell2000-06-131-75/+76
|
* added -L switch to tell smbtorture to use oplocksAndrew Tridgell2000-06-132-4/+7
|
* Linux kernel oplocks now seem to work, but need a _lot_ of testingAndrew Tridgell2000-06-111-2/+2
| | | | | I had to modify sys_select() to not loop on EINTR. I added a wrapper called sys_select_intr() which gives the old behaviour.
* don't ue nasty /proc/locks hack by defaultAndrew Tridgell2000-06-051-2/+2
|
* added locktest2Andrew Tridgell2000-06-051-0/+626
| | | | | | | | | this uses 16 open file descriptors on 2 servers, with each server accessed both via POSIX call and SMB calls. The idea is to test NFS/SMB locking interaction. Unfortunately the NT NFS locking implementation is so badly broken that we don't have anything to test against
* added -O (use oplocks) option to locktestAndrew Tridgell2000-06-051-1/+8
|
* moved secrets fns into secrets.cAndrew Tridgell2000-06-031-1/+1
|
* 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
|