summaryrefslogtreecommitdiff
path: root/source3/rpcclient
AgeCommit message (Collapse)AuthorFilesLines
2004-01-13sync HEAD with recent changes in 3.0Gerald Carter2-14/+18
(This used to be commit c98399e3c9d74e19b7c9d806ca8028b48866931e)
2004-01-06(merge from 3.0)Andrew Bartlett1-1/+1
Change (unused) structure parameter for cli_ds_enum_domain_trusts() cleanup. Andrew Bartlett (This used to be commit 3c02aad8b3a4b28ca492ca1abbbd594ba75975e4)
2003-11-05Merge from 3.0:Tim Potter1-3/+12
Revision 1.82.2.24: Patch from James Henstridge to allow rpcclient adddriver command to specify printer driver version. Closes bug #514. (This used to be commit b873832e33ba251741ae4f091f93f4bb79d57bee)
2003-10-30Another round of GUID->struct uuid.Jim McDonough1-3/+2
Takes care of the lsass pipe (This used to be commit 3dca3efa4b427fa3094a8cd392fe5744b5f6f6a8)
2003-10-30First round of merging various UUID structures.Jim McDonough2-11/+14
This eliminates RPC_UUID. It creates the following struct: struct uuid { uint32 time_low; uint16 time_mid; uint16 time_hi_and_version; uint8 clock_seq[2]; uint8 node[6]; }; which replaces RPC_UUID and various random struct uuid definitions and a flat version: #define UUID_FLAT_SIZE 16 typedef struct uuid_flat { uint8 info[UUID_FLAT_SIZE]; } UUID_FLAT; which pretty much looks like GUID (which I will start eliminating). I want us to use the FLAT one only on the wire (perhaps in files, too?), and I want it to be obvious to the coder that it is the FLAT version. This leaves a couple of compiler warnings, where GUID isn't completely replaced by FLAT_UUID yet...I'll get to those soon. (This used to be commit 1532b5d2e3c61df232b16394acedf6eac387588b)
2003-10-27Remove trailing comma on typedef enum. albert chin (china@thewrittenword.com)Tim Potter1-1/+1
(This used to be commit 65a4c2aa0af4572ef7da0f7907ee144faba39031)
2003-10-24Add initshutdown pipe commands to rpcclient. Second part of fix to bugJim McDonough1-0/+2
#534 (This used to be commit 99f4fa54497ba1c0fc0ba39d51b3ce201a8e6cd2)
2003-10-24New files for support of initshutdown pipe. Win2k doesn't respond properlyJim McDonough1-0/+112
to all requests on the winreg pipe, so we need to handle this new pipe. First part of fix for bug #534 (This used to be commit 532fab74c12d8c55872c2bad2abead2647f919d7)
2003-10-20Fixed typo spotted by Daniel Jarboe <daniel.jarboe@custserv.com>.Jeremy Allison1-1/+1
Jeremy. (This used to be commit c68b6f64d9eb0808ce834e23174d1d6218b814b8)
2003-10-20Several updates:Jim McDonough1-0/+5
- add support for named pipe and netbios queries in parse code - fix map request structure...unknown byte was alignment - add sample of named pipe over netbios query in rpcclient (comment only) (This used to be commit 71dcdf54e60204d6b499d25d8759ed20fc7a021a)
2003-10-18Add epmapper commands to rpcclientJim McDonough1-0/+2
(This used to be commit 1d68e108a744ae0e5df4d8d092a3b48fc4441ace)
2003-10-18Add client side code to do endpoint map queries. Currently does oneJim McDonough1-0/+69
fixed query. Updates to come soon. (This used to be commit 3ca8240affba20bb26749354f59b83799b4f1e44)
2003-10-01commit sign only patch from Andrew; bug 167; tested using 2k & XP ↵Gerald Carter1-21/+29
clientspreviously joined to the Samba domain (This used to be commit 9d2e585e5e6f9066c6901aa8d8308734f8667296)
2003-09-29Merge from 3.0:Tim Potter1-2/+2
>Fix for #480. Change the interface for init_unistr2 to not take a length >but a flags field. We were assuming that 2*strlen(mb_string) == length of ucs2-le string. >This is not the case. Count it after conversion. >Jeremy. (This used to be commit e2ab9e54cd0ec0002175cf18ff364f4aebaf85a0)
2003-09-18The "unknown_5" 32 bit field in the user structs is actually 2 16-bitJeremy Allison1-1/+2
fields, bad_password_count and logon_count. Ensure this is stored/fetched in the various SAMs. As it replaces the unknown_5 field this fits exactly into the tdb SAM without any binary problems. It also is added to the LDAP SAM as two extra attributes. It breaks compatibility with the experimental SAMs xml and mysql. The maintainers of these SAMs must fix them so upgrades like this can be done transparently. I will insist on the "experimental" status until this is solved. Jeremy. (This used to be commit 71ecd10181cd35313b79f618c2928c2f45424812)
2003-09-09sync 3.0 into HEAD for the last timeGerald Carter4-58/+86
(This used to be commit c17a7dc9a190156a069da3e861c18fd3f81224ad)
2003-08-02port latest changes from SAMBA_3_0 treeSimo Sorce3-52/+58
(This used to be commit 3101c236b8241dc0183995ffceed551876427de4)
2003-07-16trying to get HEAD building again. If you want the codeGerald Carter6-145/+244
prior to this merge, checkout HEAD_PRE_3_0_0_BETA_3_MERGE (This used to be commit adb98e7b7cd0f025b52c570e4034eebf4047b1ad)
2003-05-10Reverse previous patch from Stefan and me after comments by Andrew Bartlett.Jelmer Vernooij1-4/+0
(This used to be commit d31509fe88da8727521586dced1da2c73bfee2bc)
2003-05-10Patch from metze and me that adds dummy smb_register_*() functionsJelmer Vernooij1-0/+4
(This used to be commit 367a5cad1edf6a49783806d5a8b59a62d8856706)
2003-04-28Perform lp_load() before popt to fix -W option.Tim Potter1-11/+11
(This used to be commit d20f4bf5d84f435a7b4b692bf33f05f4ec871a50)
2003-04-28Return NT_STATUS_UNSUCCESSFUL if the sourcedata and echodata rpcsTim Potter1-0/+2
return unexpected data. Closes bug #2. (This used to be commit 0c3314ab97331aa709216e7ad2a1a0c8605eb160)
2003-04-23Patch from waider to set exit code of last executed command specifiedTim Potter1-2/+4
as an argument to -c. (This used to be commit 048aeefcdc12d93bc728d104bbf38ea8becfb16c)
2003-04-16Store the type of 'sec channel' that we establish to the DC. If we are aAndrew Bartlett2-6/+9
workstation, we have to use the workstation type, if we have a BDC account, we must use the BDC type - even if we are pretending to be a workstation at the moment. Also actually store and retreive the last change time, so we can do periodic password changes again (for RPC at least). And finally, a couple of minor fixes to 'net'. Andrew Bartlett (This used to be commit 6e6b7b79edae3efd0197651e9a8ce6775c001cf2)
2003-04-14Removed unused variable.Tim Potter1-1/+0
(This used to be commit 117cc35dd0adc6fd5238a440e299d012bfd8e542)
2003-04-11A new RPC pipe! The \pipe\echo named pipe is for testing large RPCTim Potter2-2/+162
requests and responses and is only compiled in when --enable-developer is passed to configure. It includes server and client side code for generating and responding to functions on this pipe. The functions are: - AddOne: add one to the uint32 argument and return ig - EchoData: echo back a variable sized char array to the caller - SourceData: request a variable sized char array - SinkData: send a variable sized char array and throw it away There's a win32 implementation of the client and server in the junkcode CVS repository in the rpcecho-win32 subdirectory. (This used to be commit 4ccd34ef836eba05f81dc2da73fd7cfaac201798)
2003-04-09This is the netlogon schannel client code. Try aVolker Lendecke2-22/+20
rpcclient -S pdc -U% -c "samlogon user password" and it should work with the schannel. Needs testing platforms different from NT4SP6. Volker (This used to be commit ecd0ee4d248e750168597ccf79c389513bb0f740)
2003-04-04SAMR lookupdomain rpc client patches from amber palekar <amber@nu3.net>Tim Potter1-0/+44
(This used to be commit 67bc6bccc22e22e2a6e5cae7c57a1b2b53f49dfd)
2003-03-24Revoke some of the popt patch from metze I applied earlier today. It addedJelmer Vernooij1-1/+2
some double options and broke some parameters. (This used to be commit d5f9b0275c91512e1926504f22aaeec2d104430d)
2003-03-24Patch from metze to generalise POPT_COMMON_SAMBA, with some minor changesJelmer Vernooij1-145/+11
(This used to be commit 2ddfed298d7f0b6e690275725a39c3ef107077ae)
2003-03-17Applied waider's patch to return DOS error codes for pipes thatTim Potter10-192/+217
support it. (This used to be commit ac3df9a8051bd105e8e4192d36b3024fdf9f9506)
2003-03-11Patch from Ronan Waide:Martin Pool1-1/+1
> when doing "enumdomusers", rpcclient prints each one preceded by the > word "group" instead of "user" (This used to be commit 17567dd1d510d4cf1dffa67be78510ae51571ec6)
2003-03-07safe_strcpy() -> fstrcpy() fix, and a cleanup to how rpcclient calls theAndrew Bartlett2-9/+4
IP address resolving code. (This used to be commit 1f605fe77c56ee2a7838c9f87eedf4bb91ebf688)
2003-03-05Use PRINTER_ALL_ACCESS instead of MAXIMUM_ALLOWED_ACCESS in setprinterTim Potter1-1/+1
command. From Ronan Waide <waider@waider.ie>. (This used to be commit 992b5eb4e05fbf99d91d7235b9a002957533f95b)
2003-02-25More const fixes and flow on fixes from yesterday's const-fest.Tim Potter7-56/+56
(This used to be commit 018733eedd7897e6811e8461c07e3acf418c0e09)
2003-02-25Fixed up some const related compiler warnings.Tim Potter4-36/+36
(This used to be commit 923425e497112c5d1e2e569da6c13dcd02b6a8af)
2003-02-21Added enumdomusers command.Tim Potter1-0/+75
(This used to be commit 30353da3e94f732e9f1b258e62da906f628e09d0)
2003-02-21Fix for only specifying one command with -cTim Potter1-1/+4
(This used to be commit 7418351427071edccb2e825ddbbf31fce8ef381e)
2003-02-20Remove obsolete filesJelmer Vernooij3-3038/+0
(This used to be commit f035cba2cf5764722318e9cd10dbe7bef56d0732)
2003-02-18Add -V option (to print out version) to utilities where possibleJelmer Vernooij2-0/+2
(pdbedit already has a -V option..) (This used to be commit 5de622968d95c1436dbd34edc8d0a9bbff68916b)
2003-02-18Doxygen janitor. No other changes.Martin Pool1-0/+9
(This used to be commit 735c99dadbaffbb53662890e3dc8a668b211da9d)
2003-02-18cmd_lsa_lookup_sids: Check return code from string_to_sid; skip SIDsMartin Pool1-2/+5
which are not valid. (This used to be commit bfb6104521bd75da71a09a6c56bd44560416116e)
2003-02-17Dummy commit, I can't get through to samba-cvs@samba.org. It can't reallyVolker Lendecke1-1/+0
remember under what mail address I have to post. My last commit to this file made it compile again, my fingers were a bit too fast to really type this message. Sorry for this confusion, Volker (This used to be commit 3b905f5a16dff8ce6742a92fd403cb720707f513)
2003-02-17cmd_srvsvc.cVolker Lendecke1-3/+3
(This used to be commit fcfbb3c430b2e48819c0c1852bc154661c4b7adf)
2003-02-17Typo: /mized/mixed/Martin Pool1-1/+1
(This used to be commit ada36d2fe38dbb07886a671a6d85b6317ab230a8)
2003-02-17Don't pstrcpy into an fstring. (Harmless in this case since it comesMartin Pool1-3/+10
from an environment variable.) (This used to be commit 9f9077346bf9f7c96376169c60aa893f15fb9d2c)
2003-02-17Start reworking rpcclient to use popt rather than next_token to parseMartin Pool1-103/+69
command lines. This makes the code much simpler and also stops trivial syntax errors from causing a crash. Also fix support for semicolon-separated commands in -c, which is promised by the manual but apparently never working due to an off-by-one error. (This used to be commit d85a25e733fe970ae96a02a5cbc892f2b8dca1b7)
2003-02-12Match Samba 2.2 by chosing the correct desired access, and getting cupsaddsmbAndrew Bartlett1-1/+1
back working again. Andrew Bartlett (This used to be commit 512e65a6a6ac5ee97edf1868007db20bb144857f)
2003-02-10added the 'lsaenumacctwithright' command to rpcclient. This allows youAndrew Tridgell1-2/+47
to lookup what SIDs have a particular privilege (that is how privileges are stored). (This used to be commit 3ddb5fb0dd33992b7db54a661752551a3fefc0b4)
2003-01-29Use new interface for cli_samr_query_dispinfo().Tim Potter1-6/+22
(This used to be commit d3962da61a5717dda7e99996bbeb4735d4373041)