summaryrefslogtreecommitdiff
path: root/source3/torture
AgeCommit message (Collapse)AuthorFilesLines
2011-05-18s3-torture/mangle_test.c: Fix cli_errstr() usage (part of bug #7864)Björn Baumbach1-13/+20
Convert cli_errstr() to nt_errstr() Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-05-18s3-torture: torture.c: Fix cli_errstr() usage (part of bug #7864)Björn Baumbach1-510/+804
Convert cli_errstr() to nt_errstr() Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-05-06s3-includes: finally only include client.h when libsmb is used.Günther Deschner1-0/+2
Guenther
2011-05-06s3-libsmb: move protos to libsmb/proto.hGünther Deschner14-0/+14
Guenther
2011-05-06s3: only include tdb headers where needed.Günther Deschner2-0/+2
Guenther
2011-05-06nterr: Add mem_ctx for return string from get_nt_error_c_code()Andrew Bartlett1-3/+3
It is clearer to avoid the implicit return on talloc_tos() Andrew Bartlett
2011-05-06Fix const in smbtorture.Jeremy Allison2-11/+10
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Fri May 6 02:45:00 CEST 2011 on sn-devel-104
2011-05-06More const fixes. Remove CONST_DISCARD.Jeremy Allison1-1/+1
2011-05-04Fix warning messages caused by addition of null check in fstrcpy macro.Jeremy Allison1-2/+2
2011-05-04Fix simple uses of safe_strcpy -> strlcpy. Easy ones where we just remove -1.Jeremy Allison1-1/+1
2011-05-04s3-torture: Add a test for notify upon read&xVolker Lendecke3-1/+302
This makes sure that when a file is brought online by a read call we notify the client for FILE_NOTIFY_CHANGE_ATTRIBUTES. Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed May 4 21:09:22 CEST 2011 on sn-devel-104
2011-04-30Add POSIX O_RDONLY test of a directory for bug #8112 - POSIX extension opens ↵Jeremy Allison1-2/+10
of a directory are denied with EISDIR. Don't strip access bits from wire flags when opening a directory. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Sat Apr 30 02:21:24 CEST 2011 on sn-devel-104
2011-04-30torture test for bug #8111 - CIFS VFS: unexpected error on SMB posix open.Jeremy Allison1-0/+55
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Sat Apr 30 00:33:40 CEST 2011 on sn-devel-104
2011-04-29s3-tevent: only include ../lib/util/tevent wrappers where needed.Günther Deschner2-0/+2
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri Apr 29 14:00:30 CEST 2011 on sn-devel-104
2011-04-29s3-smb Use FILE_ATTRIBUTE_ARCHIVE intead of aARCHAndrew Bartlett1-1/+1
This means we use just one constant for this file attribute. Andrew Bartlett
2011-04-29s3-smb Use FILE_ATTRIBUTE_DIRECTORY intead of aDIRAndrew Bartlett3-15/+15
This means we use just one constant for this file attribute. Andrew Bartlett
2011-04-29s3-smb Use FILE_ATTRIBUTE_SYSTEM intead of aSYSTEMAndrew Bartlett9-124/+124
This means we use just one constant for this file attribute. Andrew Bartlett
2011-04-29s3-smb Use FILE_ATTRIBUTE_HIDDEN intead of aHIDDENAndrew Bartlett9-127/+127
This means we use just one constant for this file attribute. Andrew Bartlett
2011-04-29s3-smb Use FILE_ATTRIBUTE_READONLY intead of aRONLYAndrew Bartlett1-1/+1
This means we use just one constant for this file attribute. Andrew Bartlett
2011-04-26s3: Use cli_writeall instead of cli_writeVolker Lendecke5-82/+140
Signed-off-by: Jeremy Allison <jra@samba.org>
2011-04-25s3: Add a 10-second timeout for the 445 or netbios connection to a DCVolker Lendecke1-1/+1
2011-04-03s3: Add a quick test for bug 8042Volker Lendecke3-0/+81
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Apr 3 16:13:21 CEST 2011 on sn-devel-104
2011-03-31s3-torture: a very simple test for convert_string_error()Andrew Tridgell1-0/+98
this is a very simple test based on the example volker gave in 1e50f9a5. A more sophisticated test will also be worthwhile, but this at least gives us a basic test while changes are being made
2011-03-30Fix convert_string() to take a *converted_size arg. and return a bool.Jeremy Allison1-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
2011-03-30s3-messages: make ndr_messaging.h part of messages.h.Günther Deschner1-1/+0
Guenther
2011-03-30s3-messages: only include messages.h where needed.Günther Deschner1-0/+1
Guenther
2011-03-30s3-libsmb: put namequery headers to nmblib.hGünther Deschner3-0/+3
We might find a better name for it and merge other namequery related things as well here... Guenther
2011-03-30s3-locking: move locking prototypes out of proto.h.Günther Deschner2-0/+2
Will later become part of locking.h Guenther
2011-03-30s3-vfs: include smbd/smbd.h in vfs modules.Günther Deschner2-0/+2
Guenther
2011-03-30s3-passdb: add passdb.h where needed.Günther Deschner1-0/+1
Guenther
2011-03-30s3-includes: only include system/filesys.h when needed.Günther Deschner9-0/+9
Guenther
2011-03-30s3-includes: only include system/passwd.h when needed.Günther Deschner1-0/+1
Guenther
2011-03-30s3-includes: only include system/shmem.h when needed.Günther Deschner1-0/+1
Guenther
2011-03-30s3-trans2: only include trans2.h where needed.Günther Deschner2-0/+2
Guenther
2011-03-30lib/util/util_pw: share sys_get{pw,gr} group of calls.Günther Deschner1-0/+1
Guenther
2011-03-27s3: Convert cli_raw_tcon to cli_smbVolker Lendecke1-2/+2
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Mar 27 19:50:21 CEST 2011 on sn-devel-104
2011-03-27s3: Fix a memleakVolker Lendecke1-0/+2
2011-03-27s3: Replace a use of cli_errstrVolker Lendecke1-1/+1
2011-03-27s3: Replace cli_negprot_sendsync() by cli_negprot_send()Volker Lendecke1-2/+22
2011-03-27s3: Remove a pointless staticVolker Lendecke1-1/+1
2011-03-27s3: Remove a use of cli_send_smbVolker Lendecke1-1/+1
2011-03-24charcnv: removed the allow_badcharcnv and allow_bad_conv options to ↵Andrew Tridgell1-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
2011-03-24s3-prototypes: remove protos of some dead functions.Günther Deschner1-1/+0
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Thu Mar 24 00:52:01 CET 2011 on sn-devel-104
2011-03-15s3-libsmb: only include rap client when needed.Günther Deschner5-0/+5
Guenther
2011-02-28s3-torture: fix the build of rpc_open_tcp.Günther Deschner1-1/+1
Guenther
2011-02-28s3-rpc_client: Move client pipe functions to own header.Andreas Schneider1-0/+1
2011-02-23Torture test added to run_opentest() to ensure we don't regress onJeremy Allison1-0/+26
the previous change. Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Wed Feb 23 03:00:53 CET 2011 on sn-devel-104
2011-02-22smbtorture Remove random file name before we start RW2Andrew Bartlett1-0/+4
2011-02-17nsswitch: make wb_reqtrans a common subsystem.Günther Deschner1-1/+1
Guenther
2011-02-01s3: test addrchangeVolker Lendecke3-0/+95