summaryrefslogtreecommitdiffstats
path: root/source3/torture/utable.c
Commit message (Collapse)AuthorAgeFilesLines
* s3-torture/utable.c: replace cli_read_old() with cli_read()Björn Baumbach2011-07-231-1/+1
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-libsmb: replace cli_read() with cli_read_old()Björn Baumbach2011-07-201-1/+1
| | | | | | Will introduce new cli_read() function. Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3-libsmb: move protos to libsmb/proto.hGünther Deschner2011-05-061-0/+1
| | | | Guenther
* s3-smb Use FILE_ATTRIBUTE_SYSTEM intead of aSYSTEMAndrew Bartlett2011-04-291-4/+4
| | | | | | This means we use just one constant for this file attribute. Andrew Bartlett
* s3-smb Use FILE_ATTRIBUTE_HIDDEN intead of aHIDDENAndrew Bartlett2011-04-291-4/+4
| | | | | | This means we use just one constant for this file attribute. Andrew Bartlett
* s3: Use cli_writeall instead of cli_writeVolker Lendecke2011-04-261-1/+2
| | | | Signed-off-by: Jeremy Allison <jra@samba.org>
* Fix convert_string() to take a *converted_size arg. and return a bool.Jeremy Allison2011-03-301-5/+14
| | | | | | | | Makes these interfaces much harder to misuse and easier to ensure error checking. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Mar 30 23:59:37 CEST 2011 on sn-devel-104
* s3-includes: only include system/filesys.h when needed.Günther Deschner2011-03-301-0/+1
| | | | Guenther
* charcnv: removed the allow_badcharcnv and allow_bad_conv options to ↵Andrew Tridgell2011-03-241-2/+2
| | | | | | | | | convert_string*() we shouldn't accept bad multi-byte strings, it just hides problems Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Mar 24 01:47:26 CET 2011 on sn-devel-104
* s3-libsmb: only include rap client when needed.Günther Deschner2011-03-151-0/+1
| | | | Guenther
* s3: Convert cli_qfileinfo_basic to cli_qfileinfoVolker Lendecke2010-10-241-2/+3
|
* s3: Rename cli_fileinfo() to cli_fileinfo_basic()Volker Lendecke2010-10-241-2/+4
|
* libcli/security Provide a common, top level libcli/security/security.hAndrew Bartlett2010-10-121-0/+1
| | | | | | | | | | | | | | This will reduce the noise from merges of the rest of the libcli/security code, without this commit changing what code is actually used. This includes (along with other security headers) dom_sid.h and security_token.h Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue Oct 12 05:54:10 UTC 2010 on sn-devel-104
* s3:fix the merged build of bin/smbtorture4Michael Adam2009-11-241-1/+1
| | | | Michael
* s3:torture: move the torture-specific headers to new torture/torture.hMichael Adam2009-11-231-0/+1
| | | | Michael
* Get medieval on our ass about SMB1 file descriptors being 16 bits, not an int.Jeremy Allison2009-04-301-9/+8
| | | | | | | Convert all uses of cli_open(), cli_nt_createXXX to NTSTATUS versions. This is smaller than it looks, it just fixes a lot of old code. Next up, ensure all cli_XX functions return NTSTATUS. Jeremy.
* Make cli_unlink async.Jeremy Allison2009-04-291-4/+4
| | | | Jeremy.
* Make cli_mkdir async. Change it to return NTSTATUS.Jeremy Allison2009-04-211-1/+1
| | | | Jeremy.
* Fix warnings in make test code.Jeremy Allison2009-01-021-1/+5
| | | | Jeremy.
* RIP BOOL. Convert BOOL -> bool. I found a few interestingJeremy Allison2007-10-181-2/+2
| | | | | | | | bugs in various places whilst doing this (places that assumed BOOL == int). I also need to fix the Samba4 pidl generation (next checkin). Jeremy. (This used to be commit f35a266b3cbb3e5fa6a86be60f34fe340a3ca71f)
* r23784: use the GPLv3 boilerplate as recommended by the FSF and the license textAndrew Tridgell2007-10-101-2/+1
| | | | (This used to be commit b0132e94fc5fef936aa766fb99a306b3628e9f07)
* r23779: Change from v2 or later to v3 or later.Jeremy Allison2007-10-101-1/+1
| | | | | Jeremy. (This used to be commit 407e6e695b8366369b7c76af1ff76869b45347b3)
* r18796: Fix the build. Sorry.Jeremy Allison2007-10-101-2/+2
| | | | | Jeremy. (This used to be commit 8b9e5f28c2b8530bee46aefadf97414b85ab5bc8)
* r17338: Add support for multiple shares test inspired by Samba 4 torture's ↵Alexander Bokovoy2007-10-101-2/+2
| | | | | | | --unclist option. Triggered by -b sharelist_file option. Based on Peter Samogyi's work. I'm not sure what concept for fstring replacement is currently in place though (talloc-ed strings? or it was for pstring only?) (This used to be commit c9f8fafad698c5bc75df86ee8b611104d3fb65bc)
* r8572: Remove crufty #define NO_SYSLOG as it's not used at all anymore.Tim Potter2007-10-101-2/+0
| | | | (This used to be commit 985dbb47d925e79c1195ca219f7ab5d6648b22b8)
* r5968: derrell's large file fix for libsmbclient (BUG 2505)Gerald Carter2007-10-101-1/+1
| | | | (This used to be commit 85be4c5df398faa6c5bfacd1f9d2f12c39d411e1)
* Fix build after Jeremy -- yet another place where convert_string() wasn't ↵Alexander Bokovoy2004-03-121-2/+2
| | | | | | updated (This used to be commit 9acd46ab462cb4aee9938658dda594ef8b8ddcbd)
* Final round of printf warnings fixes for the moment.Tim Potter2003-11-061-2/+2
| | | | (This used to be commit 0519a7022b4979c0e8ddd4907f4b858a59299c06)
* Merge torture tests from HEAD - it looks like we had rather an incompleteAndrew Bartlett2003-04-231-21/+28
| | | | | | | merge last time. I hope this might fix a few failures on the build farm too. Andrew Bartlett (This used to be commit 0c837126923cc30fa60223a5a68d4f527971cc7b)
* fixing torture build by merging code from HEADGerald Carter2003-04-181-2/+2
| | | | (This used to be commit 7798c7ee1a2fafa0a4879e550e16027f17ccbbcf)
* Removed version number from file header.Tim Potter2002-01-301-2/+1
| | | | | Changed "SMB/Netbios" to "SMB/CIFS" in file header. (This used to be commit 6a58c9bd06d0d7502a24bf5ce5a2faf0a146edfa)
* 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-021-0/+74
| | | | | | | | | | 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)
* added a little smbtorture test for dumping the unicode table of aAndrew Tridgell2001-09-251-0/+82
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)