summaryrefslogtreecommitdiff
path: root/source3/utils
AgeCommit message (Collapse)AuthorFilesLines
2000-09-29use the 64 bit locking interface in locktestAndrew Tridgell1-19/+19
(This used to be commit 1ece7f1ffd7d0b61d6acea03819fb857ea556b4b)
2000-09-26added NEGNOWAIT. sent to secure@microsoft.comLuke Leighton1-2/+35
(This used to be commit b21179331802aace566671dcff6db22cdf4b3e81)
2000-09-13first cut at smbcontrol program. It currently allows syntax like:Andrew Tridgell2-14/+159
smbcontrol nmbd debug 7 smbcontrol smbd debug 9 smbcontrol 3278 debug 1 smbcontrol nmbd force-election (This used to be commit 5f91c24636f5d82486f22c10bc55e060f9c518bf)
2000-09-12- fixed some memory leaks in the messages codeAndrew Tridgell1-3/+21
- added a MSG_PING message for performance testing. (This used to be commit e779f834dbb875669c3aa0a35b324aa13f0c8c36)
2000-09-12- changed the msg_type to be an int instead of an enum so that it isAndrew Tridgell1-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 (This used to be commit f1c49ca7ce56bc39259041a71479e84ebf53eeca)
2000-09-11a simple test program I use to test the debug message systemAndrew Tridgell1-0/+63
(This used to be commit db1ec05f89071cd1ae4b190dda843b38e2d97cef)
2000-08-21Fix for safe_free freeing static strings. From Robert August Vincent, II.Jeremy Allison1-5/+6
Jeremy. (This used to be commit bd844fcd3023ab956eb7ab369475955a88bcca14)
2000-08-09fixed help stringAndrew Tridgell1-1/+2
(This used to be commit 16afa46797a4cdaa6e3b668caf6d910c08bec9b4)
2000-07-26Fixed memory leaks in root and non-root password changing.Tim Potter1-7/+20
(This used to be commit f3a4f81a5e51e411f1c7c6245597cca01e9ad5b2)
2000-07-18Removed the sanity check on the WINS SERVER parameter because it simplyChristopher R. Hertel1-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. ;) (This used to be commit 1b718f67675e52520f193a8c71c110246e70723f)
2000-07-06the smbw sample progAndrew Tridgell1-0/+93
(This used to be commit 0afcc0d3368472ed4b49167dc4b7d907b0ccdc25)
2000-06-29slightly saner defaultsAndrew Tridgell1-3/+3
(This used to be commit fae3acc574c6e78121e6a1d464b67a15fb025304)
2000-06-15add -d debuglevel optionAndrew Tridgell1-1/+5
(This used to be commit 448f21325f8ff53f3ff5e45c22e07f7164529bc9)
2000-06-13If I use nmblookup to search for node ZOOB#1B and there is no such nameChristopher R. Hertel1-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 -)----- (This used to be commit 5ecf0c61718afbc7106e853d327428bd72f77690)
2000-06-13argv parsing fixesAndrew Tridgell1-2/+2
(This used to be commit 502751cc62df7395683dc45d15887535baa5656b)
2000-06-13allow for lots of connections per serverAndrew Tridgell1-75/+76
(This used to be commit 4bbc218922d2b1f40d50a611a389c9956851050f)
2000-06-13added -L switch to tell smbtorture to use oplocksAndrew Tridgell2-4/+7
(This used to be commit 73033d0803317c7de017cac7f7669f4afb08e7c0)
2000-06-11Linux kernel oplocks now seem to work, but need a _lot_ of testingAndrew Tridgell1-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. (This used to be commit b28cc4163bc2faaa80c5782fc02c8f03c410cdeb)
2000-06-05don't ue nasty /proc/locks hack by defaultAndrew Tridgell1-2/+2
(This used to be commit 62d72dd67ba41b90fefc4308139cd488b3fcb3fa)
2000-06-05added locktest2Andrew Tridgell1-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 (This used to be commit 581498fe6b2efe44c1229dd12b9a6506b11747d0)
2000-06-05added -O (use oplocks) option to locktestAndrew Tridgell1-1/+8
(This used to be commit 56ba49382fbdbe5672c3a72faaca21f20a53752b)
2000-06-03moved secrets fns into secrets.cAndrew Tridgell1-1/+1
(This used to be commit 16355a9c66a2bdab1feb8914a40bbea5272bb170)
2000-05-27fixed bugs in fdpass testsAndrew Tridgell1-8/+11
(This used to be commit ee4f6335adb2a781eea7e1f6b520d79ea1197427)
2000-05-27move srandom to after connect so random stuff in clientgen doesn'tAndrew Tridgell1-2/+4
change seed (This used to be commit d9322d01e0ac09852924eb6059ecf116e75ee398)
2000-05-24minor fixesAndrew Tridgell2-7/+4
(This used to be commit 4d00314ec5b056101b05c38cc68dd4934c83c825)
2000-05-242nd evil simultaneous read-write test. forks. one writer. othersLuke Leighton1-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. (This used to be commit 26f51a7abbfa9bd9051969dffaebe3cdf9e93c8f)
2000-05-24we don't do "revalidate = yes" any moreAndrew Tridgell1-5/+0
(This used to be commit 289d3cac38ae271175697f98d3eb01a21f3678a7)
2000-05-24added -u hide_unlock_fails optionAndrew Tridgell1-2/+7
(This used to be commit fc8c460a618c25ffa46ab808a241dab466d2666b)
2000-05-24use \\ in front of filenamesAndrew Tridgell1-2/+2
(This used to be commit a92f8c8620272bcbdd73741b8e87f8d5fac45b49)
2000-05-24use lp_workgroup()Andrew Tridgell1-10/+13
use \\ in front of filenames get short name via a separate trans2 level 260 call (This used to be commit 5fd4dbf72e317bc47ab11b0b3f2e15d0c58879c8)
2000-05-24use lp_workgroup()Andrew Tridgell1-3/+4
use \\ in front of filenames (This used to be commit 9c64f47c164e6ac31a27940fffb415b0b47cd089)
2000-05-24torture test:Luke Leighton1-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. (This used to be commit 0a993f37830938a8d4262c6b7913af502bbf015f)
2000-05-22Added -W workgroup command line option.Tim Potter2-2/+12
Added call to codepage_initialise(). (This used to be commit fcb8e2fbe2deabfc2f8d7e69dd23dca9740c6dc1)
2000-05-08added secrets.tdb and changed storage of trust account password to useAndrew Tridgell1-14/+3
it (This used to be commit 88ad00b82acc4636ab57dfe710af08ea85b82ff1)
2000-05-06signed/unsigned fixes so we can handle a lock base close to 2^32Andrew Tridgell1-31/+29
(This used to be commit 0ce2ca5ccdd0e2e7711dcbf66b72a183b2692cfe)
2000-05-05make debug easier to readAndrew Tridgell1-6/+9
(This used to be commit c14a2616441b2f3357a081c6dbae7d5b677e5a12)
2000-05-05make debug easier to readAndrew Tridgell1-5/+6
(This used to be commit d64bb07f0ad0efa1a20015b620ae33fb082b1e44)
2000-05-05nasty hack to print posix locksAndrew Tridgell1-0/+17
(This used to be commit efc9752f1e00b38abe3b5d3a98627a9fe6122bc4)
2000-05-05example of broken posix lock behaviourAndrew Tridgell1-0/+8
(This used to be commit b3999f3b20d470b9c873b297e7aeb043da61588d)
2000-05-04rpc_server/srv_lsa.c: Bring into sync with 2.0.x.Jeremy Allison1-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. (This used to be commit e8ff6d3fb5537c39611a5784bf7216ae812acd27)
2000-05-04parameterize the lock timeoutAndrew Tridgell1-2/+3
(This used to be commit 98ad4095ccc8d0349d05e6e9223eaad057029626)
2000-05-04added a test for the NT byte range lock into smbtortureAndrew Tridgell1-1/+16
(This used to be commit 7cfd45cc56e01a20a122c7742dc7e6a4ed59415f)
2000-05-04an even simpler example of NT gettings its locking code wrong. ThisAndrew Tridgell1-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. (This used to be commit 0b335e415818028ac0daad5f99c2fd9086a2a656)
2000-05-04need LOCKING_OBJ in locktest nowAndrew Tridgell1-3/+7
(This used to be commit 89e71994450f479a0f3839f192d868924626fc84)
2000-05-04more locktest improvementsAndrew Tridgell1-31/+81
the current preset tests show a very interesting NT bug - it sometimes refuses a lock that it shouldn't. (This used to be commit 85b5dc64cf7cc80567f9069a48c4d20c10ccec01)
2000-05-04fixed message textAndrew Tridgell1-1/+1
(This used to be commit 99e522023eae7cf1a88e5de50f2b09df3ea318d3)
2000-05-04added -A analyze mode to locktest - it can now automatically pruneAndrew Tridgell1-139/+242
the list of locks that cause a failure (This used to be commit 0beee59432f17f90a1c4c2c68a7ea6022b5d0908)
2000-05-04found a much simpler case that kills the posix lockingAndrew Tridgell1-5/+5
(This used to be commit b703cecf81dc62234171eaaa4c0cae448f144e1f)
2000-05-04fixed a uninit memory read that insure foundAndrew Tridgell1-6/+3
(This used to be commit 43fe5b98b4514d59e1c4bbc54a628cfbd771fc4f)
2000-05-04added ability to present lock testsAndrew Tridgell1-16/+40
(This used to be commit 3fc6a467fc3dfd2a59d4509ec52172d2dd048c80)