1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
Commit Graph

3961 Commits

Author SHA1 Message Date
Kamen Mazdrashki
30ac3caade s4/drs: Propagate drsuapi_DsReplicaGetInfoRequest... changes into source code 2010-02-24 14:14:08 +02:00
Kamen Mazdrashki
99db858b15 s4/drs: Propagate drsuapi_DsReplicaSync changes in source base 2010-02-24 14:14:07 +02:00
Kamen Mazdrashki
8747e695fe s4/drs: Propagate drsuapi_DsReplicaSyncRequest1 changes in source base 2010-02-24 14:14:07 +02:00
Günther Deschner
1b78573c2d s4-smbtorture: verify that the client cpu architecture has no influence on the
calculated buffer size in RPC-SPOOLSS.

Guenther
2010-02-24 11:43:20 +01:00
Steven Danneman
2523b20349 s4/torture/smb2: Add two new SMB2 compound tests
These tests server behavior when a client compounds both synchronous
and asynchronous requests.
2010-02-23 13:15:45 -08:00
Simo Sorce
1203de99b1 s4:schannel merge code with s3
After looking at the s4 side of the (s)channel :) I found out that it makes
more sense to simply make it use the tdb based code than redo the same changes
done to s3 to simplify the interface.

Ldb is slow, to the point it needs haks to pre-open the db to speed it up, yet
that does not solve the lookup speed, with ldb it is always going to be slower.

Looking through the history it is evident that the schannel database doesn't
really need greate expanadability. And lookups are always done with a single
Key. This seem a perfet fit for tdb while ldb looks unnecessarily complicated.

The schannel database is not really a persistent one. It can be discared during
an upgrade without causing any real issue. all it contains is temproary session
data.
2010-02-23 12:46:50 -05:00
Matthias Dieter Wallnöfer
6de98ba10b s4:torture/ldap/basic.c - add some "const"
In addition I removed a "talloc_free(req)" since we never free elsewhere the
requests explicitly and do it only indirectly with freeing the "conn" object
when the testsuite terminates.
2010-02-22 21:19:27 +01:00
Günther Deschner
ec0aa8a5c9 s4-smbtorture: more work on devicemode tests.
Guenther
2010-02-19 15:25:42 +01:00
Günther Deschner
0e95a6a09c s4-smbtorture: explain failure conditions in printer device mode tests a little more.
Guenther
2010-02-19 14:27:31 +01:00
Günther Deschner
f2ecec3dcd s4-smbtorture: add --option=torture:spoolss_check_size=yes.
This disables the size calculation comparison by default.

Guenther
2010-02-19 14:25:19 +01:00
Günther Deschner
299e5bc2ba s4-smbtorture: print more comments while running SD and DM tests in RPC-SPOOLSS-PRINTER.
Guenther
2010-02-19 14:24:18 +01:00
Günther Deschner
998a7b4e3f s4-smbtorture: skip printer info cross tests against samba 3 for now.
Not even w2k8r2 passes them atm.

Guenther
2010-02-18 01:49:02 +01:00
Günther Deschner
97d36377d3 s4-smbtorture: try more combinations to find printers in test_EnumPrinters_findname().
Also take a note of servers returning full UNC printer paths although we did not
set the servername.

Guenther
2010-02-18 01:48:52 +01:00
Günther Deschner
a1ba72f84c s4-smbtorture: simplify test_PrinterInfo_DevMode a bit.
Guenther
2010-02-18 01:48:45 +01:00
Günther Deschner
57847c2fee s4-smbtorture: avoid potential loop while adding a new printer in RPC-SPOOLSS-PRINTER.
Guenther
2010-02-18 01:48:36 +01:00
Anatoliy Atanasov
0e8fe821c9 s4/drs:kccdrs_replica_get_info_obj_metadata implementation
Fix the names of the drsuapi_DsReplicaInfoType enum and rebuild the .idl
The get_info_obj_metadata implementation is ported from implementation
i developed and tested at the samba io lab 2009
2010-02-17 18:03:31 +02:00
Günther Deschner
3a9dc490b4 s4-smbtorture: unify test list to run against single created printers in RPC-SPOOLSS-PRINTER.
This is to make sure we run the same tests for printers created via AddPrinter
and via AddPrinterEx.

