summaryrefslogtreecommitdiff
path: root/source4/torture/rpc
AgeCommit message (Collapse)AuthorFilesLines
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
2010-10-07samr: for correctness, rename samr_RidTypeArray to samr_RidAttrArray.Günther Deschner2-3/+3
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Thu Oct 7 12:04:32 UTC 2010 on sn-devel-104
2010-09-30s4-smbtorture: add new EnumPrinters test to test printername/servernameGünther Deschner1-13/+207
behaviour in EnumPrinter and GetPrinter calls. Guenther
2010-09-28s4-smbtorture: rework spoolss_EnumPrintProcDataTypes test.Günther Deschner1-34/+79
Guenther
2010-09-28s4-smbtorture: rework test_EnumPrintProcessors to let it test more combinations.Günther Deschner1-33/+15
Guenther
2010-09-24s4:torture/rpc/netlogon.c - remove the dependency on "samdb_server_site_name"Matthias Dieter Wallnöfer1-5/+54
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-22s4-smbtorture: print out membership in RPC-SPOOLSS-ACCESS.Günther Deschner1-0/+7
Guenther
2010-09-20s4-smbtorture: print SVCCTL security descriptor in ↵Günther Deschner1-0/+17
test_QueryServiceObjectSecurity(). Guenther
2010-09-20s4-smbtorture: add test_SetServiceObjectSecurity() to RPC-SVCCTL.Günther Deschner1-1/+62
Guenther
2010-09-16s3/s4: merge msleep and smb_msleepBjörn Jacke3-9/+9
the merged variant is renamed to smb_msleep as some platforms already have a msleep function.
2010-09-14s4-smbtorture: try to fix spoolss winreg Form tests on bigendian machines.Günther Deschner1-15/+36
Guenther
2010-09-12s4:torture/rpc/samr.c - fix typos in outputsMatthias Dieter Wallnöfer1-7/+7
2010-09-10s4:torture/rpc/winreg.c - hopefully this attempt fixes Solaris "cc" on the ↵Matthias Dieter Wallnöfer1-27/+10
buildfarm The Solaris "cc" incompatiblity on this codepart seems to be harder to fix than it looks like.
2010-09-10s4-smbtorture: add spoolss_OpenPrinter with unc and printername in ↵Günther Deschner1-4/+18
RPC-SPOOLSS-PRINTSERVER. Guenther
2010-09-09s4:torture/rpc/winreg.c - restore Solaris cc compatibilityMatthias Dieter Wallnöfer1-71/+72
"static const struct"s need to be global in order to work with Solaris cc.
2010-09-09s4-drs-test: Add 'reset' and 'replace' tests for drsuapi_DsReplicaUpdateRefsKamen Mazdrashki1-4/+28
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-05dsgetinfo: Set modulesdir when using ldb without ldb_wrapJelmer Vernooij1-0/+3
(Is there a particular reason we're not using ldb_wrap here?)
2010-09-04torture-lsa: cope with STATUS_SOME_UNMAPPED errorsAndrew Tridgell1-15/+50
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-08-27s4:torture/rpc/winreg.c - set "error_message" to NULL in "test_HKLM_wellknown"Matthias Dieter Wallnöfer1-9/+18
Hopefully this fixes the build on Solaris 8.
2010-08-27s4:torture/spoolss_access.c - fix discarded const warningMatthias Dieter Wallnöfer1-2/+3
"discard_const_p" seems the most appropriate here.
2010-08-25s4-smbtorture: Added a torture test for forest trustsSumit Bose2-0/+838
Signed-off-by: Günther Deschner <gd@samba.org>
2010-08-25s4-smbtorture: Make test_SetupCredentials3 publicSumit Bose2-1/+25
Signed-off-by: Günther Deschner <gd@samba.org>
2010-08-25Fix RPC-LSA-TRUSTED-DOMAINS for changed IDLSumit Bose1-0/+10
2010-08-17smbtorture: Ensure that the RPC setup returns correct status.James Peach1-4/+4
2010-08-16Revert "s4:RPC-SPOOLSS-NOTIFY: skip test_RFFPCNEx() for now, as the test is ↵Günther Deschner1-9/+0
broken" This reverts commit 8ca8250443319e0f19f05aab2014118fd03eaa8a.
2010-08-14s4:torture/rpc/samr.c - fix a wrong torture error messageMatthias Dieter Wallnöfer1-1/+1
2010-08-11s4-test: Move RPC-DSSYNC test in DRS-RPC test suiteKamen Mazdrashki1-1/+0
2010-08-11s4-test: Move dssync.c to torture/drs/rpcKamen Mazdrashki1-1120/+0
2010-08-11s4-test: strip trailing white-spacesKamen Mazdrashki1-21/+21
2010-08-08s4:RPC-SPOOLSS-NOTIFY: skip test_RFFPCNEx() for now, as the test is brokenStefan Metzmacher1-0/+9
See https://bugzilla.samba.org/show_bug.cgi?id=7486. metze
2010-08-05s3-torture: Improve the winreg deletekey torture comments.Andreas Schneider1-5/+6
2010-08-05s3-torture: Correctly cleanup the winreg volatile key test.Andreas Schneider1-8/+13
Günther please check!
2010-08-05s4-torture: Fixed the winreg EnumValue test against Windows.Andreas Schneider1-8/+34
Günther please check!