Günther Deschner
b7683a2c9d
samr: for correctness, rename samr_RidTypeArray to samr_RidAttrArray.
...
Guenther
Autobuild-User: Günther Deschner <gd@samba.org>
Autobuild-Date: Thu Oct 7 12:04:32 UTC 2010 on sn-devel-104
2010-10-07 12:04:32 +00:00
Günther Deschner
156ab4ec10
s4-smbtorture: add new EnumPrinters test to test printername/servername
...
behaviour in EnumPrinter and GetPrinter calls.
Guenther
2010-09-30 02:59:35 +02:00
Günther Deschner
93d7230d25
s4-smbtorture: rework spoolss_EnumPrintProcDataTypes test.
...
Guenther
2010-09-28 01:17:13 +02:00
Günther Deschner
a335848a88
s4-smbtorture: rework test_EnumPrintProcessors to let it test more combinations.
...
Guenther
2010-09-28 01:17:09 +02:00
Matthias Dieter Wallnöfer
b6eb1b2072
s4:torture/rpc/netlogon.c - remove the dependency on "samdb_server_site_name"
...
Since this one relies on the right server loadparm context which we aren't able
to provide over torture.
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-09-24 09:25:42 +10:00
Günther Deschner
a1ced10196
s4-smbtorture: print out membership in RPC-SPOOLSS-ACCESS.
...
Guenther
2010-09-22 12:24:29 -07:00
Günther Deschner
c201e494c4
s4-smbtorture: print SVCCTL security descriptor in test_QueryServiceObjectSecurity().
...
Guenther
2010-09-20 17:41:18 -07:00
Günther Deschner
f12756b5ac
s4-smbtorture: add test_SetServiceObjectSecurity() to RPC-SVCCTL.
...
Guenther
2010-09-20 08:37:05 +02:00
Björn Jacke
2b254c814b
s3/s4: merge msleep and smb_msleep
...
the merged variant is renamed to smb_msleep as some platforms already have a
msleep function.
2010-09-16 21:38:20 +02:00
Günther Deschner
73edd661ea
s4-smbtorture: try to fix spoolss winreg Form tests on bigendian machines.
...
Guenther
2010-09-14 15:27:38 +02:00
Matthias Dieter Wallnöfer
eaa55b4123
s4:torture/rpc/samr.c - fix typos in outputs
2010-09-12 22:10:06 +02:00
Matthias Dieter Wallnöfer
55598c4746
s4:torture/rpc/winreg.c - hopefully this attempt fixes Solaris "cc" on the buildfarm
...
The Solaris "cc" incompatiblity on this codepart seems to be harder to fix than
it looks like.
2010-09-10 20:20:26 +02:00
Günther Deschner
cf76cf0299
s4-smbtorture: add spoolss_OpenPrinter with unc and printername in RPC-SPOOLSS-PRINTSERVER.
...
Guenther
2010-09-10 00:26:25 +02:00
Matthias Dieter Wallnöfer
ad25264dd7
s4:torture/rpc/winreg.c - restore Solaris cc compatibility
...
"static const struct"s need to be global in order to work with Solaris cc.
2010-09-09 21:26:43 +02:00
Kamen Mazdrashki
118df599ce
s4-drs-test: Add 'reset' and 'replace' tests for drsuapi_DsReplicaUpdateRefs
...
At first I got the impression we are not handling those cases,
but after those tests surprisingly passed I saw that
we have correct behavior implemented in a helper function.
So I decided to commit those tests in case someone change the
strange-looking check for DRSUAPI_DRS_ADD_REF flag in
a function that handles delete operation :)
2010-09-09 18:26:51 +03:00
Jelmer Vernooij
3c25067724
dsgetinfo: Set modulesdir when using ldb without ldb_wrap
...
(Is there a particular reason we're not using ldb_wrap here?)
2010-09-05 00:58:41 +02:00
Andrew Tridgell
389d35708e
torture-lsa: cope with STATUS_SOME_UNMAPPED errors
...
Now that we support SePrintOperatorPrivilege, an interaction between
the spoolss tests and the privileges tests cause a failure. The
failure happens like this:
- the spoolss.access test creates and then deletes an account with
SePrintOperatorPrivilege privilege
- this leaves the privileges database with an entry for a deleted
account that is still visible via LSA calls. This is correct
behaviour (verified against w2k8r2)
- the lsa.privileges test then enumerates all accounts that have at
least one privilege, and gets the SID for the deleted account
- it then called LookupNames and LookupSids on this deleted account,
and gets an error.
The fix is to not call LookupSids and LookupNames on sids which have
SID_NAME_UNKNOWN as the type
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-09-04 12:29:10 +10:00
Matthias Dieter Wallnöfer
ef334b95fa
s4:torture/rpc/winreg.c - set "error_message" to NULL in "test_HKLM_wellknown"
...
Hopefully this fixes the build on Solaris 8.
2010-08-27 19:20:21 +02:00
Matthias Dieter Wallnöfer
e736ace470
s4:torture/spoolss_access.c - fix discarded const warning
...
"discard_const_p" seems the most appropriate here.
2010-08-27 19:19:46 +02:00
Sumit Bose
896f3c8a49
s4-smbtorture: Added a torture test for forest trusts
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-08-25 13:48:22 +02:00
Sumit Bose
75e334fb61
s4-smbtorture: Make test_SetupCredentials3 public
...
Signed-off-by: Günther Deschner <gd@samba.org>
2010-08-25 13:46:30 +02:00
Sumit Bose
18b0a52b89
Fix RPC-LSA-TRUSTED-DOMAINS for changed IDL
2010-08-25 13:27:50 +02:00
James Peach
21fe753303
smbtorture: Ensure that the RPC setup returns correct status.
2010-08-17 20:19:17 -07:00
Günther Deschner
dba68d8452
Revert "s4:RPC-SPOOLSS-NOTIFY: skip test_RFFPCNEx() for now, as the test is broken"
...
This reverts commit 8ca8250443
.
2010-08-16 12:23:14 +02:00
Matthias Dieter Wallnöfer
4f6377043d
s4:torture/rpc/samr.c - fix a wrong torture error message
2010-08-14 18:48:19 +02:00
Kamen Mazdrashki
c30f9bd734
s4-test: Move RPC-DSSYNC test in DRS-RPC test suite
2010-08-11 00:18:14 +03:00
Kamen Mazdrashki
da074f10e3
s4-test: Move dssync.c to torture/drs/rpc
2010-08-11 00:18:13 +03:00
Kamen Mazdrashki
f3c06892ec
s4-test: strip trailing white-spaces
2010-08-11 00:18:13 +03:00
Stefan Metzmacher
8ca8250443
s4:RPC-SPOOLSS-NOTIFY: skip test_RFFPCNEx() for now, as the test is broken
...
See https://bugzilla.samba.org/show_bug.cgi?id=7486 .
metze
2010-08-08 11:05:17 +02:00
Andreas Schneider
91a8d9bc9b
s3-torture: Improve the winreg deletekey torture comments.
2010-08-05 16:11:28 +02:00
Andreas Schneider
2a15f7008c
s3-torture: Correctly cleanup the winreg volatile key test.
...
Günther please check!
2010-08-05 16:11:19 +02:00
Andreas Schneider
0a8e382d73
s4-torture: Fixed the winreg EnumValue test against Windows.
...
Günther please check!
2010-08-05 16:11:01 +02:00
Günther Deschner
6463281f36
s4-smbtorture: remove another old and now invalid s3 special case during spoolss testing.
...
Guenther
2010-08-02 16:10:06 +02:00
Stefan Metzmacher
b99a02a7d4
s4:torture/rpc/winreg: fix "strict aliasing" compiler warnings
...
metze
2010-08-01 11:18:05 +02:00
Stefan Metzmacher
c7ba3c4dcf
s4:torture/rpc/winreg: fix the build with non gcc compilers (e.g. on solaris)
...
metze
2010-08-01 11:17:14 +02:00
Matthias Dieter Wallnöfer
1b7029b47b
s4:torture/winreg.c - fix warnings of Solaris 10 cc through the appropriate casts
2010-07-31 20:59:02 +02:00
Matthias Dieter Wallnöfer
380b2cb4b0
s4:torture/winreg.c - remove unreachable code
2010-07-31 20:58:47 +02:00
Matthias Dieter Wallnöfer
f0c4a1aff4
s4:torture/winreg.c - add a FIXME comment on a codepart which isn't standard C-compatible
...
It seems to be GCC specific since it doesn't compile on Solaris 10 cc:
http://build.samba.org/?function=View+Build;host=sunX;tree=samba_4_0_waf;compiler=cc
2010-07-31 20:57:18 +02:00
Günther Deschner
a6e1fa23ad
s4-smbtorture: remove ifdefed symlink test, this is already skipped internally
...
in the s3 case.
Guenther
2010-07-30 11:24:23 +02:00
Günther Deschner
89071133e3
Revert "s4-torture: Disable setting REG_BINARY printer data with size 0."
...
This reverts commit 104c419345
.
2010-07-30 11:23:06 +02:00
Kamen Mazdrashki
39d287ec67
s4-test: Expand DSSYNC test to be executed against all partitions
...
It is still possible to supply specific partition
to test with on command line using
--option="dssync:partition={PARTITION_DN}"
2010-07-29 00:53:49 +03:00
Kamen Mazdrashki
bd6f77ee0b
s4-test-dssync: Issue warning in case we have diffrences in link attributes
...
In case differences in messages are:
1. Attributes with different values, i.e. 'replace'
2. Those attributes are back-link attributes
then we just warn about those differences.
It turns out windows doesn't send all values for back-link
attributes in replicated_object but in linked_attributes.
I consider this as workaround for the problem.
A better solution might be to merge linked_attribute values
into replacted_objects before comparing those with LDB result
(although this will work for Win2k8 and latter)
2010-07-29 00:53:49 +03:00
Kamen Mazdrashki
5bf54f17bd
s4-test: Simplify test_GetInfo() - we have what we need through LDB connection
...
we have already opened.
Added 'config_dn' and 'schema_dn' members which are to be used
later for extending the test_FetchData() to be executed
against every partition in case partition is not specified explicitly.
DsSyncText.site_name was removed also as it is not used anymore
2010-07-29 00:53:49 +03:00
Andreas Schneider
8fe6813ca0
s4-torture: Enable tests with keynames including a slash.
...
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27 10:27:15 -04:00
Andreas Schneider
3f68a39458
Revert "s4-smbtorture: skip driverName and printerName DsSpooler tests for now."
...
This reverts commit 23eb2888d9
.
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27 10:27:14 -04:00
Andreas Schneider
104c419345
s4-torture: Disable setting REG_BINARY printer data with size 0.
...
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27 10:27:06 -04:00
Kamen Mazdrashki
91d9f88d28
s4-test: Use ldb_msg_normalize() in torture/rpc/dssync.c test
...
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-07-19 17:33:35 +10:00
Kamen Mazdrashki
148b8588bc
s4-test: Use ldb_msg_difference() in torture/rpc/dssync.c test
...
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-07-19 17:33:33 +10:00
Günther Deschner
3b0c87cf31
s4-smbtorture: run all testcases with bigendian push as well in RPC-BIND.
...
Guenther
2010-07-16 22:47:30 +02:00
Günther Deschner
1c7d089904
s4-smbtorture: rearrange testlist in RPC-BIND.
...
Guenther
2010-07-16 22:47:30 +02:00