summaryrefslogtreecommitdiff
path: root/source3/torture
AgeCommit message (Collapse)AuthorFilesLines
2002-01-16Quieten some pointer cast warnings.Tim Potter1-3/+4
(This used to be commit 1906903f063de526045be68d19cf39de3c029c6f)
2002-01-03Update the NT_STATUS -> DOS error table.Andrew Bartlett1-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)
2002-01-03Make a couple more of the warnings also be C commentsAndrew Bartlett1-2/+2
(This used to be commit 8f343beae7455141ce6a5e27e46ed2970aed8e7f)
2002-01-03A few changes to always output the erorr mapping even when the error wasAndrew Bartlett1-27/+34
'squashed' or the session setup succeeded. (How the latter occurs I don't know). (This used to be commit d879d2ffffc47ce161afb3d96bc5c4b92de662c3)
2002-01-03Workaround some 'smarts' in Win2k.Andrew Bartlett1-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)
2002-01-03Re-add bail on failure.Andrew Bartlett1-2/+8
(This used to be commit da9444d98f212af8f1b1e1df191adf3c31d50f6d)
2002-01-03fixed ERRMAPEXTRACT torture to work with win2kAndrew Tridgell1-11/+5
(This used to be commit 27143900e76033026ecd5a7b4525c0150f3a535d)
2002-01-02Minor update to make the output 'real C'. (The output is intended to be a CAndrew Bartlett1-3/+8
format table for inclusion back into Samba). Andrew Bartlett (This used to be commit 95abb2473bb4f93df163a0e8af79d5292e1389b3)
2001-12-20Removed global debugf. Replaced with lp_set_logfile(name).Jeremy Allison1-3/+3
Fixed winbindd to finally stop leaving log. file droppings :-). Jeremy. (This used to be commit 0bea6cf79a44f79fa3a4f2c8381e898e79c66509)
2001-12-19better nsstest error checkingAndrew Tridgell1-0/+20
(This used to be commit 7348a969bc994e6ef267449aadfdf6321c27baa6)
2001-12-09set return value to total errorsAndrew Tridgell1-2/+9
(This used to be commit 4a7e1f6bb12e74effad83410c4b07683eaaa4617)
2001-12-09better error checking in nsstestAndrew Tridgell1-9/+64
(This used to be commit 3c17c64e31cbd56ada4e4bc0d371cef81e2e42cf)
2001-12-09- check for correct error codesAndrew Tridgell1-27/+48
- handle no initgroups fn (This used to be commit 84a3390eace7f6cf1f5fb867fc58a982f24fd0b6)
2001-12-06allow nsstest to test any nss moduleAndrew Tridgell1-13/+19
(This used to be commit c531f4773e33cce4b4eb97c8f9147eed02edc2d5)
2001-12-03put sid_to_name behind the winbindd backend interfaceAndrew Tridgell1-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)
2001-12-03fixed default location of libnss_winbind.soAndrew Tridgell1-1/+1
(This used to be commit adc9268216f87d915c9d971137b859c949e150dd)
2001-12-03fixed the nsswitch initgroups codeAndrew Tridgell1-0/+302
added a nsstest test program that directly tests all the nss interfaces using dlopen() (This used to be commit aee19090d3b957372b234a412cd9db8896650feb)
2001-11-28fix a bunch of places where we can double-free a cli structureAndrew Tridgell2-2/+0
(This used to be commit e2ba2383c9f679c076749a8f4fccefc3559e37ec)
2001-11-26Got medieval on another pointless extern. Removed extern struct ipzeroTim Potter5-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)
2001-11-25Add a new torture test to extract a NT->DOS error map from an NT member of aAndrew Bartlett1-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)
2001-11-23Removed TimeInit() call from every client program (except for one placeTim Potter5-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)
2001-11-20fix maxfd test to start deleting at right fileAndrew Tridgell1-0/+1
(This used to be commit e4fb073af02846309c3efb0675006433052bb1ce)
2001-11-20fix locktest default parametersAndrew Tridgell1-2/+3
(This used to be commit f6a4b00aab9ca01d8dfed33252f3d5c5349d13b0)
2001-11-19Store some path names in global variables initialized to configureMartin Pool6-14/+8
default, rather than in preprocessor macros. (This used to be commit 79ec88f0da40faebe1e587f1b3e87b5f2b184f58)
2001-10-14the next step in the intl changeover. This should get us compiling agian,Andrew Tridgell1-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)
2001-10-11first step in converting the head branch to use lang_tdb.c insteadAndrew Tridgell1-1/+1
of gettext for internationalisation support. There is more to do (This used to be commit ab7f67677a1ade4669e5c2750d0a38422ea616a9)
2001-10-03switched over to a new method of handling uppercase/lowercase mappingsAndrew Tridgell1-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)
2001-10-02better method of generating the case equivalence tableAndrew Tridgell1-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)
2001-10-02the CASETABLE torture target now generates the complete unicodeAndrew Tridgell2-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)
2001-10-02Removed 'extern int DEBUGLEVEL' as it is now in the smb.h header.Tim Potter2-3/+0
(This used to be commit 2d0922b0eabfdc0aaf1d0797482fef47ed7fde8e)
2001-09-25added a little smbtorture test for dumping the unicode table of aAndrew Tridgell2-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)
2001-09-17move to SAFE_FREE()Simo Sorce3-8/+6
(This used to be commit fc71962409e11509a60fb2be6741c32970865881)
2001-09-17fixed ctemp in server and client. It turns out that ctemp on NT is ↵Andrew Tridgell1-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)
2001-09-16Fix (I hope) for a number of little compile warnings found by the IRIXAndrew Bartlett3-8/+8
compilers on the build farm. Andrew Bartlett (This used to be commit 0ff0a91a6baf7cf6b3ca59a2b4067cc07e3f2f88)
2001-09-10declare dbf in one spotAndrew Tridgell5-5/+0
(This used to be commit f41c3bb80f1e498a9d27f6e236b0ff3a742764c9)
2001-09-10replaced stdio in many parts of samba with a XFILE. XFILE is a cut-downAndrew Tridgell5-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)
2001-09-06- fixed proto.h build on systems using a parallel makeAndrew Tridgell2-192/+1575
- changed DENY1 and DENY2 tests to only report errors (This used to be commit 9341e5534d0786e6ad7980e5fd1a0b35d77a2806)
2001-09-06it turns out that XP agrees with the samba head branch over the rightAndrew Tridgell1-12/+13
error codes for locking, so fix the test rather than fixing samba (This used to be commit a583af3c2f5d1962495a0f18b671e34d6ff43511)
2001-09-04fixed compilation of tortureAndrew Tridgell2-48/+44
(This used to be commit aaf538a83057150cc35e9032aff7a78e8f0c4dc2)
2001-08-27converted another bunch of stuff to NTSTATUSAndrew Tridgell2-7/+7
(This used to be commit 1d36250e338ae0ff9fbbf86019809205dd97d05e)
2001-08-27forgot to commit the scanner codeAndrew Tridgell1-0/+435
(This used to be commit 591308f3881e44750b48602fd05362f1f5c6477a)
2001-08-27converted smbd to use NTSTATUS by defaultAndrew Tridgell2-161/+145
major changes include: - added NSTATUS type - added automatic mapping between dos and nt error codes - changed all ERROR() calls to ERROR_DOS() and many to ERROR_NT() these calls auto-translate to the client error code system - got rid of the cached error code and the writebmpx code We eventually will need to also: - get rid of BOOL, so we don't lose error info - replace all ERROR_DOS() calls with ERROR_NT() calls but that is too much for one night (This used to be commit 83d9896c1ea8be796192b51a4678c2a3b87f7518)
2001-08-24fixed handling of 139/445 in clientsAndrew Tridgell3-6/+3
(This used to be commit 22b372f8a7996a19bebb8cdb411df999cffa32a4)
2001-08-24tests for 0 length locksAndrew Tridgell1-15/+28
(This used to be commit 8fbd1d0f978a349ec4fcc0d34fca55314d3dec31)
2001-08-24allow for 0 range locks in locktestAndrew Tridgell1-1/+1
(This used to be commit c3b2d959a7461cf6f9574716c8a7b915c078b311)
2001-08-23more minor torture updatesAndrew Tridgell2-4/+15
(This used to be commit 6513b94d19adab8f94bbd8044338658242188e7a)
2001-08-23the beginnings of a TRANS2 scannerAndrew Tridgell1-0/+66
(This used to be commit 9c483987a5d136bf23018ade6ceecf603f8f1614)
2001-08-22minor bug fixes to smbtortureAndrew Tridgell1-3/+5
(This used to be commit 7724243fe71dbf0783ea6e081e40d6916ac45c0d)
2001-08-20a bunch of fixes from the sflight to seattleAndrew Tridgell2-38/+47
in particular: - fixed NT status code for a bunch of ops - fixed handling of protocol levels in ms_fnmatch (This used to be commit 3eba9606f71f90bfd9820af26f8676277ed22390)
2001-08-13Converted to new error API.Tim Potter1-28/+32
Now that we support NT errors from the client, appropriate values will need to be filled in for the various invocations of check_error() within the torture code. (This used to be commit 577f6065f6c6b0cfbd7f8cfd11d28a0962a6d221)