Matthias Dieter Wallnöfer
2780a18a9f
s4:torture - GetAnyDCName - adaptions
...
- Check for the various domainname set modes (on NULL and "" the domain should
be the default domain on the server)
- support return value "WERR_NO_SUCH_DOMAIN" (the server is the PDC of the
domain)
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-04-27 15:24:41 +10:00
Matthias Dieter Wallnöfer
cf93634ec5
s4:torture - DsRAddressesToSitenames - enhance the testsuite
...
This shows the Windows behaviour of these two calls which we should match.
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-04-27 15:24:41 +10:00
Günther Deschner
aae716d044
s4: fix some build warnings.
...
Guenther
2010-04-26 22:53:00 +02:00
Günther Deschner
1983d0dde7
s4: use generated rap header.
...
Guenther
2010-04-26 22:52:59 +02:00
Günther Deschner
1ede2a0577
s4: rename RAP share_enum_info to share_info.
...
Guenther
2010-04-26 22:52:45 +02:00
Günther Deschner
6beec1a04d
s4-smbtorture: skip tests when no local driver directory is around.
...
Guenther
2010-04-23 13:52:19 +02:00
Günther Deschner
ca0e5ea833
s4-smbtorture: use server_name for all printerdriver delete and enum operations.
...
With this s3 passes the RPC-PRINTER-DRIVER test.
Guenther
2010-04-23 11:41:25 +02:00
Günther Deschner
4be5d59c4f
s4-smbtorture: allow to upload or remove any file belonging to a driver.
...
Guenther
2010-04-23 11:41:24 +02:00
Günther Deschner
587921b7da
s4-smbtorture: fix test_EnumPrinterDrivers_findone().
...
Guenther
2010-04-23 03:03:59 +02:00
Günther Deschner
20133cfe56
s4-smbtorture: samba currently supports level 3 and 6 driver adds.
...
Guenther
2010-04-23 02:49:42 +02:00
Günther Deschner
f6bdfd9423
s4-smbtorture: test both 32bit and 64bit driver uploads in RPC-SPOOLSS-DRIVER.
...
Guenther
2010-04-23 02:16:59 +02:00
Günther Deschner
74592f47f5
s4-smbtorture: allow to upload and later remove printer driver files in RPC-SPOOLSS-DRIVER.
...
Guenther
2010-04-23 02:16:28 +02:00
Günther Deschner
29775e39b1
s4-smbtorture: add RPC-SPOOLSS-DRIVER test.
...
Guenther
2010-04-23 02:16:09 +02:00
Günther Deschner
431faed5f4
s4-smbtorture: rework EnumPrinterDrivers tests a bit.
...
Guenther
2010-04-23 02:15:13 +02:00
Andrew Tridgell
ec3d1de61d
s4-torture: fixed a initialiser
...
we were not initialising the whole array
Pair-Programmed-With: Rusty Russell <rusty@samba.org>
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-04-22 19:36:16 +10:00
Andrew Tridgell
2edff9f5ff
s4-drs: accept zero revision in drs selftest
...
Kamen, please have a look at this. We need to accept revision zero as
w2k8r2 sends it during initial schema replication
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-04-21 13:35:56 +10:00
Günther Deschner
6bf4dbb955
s4-smbtorture: add spoolss DriverInfo and winreg consistency test.
...
Guenther
2010-04-20 20:02:53 +02:00
Günther Deschner
0833c9639e
s4-smbtorture: add function to get a printserver's environment.
...
Guenther
2010-04-20 19:29:12 +02:00
Günther Deschner
545ef2ca76
s4-smbtorture: simplify macros used in PrinterInfo winreg consistency teste.
...
Guenther
2010-04-20 18:16:03 +02:00
Günther Deschner
e647b8c61f
s4-smbtorture: refactor test_GetPrinterDriver2().
...
Guenther
2010-04-20 17:01:48 +02:00
Günther Deschner
4f5298cbb4
s4-smbtorture: add test for csetprinter field behaviour in printer info level 0.
...
Suprisingly, that value is always 0 (at least on w2k8r2).
Guenther
2010-04-20 14:34:55 +02:00
Matthias Dieter Wallnöfer
39d612ff4c
s4:torture/rpc/netlogon.c - fix typo
2010-04-20 09:01:22 +02:00
Andrew Tridgell
211bf1ea17
s4-waf: removed the unused installdir= option to SAMBA_BINARY()
...
This was left over from the automatic conversion of the config.mk
files
2010-04-18 21:47:00 +10:00
Stefan Metzmacher
279bf89fb3
s4:torture/rpc/countcalls: check for NT_STATUS_IS_RPC() instead of NT_STATUS_NET_WRITE_FAULT
...
metze
2010-04-15 17:32:31 +02:00
Stefan Metzmacher
e9d4f1578c
s4:torture/rpc/autoidl.c: check for NT_STATUS_RPC_* instead of p->last_fault_code
...
metze
2010-04-15 09:34:06 +02:00
Stefan Metzmacher
51f7b1382b
s4:torture/rpc/dsgetinfo.c: check for NT_STATUS_RPC_ENUM_VALUE_OUT_OF_RANGE instead of DCERPC_FAULT_INVALID_TAG
...
metze
2010-04-15 09:34:06 +02:00
Stefan Metzmacher
c85884ecc8
s4:torture/rpc/spoolss.c: check for NT_STATUS_RPC_* instead of p->last_fault_code
...
metze
2010-04-15 09:34:06 +02:00
Stefan Metzmacher
98464853f4
s4:torture/rpc/scanner.c: check for NT_STATUS_RPC_* instead of p->last_fault_code
...
metze
2010-04-15 09:34:05 +02:00
Stefan Metzmacher
2aba845816
s4:torture/rpc/samr.c: check for NT_STATUS_RPC_PROCNUM_OUT_OF_RANGE instead of DCERPC_FAULT_OP_RNG_ERROR
...
metze
2010-04-15 09:34:05 +02:00
Stefan Metzmacher
6f4218a4aa
s4:torture/rpc/drsuapi.c: check for NT_STATUS_RPC_ENUM_VALUE_OUT_OF_RANGE instead of DCERPC_FAULT_INVALID_TAG
...
metze
2010-04-15 09:34:05 +02:00
Stefan Metzmacher
1864cd8fa7
s4:torture/rpc/countcalls.c: check for NT_STATUS_RPC_PROCNUM_OUT_OF_RANGE instead of DCERPC_FAULT_OP_RNG_ERROR
...
metze
2010-04-15 09:34:05 +02:00
Stefan Metzmacher
0cc24f2f9b
s4:torture/rpc/alter_context: check for NT_STATUS_RPC_PROTOCOL_ERROR instead of DCERPC_NCA_S_PROTO_ERROR
...
metze
2010-04-15 09:34:05 +02:00
Stefan Metzmacher
cf9d425e3d
s4:torture/rpc/dssync.c: check for NT_STATUS_RPC_PROCNUM_OUT_OF_RANGE instead of DCERPC_FAULT_OP_RNG_ERROR
...
metze
2010-04-15 09:34:04 +02:00
Stefan Metzmacher
de94672fe0
s4:torture/rpc/alter_context.c: check for NT_STATUS_RPC_BAD_STUB_DATA instead of NT_STATUS_NET_WRITE_FAULT
...
metze
2010-04-15 09:34:04 +02:00
Stefan Metzmacher
bb4a958c6d
s4:torture/rpc/handles.c: check for NT_STATUS_RPC_SS_CONTEXT_MISMATCH instead of DCERPC_FAULT_CONTEXT_MISMATCH
...
metze
2010-04-15 09:34:04 +02:00
Stefan Metzmacher
34a6350715
s4:torture/rpc/lsa.c: test for NT_STATUS_RPC_SS_CONTEXT_MISMATCH instead of NT_STATUS_NET_WRITE_FAULT
...
metze
2010-04-15 09:34:04 +02:00
Stefan Metzmacher
c0736c70d6
s4:torture/rpc: don't look at p->last_fault_code for debugging anymore
...
metze
2010-04-15 09:34:03 +02:00
Stefan Metzmacher
e1e2195a4a
s4:torture/rpc: rename rpc.h => torture_rpc.h
...
The reason for this is that some systems include
<rpc/rpc.h> from within system headers. HP-UX 11.00
does so somewhere deep inside of <shadow.h>.
For torture/winbind/struct_based.c <rpc/rpc.h> resolves
to torture/rpc/rpc.h and breaks the build.
metze
2010-04-14 20:27:11 +02:00
Stefan Metzmacher
bc6a43aeb4
s4:torture/rpc/winreg: fix compiler warnings
...
metze
2010-04-14 12:01:30 +02:00
Stefan Metzmacher
d0180570b3
s4:torture/rpc/dsgetinfo: first check the rpc layer status before looking at the application result
...
metze
2010-04-14 12:01:30 +02:00
Matthias Dieter Wallnöfer
7d5a8c3506
s4:torture/netlogon - enhance test for "dcesrv_netr_DsRGetDCNameEx2"
...
Test for right domainname handling.
2010-04-13 15:26:55 +02:00
Stefan Metzmacher
4cff89a585
s4:tortore/rpc/spoolss: some compilers don't like .foo.bar = 5
...
metze
2010-04-13 09:55:56 +02:00
Matthias Dieter Wallnöfer
ad9e407357
Revert "s4:prefer "samdb_*_dn" basedn calls over the "ldb_get_*_dn" functions"
...
We should use the "ldb_get_*_basedn" calls since they are available in the LDB
library.
2010-04-13 08:55:15 +02:00
Matthias Dieter Wallnöfer
978a2d26b4
s4:torture/ldap/ldap_sort.c - There should be used the "base_dn" not the "root_dn" for the sort test
...
The (forest) "root_dn" hasn't always to be the same as the (domain) "base_dn"!
2010-04-12 18:49:00 +02:00
Stefan Metzmacher
9ef235ed0a
s4:tortore/rpc/spoolss.c: fix declaration after code warning
...
metze
2010-04-12 16:18:11 +02:00
Matthias Dieter Wallnöfer
1d3b00bfd7
s4:dbspeed torture - improve also the TDB code part
...
Always use the label "failed" on failures, always close the database context
(child of "tmp_ctx") when deleting database file.
2010-04-11 21:49:02 +02:00
Matthias Dieter Wallnöfer
1fd6d9cd66
s4:dbspeed torture - remove unneeded newlines on "torture_result"
...
According to Jelmer's post on the technical list.
2010-04-11 21:49:02 +02:00
Jelmer Vernooij
b65c8d0505
s4: Fix more test results to not conflict with subunit commands.
2010-04-11 20:57:33 +02:00
Jelmer Vernooij
3a34b5f35e
subunit: Remove more test output that could be interpreted by subunit.
2010-04-11 20:57:33 +02:00
Jelmer Vernooij
7da94cc4a6
subunit: Support formatting compatible with upstream subunit, for consistency.
...
Upstream subunit makes a ":" after commands optional, so I've fixed any
places where we might trigger commands accidently. I've filed a bug
about this in subunit.
2010-04-11 20:57:33 +02:00