summaryrefslogtreecommitdiffstats
path: root/source3/torture
Commit message (Collapse)AuthorAgeFilesLines
...
* handle clock skew in getatr testAndrew Tridgell2002-03-031-3/+3
| | | | (This used to be commit 64c0a5c4a0d879ce8f9517717a0cd54a75c20619)
* fixed -c option to NBENCH testAndrew Tridgell2002-03-031-1/+1
| | | | (This used to be commit f9e3b91f58df30440c8b90007997e012101235e3)
* added a "XCOPY" test that simulates the open calls made by xcopy /OAndrew Tridgell2002-02-241-0/+45
| | | | | we currently fail this test (This used to be commit 8095375623cc19f7aad497bf39d5370d032ebdbf)
* added a cli_qfilename() test to the trans2 testsAndrew Tridgell2002-02-211-0/+13
| | | | (This used to be commit 81fb8845e5c9a321f113258a737ce5c6e799e505)
* got rid of a silly '*' in printoutAndrew Tridgell2002-02-051-1/+0
| | | | (This used to be commit 22be40b6b8c034c143ce5d804628bc12cb1cc3dd)
* - only show 1 cleanup msg per clientAndrew Tridgell2002-02-052-7/+17
| | | | | - show client count in progress (This used to be commit 10ee1d22e606847d40fb013c694ed5733ef6b87b)
* fixed the directory removal for when the dir doesn't exitAndrew Tridgell2002-02-051-1/+1
| | | | (This used to be commit 2c67b266cc4848dff6066fcbc875ab5f91113179)
* rewrote smbtorture to use the new dbench 2 format and methodsAndrew Tridgell2002-02-052-187/+228
| | | | (This used to be commit 36f816a5e12a80f0184f43cbd44ef5fac53fcb81)
* Removed version number from file header.Tim Potter2002-01-3011-22/+11
| | | | | Changed "SMB/Netbios" to "SMB/CIFS" in file header. (This used to be commit 6a58c9bd06d0d7502a24bf5ce5a2faf0a146edfa)
* Quieten some pointer cast warnings.Tim Potter2002-01-161-3/+4
| | | | (This used to be commit 1906903f063de526045be68d19cf39de3c029c6f)
* Update the NT_STATUS -> DOS error table.Andrew Bartlett2002-01-031-3/+3
| | | | | | | | | | | | | | | | | | | | | This new table is rather different to the old one (see diff posted to the list for a sorted list of differences) and needs a *lot* of testing. It does however seem to line up much better with what NT is using, as exampled by the change to the OBJECT_NAME_COLLISION DOS error, it now matches win2k where it didn't before. I can't see any critical errors we now get wrong, and I know that the auth errors are correct as per my on-the-wire observations. This table was produced (and I hope to comment this better later) by using the ERRMAPEXTRACT smbtorture tool, a Win2k domain member and the 'name_to_ntstatus' auth module on the HEAD PDC. This module returned the username as the error, and the NT box was forced to give me a dos error becouse thats all I negotiated on that connection. Hence the map. Andrew Bartlett (This used to be commit a855dfb2e0b899d03087860e5462c2aed3ca4cad)
* Make a couple more of the warnings also be C commentsAndrew Bartlett2002-01-031-2/+2
| | | | (This used to be commit 8f343beae7455141ce6a5e27e46ed2970aed8e7f)
* A few changes to always output the erorr mapping even when the error wasAndrew Bartlett2002-01-031-27/+34
| | | | | 'squashed' or the session setup succeeded. (How the latter occurs I don't know). (This used to be commit d879d2ffffc47ce161afb3d96bc5c4b92de662c3)
* Workaround some 'smarts' in Win2k.Andrew Bartlett2002-01-031-0/+20
| | | | | | Win2k kills off connections that have issued a negprot but havn't yet issued a session setup when a second connection appears from the same host. (This used to be commit d47e61eb468218cae631e78edbd5d02982c78ab0)
* Re-add bail on failure.Andrew Bartlett2002-01-031-2/+8
| | | | (This used to be commit da9444d98f212af8f1b1e1df191adf3c31d50f6d)
* fixed ERRMAPEXTRACT torture to work with win2kAndrew Tridgell2002-01-031-11/+5
| | | | (This used to be commit 27143900e76033026ecd5a7b4525c0150f3a535d)
* Minor update to make the output 'real C'. (The output is intended to be a CAndrew Bartlett2002-01-021-3/+8
| | | | | | | format table for inclusion back into Samba). Andrew Bartlett (This used to be commit 95abb2473bb4f93df163a0e8af79d5292e1389b3)
* Removed global debugf. Replaced with lp_set_logfile(name).Jeremy Allison2001-12-201-3/+3
| | | | | | Fixed winbindd to finally stop leaving log. file droppings :-). Jeremy. (This used to be commit 0bea6cf79a44f79fa3a4f2c8381e898e79c66509)
* better nsstest error checkingAndrew Tridgell2001-12-191-0/+20
| | | | (This used to be commit 7348a969bc994e6ef267449aadfdf6321c27baa6)
* set return value to total errorsAndrew Tridgell2001-12-091-2/+9
| | | | (This used to be commit 4a7e1f6bb12e74effad83410c4b07683eaaa4617)
* better error checking in nsstestAndrew Tridgell2001-12-091-9/+64
| | | | (This used to be commit 3c17c64e31cbd56ada4e4bc0d371cef81e2e42cf)
* - check for correct error codesAndrew Tridgell2001-12-091-27/+48
| | | | | - handle no initgroups fn (This used to be commit 84a3390eace7f6cf1f5fb867fc58a982f24fd0b6)
* allow nsstest to test any nss moduleAndrew Tridgell2001-12-061-13/+19
| | | | (This used to be commit c531f4773e33cce4b4eb97c8f9147eed02edc2d5)
* put sid_to_name behind the winbindd backend interfaceAndrew Tridgell2001-12-031-2/+2
| | | | | | | | I spent quite a while trying to work out how to make this call via ldap and failed. I then found that MS servers seem use rpc for sid_to_name, and it works even when in native mode, I ended up just implementing it via rpc (This used to be commit 789833b44e342c0b5de463ed8f9b5f7474a99f27)
* fixed default location of libnss_winbind.soAndrew Tridgell2001-12-031-1/+1
| | | | (This used to be commit adc9268216f87d915c9d971137b859c949e150dd)
* fixed the nsswitch initgroups codeAndrew Tridgell2001-12-031-0/+302
| | | | | | added a nsstest test program that directly tests all the nss interfaces using dlopen() (This used to be commit aee19090d3b957372b234a412cd9db8896650feb)
* fix a bunch of places where we can double-free a cli structureAndrew Tridgell2001-11-282-2/+0
| | | | (This used to be commit e2ba2383c9f679c076749a8f4fccefc3559e37ec)
* Got medieval on another pointless extern. Removed extern struct ipzeroTim Potter2001-11-265-12/+8
| | | | | | | | and replaced with two functions: void zero_ip(struct in_adder *ip); BOOL is_zero_ip(struct in_addr ip); (This used to be commit 778f5f77a66cda76348a7c6f64cd63afe2bfe077)
* Add a new torture test to extract a NT->DOS error map from an NT member of aAndrew Bartlett2001-11-251-0/+74
| | | | | | | | | | samba domain. The PDC must be running a special authenticaion module that spits out NT errors based on username. Andrew Bartlett (This used to be commit adc7a6048c13342b79b6228beafb5142c50f318d)
* Removed TimeInit() call from every client program (except for one placeTim Potter2001-11-235-9/+0
| | | | | | in smbd/process.c where the timezone is reinitialised. Was replaced with check for a static is_initialised boolean. (This used to be commit 8fc772c9e5770cd3a8857670214dcff033ebae32)
* fix maxfd test to start deleting at right fileAndrew Tridgell2001-11-201-0/+1
| | | | (This used to be commit e4fb073af02846309c3efb0675006433052bb1ce)
* fix locktest default parametersAndrew Tridgell2001-11-201-2/+3
| | | | (This used to be commit f6a4b00aab9ca01d8dfed33252f3d5c5349d13b0)
* Store some path names in global variables initialized to configureMartin Pool2001-11-196-14/+8
| | | | | default, rather than in preprocessor macros. (This used to be commit 79ec88f0da40faebe1e587f1b3e87b5f2b184f58)
* the next step in the intl changeover. This should get us compiling agian,Andrew Tridgell2001-10-141-4/+0
| | | | | | | | and also completes the switch to lang_tdb.c. SWAT should now work with a po file in the lib/ directory also removed useless SYSLOG defines in many files (This used to be commit 5296b20ad85d7519c870768455cb4d8df048c55a)
* first step in converting the head branch to use lang_tdb.c insteadAndrew Tridgell2001-10-111-1/+1
| | | | | of gettext for internationalisation support. There is more to do (This used to be commit ab7f67677a1ade4669e5c2750d0a38422ea616a9)
* switched over to a new method of handling uppercase/lowercase mappingsAndrew Tridgell2001-10-031-2/+18
| | | | | | | | | | | | | | | | | | | | | | | for unicode strings. The new method relies on 3 files that are mmap'd at startup to provide the mapping tables. The upcase.dat and lowcase.dat tables should be the same on all systems. The valid.dat table says what characters are valid in 8.3 names, and differs between systems. I'm committing the japanese valid.dat here, in future we need some way of automatically installing and choosing a appropriate table. This commit also adds my mini tdb based gettext replacement in intl/lang_tdb.c. I have not enabled this yet and have not removed the old gettext code as the new code is still being looked at by Monyo. Right now the code assumes that the upcase.dat, lowcase.dat and valid.dat files are installed in the Samba lib directory. That is not a good choice, but I'll leave them there until we work out the new install directory structure for Samba 3.0. simo - please look at the isvalid_w() function and think about using it in your new mangling code. That should be the final step to correctly passing the chargen test code from monyo. (This used to be commit 1c221994f118dd542a158b2db51e07d04d0e9314)
* better method of generating the case equivalence tableAndrew Tridgell2001-10-021-22/+37
| | | | | | interestingly, this shows that w2kp-jp and w2kp have the *same* case equivalence table, but it is not the same as the Samba one. (This used to be commit b97fbfcd7cfbafc40b4be558fb8d6e86ad656cb0)
* the CASETABLE torture target now generates the complete unicodeAndrew Tridgell2001-10-022-0/+75
| | | | | | | | | | equivalence table for a server. This was inspired by the chargen win32 code from monyo. This takes a *long* time to run against a Samba server due to the case insensitive comparisons in the filesystem. That makes it a N^2 operation, and N is 64k. It is linear on NT. (This used to be commit 441f9415b365787854fb0d3e04d1ea4938d7af73)
* Removed 'extern int DEBUGLEVEL' as it is now in the smb.h header.Tim Potter2001-10-022-3/+0
| | | | (This used to be commit 2d0922b0eabfdc0aaf1d0797482fef47ed7fde8e)
* added a little smbtorture test for dumping the unicode table of aAndrew Tridgell2001-09-252-1/+84
| | | | | | | | | | server. This is just a framework right now - I want this to eventually replace the win32 test code from monyo The interesting this about this test is that it shows up a really horrible performance bug in our stat cache code. I'll see if I can fix it. (This used to be commit eb668b54af4925194c07b217724657f406ec00d0)
* move to SAFE_FREE()Simo Sorce2001-09-173-8/+6
| | | | (This used to be commit fc71962409e11509a60fb2be6741c32970865881)
* fixed ctemp in server and client. It turns out that ctemp on NT is ↵Andrew Tridgell2001-09-171-10/+12
| | | | | | completely broken, and it's pointless to emulate their brokenness completely in this case, but at least this makes us use approximately the same packet format. The spec is complelet wrong in this case (This used to be commit 2d507ec669def6d49304559e53d6c14af9b290a9)
* Fix (I hope) for a number of little compile warnings found by the IRIXAndrew Bartlett2001-09-163-8/+8
| | | | | | | compilers on the build farm. Andrew Bartlett (This used to be commit 0ff0a91a6baf7cf6b3ca59a2b4067cc07e3f2f88)
* declare dbf in one spotAndrew Tridgell2001-09-105-5/+0
| | | | (This used to be commit f41c3bb80f1e498a9d27f6e236b0ff3a742764c9)
* replaced stdio in many parts of samba with a XFILE. XFILE is a cut-downAndrew Tridgell2001-09-105-10/+10
| | | | | | | | | | replacemnt of stdio that doesn't suffer from the 8-bit filedescriptor limit that we hit with nasty consequences on some systems I would eventually prefer us to have a configure test to see if we need to replace stdio, but for now this code needs to be tested widely so I'm enabling it by default. (This used to be commit 1af8bf34f1caa3e7ec312d8109c07d32a945a448)
* - fixed proto.h build on systems using a parallel makeAndrew Tridgell2001-09-062-192/+1575
| | | | | - changed DENY1 and DENY2 tests to only report errors (This used to be commit 9341e5534d0786e6ad7980e5fd1a0b35d77a2806)
* it turns out that XP agrees with the samba head branch over the rightAndrew Tridgell2001-09-061-12/+13
| | | | | error codes for locking, so fix the test rather than fixing samba (This used to be commit a583af3c2f5d1962495a0f18b671e34d6ff43511)
* fixed compilation of tortureAndrew Tridgell2001-09-042-48/+44
| | | | (This used to be commit aaf538a83057150cc35e9032aff7a78e8f0c4dc2)
* converted another bunch of stuff to NTSTATUSAndrew Tridgell2001-08-272-7/+7
| | | | (This used to be commit 1d36250e338ae0ff9fbbf86019809205dd97d05e)
* forgot to commit the scanner codeAndrew Tridgell2001-08-271-0/+435
| | | | (This used to be commit 591308f3881e44750b48602fd05362f1f5c6477a)