summaryrefslogtreecommitdiff
path: root/source3/rpcclient/cmd_srvsvc.c
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r1553: Good patch from Guenther Deschner <gd@sernet.de> to display share ACLJeremy Allison1-0/+23
entries from rpcclient. Jeremy. (This used to be commit bd64f0c08143545a8613688402f769a713227557)
2003-03-18Merge of waider's rpcclient return type patch.Tim Potter1-16/+16
(This used to be commit fb91bfa7a28f548dcc549f7e09805e4485c83538)
2003-02-25Merge: const fixes.Tim Potter1-4/+4
(This used to be commit a20aba09996e470425a151271237f2d48a8302af)
2003-02-19Merge NTSTATUS vs WERROR return for cli_srvsvc_net_srv_get_info()Tim Potter1-4/+3
(This used to be commit 7edaf937963fa1d0f06343969b46ed6e4f39a6ea)
2002-10-04merge of new client side support the Win2k LSARPC UUID in rpcbindGerald Carter1-4/+4
from APP_HEAD (This used to be commit 1cfd2ee433305e91e87804dd55d10e025d30a69e)
2002-08-17sync 3.0 branch with HEADJelmer Vernooij1-1/+1
(This used to be commit 6497eb78e87a6ffa4c2c61aa4ef6ecd451821a27)
2002-07-15updated the 3.0 branch from the head branch - ready for alpha18Andrew Tridgell1-1/+130
(This used to be commit 03ac082dcb375b6f3ca3d810a6a6367542bc23ce)
2002-01-30Removed version number from file header.Tim Potter1-2/+1
Changed "SMB/Netbios" to "SMB/CIFS" in file header. (This used to be commit 6a58c9bd06d0d7502a24bf5ce5a2faf0a146edfa)
2001-10-12Some old stuff hanging around since the CIFS conference. Big cleanup ofTim Potter1-18/+6
rpcclient code. Refactored cmd_* functions to move common mem_ctx and pipe opening stuff up one level. Moved rpcclient.h into rpcclient directory and out of includes/smb.h (This used to be commit a40facba9651f9fb1dcc9e143f92ca298a324312)
2001-10-02Removed 'extern int DEBUGLEVEL' as it is now in the smb.h header.Tim Potter1-2/+0
(This used to be commit 2d0922b0eabfdc0aaf1d0797482fef47ed7fde8e)
2001-09-04it now all compiles - so try enabling it by default and see what explodes on ↵Andrew Tridgell1-6/+6
the build farm (This used to be commit 5bb7e4f0f65edf1db20245f403cbe81833134240)
2001-08-27converted another bunch of stuff to NTSTATUSAndrew Tridgell1-1/+1
(This used to be commit 1d36250e338ae0ff9fbbf86019809205dd97d05e)
2001-08-10- avoid possible mem leaks in rpcclient/cmd_*.c (talloc_destroy not performed)Simo Sorce1-1/+3
- ported two rpc back from TNG (WINREG: shutdown and abort shutdown) - some optimizations and changed some DEBUG statement in loadparm.c - changed rpcclient a bit moved from non reentrant next_token_nr to next_token - in cmd_reg.c not sure if getopt will work ok on all platforms only setting optind=0 (This used to be commit fd54412ce9c3504a547e232602d6129e08dd9d4d)
2001-07-20Started adding some help/usage info for rpcclient commands.Tim Potter1-3/+6
(This used to be commit 37052a1bcc5cd049918c3d5ac4c41c3a669290af)
2001-05-24Added srvinfo and partial logonctrl and logonctrl2 commands.Tim Potter1-1/+192
(This used to be commit c93718daa1375269e4e0ef52016271b7a607e292)
2001-05-24Added stubs for SRVSVC and NETLOGON rpcclient commands.Tim Potter1-296/+21
(This used to be commit 3343c9f0d67d98687e5933e1a73c0ff487279160)
2000-04-25moved trans2.h and nterr.h into includes.h with all our other includesAndrew Tridgell1-1/+0
(This used to be commit d7cd7c88fdabb01d9e40ae8a657737907a21ac37)
1999-12-13first pass at updating head branch to be to be the same as the SAMBA_2_0 branchAndrew Tridgell1-154/+90
(This used to be commit 453a822a76780063dff23526c35408866d0c0154)
1999-11-27removed do_ prefix from srvsvc APILuke Leighton1-7/+7
(This used to be commit e4e5743a407b60c3695410eaf3df4ca3de4a870e)
1999-11-27using "abstracted" cli_connection, got \PIPE\srvsvc commands up and runningLuke Leighton1-81/+11
again. (This used to be commit 6b67d6164dbfda3ba690d86597ae560b7e5c7584)
1999-11-22another oneLuke Leighton1-18/+12
(This used to be commit c1ba1bfd68fa96937decad8f1d7421daad6e30fe)
1999-11-22okay :) all cmd_() functions now take int argc, char **argv :) thatLuke Leighton1-7/+7
means that some commands need more work, as they still use next_token(), the use of which i wish to avoid. plus, i was getting fed up of the poor command-line processing in some of these commands. i'm starting to need getopt() in them, especially in samsetuser. WARNING: only cmd_samr has been modded to use getopt() so far! reg commands won't work, esp. (This used to be commit 9a1efa03c8bb86c9b7e73f102a9d48fb6a57a523)
1999-11-08const feeding frenzyLuke Leighton1-1/+1
(This used to be commit e0eb390ab3e2a0cce191e78ea4ff90d088a8895c)
1999-11-04adding experimental set user password command to rpcclient, it returnsLuke Leighton1-19/+23
error wrong password against nt. ???? (This used to be commit b3f16e6b5aa5ba1b6afa38ad698646c8e765ec90)
1999-11-03created msrpc_srv_enum_tprt() function by massaging cmd_srv_enum_tprt().Luke Leighton1-47/+56
(This used to be commit 3f9455c535607090103a371ff96051a5ce32e461)
1999-11-03dynamic mem allocation in net_srv_transport_enum() parsing.Luke Leighton1-0/+2
(This used to be commit 6b919ebb4ed8c0082d8bffb299766bff9e718faf)
1999-10-30NetServerTransportEnum parsing, client-side and rpcclient "srvtransports" added.Luke Leighton1-0/+61
(This used to be commit 37f4aac06fec3fbb34ed40d1010829b2e1f28558)
1999-10-01error-code checking in lsa_lookup_sids. anonymous connections forLuke Leighton1-16/+27
domain info. adjusting net_srv_get_info function. (This used to be commit 42eb916fae0d377f8908dfc42b332e6a53c4e2d9)
1999-08-18display of session enum infoLuke Leighton1-0/+7
(This used to be commit e0713cf9332e562d1b41a794b8044e05aeb2b937)
1999-08-18event log update, netsessenum, netconnenum update.Luke Leighton1-2/+2
(This used to be commit 819af560745b0bec7bfb9067dd9d9d6cfabb1555)
1999-05-01Adding "time" rpcclient command which displays the remote time.Matthew Chapman1-0/+41
Also added special "now" time to the "at" command, e.g.: at now /i cmd ; pops up a command prompt (This used to be commit f456dcf08ec96c631f5e6f2e857115d4bbf94d1b)
1998-12-07removed nt_pipe_fnum from struct cli_state. need to be able to callLuke Leighton1-15/+20
LsaLookupSids etc from within SamrQueryAliasMembers, for example. fnum is now a parameter to client functions. thanks to mike black for starting the ball rolling. (This used to be commit bee8f7fa6b0f7f995f71303f4e14a4aaed0c2437)
1998-10-16strtoul replace with strtolLuke Leighton1-5/+5
(This used to be commit 4ebd2c5140e782ec43d9f7700bd588dfa52a16c7)
1998-10-16rpc client mods (ntlmssp flags)Luke Leighton1-5/+5
(This used to be commit 16256f86bf451535c7955b8f51a9b88fc33a8e4d)
1998-10-08- fixed a bunch of warnings and minor errorsAndrew Tridgell1-10/+10
- got smbtorture to compile - removed %D from some of lukes code - Luke, what is %D? it ain't portable anyway (This used to be commit 91597c12fb593f49b23c7cea5b64dbb89a0428b3)
1998-10-02Makefile.in :Luke Leighton1-33/+32
- added srvsvc client files clientgen.c : - replaced cli_error(cli, int *cls, int *err) with cli_error(cli, uint8 cls, uint32 *err). this version detects 32 bit status messages. the DOS error "MORE_DATA", the equivalent of the 32 bit *warning* 0x8000 0005 (STATUS_BUFFER_OVERFLOW), was being processed as an error, terminating the cli_receive_trans() call. cli_pipe.c : - replaced calls that had been incorrectly modified from 32 bit warnings (0x8000 0005 - STATUS_BUFFER_OVERFLOW) to 8 bit DOS errors (0x01 0xEA - MORE_DATA). the use of the old version of cli_error (DOS only) instead of the new one (DOS and 32 bit) caused the dce/rpc client code to fail. - replaced 2 space indentation with tab indentation in all functions. cli_srvsvc.c : cmd_srvsvc.c : - added these files back in, fixing them up to use jeremy's modified versions of the dce/rpc client functions. parse_srv.c : - added back in some "unused" functions required by dce/rpc client-side code. it would be helpful if all such "unused" functions could be added back in. rpcclient.c : - added "session", "file", "share", "connection" enumeration functions back in. these are equivalent to nt's "NetXXXXXEnum" Win32 (MSDN) functions. - added "srvinfo" function back in. this is equivalent to nt's NetServerGetInfo Win32 (MSDN) function. (This used to be commit bcf39ffdcc64e049bca2d70a394a99976291e81d)
1998-09-25added wksinfo command to rpcclient, which don't work too good.Luke Leighton1-12/+12
(This used to be commit 8d23da91cbd74a45a5b030688fd89d88a25738dc)
1998-09-25added rpcclient programLuke Leighton1-0/+329
(This used to be commit aa38f39d67fade4dfd7badb7a9b39c833a1dd1ca)