summaryrefslogtreecommitdiff
path: root/source4/torture/libnet/libnet_share.c
AgeCommit message (Collapse)AuthorFilesLines
2012-02-07torture/libnet: Include prototype headers.Jelmer Vernooij1-0/+1
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-1/+1
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-23s4-smbtorture: use torture_context for debugging output everywhere in libnet ↵Günther Deschner1-16/+18
torture tests. Mimir, please check. Guenther
2010-03-23s4-smbtorture: remove trailing whitespace in libnet torture tests.Günther Deschner1-8/+8
Guenther
2010-03-12s4:torture/libnet: make use of dcerpc_binding_handle stubsStefan Metzmacher1-3/+3
metze
2008-10-31s4-srvsvc: merge srvsvc_NetShareAdd from s3 idl.Günther Deschner1-1/+4
Guenther
2008-10-31s4-srvsvc: merge srvsvc_NetShareInfo502 from s3.Günther Deschner1-2/+2
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
2008-04-14Fix problems with event context not being the parent.Simo Sorce1-2/+2
(This used to be commit 957c4d893acf9e6db06a3fc3a4687ab6bb238635)
2008-01-02r26645: Janitorial: Fix a couple of warnings.Jelmer Vernooij1-6/+6
(This used to be commit a2bc97e8b01ecee48be60823cb19b4e794fb8f93)
2007-12-21r26362: Fix segfault in NET-API-DELSHARE torture test.Andrew Bartlett1-0/+1
Andrew Bartlett (This used to be commit aab6b7eeb86f7a36261099a085fd450438fa5de1)
2007-12-21r26361: Ensure this test cannot proceed if the pipe connection failed.Andrew Bartlett1-0/+2
Andrew Bartlett (This used to be commit 0e04e85ec262ec94ca4dd19e77cfbf8b78ca45fc)
2007-12-21r26327: Explicit loadparm_context for RPC client functions.Jelmer Vernooij1-2/+2
(This used to be commit eeb2251d22b3d6e0379444a73af69d1014692b07)
2007-10-10r25554: Convert last instances of BOOL, True and False to the standard types.Jelmer Vernooij1-9/+9
(This used to be commit 566aa14139510788548a874e9213d91317f83ca9)
2007-10-10r24894: Run the libnet tests over just one DCE/RPC transport. Other DCE/RPC ↵Jelmer Vernooij1-18/+6
tests already check that the DCE/RPC library and interfaces work ok. (This used to be commit d392d6e92b4145106e073ec4410796e3913320c0)
2007-10-10r24755: Use common code for finding the RPC binding in the torture tests.Jelmer Vernooij1-8/+3
(This used to be commit e3310e773924ddd2129e8ca1a86e23d0f713c19c)
2007-10-10r24735: Use torture API in more places.Jelmer Vernooij1-1/+1
(This used to be commit 1319d88c099496be29dd9214fa2492c81e848369)
2007-10-10r24557: rename 'dcerpc_table_' -> 'ndr_table_'Stefan Metzmacher1-1/+1
metze (This used to be commit 84651aee81aaabbebf52ffc3fbcbabb2eec6eed5)
2007-10-10r23792: convert Samba4 to GPLv3Andrew Tridgell1-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)
2007-10-10r20456: Rename variables to avoid shadowing global function names.Andrew Bartlett1-2/+2
Andrew Bartlett (This used to be commit c353f2bb91d6cf7553325b94baae8986e85e8ee5)
2007-10-10r19392: Use torture_setting_* rather than lp_parm_* where possible.Jelmer Vernooij1-3/+3
(This used to be commit b28860978fe29c5b10abfb8c59d7182864e21dd6)
2007-10-10r15897: switch to d_printf() in the libnet_share test, and neaten up the codeAndrew Tridgell1-20/+25
a bit using local variables. This should fix a crash on solaris. (This used to be commit c088654e34caf99569f25899733dac9a42197990)
2007-10-10r14720: Add torture_context argument to all torture testsJelmer Vernooij1-2/+2
(This used to be commit 3c7a5ce29108dd82210dc3e1f00414f545949e1d)
2007-10-10r14470: Remove some unnecessary headers.Jelmer Vernooij1-1/+0
(This used to be commit f7312dab3b9aba2b2b82e8a6e0c483a32a03a63a)
2007-10-10r14464: Don't include ndr_BASENAME.h files unless strictly required, insteadJelmer Vernooij1-0/+1
try to include just the BASENAME.h files (containing only structs) (This used to be commit 3dd477ca5147f28a962b8437e2611a8222d706bd)
2007-10-10r14402: Generate seperate headers for RPC client functions.Jelmer Vernooij1-0/+1
(This used to be commit 7054ebf0249930843a2baf4d023ae8f62cedb109)
2007-10-10r14379: Build torture/rpc/ as a seperate smbtorture module. Move helperJelmer Vernooij1-1/+1
functions for rpc out of torture/torture.c (This used to be commit 1d2d970f3b8aef3f36c2befb94b5dd72c0086639)
2007-10-10r12858: This moves the libnet_LookupPdc code to use a GetDC request to findAndrew Bartlett1-1/+1
the remote server's name, or in the absence of a local nbt_server to communicate with (or without root access), a node status request. The result is that we are in a better position to use kerberos, as well as to remove the 'password server' mandatory parameter for the samsync and samdump commands. (I need this to put these into SWAT). The only problem I have is that I must create a messaging context, which requires a server ID. As a client process, I don't expect to get messages, but it is currently required for replies, so I generate a random() number. We probably need the servers to accept connections on streamed sockets too, for client-only tasks that want IRPC. Because I wanted to test this code, I have put the NET-API-* tests into our test scripts, to ensure they pass and keep passing. They are good frontends onto the libnet system, and I see no reason not to test them. In doing so the NET-API-RPCCONNECT test was simplified to take a binding string on the command line, removing duplicate code, and testing the combinations in the scripts instead. (I have done a bit of work on the list shares code in libnet_share.c to make it pass 'make test') In the future, I would like to extend the libcli/findds.c code (based off volker's winbind/wb_async_helpers.c, which is why it shows up a bit odd in the patch) to handle getting multiple name replies, sending a getdc request to each in turn. (posted to samba-technical for review, and I'll happily update with any comments) Andrew Bartlett (This used to be commit 7ccddfd3515fc2c0d6f447c768ccbf7a220c3380)
2007-10-10r12693: Move core data structures out of smb.h into core.hJelmer Vernooij1-0/+1
torture prototypes in seperate header (This used to be commit 73610639b23ca3743077193fa0b1de7c7f65944d)
2007-10-10r12510: Change the DCE/RPC interfaces to take a pointer to aJelmer Vernooij1-3/+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)
2007-10-10r11527: Has this ever been run?Volker Lendecke1-0/+1
(This used to be commit 419b28d02d6c5a03bd33eaeabf1b42bfab9155dd)
2007-10-10r9884: Fix compiler warning.Tim Potter1-1/+1
(This used to be commit 6e30dd8a50e9afc4942cd925e6e0266d960923dd)
2007-10-10r9028: make some function staticStefan Metzmacher1-3/+3
metze (This used to be commit 72643ac4c4724bdd3e73b5d10ff9bdf21eb46345)
2007-10-10r8977: Put my copyright in share torture test.Rafal Szczesniak1-0/+1
rafal (This used to be commit 186bcabaa6e4989e2b46b99a46221fe6fc79b365)
2007-10-10r8975: Very basic test for delshare function based on code submittedRafal Szczesniak1-4/+55
by Gregory LEOCADIE <gleocadie@idealx.com>. rafal (This used to be commit 4d4d1ab37d68b6054b7b0459e2e7e86141f9b462)
2007-10-10r8954: Use binding string to specify host rather than share path, as we useRafal Szczesniak1-3/+19
rpc call here after all. Also, safely exit (freeing memory context) in case of any error. rafal (This used to be commit be2584df1d167f3e8ef600a926979f081e72c6a9)
2007-10-10r8944: Get more verbose output from NET-API-LISTSHARE test.Rafal Szczesniak1-0/+82
rafal (This used to be commit b1ff59d80f942b679ae3c8dcb08361cf8a25a457)
2007-10-10r8930: Add the libnet share tests based on code submitted byRafal Szczesniak1-0/+92
Gregory Leocadie <gleocadie@idealx.com>. Listing shares passes, deleting not yet - it's a work in progress. rafal (This used to be commit 5c53498a4a3e84d5b55c233da01e96fdd4f0e0dd)