summaryrefslogtreecommitdiff
path: root/source3/rpcclient
AgeCommit message (Collapse)AuthorFilesLines
2001-09-14Produce correct lanman and nt hashes in samsync smbpasswd output. TheTim Potter1-5/+24
output from samsync -p produces the same output as running PWDUMP.EXE on the domain controller except it happens via the sam synchronisation protocol. (This used to be commit 5da98620021cda92d4752e7388f0e0cdfcd0e8cd)
2001-09-06Converted to NTSTATUS return codes.Tim Potter1-17/+92
Started on producing smbpasswd output from user account information. Doesn't work yet. Added -U option so samsync can be run interactively. (This used to be commit 842fcd94fa847f71d828a46b092f5837743ffcde)
2001-09-05oh fooTim Potter1-1/+1
(This used to be commit 66c7bb9467c1acaf7e5b310a2ebc753f455b18c9)
2001-09-05Don't crash if run with no command line arguments. (-:Tim Potter1-1/+1
(This used to be commit a46e9cc3a1a247fba8fe9b4cdfa16954071b4a35)
2001-09-04it now all compiles - so try enabling it by default and see what explodes on ↵Andrew Tridgell6-339/+316
the build farm (This used to be commit 5bb7e4f0f65edf1db20245f403cbe81833134240)
2001-09-04the next stage in the NTSTATUS/WERROR change. smbd and nmbd now compile, but ↵Andrew Tridgell3-57/+63
the client code still needs some work (This used to be commit dcd6e735f709a9231860ceb9682db40ff26c9a66)
2001-09-03the next step in our error code handling changeAndrew Tridgell1-3/+3
- added WERROR for win32 error codes - added a configure test for immediate structures still lots to do, so its not enabled by default, but the main structure is there (This used to be commit 24f9ab683dec52587ee56717e821b49c0fa3d70f)
2001-08-28Start of samsync program invoked by smbd to perform sam synchronisation andTim Potter1-0/+270
sam replication. It doesn't work yet. (-: (This used to be commit c96aae613dfe97808dedffc836c5d4cc9ae52185)
2001-08-28Merge of sam sync code from TNG.Tim Potter1-3/+217
Reverse-engineered the sam replication protocol from staring at hex dumps for a while. It's pretty similar to the sam sync protocol with a couple of different delta header types. I wasn't able to figure out the format of the privilege stuff - needs more time and a whiteboard. (-: The impressive bit is that the sam sync stuff from tng basically just worked thanks mainly to Luke Leighton's efforts in this area. (This used to be commit 3a60cb44f22d5f3f8c78a56ed8f5ea4794cd7ab3)
2001-08-27Fix bug in usage().Tim Potter1-3/+7
Allow user to invoke with \\ or // in front of server name. (This used to be commit c292b63ff60ca80c0f1804fbfb28d582c3308014)
2001-08-27converted another bunch of stuff to NTSTATUSAndrew Tridgell8-94/+94
(This used to be commit 1d36250e338ae0ff9fbbf86019809205dd97d05e)
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)