summaryrefslogtreecommitdiff
path: root/source4/torture/rpc/samba3rpc.c
AgeCommit message (Collapse)AuthorFilesLines
2012-12-09s4-torture: use names for r.in.logon_level of netlogon samlogon requests.Günther Deschner1-2/+2
Guenther Signed-off-by: Günther Deschner <gd@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
2012-08-31Rewrite torture_samba3_rpc_sharesec() to use a non-privileged user for share ↵Jeremy Allison1-15/+108
security descriptor testing.
2012-08-04s4:torture: add support for SMB_EXTENDED_SIGNATURES during SMBtconXStefan Metzmacher1-0/+7
metze
2012-08-02s4:torture: send the TCONX_FLAG_EXTENDED_RESPONSE flagStefan Metzmacher1-1/+1
metze Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Thu Aug 2 10:54:18 CEST 2012 on sn-devel-104
2012-05-28s4:torture/samba3rpc: add smb1-pipe-nameStefan Metzmacher1-0/+252
metze
2012-05-28s4:torture/samba3rpc: add smb2-pipe-nameStefan Metzmacher1-0/+84
metze
2012-05-02s4:torture:rpc: add a new test samba3.smb2-pipe-read-logoffMichael Adam1-0/+85
- open a pipe via smb2 - trigger a read which hangs since there is nothing to read - do a logoff - wait for the read to return and check the status (STATUS_PIPE_BROKEN) Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Wed May 2 19:57:45 CEST 2012 on sn-devel-104
2012-05-02s4:torture:rpc: add a new test samba3.smb2.pipe-read-tdisMichael Adam1-0/+85
- open a pipe via smb2 - trigger a read which hangs since there is nothing to read - do a tree disconnect - wait for the read to return and check the status (STATUS_PIPE_BROKEN)
2012-05-02s4:torture:rpc: add a test samba3.smb2-pipe-read-closeMichael Adam1-0/+87
* open a pipe via smb2 * trigger a read which hangs since there is nothing to read * close the pipe file handle * wait for the read to reaturn and check the status (NT_STATUS_PIPE_BROKEN)
2012-05-02s4:torture:rpc: fix a comment typo in samba3.smb2-reauth2Michael Adam1-1/+1
2012-05-02s4:torture:rpc: remove an accidentially committed character (in a comment)Michael Adam1-1/+1
2012-04-28s4:torture: add a check for talloc success in rpc.samba3.randomauth2Michael Adam1-1/+1
Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Sat Apr 28 02:10:39 CEST 2012 on sn-devel-104
2012-04-28s4:torture: add a check for talloc success in the rpc.samba3 suiteMichael Adam1-0/+1
2012-04-28s4:torture: add a rpc.samba3.smb2-reauth2 testMichael Adam1-0/+136
like smb-reauth2, only for smb2
2012-04-27s4:torture: add a rpc.samba3.smb2-reauth1 testMichael Adam1-1/+161
2012-04-26s4:torture: add a rpc.samba3.smb-reauth2 testMichael Adam1-0/+145
* Open session. * Reauth to anon. * Open lsa pipe. * Do lsa get username. * Rauth to original user. * Do lsa get username again. expected result: the getusername works and shows 'NT AUTHORITY\ANONYMOUS LOGON' in both calls. Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Thu Apr 26 02:27:12 CEST 2012 on sn-devel-104
2012-04-25s4:torture: add a rpc.samba3.smb-reauth1 testMichael Adam1-0/+165
It does reauth while using an rpc pipe: * open session * open lsa pipe * do lsa getusername * reauth to anonymous * do lsa getusername again * reauth back to original user * do reauth again result: lsa getusername is always possible and always gives the first (authenticated user)
2011-11-29s4:torture: use tctx->ev as event context for pollingStefan Metzmacher1-13/+7
metze
2011-04-13s4/torture Fix calls to charcnv functions to always supply converted_sizeAndrew Bartlett1-1/+2
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-03-16s4-smbtorture: use torture_assert in torture_samba3_rpc_sharesec().Günther Deschner1-23/+18
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Mar 16 17:47:11 CET 2011 on sn-devel-104
2011-03-16s4-smbtorture: use torture_fail and _assert in torture_samba3_rpc_getusername().Günther Deschner1-48/+16
Guenther
2011-03-16s4-smbtorture: remove explicit mem_ctx from torture_samba3_rpc_getusername().Günther Deschner1-20/+14
Guenther
2011-03-16s4-smbtorture: use torture_fail and _assert macros in torture_netlogon_samba3().Günther Deschner1-30/+16
Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Mar 16 15:51:12 CET 2011 on sn-devel-104
2011-03-16s4-smbtorture: remove explicit mem_ctx from torture_netlogon_samba3().Günther Deschner1-12/+3
Guenther
2011-03-15s4-rap: decouple rap client code from torture binary, add new LIBCLI_RAP ↵Günther Deschner1-2/+1
subsystem. Guenther
2010-12-11s4-smbtorture: Make test names lowercase and dot-separated.Jelmer Vernooij1-15/+15
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-07-16s4-loadparm: 2nd half of lp_ to lpcfg_ conversionAndrew Tridgell1-40/+40
this converts all callers that use the Samba4 loadparm lp_ calling convention to use the lpcfg_ prefix. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-05-18Finish removal of iconv_convenience in public API's.Jelmer Vernooij1-27/+12
2010-04-26s4: use generated rap header.Günther Deschner1-1/+1
Guenther
2010-04-14s4:torture/rpc: rename rpc.h => torture_rpc.hStefan Metzmacher1-1/+1
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-11subunit: Support formatting compatible with upstream subunit, for consistency.Jelmer Vernooij1-2/+2
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-03-29s4:torture/rpc/samba3rpc.c: add explicit check for NTSTATUS r.out.resultGünther Deschner1-9/+143
Guenther Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-03-24s4-smbtorture: add missing checks for WERROR results in RPC-SAMBA3 tests.Günther Deschner1-1/+17
Guenther
2010-03-24s4-smbtorture: cleanup some of the RPC-SAMBA3 tests.Günther Deschner1-1076/+612
This avoids printf, uses simplication functions where appropriate, etc. Guenther
2010-03-24s4-smbtorture: add rap_get_servername to RPC-SAMBA3 family of tests.Günther Deschner1-0/+18
Guenther
2010-03-23s4-smbtorture: remove tailing whitespace in samba3rpc testsuite.Günther Deschner1-33/+33
Guenther
2010-03-19s4-smbtorture: put all RPC-SAMB3-X torture tests into their own torture_suite.Günther Deschner1-12/+35
Guenther
2010-03-17s4:torture/rpc/samba3rpc.c: make use of dcerpc_binding_handle stubsStefan Metzmacher1-71/+125
metze
2010-03-11winreg: add winreg_KeyType enum.Günther Deschner1-2/+2
Guenther
2010-02-26s4:torture/rpc: use generate_random_password()Stefan Metzmacher1-4/+4
metze
2010-01-21s4: Fix a few warnings.Jelmer Vernooij1-1/+0
2009-12-15smbtorture4: Add rpc-samba3-getaliasmembership-0Volker Lendecke1-0/+60
2009-10-20s4-torture: ran minimal_includes.pl over source4/tortureAndrew Tridgell1-11/+0
This reduces compile time somewhat.
2009-10-02s4: fix various warnings (not "const" related ones)Matthias Dieter Wallnöfer1-6/+6
2009-06-29Fixes for SAMBA3RPC torture testMatthias Dieter Wallnöfer1-4/+11
On calls where both NT_STATUS and WERROR results are returned and consulted we have to make sure to form function results considering both. This errors have been found through a run against SAMBA 4.
2009-04-14Rework Samba4 to use the new common libcli/auth codeAndrew Bartlett1-23/+28
In particular, this is the rename from creds_ to netlogon_creds_, as well as other links to use the new common crypto. Andrew Bartlett
2009-03-06s4-smbtorture: fix s3 flavor rpc spoolss test.Günther Deschner1-0/+2
Guenther
2009-03-01Use common header file for character set handling in Samba 3 and Samba 4.Jelmer Vernooij1-1/+1
2009-02-17s4-smbtorture: fix spoolss test after count out,ref idl changes.Günther Deschner1-1/+3
Guenther
2009-02-13s4:torture/samba3rpc: fix the build after get_myname() changesStefan Metzmacher1-3/+3
metze