summaryrefslogtreecommitdiff
path: root/source3/torture
AgeCommit message (Collapse)AuthorFilesLines
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)
2001-07-07Update smbtorture in line with SAMBA_2_2Andrew Bartlett1-5/+34
Andrew Bartlett (This used to be commit dc588ee87ae16e207324d42f926d7889b70362de)
2001-07-05fixed compilation of masktest on AIXAndrew Tridgell1-7/+7
(This used to be commit 832a91bbe643ba816407965863b8fa3bb5b8730c)
2001-07-04strchr and strrchr are macros when compiling with optimisation in gcc, so we ↵Andrew Tridgell5-13/+13
can't redefine them. damn. (This used to be commit c41fc06376d1a2b83690612304e85010b5e5f3cf)
2001-07-04The big character set handling changeover!Andrew Tridgell6-17/+0
This commit gets rid of all our old codepage handling and replaces it with iconv. All internal strings in Samba are now in "unix" charset, which may be multi-byte. See internals.doc and my posting to samba-technical for a more complete explanation. (This used to be commit debb471267960e56005a741817ebd227ecfc512a)
2001-07-03See if we can stick to slightly valid C..Andrew Bartlett1-2/+8
(With thanks to tpot) Andrew Bartlett (This used to be commit e77cfe1379d92d2be4e2895454e14d11311a913d)
2001-07-02Not all OSs have setbuffer, so we better check for it.Andrew Bartlett1-0/+2
Andrew Bartlett (This used to be commit aa5708de69a71e6b41a12f63550fae94f2481742)
2001-07-02Make smbtorture return status values for use in the build_farm tests.Andrew Bartlett1-469/+733
This should not have changed behaviour, and it has been tested. Andrew Bartlett (This used to be commit a73aefef09804bf95eec1449f75adc5ff5e032d0)
2001-06-30Ensure we return correct error on trying to unlock a region not locked.Jeremy Allison1-1/+9
Jeremy. (This used to be commit 015a077acc49e59179dc10256fd32166ee4623e2)
2001-06-19Extra debug in open.c, fix for bad debug message in reply.cJeremy Allison1-0/+2
Jeremy. (This used to be commit 2c2fc8513699eb39721ac1d65fa1fdaecde526a8)
2001-06-19added a torture target for building all torture progs. Fixed a typo in locktestAndrew Tridgell1-1/+1
(This used to be commit fd0d729ce0d9a057e867001c2ea52c8599713b28)
2001-06-19moved all our torture code to a separate directoryAndrew Tridgell7-0/+5662
(This used to be commit dd12c47645e2d0e832bc555492a6a8725a4495ee)