summaryrefslogtreecommitdiff
path: root/source3/rpcclient
AgeCommit message (Collapse)AuthorFilesLines
2002-10-04merge of new client side support the Win2k LSARPC UUID in rpcbindGerald Carter11-91/+99
from APP_HEAD (This used to be commit 1cfd2ee433305e91e87804dd55d10e025d30a69e)
2002-09-25sync'ing up for 3.0alpha20 releaseGerald Carter5-102/+83
(This used to be commit 65e7b5273bb58802bf0c389b77f7fcae0a1f6139)
2002-08-17sync 3.0 branch with HEADJelmer Vernooij7-174/+477
(This used to be commit 6497eb78e87a6ffa4c2c61aa4ef6ecd451821a27)
2002-07-15updated the 3.0 branch from the head branch - ready for alpha18Andrew Tridgell7-270/+519
(This used to be commit 03ac082dcb375b6f3ca3d810a6a6367542bc23ce)
2002-05-07Merge from HEAD:Tim Potter1-39/+156
>Added cli_spoolss_enumjobs() function. >Added cmd_spoolss_enumjobs() function to rpcclient. > >The semantics of the src_len argument to rpcstr_pull() seem to have changed >breaking most of the spoolss commands in rpcclient. Changed a bunch of >0's to -1's to fix it. (This used to be commit dce534d4373cc0f204d82e0876bb94db8dfeb628)
2002-04-15Merge of lsa lookup names/sids patch from HEAD.Tim Potter1-10/+11
(This used to be commit e57c162897d4a7e66bb87091d179ac138f751c64)
2002-04-04Free popt context after argument parsing.Tim Potter1-0/+2
(This used to be commit f287f62962feca6dac8747d16676dc64723eb5b1)
2002-04-03removing unused files....Gerald Carter1-88/+0
(This used to be commit 3d542abdb1805bf746eb9a7ef41fc904534f4edb)
2002-04-02added "list <pipe>" command to display the available commandsGerald Carter1-0/+45
one a single pipe (This used to be commit b73a8416d31c0ec7975ba022f5c425a581497b72)
2002-04-02some mergee from SAMBA_2_2. Does compile, but needs some more testing.Gerald Carter1-13/+160
This is an intermediate check-in. More to come.... (This used to be commit 5b9b152971aa635d484cde45413a7880424ee22d)
2002-03-17Renamed get_nt_error_msg() to nt_errstr().Tim Potter2-4/+4
(This used to be commit 1f007d3ed41c1b71a89fa6be7d173e67e927c302)
2002-03-08Swap order of close brace and done: tag to appease AIX compiler. Order ↵Jim McDonough1-1/+1
shouldn't matter for logic...if anyone disagrees whack me over the head and explain why... (This used to be commit 4081ce40dda886aeb01f590f00bfe50e0e4e8ae4)
2002-03-08One more fix to get popt to work for some compilers...this is the downside ↵Jim McDonough1-15/+22
to popt. Every option has to be in fixed storage. (This used to be commit e5e7132e80bfe599d56809bf47a13d2028ee9c86)
2002-03-07Convert rpcclient to use popt instead of getopt. Includes changing of ↵Jim McDonough1-32/+46
got_pass from BOOL to int. Also includes long option names...anyone want those different before I update the doc? Please try this out. I've tried to test all the flags, but the more times we kick the tires... (This used to be commit cd34897749dc5819dd7239269fbd5dcef5bea5c0)
2002-03-07Cosmetic fixup for enum_printersTim Potter1-2/+5
(This used to be commit bb0ef8bc305da7490a19a6f4efd2aa60bf14aef1)
2002-03-07Fixed a bunch of crash bugs for enumprinters at various info levels.Tim Potter2-30/+41
(This used to be commit d9df00e2b1764619491900b7dbd7d5af34feed1b)
2002-03-07argc == 0 is an impossible condition.Tim Potter1-1/+2
(This used to be commit 5b195f8bf14b11edca74db5fd9658916447b363d)
2002-03-02Allow Samba to trust NT4 Domains.Andrew Bartlett1-1/+1
This commit builds on the auth subsystem to give Samba support for trusting NT4 domains. It is off by default, but is enabled by adding 'trustdomain' to the 'auth methods' smb.conf paramater. Tested against NT4 only - there are still some issues with the join code for Win2k servers (spnego stuff). The main work TODO involves enumerating the trusted domains (including the RPC calls to match), and getting winbind to run on the PDC correctly. Similarly, work remains on getting NT4 to trust Samba domains. Andrew Bartlett (This used to be commit ac8c24a9a888a3f916e8b40238b936e6ad743ef7)
2002-02-26merge from 2.2 - fix parsing of optionsHerb Lewis1-14/+16
(This used to be commit c849e93392e3206b010949566a65a339f5064031)
2002-02-25Implemented client side functions for SPOOLSS addform, getform, setform andTim Potter1-13/+150
enumforms. (This used to be commit e69222f0816878e3211e3dedb049de50ca90fed0)
2002-02-20Converted remaining spoolss rpcclient functions to werror/needed/offered.Tim Potter1-52/+60
I couldn't test some of these because I didn't know the right magic arguments to pass to rpcclient (familiar anyone? (-:) so there may be some bugs lurking. (This used to be commit 029e2b307d91171168040e71d2e5d5e0d01b7633)
2002-02-19Converted {cmd,cli}_spoolss_getprinter() to WERROR and offered/neede.Tim Potter1-14/+23
(This used to be commit fccfa034e92bca145b8e0639e405f6af5bb1a50b)
2002-02-19Converted cmd_spoolss_enumprinterdrivers() to use newTim Potter1-13/+14
cli_spoolss_enumprinterdrivers() function. (This used to be commit ae38fcf62c4b9503d4df02761dadb1bb7d166a9c)
2002-01-31Added addform, setform and deleteform commands. The only one I could getTim Potter1-4/+169
to actually work was addform. )-: Removed a whole bunch of calls to werror_to_ntstatus() because there isn't a one-to-one mapping of NTSTATUS values to WERROR values. This function maps WERR_ACCESS_DENIED to NTSTATUS_INVALID_LOCK_SEQUENCE or something silly like that. (This used to be commit 825b5c8bd6d0f114faf3b0fd91eb374cbfb8c8b7)
2002-01-30Removed version number from file header.Tim Potter15-30/+15
Changed "SMB/Netbios" to "SMB/CIFS" in file header. (This used to be commit 6a58c9bd06d0d7502a24bf5ce5a2faf0a146edfa)
2002-01-26Back out some of the less well thought out ideas from last weeks work onAndrew Bartlett1-10/+1
winbind default domains, particulary now I understand whats going on a lot better. This ensures that the RPC client code does as little 'magic' as possible - this is up to the application/user. (Where - for to name->sid code - it was all along). This leaves the change that allows the sid->name code to return domains and usernames in seperate paramaters. Andrew Bartlett (This used to be commit 5dfba2cf536f761b0aee314ed9e30dc53900b691)
2002-01-26Make a talloc'ed copy of this strings so we can pass the right kind of pointerAndrew Bartlett1-1/+5
to the function. This fixes a nice little segfault the brute-force-casting created. :-) Andrew Bartlett (This used to be commit c84fa7f5fd62940e397d3353fb688f283349393e)
2002-01-20This patch makes the 'winbind use default domain' code interact better withAndrew Bartlett1-4/+9
smbd, and also makes it much cleaner inside winbindd. It is mostly my code, with a few changes and testing performed by Alexander Bokovoy <a.bokovoy@sam-solutions.net>. ab has tested it in security=domain and security=ads, but more testing is always appricatiated. The idea is that we no longer cart around a 'domain\user' string, we keep them seperate until the last moment - when we push that string into a pwent on onto the socket. This removes the need to be constantly parsing that string - the domain prefix is almost always already provided, (only a couple of functions actually changed arguments in all this). Some consequential changes to the RPC client code, to stop it concatonating the two strings (it now passes them both back as params). I havn't changed the cache code, however the usernames will no longer have a double domain prefix in the key string. The actual structures are unchanged - but the meaning of 'username' in the 'rid' will have changed. (The cache is invalidated at startup, so on-disk formats are not an issue here). Andrew Bartlett (This used to be commit e870f0e727952aeb8599cf93ad2650ae56eca033)
2002-01-19fixes (asprintf) from 2.2Simo Sorce1-3/+7
(This used to be commit 6b123adda901ff05b0271eeda060297448f64eec)
2002-01-07Converted getprinterdriver to WERROR - it always returns dos error 6Tim Potter1-11/+17
(invalid handle) though. )-: (This used to be commit 7bfd1f35e4e194f8a2f07046e4a6c005c256c05b)
2002-01-06Converted enumprinters and enumports cmd functions to use WERRORTim Potter1-32/+39
values returned from cli functions. They are converted to NTSTATUS codes using the error map functions. Do buffer size loop checks by setting offered = 0 and using the return value of needed in the next call. (This used to be commit 4efbdda3fcfd1fad2f2b8909d250735382497836)
2002-01-06spoolss rpc client cleanup:Tim Potter1-35/+62
- converted OpenPrinterEx and ClosePrinter to WERROR instead of NT_STATUS - doc (This used to be commit 248d114f856f1adb76c903b683e0927530771443)
2002-01-06Display nicer message when server name could not be resolved.Tim Potter1-3/+3
(This used to be commit 950d8e365626ecbd82e9ee965dc1724dc50c64a4)
2002-01-03Fixed crash bug in display_print_info_2()Tim Potter1-65/+87
(This used to be commit b70f870cd98e30d0ce74d322391cc79d65c5f838)
2002-01-03Fixed crash bug in display_print_info_1()Tim Potter1-3/+13
(This used to be commit d1564fbf1f4950c12516470d4566efeca3ad79e5)
2001-12-30Unicode byte ording fix from Benjamin Kuit <bj@it.uts.edu.au>Tim Potter1-1/+1
(This used to be commit 6b7e9d03cf6093f1108642deddb0f8cc42e59067)
2001-12-30Finish idra's cleanup of the RPC remote shutdown code.Andrew Bartlett1-4/+2
(This used to be commit 79031b68ce6bdf882d9c9bd4f3310f597e0c1fda)
2001-12-30remove unneaded memory leaking code.Simo Sorce1-16/+0
(This used to be commit d2c663185e13974f953a60adf1b191b56bfa08f4)
2001-12-21close some handles. not really necessary but doesn't hurt.Jean-François Micouleau1-0/+3
J.F. (This used to be commit 55b9cd7af611e5f76896e1849529629e5e7caaf8)
2001-12-21added all level to samr_query_disp_info rpcclient side.Jean-François Micouleau1-21/+102
J.F. (This used to be commit d5f2e645e43224b966c17c593fff33b64d6c0a8b)
2001-12-21put back the -l option to rpcclient.Jean-François Micouleau1-1/+8
that's the most useful option in this tool ! I love rpcclient ;-) J.F. (This used to be commit 18dc4cd57a53480684ea9e2bc6a6442535f89119)
2001-12-21Fix for null command description in rpcclient help. From Benjamin KuitTim Potter1-1/+2
<bj@it.uts.edu.au>. (This used to be commit 60d1d0bfa93bfb8264b117147b651b521dbf28ce)
2001-12-20lp_setup_logfile() doesn't exist any moreAndrew Tridgell1-7/+1
(This used to be commit aa52ae7354ae5ab803da4686f344cfc4ca134c46)
2001-12-20Removed global debugf. Replaced with lp_set_logfile(name).Jeremy Allison2-5/+5
Fixed winbindd to finally stop leaving log. file droppings :-). Jeremy. (This used to be commit 0bea6cf79a44f79fa3a4f2c8381e898e79c66509)
2001-12-18initialise stringsJean-François Micouleau1-4/+4
(This used to be commit cb61606b8e2852779a03dab3f99a8886edd7a97f)
2001-12-13update the ldap support code. it compiles.Jean-François Micouleau2-5/+12
Ignacio you can update your howto ;-) samsync: a small patch to try chaning challenges. J.F. (This used to be commit c99bc305599698f2291efbfe20024355cb2bcde0)
2001-12-13Fix some compiler warnings.Tim Potter1-2/+1
(This used to be commit 216dff438095781934b57fd097ed118daf5fffa0)
2001-12-12added a -V[erbose] option to samsync. Decode a lot of informationJean-François Micouleau2-18/+275
I'm looking at chaining the credentials J.F. (This used to be commit d49c8e4d3d64b48e243d0f517b9e7f037103af13)
2001-12-11SAMR query sec obj returns different results depending on which sam handleTim Potter1-12/+34
it is passed. Not sure what these different contexts are called or what they are used for. - if a rid is specified to samquerysecobj then use the sam user policy handle for that rid - if -d is specified then use the sam domain policy handle - otherwise just use the sam connect policy handle JF, any ideas about this? (This used to be commit 4ef50ef9f76219ea8acc29a1d740b31a1d7a1e04)
2001-12-11Grr - people who put const everywhere should fix up all the warnings theyTim Potter1-1/+2
generate. (This used to be commit d1ebd259c8c06d467eb5ee305b21e9046f16e05b)