1
0
mirror of https://github.com/samba-team/samba.git synced 2025-03-12 20:58:37 +03:00

3416 Commits

Author SHA1 Message Date
Günther Deschner
a93fbf8b26 s4-smbtorture: add test_EnumPrintProcDataTypes to RPC-SPOOLSS test.
Guenther
2009-03-07 00:25:44 +01:00
Günther Deschner
8bc7bb77be s4-smbtorture: exit early in test_EnumPorts when no port info has been returned.
Guenther
2009-03-06 14:28:22 +01:00
Günther Deschner
2fcc921237 s4-smbtorture: fix s3 flavor rpc spoolss test.
Guenther
2009-03-06 14:28:17 +01:00
Günther Deschner
8e68eb2cc3 s4-smbtorture: fix RPC-SPOOLSS-WIN.
Guenther
2009-03-06 14:28:10 +01:00
Günther Deschner
47adaea11e s4-smbtorture: fix RPC-SPOOLSS test after enum out info pointer changes.
Guenther
2009-03-06 14:28:04 +01:00
Jelmer Vernooij
7ab8f373c8 Use common header file for character set handling in Samba 3 and Samba 4. 2009-03-01 22:24:34 +01:00
Jelmer Vernooij
94069bd274 s4: Use same function signature for convert_* as s3. 2009-03-01 19:55:46 +01:00
Jelmer Vernooij
9ffb6d2d9e Add allow_badcharcnv argument to all conversion function, for
consistency with Samba 3.
2009-03-01 06:33:40 +01:00
Jeremy Allison
9569d979de And the prize for the most pain caused in the build farm for a simple
typo goes to.....
Tim Prouty !!!!
Sorry Tim, nice test but you made a typo in passing in
the size of an array so we were reading uninitialized
memory :-).
That took far longer than it should have to track down...
(%$&#ing build system....).
The build farm should now slowly go back to normal.
Jeremy.
2009-02-27 20:57:49 -08:00
Jeremy Allison
bcadb77c18 Add another torture test inspired by George @ Apple.
Inside a directory, keep a file open and then renaming
the directory should fail with ACCESS_DENIED. This
is connected to the test case where the close was
failing due to a delayed write on a file not being
able to succeed when Samba allowed the containing
directory to be renamed.

I will fix this in the server shortly (this should be done
across connections also but with will be very hard
in Samba - would need a full scan of the open file
db on every directory rename) - so I will fix for
the local case first (scanning local file opens
inside an smbd is cheap).

Jeremy.
2009-02-26 10:13:57 -08:00
Günther Deschner
8bf0c256d7 s4-smbtorture: add test_AddJob test to RPC-SPOOLSS test.
Guenther
2009-02-25 23:48:29 +01:00
Günther Deschner
6cd30a351a s4-smbtorture: expand RPC-SPOOLSS enumform and getform tests for level 2 forms.
Guenther
2009-02-25 21:17:19 +01:00
Günther Deschner
666cc916eb s4-smbtorture: add test_GetPrintProcessorDirectory to RPC-SPOOLSS.
Guenther
2009-02-25 21:17:18 +01:00
Jeremy Allison
cde5724780 Added torture test from a usage case from the Apple OS/X client.
Setting an attribute on a stream fnum must change the attribute
on the base file.
Jeremy.
2009-02-24 17:32:22 -08:00
Günther Deschner
24373c16a5 s4-smbtorture: fix eventlog getinformation test.
Guenther
2009-02-21 21:13:59 +01:00
Zack Kirsch
2539d678f5 s4 torture: Add comment to clarify test 2009-02-20 16:42:50 -08:00
Steven Danneman
1a0aed36c0 Added torture tests to RAW-NOTIFY
* This adds a test to check the change notify behavior of the SMB server
  when more events have been generated than can be returned in a single
  change notify response.

* Second test makes sure the server doesn't return notification events
  for changes to the watched directory itself
2009-02-20 14:10:29 -08:00
Tim Prouty
6bac890533 s4 torture: Add new test to create a file with a lot of streams
This tests how streaminfo deals with large buffers

smbclient seems to have problems when the buffer size approaches the
max data size.  Also smbclient exposes no way to specify the max data
size that is sent in a trans2 request.  Instead it hardcodes in a much
larger max than windows uses.  For these reasons this test isn't
actually run, but is more of a reference for how windows handles
streaminfo buffers.
2009-02-18 23:48:35 -08:00
Tim Prouty
7a2c4acf86 s4 torture: Add additional streams create disposition test 2009-02-18 23:48:35 -08:00
Günther Deschner
cf5ba874de s4-smbtorture: enable spoolss_AddPrinterDriverEx ndr test.
Guenther
2009-02-18 20:35:48 +01:00
Günther Deschner
64cec99843 s4-smbtorture: fix spoolss test after count out,ref idl changes.
Guenther
2009-02-17 16:15:52 +01:00
Günther Deschner
2fde3d2bc4 s4-smbtorture: fix spoolss notify test.
Guenther
2009-02-17 00:32:28 +01:00
Günther Deschner
886c028e44 s4-smbtorture: fix test_PausePrinter and test_ResumePrinter.
Guenther
2009-02-14 01:21:21 +01:00
Aravind Srinivasan
4d83d3a286 s4 torture: Add rename test to imitate the way OS X renames files
This tests for mis-behaved case-insensitive get_real_filename
implementations.
2009-02-13 13:18:54 -08:00
Stefan Metzmacher
abb96e202b s4:torture/samba3rpc: fix the build after get_myname() changes
metze
2009-02-13 13:36:11 +01:00
Andrew Bartlett
0ccdb5f74a Remove useless invocation of messaging_init() in RPC-PAC test 2009-02-13 16:56:46 +11:00
Andrew Bartlett
71632a1697 Remove auth/ntlm as a dependency of GENSEC by means of function pointers.
When starting GENSEC on the server, the auth subsystem context must be
passed in, which now includes function pointers to the key elements.

This should (when the other dependencies are fixed up) allow GENSEC to
exist as a client or server library without bundling in too much of
our server code.

Andrew Bartlett
2009-02-13 10:24:16 +11:00
Günther Deschner
69b1550f7f s4-smbtorture: fix the build of the ndr spoolss tester.
Guenther
2009-02-11 23:36:43 +01:00
Zack Kirsch
4e1a4cbe1f s4 torture: Smbtorture additions for Windows BRL
- Adds a few new BRL tests to RAW-LOCK
- Adds a "win7" target to allow torture to handle protocol changes in
  windows 7
2009-02-11 12:23:52 -08:00
Zack Kirsch
307f4a66ac s4 torture: Two minor fixes to smbtorture BRL tests. 2009-02-11 12:23:32 -08:00
Tim Prouty
7eb097a66d s4 torture: Change nttransrename to use a normal access mask
batch9 already tests for stat-only opens
2009-02-10 19:35:33 -08:00
Günther Deschner
c1dbcd4cf8 s4-smbtorture: fix SPOOLSS test w.r.t. spoolss_ReplyOpenPrinter.
Guenther
2009-02-10 23:57:30 +01:00
Günther Deschner
b3b06a8b7b s4-smbtorture: fix test_EnumJobs in spoolss win test.
Guenther
2009-02-07 10:20:56 +01:00
Günther Deschner
6b19c39697 s4-smbtorture: fix valgrind warnings in RPC-SPOOLSS_WIN test.
Guenther
2009-02-07 00:46:09 +01:00
Günther Deschner
cd5a314b51 s4-smbtorture: fix test_GetPrinterData.
Guenther
2009-02-06 18:37:02 +01:00
Günther Deschner
afe300cb52 s4-smbtorture: fix spoolss enum tests.
Guenther
2009-02-06 17:36:10 +01:00
Günther Deschner
33d2507ba2 s4-smbtorture: fix test_EnumPrinterKey.
Guenther
2009-02-06 14:59:22 +01:00
Günther Deschner
88aaac39fa s4-smbtorture: fix test_EnumPrinterDataEx.
Guenther
2009-02-06 14:59:22 +01:00
Günther Deschner
8ddb81ca0a s4-smbtorture: fix test_GetPrinterDataEx.
Guenther
2009-02-06 14:59:22 +01:00
Günther Deschner
3954cd83aa s4-smbtorture: fix test_GetPrinterDriver2.
Guenther
2009-02-06 14:59:22 +01:00
Günther Deschner
99398e8768 s4-smbtorture: fix test_GetForm.
Guenther
2009-02-06 14:59:21 +01:00
Günther Deschner
d400de2ffa s4-smbtorture: fix test_DoPrintTest.
Guenther
2009-02-06 14:59:21 +01:00
Günther Deschner
6e1c008913 s4-smbtorture: fix test_DoPrintTest.
Guenther
2009-02-06 14:59:21 +01:00
Günther Deschner
0d4dbe6012 s4-smbtorture: fix test_GetPrinterDriverDirectory.
Guenther
2009-02-06 14:59:21 +01:00
Günther Deschner
b970eb791c s4-smbtorture: fix test_GetPrinter.
Guenther
2009-02-06 14:59:21 +01:00
Günther Deschner
8153916f4a s4-smbtorture: fix test_GetPrinter.
Guenther
2009-02-06 14:59:21 +01:00
Günther Deschner
22e2f220be s4-smbtorture: fix test_GetJob.
Guenther
2009-02-06 14:59:20 +01:00
Stefan Metzmacher
0fe9980fa0 LDAP-UPTODATEVECTOR: fix segfault against samba4 as server
metze
2009-02-05 17:48:08 +01:00
Günther Deschner
858116d54e s4-smbtorture: in eventlog readlog test, print all records in a buffer.
Guenther
2009-02-04 22:49:51 +01:00
Stefan Metzmacher
8b408f7819 s4:selftest: avoid hardcoded pathes in blackbox tests
metze
2009-02-03 16:31:04 +01:00