Matthias Dieter Wallnöfer
a21b49bb38
s4:torture/rpc/samr - Fix up SAMR-USERS test
...
"QueryDomainInfo" returns only global groups, "QueryDisplayInfo" also universal
ones. Consider MS-SAMR 3.1.5.5.1.1 and 3.1.5.3.1.
2010-03-03 17:45:58 +01:00
Matthias Dieter Wallnöfer
051eb0b575
s4:torture/rpc/samr - enhance the "EnumDomainGroups" test regarding universal groups
...
Find the "Enterprise Admins" group which does exist on s4 and Windows
directories and is always per default universal. Test this only when the target
is set to s4 (s3 deployments don't contain this group). If the number of
returned objects is "0" (count) then we are likely testing the builtin domain of
an AD deployment.Then we ignore the inexistent "Enterprise Admins" group.
I didn't enhance the test for "QueryDomainInfo" since this does itself a
comparison of all returned objects with the "EnumDomainGroups" call. Therefore
if the latter passes, and the "QueryDomainInfo" test passes also the
"QueryDomainInfo" call is okay regarding groups.
2010-03-03 17:20:01 +01:00
Stefan Metzmacher
522e4f3d2b
s4:RPC-ECHO: don't ignore errors in the Sleep test now that we support async rpc over ncacn_np
...
metze
2010-03-01 18:45:21 +01:00
Stefan Metzmacher
719cecba84
s4:RPC-NETLOGON: remove useless rpc callback
...
If we got a failure from one request we bail out early.
metze
2010-03-01 16:11:58 +01:00
Stefan Metzmacher
22b1e0bf32
s4:RPC-ECHO: don't look at the internals of 'struct rpc_request'
...
metze
2010-03-01 16:11:57 +01:00
Stefan Metzmacher
c84b4b23c8
s4:torture/rpc: make use of explicit dcerpc_*_recv functions
...
metze
2010-03-01 16:11:55 +01:00
Günther Deschner
1a64d3cbc6
s4-smbtorture: add stricter SetPrinterDataEx tests to spoolss tests.
...
Guenther
2010-03-01 15:22:29 +01:00
Günther Deschner
4f6634e56d
s4-smbtorture: add test_SetPrinterDataEx to RPC-SPOOLSS-PRINTER.
...
Guenther
2010-03-01 15:22:29 +01:00
Günther Deschner
74c7c1cc7f
s4-smbtorture: return needed size pointer from test_GetPrinterDataEx.
...
Guenther
2010-03-01 15:22:29 +01:00
Günther Deschner
e76b8a0700
s4-smbtorture: test at least three different regtypes in test_SetPrinterDataEx.
...
Guenther
2010-03-01 15:22:29 +01:00
Stefan Metzmacher
9ada48ffdb
s4:torture/rpc: use generate_random_password()
...
metze
2010-02-26 08:57:29 +01:00
Stefan Metzmacher
525a1fe775
s4:RPC-DSSYNC: pass the ip address to the cldap code instead of a name
...
metze
2010-02-26 13:22:12 +11:00
Stefan Metzmacher
3751485c84
s4:torture: use a connected CLDAP socket.
...
This is needed because we don't (want) to specify an explicit
local address. And the socket family (ipv4 vs. ipv6) needs to
be autodetected based on the remote address before the
socket() syscall.
Otherwise we would try to connect to a ipv4 address through an
ipv6only socket.
metze
2010-02-26 13:22:12 +11:00
Günther Deschner
8ee516eb9e
s4-smbtorture: define environment in one place in RPC-SPOOLSS test.
...
Guenther
2010-02-25 19:10:43 +01:00
Günther Deschner
d6cb1cc85f
s4-smbtorture: try to set every single devicemode component in RPC-SPOOLSS-PRINTER.
...
Guenther
2010-02-25 13:13:57 +01:00
Günther Deschner
bbdd1412b2
s4-smbtorture: move ChangeID test to the list of tests we run against created printers.
...
Guenther
2010-02-25 13:13:33 +01:00
Kamen Mazdrashki
83007e06c1
s4/drs: Propagate drsuapi_DsReplicaGetInfoRequest2 changes in source code
2010-02-24 14:14:09 +02:00
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
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
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
Günther Deschner
f8778ba8f4
s4-smbtorture: use test_GetPrinter_level in RPC-SPOOLSS-NOTIFY.
...
Guenther
2010-02-10 01:00:25 +01:00
Günther Deschner
aa72950b3d
s4-smbtorture: skip over ValidatePassword if DCERPC error is returned.
...
Guenther
2010-02-08 14:31:16 +01: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
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
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