summaryrefslogtreecommitdiff
path: root/source4/torture/rpc
AgeCommit message (Collapse)AuthorFilesLines
2011-01-20s4-auth Remove special case for account_sid from auth_serversupplied_infoAndrew Bartlett1-12/+8
This makes everything reference a server_info->sids list, which is now a struct dom_sid *, not a struct dom_sid **. This is in keeping with the other sid lists in the security_token etc. In the process, I also tidy up the talloc tree (move more structures under their logical parents) and check for some possible overflows in situations with a pathological number of sids. Andrew Bartlett
2011-01-18s4-torture Remove unused temp dirs from the RPC-PAC test.Andrew Bartlett1-9/+0
The code previously required the creation of a messaging context, but this isn't done any more, so we don't need the tmp dir to put it in. Andrew Bartlett
2011-01-04s4-smbtorture: check driver_version equality as well.Günther Deschner1-0/+2
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Tue Jan 4 11:22:09 CET 2011 on sn-devel-104
2011-01-04s4-smbtorture: always setup full driver level 8 in test_add_driver_arg().Günther Deschner1-6/+13
Guenther
2011-01-04s4-smbtorture: in test_GetDriverInfo_winreg() always test level 6 for samba3 asGünther Deschner1-7/+2
well. Guenther
2011-01-04s4-smbtorture: setup help and dependent files in spoolss driver unc path tests.Günther Deschner1-0/+8
Guenther
2011-01-04s4-smbtorture: fix DriverDate and DriverVersion comparison checks against w2k3.Günther Deschner1-0/+2
Guenther
2011-01-04s4-smbtorture: add more tests for driver_dates.Günther Deschner1-0/+39
Guenther
2010-12-22s4-smbtorture: always skip addprinter{ex} level 1 tests for now.Günther Deschner1-4/+6
Guenther
2010-12-22s4-smbtorture: fix expected driver date REG_SZ string.Günther Deschner1-0/+5
This resolves the "WARNING!: ../torture/rpc/spoolss.c:4688: str was 01/01/1601, expected 01/01/1970: "DriverDate" - driver_date mismatch" warnings. Guenther
2010-12-22s4-smbtorture: check the returned driver date is equal to the one we passed in.Günther Deschner1-0/+4
Guenther
2010-12-22s4-smbtorture: interesting, DriverDate and DriverVersion are different in ↵Günther Deschner1-2/+25
w2k3 and w2k8r2. While in w2k8 they are REG_SZ date or numerical strings, they are 8 byte REG_BINARY blobs in w2k3. Guenther
2010-12-20s4-smbtorture: run the winreg tests also against an added driver.Günther Deschner1-0/+19
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Mon Dec 20 14:31:43 CET 2010 on sn-devel-104
2010-12-17s4-smbtorture: allow to call test_GetDriverInfo_winreg without printer handle.Günther Deschner1-11/+30
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri Dec 17 17:35:21 CET 2010 on sn-devel-104
2010-12-17s4-smbtorture: check if returned driver paths match requested architecture.Günther Deschner1-26/+100
Guenther
2010-12-17s4-smbtorture: pass down driverosversion to test_DriverInfo_winreg.Günther Deschner1-7/+9
Guenther
2010-12-17s4-smbtorture: skip level 8 checks in test_GetDriverInfo_winreg for w2k3.Günther Deschner1-0/+4
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri Dec 17 12:20:38 CET 2010 on sn-devel-104
2010-12-17s4-smbtorture: skipping level 8 driveradds against w2k3.Günther Deschner1-1/+18
Guenther
2010-12-14s4-smbtorture: paranoia check for architectures in request and reply for ↵Günther Deschner1-0/+10
enumdrivers test. Guenther
2010-12-11s4-smbtorture: Make test names lowercase and dot-separated.Jelmer Vernooij37-91/+88
This is consistent with the test names used by selftest, should make the names less confusing and easier to integrate with other tools. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sat Dec 11 04:16:13 CET 2010 on sn-devel-104
2010-12-09s4-tests Workaround new default of 'client ntlmv2 auth = yes' in testsAndrew Bartlett1-1/+1
The new default breaks some tests that were assuming LM or NTLM auth Andrew Bartlett
2010-12-04s4:torture/rpc/samr.c - fix output messageMatthias Dieter Wallnöfer1-1/+1
2010-11-29s4-smbtorture: only run the cupsaddsmb adobe driver test against s3.Günther Deschner1-0/+4
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Mon Nov 29 18:47:17 CET 2010 on sn-devel-104
2010-11-29s4-smbtorture: add torture test for cupsaddsmb win9x driver install behavior.Günther Deschner1-0/+38
Guenther
2010-11-29s4-smbtorture: make add-printerdriver test more robust against empty ↵Günther Deschner1-1/+3
configfiles. Guenther
2010-11-29s4-smbtorture: make driver upload/removal more robust against empty filenames.Günther Deschner1-2/+2
Guenther
2010-11-29s4-smbtorture: add test for Adobe PostScript driver (Win9x) installation.Günther Deschner1-0/+28
Guenther
2010-11-29s4-smbtorture: handle driverfile overlap during removal in RPC-SPOOLSS-DRIVER.Günther Deschner1-3/+5
Guenther
2010-11-29s4-smbtorture: re-arrange RPC-SPOOLSS-DRIVER test a bit.Günther Deschner1-35/+44
Guenther
2010-11-28s4:introduce casts before outputs of "time_t" variablesMatthias Dieter Wallnöfer1-1/+1
Otherwise we are getting warnings on "NetBSD".
2010-11-27s4:torture/rpc/samr.c - fix uninitialised "status" variablesMatthias Dieter Wallnöfer1-0/+4
Detected by Tru64. I wonder how this tests even worked.
2010-11-27s4:torture/rpc/samsync.c - remove uninitialised "nt_status" checkMatthias Dieter Wallnöfer1-8/+1
Found by Tru64 compiler.
2010-11-24s4-smbtorture: pick a better printer in RPC-SPOOLSS-ACCESS.Günther Deschner1-1/+8
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Nov 24 22:07:33 CET 2010 on sn-devel-104
2010-11-19s4:netlogon/LogonGetDomainInfo - handle a NULL "dns_hostname"Matthias Dieter Wallnöfer1-2/+20
- Performs the short computer name check against the sam account name. - Enhances the LogonGetDomainInfo testsuite which checks the NULL "dns_hostname" behaviour Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Fri Nov 19 12:50:33 CET 2010 on sn-devel-104
2010-11-16s4-spoolss: fixed warning in call to torture_warning()Andrew Tridgell1-2/+2
2010-11-15s4-server: make server sockets a child of the task contextAndrew Tridgell1-1/+1
We previously allocated sockets as direct children of the event context. That led to crashes if a service called task_server_terminate(), as it left the socket open and handling events for a dead protocol. Making them a child of the task allows the task to terminate and take all its sockets with it. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-11-11s4-test: use IPC$ instead of ADMIN$ for srvsvc NetShareGetInfo testAndrew Tridgell1-3/+3
IPC$ is guaranteed to exist on servers that do RPC, whereas ADMIN$ isn't Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-11-10s4-smbtorture: use test_GetPrinterData{Ex}_checktype calls in RPC-SPOOLSS tests.Günther Deschner1-3/+3
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Nov 10 15:07:12 UTC 2010 on sn-devel-104
2010-11-10s4-smbtorture: allow to test returned type after specific error code in ↵Günther Deschner1-15/+48
PrinterData tests. Guenther
2010-11-02s4-torture Add tests for DES-only accounts PAC behaviour/validation.Andrew Bartlett3-3/+83
Previously we didn't support DES-only in a Samba4 domain. This is important for some legacy systems that have not yet migrated from this weak crypto. Andrew Bartlett
2010-10-30s4-smbd: initialise process models in smbtorture before useAndrew Tridgell1-0/+4
the spoolss notify test needs to setup the process models before use Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Sat Oct 30 13:32:09 UTC 2010 on sn-devel-104
2010-10-30s4-smbd: don't initialise process models more than onceAndrew Tridgell1-2/+2
this also removes the event_context parameter from process model initialisation. It isn't needed, and is confusing when a process model init can be called from more than one place, possibly with different event contexts. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-10-29s4:torture/rpc/samr.c - fix NTTIME warnings by castsMatthias Dieter Wallnöfer1-13/+16
And also the format specifier is wrong since NTTIME is "uint64_t" and therefore unsigned. Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Fri Oct 29 10:36:46 UTC 2010 on sn-devel-104
2010-10-29s4:torture/rpc/samr.c - test the "ReplicaSourceNodeName" only against s3Matthias Dieter Wallnöfer1-2/+4
AD handles this differently (see MS-SAMR 2.2.4.1)
2010-10-17Revert "s4:remove "util_ldb" submodule and integrate the three gendb_* calls ↵Matthias Dieter Wallnöfer1-0/+1
in "dsdb/common/util.c"" This reverts commit 8a2ce5c47cee499f90b125ebde83de5f9f1a9aa0. Jelmer pointed out that these are also in use by other LDB databases - not only SAMDB ones. Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Sun Oct 17 13:37:16 UTC 2010 on sn-devel-104
2010-10-17s4:remove "util_ldb" submodule and integrate the three gendb_* calls in ↵Matthias Dieter Wallnöfer1-1/+0
"dsdb/common/util.c" They're only in use by SAMDB code. Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Sun Oct 17 09:40:13 UTC 2010 on sn-devel-104
2010-10-14libcli/auth Merge source4/libcli/security and util_sid.c into the common codeAndrew Bartlett2-34/+0
This should ensure we only have one copy of these core functions in the tree. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-10-12libcli/security Use common security.hAndrew Bartlett1-1/+1
This includes dom_sid.h and security_token.h and will be moved to the top level shortly. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue Oct 12 03:35:36 UTC 2010 on sn-devel-104
2010-10-11s4-smbtorture: add test for openprinter printername pattern.Günther Deschner1-2/+129
Guenther
2010-10-07s4-smbtorture: re-arrange openprinterex tests.Günther Deschner1-21/+46
Guenther