Guenther
2010-02-17 11:29:37 +01:00
Günther Deschner
b32c1e2975 s4-smbtorture: also test level 2 sets for devicemodes and see if they persist.
Guenther
2010-02-17 11:29:37 +01:00
Günther Deschner
ff5bfb9708 s4-smbtorture: refactor setprinter devicemode calls in RPC-SPOOLSS-PRINTER.
Guenther
2010-02-17 11:29:36 +01:00
Günther Deschner
020c8df281 s4-smbtorture: fix spoolss SD test against w2k8r2.
Guenther
2010-02-16 10:47:05 +01:00
Günther Deschner
41bb8767a2 s4-smbtorture: more work on test_PrinterInfo_DevMode RPC-SPOOLSS-PRINTER.
Guenther
2010-02-16 09:22:35 +01:00
Günther Deschner
1e59e5d8c9 s4-smbtorture: allow to call OpenPrinterEx with devicemode.
Guenther
2010-02-16 09:20:25 +01:00
Erick Nogueira do Nascimento
23d1dd5189 s4-drs: DsGetReplInfo() refactoring 2010-02-16 08:34:28 +11:00
Günther Deschner
bb05595b0a s4-smbtorture: more work on SD tests for RPC-SPOOLSS.
Guenther
2010-02-15 22:17:01 +01:00
Günther Deschner
71cfcee6ba s4-smbtorture: add rather simple spoolss device mode test.
Guenther
2010-02-15 22:16:25 +01:00
Günther Deschner
a6192d766f s4-smbtorture: use test_SetPrinter call in spoolss security descriptor tests.
Guenther
2010-02-15 22:15:33 +01:00
Günther Deschner
cdf2f6b672 s4-smbtorture: w2k8r2 allows to add printers w/o defining printprocessor.
Guenther
2010-02-15 22:12:55 +01:00
Günther Deschner
72f250ac16 s4-smbtorture: add some security descriptor tests to RPC-SPOOLSS and RPC-SPOOLSS-PRINTER.
Guenther
2010-02-15 11:08:16 +01:00
Kai Blin
b99d9f86e4 libwbclient: Separate out the async functions 2010-02-13 14:30:36 +01:00
Andrew Tridgell
700f464951 s4-torture: use TYPESAFE_QSORT() in smbtorture 2010-02-13 22:36:12 +11:00
Andrew Tridgell
91cb7b7c60 test:local added LOCAL-DLINKLIST testsuite
(cherry picked from commit 95a5bee2c30a67a35604b0456ab7836f6dc67702)
2010-02-10 15:55:34 -08:00
Günther Deschner
f8778ba8f4 s4-smbtorture: use test_GetPrinter_level in RPC-SPOOLSS-NOTIFY.
Guenther
2010-02-10 01:00:25 +01:00
Andrew Tridgell
580f955664 s4-torture: allow host-only in unc lists in smbtorture
Allow UNC lists like this:

 192.168.2.1
 192.168.2.2
 192.168.2.3

the share name will be taken from the command line
2010-02-09 14:46:09 +11:00
Günther Deschner
aa72950b3d s4-smbtorture: skip over ValidatePassword if DCERPC error is returned.
Guenther
2010-02-08 14:31:16 +01:00
Andrew Tridgell
f692c6dbc4 s4-torture: more useful error message in SMB2-DIR 2010-02-08 11:05:00 +11:00
Andrew Tridgell
6cf5bdd3d3 s4-torture: handle NT_STATUS_CONNECTION_RESET
a CONNECTION_RESET is now the normal "client disconnect" status code
2010-02-04 21:22:43 +11:00
Matt Kraai
d8071e7ed7 Change uint_t to unsigned int in source4
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-02-02 07:18:18 +01:00
Stefan Metzmacher
e3aeea29a4 s4:NBT-WINSREPLICATION: don't mark a local variable as static
This was somehow introduced in commit 8773e743c5.

metze
2010-02-02 07:18:15 +01:00
Stefan Metzmacher
431d75fc9c s4:NBT-WINS: test large scopes
metze
2010-02-01 15:32:38 +01:00
Stefan Metzmacher
70779a46a7 s4:NBT-WINS: pass the expected rcode of the name registration to the test code
metze
2010-02-01 15:32:36 +01:00
Stefan Metzmacher
c1d8dc01fc s4:NBT-WINSREPLICATION: test replication with names including scopes
metze
2010-02-01 15:23:35 +01:00
Stefan Metzmacher
331505f09d s4:NBT-WINSREPLICATION: fix compiler warnings
metze
2010-02-01 15:23:34 +01:00
Stefan Metzmacher
07b06e51bb s4:NBT-WINSREPLICATION: use an array of nbt_names to loop over different names
metze
2010-02-01 15:23:33 +01:00
Günther Deschner
42f5125521 s4-smbtorture: check for RouterReplyPrinterEx packets inside backchannel in RPC-SPOOLSS-NOTIFY.
Guenther
2010-01-31 21:00:00 +01:00
Günther Deschner
0c6aae4d53 s4-smbtorture: also test RouterRefreshPrinterChangeNotify call in RPC-SPOOLSS-NOTIFY.
Guenther
2010-01-31 20:59:56 +01:00
Günther Deschner
377abba0e9 s4-smbtorture: rework spoolss_NotifyOption handling in RPC-SPOOLSS-NOTIFY.
Guenther
2010-01-31 20:49:53 +01:00
Kamen Mazdrashki
2dc56d68fa s4/ldap: Test to expoit ldb_ildap bug in case of nested search requests
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-01-29 14:09:53 +01:00
Günther Deschner
0e2d1cf9c4 s4-smbtorture: pick correct last packet while checking backchannel replies in RPC-SPOOLSS-NOTIFY.
Guenther
2010-01-27 15:04:00 +01:00
Michael Adam
098fc8c09c s4:torture: refactor querying of domain info out into test_QueryDomainInfo2_level()
Used in several places.

(Note: The _level suffix in the function name is just because
test_QueryDomainInfo2() already exists as an overall test for all levels.)

Michael

Signed-off-by: Günther Deschner <gd@samba.org>
2010-01-27 11:24:42 +01:00
Michael Adam
0a33b20f70 s4:torture: create new test_SetDomainInfo_ntstatus()
for checking for SetDomainInfo giving a desired return code.

Michael

Signed-off-by: Günther Deschner <gd@samba.org>
2010-01-27 11:24:42 +01:00