summaryrefslogtreecommitdiffstats
path: root/source4/torture/rpc/epmapper.c
Commit message (Collapse)AuthorAgeFilesLines
* s4:torture/rpc: use dcerpc_binding_set_abstract_syntax() in epmapper.cStefan Metzmacher2014-02-131-1/+3
| | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Guenther Deschner <gd@samba.org>
* s4:torture/rpc: make use of dcerpc_binding_set_abstract_syntax() in epmapper.cStefan Metzmacher2014-02-131-3/+4
| | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Guenther Deschner <gd@samba.org>
* s4:torture/rpc: use dcerpc_parse_binding() in epmapper.cStefan Metzmacher2014-02-131-7/+7
| | | | | | | This makes sure binding is talloc'ed. Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Guenther Deschner <gd@samba.org>
* s4:torture/rpc: pass object down to test_Map_display()Stefan Metzmacher2014-02-111-5/+15
| | | | | | | We also pass the given tower unmodified first. Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Guenther Deschner <gd@samba.org>
* s4:torture/rpc: print out the object guid in rpc.epmapper.epmapper.Lookup_simpleStefan Metzmacher2014-02-111-2/+3
| | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Guenther Deschner <gd@samba.org>
* s4:torture/rpc: initialize struct dcerpc_binding completelyStefan Metzmacher2014-02-111-0/+1
| | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Guenther Deschner <gd@samba.org>
* libndr: Rename policy_handle_empty to ndr_policy_handle_empty.Jelmer Vernooij2012-03-201-5/+5
| | | This makes the NDR namespace a bit clearer, in preparation of ABI checking.
* libndr: Rename ndr64_transfer_syntax and null_ndr_syntax_id so they have a ↵Jelmer Vernooij2012-03-201-1/+1
| | | | | ndr_ prefix. This makes the NDR namespace a bit clearer, in preparation of ABI checking.
* build: moved librpc/rpc/*.c into a rpccommon libraryAndrew Tridgell2011-02-241-0/+1
| | | | | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Thu Feb 24 02:42:37 CET 2011 on sn-devel-104
* s4-torture: Reorder the epmapper tests.Andreas Schneider2011-01-271-8/+9
| | | | | | | It works like a stack! Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Thu Jan 27 15:28:05 CET 2011 on sn-devel-104
* s4-torture: Added a full epm_Map test.Andreas Schneider2011-01-271-95/+231
|
* s4-torture: Added a test_Insert for epmapper.Andreas Schneider2011-01-271-0/+46
|
* s4-torture: Use binding handle in epm_Delete test.Andreas Schneider2011-01-271-3/+18
|
* s4-torture: Comment out the test_InqObject.Andreas Schneider2011-01-271-0/+6
|
* s4-torture: Added a clean test_Map_simple.Andreas Schneider2011-01-271-17/+77
|
* s4-torture: Added a clean test_Lookup_terminate_search.Andreas Schneider2011-01-271-0/+59
|
* s4-torture: Added a clean test_Lookup_simple.Andreas Schneider2011-01-271-34/+48
|
* s4-torture: Added test_LookupHandleFree.Andreas Schneider2011-01-271-0/+37
|
* s4-torture: Start with a clean epm_Insert_noreplace test.Andreas Schneider2011-01-271-29/+48
|
* s4-smbtorture: Make test names lowercase and dot-separated.Jelmer Vernooij2010-12-111-2/+2
| | | | | | | | 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
* s4:torture/rpc: rename rpc.h => torture_rpc.hStefan Metzmacher2010-04-141-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
* s4:torture/rpc/epmapper.c: make use of dcerpc_binding_handle stubsStefan Metzmacher2010-03-161-12/+18
| | | | metze
* s4-torture: ran minimal_includes.pl over source4/tortureAndrew Tridgell2009-10-201-1/+0
| | | | This reduces compile time somewhat.
* Move libcli-util error code to top-level.Jelmer Vernooij2008-10-231-2/+0
|
* Install public header files again and include required prototypes.Jelmer Vernooij2008-04-021-0/+1
| | | | (This used to be commit 47ffbbf67435904754469544390b67d34c958343)
* r25554: Convert last instances of BOOL, True and False to the standard types.Jelmer Vernooij2007-10-101-6/+6
| | | | (This used to be commit 566aa14139510788548a874e9213d91317f83ca9)
* r24751: Run more tests, remove empty testsuites, more small improvements.Jelmer Vernooij2007-10-101-70/+39
| | | | (This used to be commit 2a5a0819eea86ba322434306e062d13893b5722e)
* r24735: Use torture API in more places.Jelmer Vernooij2007-10-101-1/+1
| | | | (This used to be commit 1319d88c099496be29dd9214fa2492c81e848369)
* r24606: move librpc/rpc/table.c -> librpc/ndr/ndr_table.cStefan Metzmacher2007-10-101-2/+2
| | | | | | | | and rename the containing functions to have a ndr_ prefix metze (This used to be commit cb234d43ae693af5d8a921a15c9bcac3c6f0359a)
* r24557: rename 'dcerpc_table_' -> 'ndr_table_'Stefan Metzmacher2007-10-101-2/+2
| | | | | metze (This used to be commit 84651aee81aaabbebf52ffc3fbcbabb2eec6eed5)
* r24532: rename struct dcerpc_syntax_id into struct ndr_syntax_idStefan Metzmacher2007-10-101-1/+1
| | | | | | | | | | and move it into misc.idl The goal is to get rid a all dcerpc specific stuff in the generated ndr layer. metze (This used to be commit 2ed014cfb894cccab1654e3f7d5876393e2b52d7)
* r23792: convert Samba4 to GPLv3Andrew Tridgell2007-10-101-3/+2
| | | | | | There are still a few tidyups of old FSF addresses to come (in both s3 and s4). More commits soon. (This used to be commit fcf38a38ac691abd0fa51b89dc951a08e89fdafa)
* r22063: Fix the RPC-EPMAPPER test.Jelmer Vernooij2007-10-101-0/+4
| | | | (This used to be commit 101cdd1ec1933874e3cb961f4eb365cbd31a728a)
* r19844: Fix warnings and errors in epmapper IDL.Jelmer Vernooij2007-10-101-7/+7
| | | | (This used to be commit 0221d5b6c4250a3a2c86c623c534996d7decb1f6)
* r14735: Use dcerpc_syntax_id rather then seperate GUID + if_version everywhereJelmer Vernooij2007-10-101-5/+4
| | | | (This used to be commit a316b33057f3ec8532677980e093cd327d33f257)
* r14720: Add torture_context argument to all torture testsJelmer Vernooij2007-10-101-1/+1
| | | | (This used to be commit 3c7a5ce29108dd82210dc3e1f00414f545949e1d)
* r14470: Remove some unnecessary headers.Jelmer Vernooij2007-10-101-1/+0
| | | | (This used to be commit f7312dab3b9aba2b2b82e8a6e0c483a32a03a63a)
* r14402: Generate seperate headers for RPC client functions.Jelmer Vernooij2007-10-101-0/+1
| | | | (This used to be commit 7054ebf0249930843a2baf4d023ae8f62cedb109)
* r14379: Build torture/rpc/ as a seperate smbtorture module. Move helperJelmer Vernooij2007-10-101-0/+1
| | | | | functions for rpc out of torture/torture.c (This used to be commit 1d2d970f3b8aef3f36c2befb94b5dd72c0086639)
* r12693: Move core data structures out of smb.h into core.hJelmer Vernooij2007-10-101-0/+1
| | | | | torture prototypes in seperate header (This used to be commit 73610639b23ca3743077193fa0b1de7c7f65944d)
* r12622: Move table.c prototypes to seperate header to prevent circular ↵Jelmer Vernooij2007-10-101-0/+1
| | | | | | | dependencies with proto.h (This used to be commit 9e0ba380374db028358158b9e4457dd930b5ab13)
* r12608: Remove some unused #include lines.Jelmer Vernooij2007-10-101-1/+0
| | | | (This used to be commit 70e7449318aa0e9d2639c76730a7d1683b2f4981)
* r12514: Move DCE/RPC interface table to a seperate fileJelmer Vernooij2007-10-101-1/+1
| | | | | Be a bit more strict when checking for duplicate interfaces (This used to be commit b1286a6d27e2b5aa26f288f6aff70601b0d8ae74)
* r12512: Use GUID structs in API functions everywhere rather then converting ↵Jelmer Vernooij2007-10-101-3/+1
| | | | | | | back and forth between GUID structs and strings in several places. (This used to be commit 3564e2f967ef72d6301b4f7e9a311cebcded4d75)
* r12510: Change the DCE/RPC interfaces to take a pointer to aJelmer Vernooij2007-10-101-5/+1
| | | | | | | | | | | | | | | | | dcerpc_interface_table struct rather then a tuple of interface name, UUID and version. This removes the requirement for having a global list of DCE/RPC interfaces, except for these parts of the code that use that list explicitly (ndrdump and the scanner torture test). This should also allow us to remove the hack that put the authservice parameter in the dcerpc_binding struct as it can now be read directly from dcerpc_interface_table. I will now modify some of these functions to take a dcerpc_syntax_id structure rather then a full dcerpc_interface_table. (This used to be commit 8aae0f168e54c01d0866ad6e0da141dbd828574f)
* r5941: Commit this patch much earlier than I would normally prefer, but ↵Andrew Bartlett2007-10-101-3/+3
| | | | | | | | | | | | | | | | | | | | | | metze needs a working tree... The main volume of this patch was what I started working on today: - Cleans up memory handling around DCE/RPC pipes, to have a parent talloc context. - Uses sepereate inner loops for some of the DCE/RPC tests The other and more important part of this patch fixes issues surrounding the new credentials framwork: This makes the struct cli_credentials always a talloc() structure, rather than on the stack. Parts of the cli_credentials code already assumed this. There were other issues, particularly in the DCERPC over SMB handling, as well as little things that had to be tidied up before test_w2k3.sh would start to pass. Andrew Bartlett (This used to be commit 0453f9d05d2e336fba1f85dbf2718d01fa2bf778)
* r5902: A rather large change...Andrew Bartlett2007-10-101-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | I wanted to add a simple 'workstation' argument to the DCERPC authenticated binding calls, but this patch kind of grew from there. With SCHANNEL, the 'workstation' name (the netbios name of the client) matters, as this is what ties the session between the NETLOGON ops and the SCHANNEL bind. This changes a lot of files, and these will again be changed when jelmer does the credentials work. I also correct some schannel IDL to distinguish between workstation names and account names. The distinction matters for domain trust accounts. Issues in handling this (issues with lifetime of talloc pointers) caused me to change the 'creds_CredentialsState' and 'struct dcerpc_binding' pointers to always be talloc()ed pointers. In the schannel DB, we now store both the domain and computername, and query on both. This should ensure we fault correctly when the domain is specified incorrectly in the SCHANNEL bind. In the RPC-SCHANNEL test, I finally fixed a bug that vl pointed out, where the comment claimed we re-used a connection, but in fact we made a new connection. This was achived by breaking apart some of the dcerpc_secondary_connection() logic. The addition of workstation handling was also propogated to NTLMSSP and GENSEC, for completeness. The RPC-SAMSYNC test has been cleaned up a little, using a loop over usernames/passwords rather than manually expanded tests. This will be expanded further (the code in #if 0 in this patch) to use a newly created user account for testing. In making this test pass test_rpc.sh, I found a bug in the RPC-ECHO server, caused by the removal of [ref] and the assoicated pointer from the IDL. This has been re-added, until the underlying pidl issues are solved. (This used to be commit 824289dcc20908ddec957a4a892a103eec2da9b9)
* r5209: Fix the endpoint mapper to work with IPX endpoints (whichJelmer Vernooij2007-10-101-91/+13
| | | | | | | | | accidently have the same protocol id as UUID's) Before this, Samba would give NDR errors when contacting a remote server that has IPX support enabled. This one was on my long due bugs list. (This used to be commit 7b847de64f35b8e897b64ad047d8aea3813214f8)
* r5155: define ipv4address as a based IDL type, mapped to a "const char *" inAndrew Tridgell2007-10-101-7/+2
| | | | | | | the header, and defined on the wire as a 4 byte network byte order IP. This means the calling code doesn't have to worry about network byte order conversions. (This used to be commit 72048e37179dd5b9ada0c5280d2f0d8c23d1a17d)
* r5148: use ipv4_addr also in epmapper idlStefan Metzmacher2007-10-101-2/+2
| | | | | metze (This used to be commit cbc1f172822363e1fc4495d27248464403748cae)