summaryrefslogtreecommitdiff
path: root/source4/torture/rpc/srvsvc.c
Commit message (Collapse)AuthorAgeFilesLines
* werror: replace WERR_UNKNOWN_LEVEL with WERR_INVALID_LEVEL in ↵Günther Deschner2016-09-281-3/+3
| | | | | | | | | source4/torture/rpc/ Guenther Signed-off-by: Guenther Deschner <gd@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
* s4:torture:rpc: fix valgrind Syscall param writev(vector[...]) errorNoel Power2016-04-251-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | running smbtorture rpc.srvsvc.srvsvc\ (admin\ access).NetDiskEnum results in the following valgrind trace ==30237== Syscall param writev(vector[...]) points to uninitialised byte(s) ==30237== at 0xDD01C67: writev (in /lib64/libc-2.19.so) ==30237== by 0xE1D09D4: writev_handler (async_sock.c:340) ==30237== by 0xD81A12A: ??? (in /usr/lib64/libtevent.so.0.9.26) ==30237== by 0xD8185F6: ??? (in /usr/lib64/libtevent.so.0.9.26) ==30237== by 0xD8147FC: _tevent_loop_once (in /usr/lib64/libtevent.so.0.9.26) ==30237== by 0xD815ACE: tevent_req_poll (in /usr/lib64/libtevent.so.0.9.26) ==30237== by 0x5AC726D: tevent_req_poll_ntstatus (in /usr/lib64/libtevent-util.so.0.0.1) ==30237== by 0x8120CEA: dcerpc_binding_handle_call (in /usr/lib64/libdcerpc-binding.so.0.0.1) ==30237== by 0xA9AC6EC: dcerpc_srvsvc_NetDiskEnum_r (ndr_srvsvc_c.c:5388) ==30237== by 0x2ADDF8: ??? (in /usr/bin/smbtorture) ==30237== by 0x898DF8C: ??? (in /usr/lib64/libtorture.so.0.0.1) ==30237== by 0x1F0816: ??? (in /usr/bin/smbtorture) ==30237== Address 0x15952676 is 598 bytes inside a block of size 1,325 alloc'd ==30237== at 0x4C29110: malloc (in /usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so) ==30237== by 0xCCCAA73: _talloc_pooled_object (in /usr/lib64/libtalloc.so.2.1.5) ==30237== by 0xD81566D: _tevent_req_create (in /usr/lib64/libtevent.so.0.9.26) ==30237== by 0xA2B7910: smb1cli_req_create (smbXcli_base.c:1322) ==30237== by 0xA2BA4E3: smb1cli_trans_send (smb1cli_trans.c:512) ==30237== by 0xA2C1F91: tstream_smbXcli_np_readv_trans_start (tstream_smbXcli_np.c:901) ==30237== by 0xA2C23AE: tstream_smbXcli_np_writev_send (tstream_smbXcli_np.c:505) ==30237== by 0xAC8E43C: tstream_writev_send (tsocket.c:695) ==30237== by 0xAC8E9BA: tstream_writev_queue_trigger (tsocket_helpers.c:513) ==30237== by 0xD815023: tevent_common_loop_immediate (in /usr/lib64/libtevent.so.0.9.26) Signed-off-by: Noel Power <noel.power@suse.com> Reviewed-by: Volker Lendecke <vl@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
* s4-smbtorture: Make test names lowercase and dot-separated.Jelmer Vernooij2010-12-111-1/+1
| | | | | | | | 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-test: use IPC$ instead of ADMIN$ for srvsvc NetShareGetInfo testAndrew Tridgell2010-11-111-3/+3
| | | | | | | IPC$ is guaranteed to exist on servers that do RPC, whereas ADMIN$ isn't Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* 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
* subunit: Support formatting compatible with upstream subunit, for consistency.Jelmer Vernooij2010-04-111-18/+18
| | | | | | 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.
* s4:torture/rpc/srvsvc.c: make use of dcerpc_binding_handle stubsStefan Metzmacher2010-03-161-23/+42
| | | | metze
* s4-torture: ran minimal_includes.pl over source4/tortureAndrew Tridgell2009-10-201-2/+0
| | | | This reduces compile time somewhat.
* s4-srvsvc: merge srvsvc_NetShareEnum from s3 idl.Günther Deschner2008-10-311-7/+35
| | | | Guenther
* s4-srvsvc: merge srvsvc_NetShareEnumAll from s3 idl.Günther Deschner2008-10-311-8/+40
| | | | Guenther
* s4-srvsvc: merge srvsvc_NetSessEnum from s3 idl.Günther Deschner2008-10-311-6/+37
| | | | Guenther
* s4-srvsvc: merge srvsvc_NetFileEnum from s3 idl.Günther Deschner2008-10-311-6/+21
| | | | Guenther
* s4-srvsvc: merge srvsvc_NetConnEnum from s3 idl.Günther Deschner2008-10-311-6/+22
| | | | Guenther
* s4-srvsvc: merge srvsvc_NetCharDevQEnum from s3 idl.Günther Deschner2008-10-311-9/+24
| | | | Guenther
* s4-srvsvc: merge srvsvc_NetCharDevEnum from s3 idl.Günther Deschner2008-10-311-9/+25
| | | | Guenther
* s4-srvsvc: merge srvsvc_NetDiskEnum from s3 idl.Günther Deschner2008-10-311-2/+9
| | | | Guenther
* s4-srvsvc: merge srvsvc_NetCharDevQGetInfo from s3 idl.Günther Deschner2008-10-311-1/+2
| | | | Guenther
* s4-srvsvc: merge srvsvc_NetCharDevGetInfo from s3 idl.Günther Deschner2008-10-311-1/+2
| | | | Guenther
* s4-srvsvc: merge srvsvc_NetSrvGetInfo from s3 idl.Günther Deschner2008-10-311-6/+2
| | | | Guenther
* s4-srvsvc: merge srvsvc_NetTransportEnum from s3 idl.Günther Deschner2008-10-311-7/+22
| | | | Guenther
* s4-srvsvc: merge srvsvc_NetShareGetInfo from s3 idl.Günther Deschner2008-10-311-14/+16
| | | | Guenther
* s4-srvsvc: merge srvsvc_NetShareSetInfo from s3 idl.Günther Deschner2008-10-311-46/+48
| | | | Guenther
* s4-srvsvc: merge srvsvc_NetShareAdd from s3 idl.Günther Deschner2008-10-311-10/+12
| | | | Guenther
* s4-srvsvc: merge srvsvc_NetShareCheck from s3 idl.Günther Deschner2008-10-311-0/+2
| | | | Guenther
* s4-srvsvc: merge srvsvc_NetRemoteTOD from s3 idl.Günther Deschner2008-10-311-1/+2
| | | | Guenther
* s4-srvsvc: merge srvsvc_NetShareInfo502 from s3.Günther Deschner2008-10-311-2/+3
| | | | | | | | Apparently both s3 and s4 are not entirely correct one this. metze is looking into hand-marshalling security descriptors so this will fix this finally. For now, just keep the two in sync. Guenther
* r25175: Change to talloc_asprintf_append_buffer().Jeremy Allison2007-10-101-1/+1
| | | | | Jeremy. (This used to be commit 0844dbf597191b3e4d35a696695b229e986daec4)
* r24884: Ignore some errors again, like they were previously.Jelmer Vernooij2007-10-101-10/+26
| | | | (This used to be commit 120d8caa01ca69e2e3de43f5983a66ad413977b7)
* r24872: Use torture API a bit moreJelmer Vernooij2007-10-101-306/+124
| | | | (This used to be commit a71355dfc933d4273d81e7b05a28197ca86e0cc6)
* r24846: Use metadata about dangerous tests.Jelmer Vernooij2007-10-101-6/+4
| | | | (This used to be commit f914b828ff486d41e123e6dafa1c8fd76b34b44b)
* r24751: Run more tests, remove empty testsuites, more small improvements.Jelmer Vernooij2007-10-101-1/+1
| | | | (This used to be commit 2a5a0819eea86ba322434306e062d13893b5722e)
* r24741: More use of the torture API.Jelmer Vernooij2007-10-101-4/+3
| | | | (This used to be commit de05c3651a6e9e6611b296873526afd9292327c1)
* r24736: Convert to using torture API.Jelmer Vernooij2007-10-101-144/+162
| | | | (This used to be commit a0f11881546f6cd367d459e016956f76910a0a89)
* r24735: Use torture API in more places.Jelmer Vernooij2007-10-101-2/+2
| | | | (This used to be commit 1319d88c099496be29dd9214fa2492c81e848369)
* r24557: rename 'dcerpc_table_' -> 'ndr_table_'Stefan Metzmacher2007-10-101-3/+3
| | | | | metze (This used to be commit 84651aee81aaabbebf52ffc3fbcbabb2eec6eed5)
* 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)
* r22194: fix compiler warning andStefan Metzmacher2007-10-101-4/+9
| | | | | | | compile in but disable NetShareAddSetDel test metze (This used to be commit 1091f00ce0d731568d7f2acbc6e43f87de90baa0)
* r21668: Add SMB_QFS_POSIX_WHOAMI to trans2.h so it's easy to find. AddJames Peach2007-10-101-3/+1
| | | | | | convenience API to create an anonymous credential. Don't clobber cmdline_credentials in the UNIX-WHOAMI test. (This used to be commit 73cea4e0c66f57057ed12b07bbb94b4e783ba6bf)
* r19392: Use torture_setting_* rather than lp_parm_* where possible.Jelmer Vernooij2007-10-101-1/+1
| | | | (This used to be commit b28860978fe29c5b10abfb8c59d7182864e21dd6)
* r18757: Disable this for nowSimo Sorce2007-10-101-1/+1
| | | | (This used to be commit f84a130c4bda8cc0221fff324d93a8617cacc511)
* r18740: Some more work around srvsvcSimo Sorce2007-10-101-14/+253
| | | | (This used to be commit be2f4a2c44ed2b4d586f0d6e9976158f33fb29d8)
* r18352: printf("%s") is not safe for NULL strings on all platforms, butAndrew Tridgell2007-10-101-55/+55
| | | | | d_printf() is. This fixes a crash on solaris (This used to be commit 52d156671158fa25d3a84a46c98ca1d81e4a18d1)
* r18348: fixed a valgrind error in RPC-SRVSVCAndrew Tridgell2007-10-101-1/+2
| | | | (This used to be commit cc89ef3e1fd2f1d550ab65d32dfa894dc7963868)
* r18345: test also flagsSimo Sorce2007-10-101-2/+11
| | | | (This used to be commit 06469a6ba0ee1cc8701214bcefa1d6c696b0150b)
* r18344: add a test to show hoe NetNameValidate behaves.Simo Sorce2007-10-101-1/+74
| | | | | fix the misleading idl names (This used to be commit 8367b3bcee9338fa3e268b7342ae8db928008b55)
* r14843: the results of the srvsrv_* calls depends on the user,Stefan Metzmacher2007-10-101-85/+132
| | | | | | | try some tests anonymous... metze (This used to be commit eb63d83f007e374f77ff63b3d7b81f187260c8fa)
* r14720: Add torture_context argument to all torture testsJelmer Vernooij2007-10-101-1/+1
| | | | (This used to be commit 3c7a5ce29108dd82210dc3e1f00414f545949e1d)
* 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)