summaryrefslogtreecommitdiff
path: root/source3/rpcclient
AgeCommit message (Collapse)AuthorFilesLines
2001-08-10- avoid possible mem leaks in rpcclient/cmd_*.c (talloc_destroy not performed)Simo Sorce7-40/+248
- 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-08-10Replaced the duplicate DOS constants with appropriate ones from doserr.h toTim Potter1-5/+5
emphasise the fact that the spoolss pipe returns DOS error codes instead of 32-bit nt status codes. (This used to be commit 5f5ed41ee872d842e944cd2e84a80de714ad4385)
2001-07-27Return an exit code when connect failed.Tim Potter1-1/+1
Patch from Michael Sweet <mike@easysw.com> (This used to be commit 2c7d09b38dceb58b85fe49efb7c7e3def84c587b)
2001-07-25Held a shoot-out between NT_STATUS_NO_PROBLEMO and NT_STATUS_NOPROBLEMO.Tim Potter1-12/+12
According to the incorruptible judges find and grep, the latter won. Mmm - procrastination. (-: (This used to be commit 2e339403605177b15d5185a8fdd1b06f3f043168)
2001-07-20Started adding some help/usage info for rpcclient commands.Tim Potter7-68/+128
(This used to be commit 37052a1bcc5cd049918c3d5ac4c41c3a669290af)
2001-07-08fixed anonymous login in rpcclientAndrew Tridgell1-4/+7
(This used to be commit b2a4a62b5ed581bf89fe20cdf427c1740fd73266)
2001-07-08improved the command line parsing of rpcclientAndrew Tridgell1-16/+17
(This used to be commit 29d8f9bcb3f55365740a5bbafc75dd2dffc107a9)
2001-07-04missed a couple of strchr callsAndrew Tridgell1-1/+1
(This used to be commit 57e7df8ae58020ab653307c1fdfbadd44983e900)
2001-07-04strchr and strrchr are macros when compiling with optimisation in gcc, so we ↵Andrew Tridgell1-3/+3
can't redefine them. damn. (This used to be commit c41fc06376d1a2b83690612304e85010b5e5f3cf)
2001-07-04The big character set handling changeover!Andrew Tridgell4-133/+139
This commit gets rid of all our old codepage handling and replaces it with iconv. All internal strings in Samba are now in "unix" charset, which may be multi-byte. See internals.doc and my posting to samba-technical for a more complete explanation. (This used to be commit debb471267960e56005a741817ebd227ecfc512a)
2001-06-23fix compiler warningsSimo Sorce1-0/+2
(This used to be commit 1959864490e79756257ba10431b188de78b8c8a7)
2001-06-21next_token() was supposed to be a reentrant replacement for strtok(),Andrew Tridgell3-16/+16
but the code suffered from bitrot and is not now reentrant. That means we can get bizarre behaviour i've fixed this by making next_token() reentrant and creating a next_token_nr() that is a small non-reentrant wrapper for those lumps of code (mostly smbclient) that have come to rely on the non-reentrant behaviour (This used to be commit 674ee2f1d12b0afc164a9e9072758fd1c5e54df7)
2001-06-20Added delete domain user rpcclient command.Tim Potter1-1/+84
(This used to be commit aa9024c95996dec67d76c5ed108cfba733dcdbfe)
2001-06-13Added some msdfs client routines.Tim Potter1-0/+291
(This used to be commit 13df2304b309a2bd14d4441db0e72e75b8742262)
2001-06-06Added stub dfs client commands to rpcclient.Tim Potter1-0/+2
(This used to be commit e65b4862733668feb62befe03ea5724c0a862acc)
2001-06-06Added stubs for dfs rpc client routines.Tim Potter1-0/+32
(This used to be commit abc294c4a82dc132b937aec374ee947992a1b93f)
2001-06-06Fixups for new args to cli_samr_connect()Tim Potter1-35/+175
Added samlookupnames and samlookuprids rpcclient commands. (This used to be commit 2ca5ea16bda131c6314444be5c671165d09c8422)
2001-06-04Added add domain user to rpcclient.Tim Potter1-0/+88
Added cli_ functions for set userinfo and userinfo2. (This used to be commit 6c9796286c489a79c96d28b081ecf151803dbf7c)
2001-05-31merge from 2.2Gerald Carter1-12/+28
(This used to be commit c827787d679b3bbf9f57ff6d5aaab150456b1662)
2001-05-31merge from 2.2Gerald Carter1-0/+6
(This used to be commit e30a3be954c0eacb3ccffdaa1165a9f0e8b93a23)
2001-05-31merge from 2.2Gerald Carter1-1/+1
(This used to be commit 7e23ed48908cf396610d26efda9f54d5f5f0e83c)
2001-05-24Added srvinfo and partial logonctrl and logonctrl2 commands.Tim Potter2-2/+267
(This used to be commit c93718daa1375269e4e0ef52016271b7a607e292)
2001-05-24Fixed compiler warning.Tim Potter1-1/+0
(This used to be commit 6e0805c191d7434366e4a8d752b6e34656232371)
2001-05-24Removed some level 0 debugs accidentally left in - oops.Tim Potter1-3/+0
(This used to be commit c4e7ce267f63c1b1b0942d8b0a434f6e44a5312f)
2001-05-24Replaced next_command() with call to next_token().Tim Potter1-21/+5
(This used to be commit c9b4ed79c84dde3421c457cd0a33dae5d84fcae1)
2001-05-24Added stubs for SRVSVC and NETLOGON rpcclient commands.Tim Potter3-426/+61
(This used to be commit 3343c9f0d67d98687e5933e1a73c0ff487279160)
2001-05-18merge from 2.2 (deleteprinterdriver RPC)Gerald Carter1-8/+15
(This used to be commit 515caaf7b448e55206433a9ca04fb5078f91cde2)
2001-05-17merge from 2.2 DeletePrinterDriver() server side stud comingGerald Carter1-0/+48
in separate commit after I get it working in 2.2. (This used to be commit 09506ac0e64b84d73e3b8fdd4942fa52dba6060f)
2001-05-15Fixed up SAM_USERINFO_CTR dynamic stuff in cmd_samr_query_user()Tim Potter1-8/+4
(This used to be commit 22b760e246f8fcf79daf24542cc35bdf41d1fea7)
2001-05-14Added arg to querygroupinfo.Tim Potter1-8/+9
(This used to be commit ab58fdf77a12d101f5ac6b6702cd8ed9dc2c7d55)
2001-05-11Memory leak fixes plus general cleanup.Tim Potter1-35/+20
(This used to be commit 48688c4592d03d6404631a7d57701f0af38cfb2d)
2001-05-08Fixed querydispinfo command.Tim Potter1-12/+36
(This used to be commit 727d2929bc4025ab418e933356d8ba4f31420423)
2001-05-07iAdded querydispinfo and querydominfo functions.Tim Potter1-3/+205
Allow rid to be specified in lookupuser. (This used to be commit 1ea5aa4a80f9da56b071b403fb8f1cfa0ff79b8d)
2001-05-04Added queryaliasmem function.Tim Potter1-4/+104
Moved fetch_domain_sid() calls out of harms way so they didn't spam out queries on SAMR pipe. (This used to be commit 982195c89d2ea0e66c24f6426f50c7d2f35800e0)
2001-05-04Tidyup of server vs servername, username vs user to remove compilerTim Potter1-24/+24
warnings. (This used to be commit d4f6ce9422ae53fb5b0cc72407131d5a9e1bd36d)
2001-05-04Added cmd_samr_enum_dom_groups() function.Tim Potter1-2/+86
(This used to be commit 23427a57da8b18506bbd970e5d7491c0917f6d06)
2001-05-04More usability fixes.Tim Potter1-1/+3
(This used to be commit 3434e0bf7fe5cdc8478518c6b1311dda7a7d3e81)
2001-05-04Allow ctrl-d to exit rpcclient.Tim Potter1-4/+7
Don't try to run anything if user just presses return at rpcclient prompt. (This used to be commit 37cdf37fee8414183c4ecb49e68a468ad235787d)
2001-04-28rpcclient merge from 2.2 (including Jeremy's non-void return fix)Gerald Carter4-87/+386
(This used to be commit 0a6ceed279cc8111008b21f75c6791efbd993f4b)
2001-04-08Got "medieval on our ass" about adding the -1 to slprintf.Jeremy Allison2-10/+10
Jeremy. (This used to be commit 94747b4639ed9b19f7d0fb896e43aa392a84989a)
2001-03-28Changed usage message for query_groupmem and query_usergroups as they don'tTim Potter1-2/+2
convert names to rids yet. (This used to be commit cea13dff759dfb7efb5d2a248dd77905e16b1605)
2001-03-23Added Gerald's fixes.Jeremy Allison1-2/+0
Jeremy. (This used to be commit be825b07464f54d717333318a08154cff632f706)
2001-03-23More unused variables.Jeremy Allison2-14/+6
Jeremy. (This used to be commit 38b19fad2851a65268b31c7e0240ed36a8407be4)
2001-03-19merge from 2.2 (reorder commands in array)Gerald Carter1-1/+1
(This used to be commit 1d14d812ea44d96d0fd170091b489b0580226da6)
2001-03-19fixed rpcclient readline codeAndrew Tridgell1-16/+3
(This used to be commit 4ec971e905cefada5f3980a25781730acdbf4469)
2001-03-15addprinter and adddriver are working now :-)Gerald Carter3-61/+459
(This used to be commit 0cb7639cef4a1ba0d56d7e58bd7e03343cbf229d)
2001-03-15added getdriverdir and cleaned up the PRINTER_DRIVER_CTR structGerald Carter1-1/+61
(This used to be commit 5d321673850e1e28e1bee4093705d7e319421687)
2001-03-15added getdriver and enumdrivers commands. Also fixedGerald Carter1-26/+355
enumprinters so that it works as well. Couple of other misc fixes while we're working on rpcclient. (This used to be commit 83d6bc4454f0cda581d26de32a4fcaad42431b34)
2001-03-15more updates. several spoolss commands added as placeholdersGerald Carter4-15/+102
to be filled in one at a time. (This used to be commit 6aaac3766324302b995b5a55876bf2ab74af1ff8)
2001-03-14set of changes in the beginning of bringing rpcclient changesGerald Carter4-269/+294
back to working order. The main change is that the cli_*() RPC functions from libsmb/*.c now should accept a struct cli_state*. The reason for this is that rpcclient should establish the connection to the server at startup so that it is not necessary to keep the clear test or password hash in memory for each command. enumports and enumprinters now works as well. lsa* functions have been tested. SAMR calls may or may not work (one of the core dumps I know), but it compiles :-) jerry (This used to be commit d98ac8852ae6b39b6fcff92c346ba56d9e63c518)