1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-06 13:18:07 +03:00
Commit Graph

326 Commits

Author SHA1 Message Date
Tim Potter
5eee0f1968 Added some msdfs client routines.
(This used to be commit 13df2304b3)
2001-06-13 06:37:02 +00:00
Tim Potter
971cbd57dc Added stub dfs client commands to rpcclient.
(This used to be commit e65b486273)
2001-06-06 07:35:08 +00:00
Tim Potter
68e83b0fee Added stubs for dfs rpc client routines.
(This used to be commit abc294c4a8)
2001-06-06 07:32:51 +00:00
Tim Potter
da408d6298 Fixups for new args to cli_samr_connect()
Added samlookupnames and samlookuprids rpcclient commands.
(This used to be commit 2ca5ea16bd)
2001-06-06 07:18:58 +00:00
Tim Potter
f903ec893a Added add domain user to rpcclient.
Added cli_ functions for set userinfo and userinfo2.
(This used to be commit 6c9796286c)
2001-06-04 04:34:50 +00:00
Gerald Carter
9c2f185242 merge from 2.2
(This used to be commit c827787d67)
2001-05-31 18:35:14 +00:00
Gerald Carter
d1e4606740 merge from 2.2
(This used to be commit e30a3be954)
2001-05-31 18:03:45 +00:00
Gerald Carter
7a33f253e1 merge from 2.2
(This used to be commit 7e23ed4890)
2001-05-31 17:28:40 +00:00
Tim Potter
43bc613e74 Added srvinfo and partial logonctrl and logonctrl2 commands.
(This used to be commit c93718daa1)
2001-05-24 08:10:50 +00:00
Tim Potter
95dbe55e57 Fixed compiler warning.
(This used to be commit 6e0805c191)
2001-05-24 08:07:13 +00:00
Tim Potter
3d876c5df1 Removed some level 0 debugs accidentally left in - oops.
(This used to be commit c4e7ce267f)
2001-05-24 02:21:18 +00:00
Tim Potter
b30730b56e Replaced next_command() with call to next_token().
(This used to be commit c9b4ed79c8)
2001-05-24 00:31:53 +00:00
Tim Potter
40ff4007c7 Added stubs for SRVSVC and NETLOGON rpcclient commands.
(This used to be commit 3343c9f0d6)
2001-05-24 00:20:32 +00:00
Gerald Carter
43000d8d06 merge from 2.2 (deleteprinterdriver RPC)
(This used to be commit 515caaf7b4)
2001-05-18 04:11:17 +00:00
Gerald Carter
013b454d1a merge from 2.2 DeletePrinterDriver() server side stud coming
in separate commit after I get it working in 2.2.
(This used to be commit 09506ac0e6)
2001-05-17 18:57:25 +00:00
Tim Potter
baff5a6569 Fixed up SAM_USERINFO_CTR dynamic stuff in cmd_samr_query_user()
(This used to be commit 22b760e246)
2001-05-15 05:02:29 +00:00
Tim Potter
c24bf6d8ab Added arg to querygroupinfo.
(This used to be commit ab58fdf77a)
2001-05-14 03:51:39 +00:00
Tim Potter
862fe3b7ed Memory leak fixes plus general cleanup.
(This used to be commit 48688c4592)
2001-05-11 07:04:47 +00:00
Tim Potter
481a727687 Fixed querydispinfo command.
(This used to be commit 727d2929bc)
2001-05-08 03:53:16 +00:00
Tim Potter
8e84cde71d iAdded querydispinfo and querydominfo functions.
Allow rid to be specified in lookupuser.
(This used to be commit 1ea5aa4a80)
2001-05-07 02:00:28 +00:00
Tim Potter
b8adb72139 Added queryaliasmem function.
Moved fetch_domain_sid() calls out of harms way so they didn't spam out
queries on SAMR pipe.
(This used to be commit 982195c89d)
2001-05-04 07:35:25 +00:00
Tim Potter
a8be5dced6 Tidyup of server vs servername, username vs user to remove compiler
warnings.
(This used to be commit d4f6ce9422)
2001-05-04 07:34:16 +00:00
Tim Potter
206a2a61da Added cmd_samr_enum_dom_groups() function.
(This used to be commit 23427a57da)
2001-05-04 04:17:39 +00:00
Tim Potter
0eaa469aa8 More usability fixes.
(This used to be commit 3434e0bf7f)
2001-05-04 04:15:48 +00:00
Tim Potter
1bbc3d193b Allow ctrl-d to exit rpcclient.
Don't try to run anything if user just presses return at rpcclient prompt.
(This used to be commit 37cdf37fee)
2001-05-04 01:04:23 +00:00
Gerald Carter
e40449fa72 rpcclient merge from 2.2 (including Jeremy's non-void return fix)
(This used to be commit 0a6ceed279)
2001-04-28 00:32:56 +00:00
Jeremy Allison
f9a15ce1a6 Got "medieval on our ass" about adding the -1 to slprintf.
Jeremy.
(This used to be commit 94747b4639)
2001-04-08 20:22:39 +00:00
Tim Potter
7a1f5c517b Changed usage message for query_groupmem and query_usergroups as they don't
convert names to rids yet.
(This used to be commit cea13dff75)
2001-03-28 05:01:54 +00:00
Jeremy Allison
194a87bf76 Added Gerald's fixes.
Jeremy.
(This used to be commit be825b0746)
2001-03-23 21:54:30 +00:00
Jeremy Allison
cd4fea0098 More unused variables.
Jeremy.
(This used to be commit 38b19fad28)
2001-03-23 20:41:22 +00:00
Gerald Carter
6e64ea1473 merge from 2.2 (reorder commands in array)
(This used to be commit 1d14d812ea)
2001-03-19 17:23:26 +00:00
Andrew Tridgell
62711a9ceb fixed rpcclient readline code
(This used to be commit 4ec971e905)
2001-03-19 00:32:16 +00:00
Gerald Carter
207e715059 addprinter and adddriver are working now :-)
(This used to be commit 0cb7639cef)
2001-03-15 22:06:53 +00:00
Gerald Carter
729b7cf214 added getdriverdir and cleaned up the PRINTER_DRIVER_CTR struct
(This used to be commit 5d32167385)
2001-03-15 16:43:19 +00:00
Gerald Carter
f4ae39d53a added getdriver and enumdrivers commands. Also fixed
enumprinters so that it works as well.  Couple of other
misc fixes while we're working on rpcclient.
(This used to be commit 83d6bc4454)
2001-03-15 07:13:27 +00:00
Gerald Carter
79dc43767e more updates. several spoolss commands added as placeholders
to be filled in one at a time.
(This used to be commit 6aaac37663)
2001-03-15 02:15:05 +00:00
Gerald Carter
fb3d8452e5 set of changes in the beginning of bringing rpcclient changes
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 d98ac8852a)
2001-03-14 20:22:57 +00:00
Gerald Carter
381e8299dc move charset_initialize() up in the food chain so that lp_load_services
and stuff will work....
(This used to be commit e652a14264)
2001-03-13 18:48:26 +00:00
Jeremy Allison
da3053048c Merge of new 2.2 code into HEAD (Gerald I hate you :-) :-). Allows new SAMR
RPC code to merge with new passdb code.
Currently rpcclient doesn't compile. I'm working on it...
Jeremy.
(This used to be commit 0be41d5158)
2001-03-11 00:32:10 +00:00
Tim Potter
19a8acda64 rpcclient functions for remaining samr and lsa functions. All functions
now pass through insure except for some of the dodgy spoolss prs
weirdness.
(This used to be commit 76f08426a0)
2001-01-15 23:35:59 +00:00
Tim Potter
7237fd3c85 Pass correctly formatted args to cli_spoolss_open_printer_ex()
(This used to be commit 635db9b601)
2001-01-12 19:47:08 +00:00
Tim Potter
44a9dc1ba8 Memory leak fixes and uninitialised variables spotted by insure.
(This used to be commit 079f46aca4)
2001-01-12 18:19:57 +00:00
Tim Potter
eb1e855f4e Memory leak fixes spotted by insure.
(This used to be commit 8072ee62b0)
2001-01-12 17:53:47 +00:00
Tim Potter
78b2616049 Use MAXIMUM_ALLOWED_ACCESS when doing a cli_spoolss_open_printer_ex()
(This used to be commit 42674cc616)
2001-01-12 02:58:29 +00:00
Tim Potter
fc659e07d0 Start of a rewrite of rpcclient based on the libsmb rpc client routines.
Currently there are a small selection of lsa, samr and spoolss functions
implemented.  More to follow...
(This used to be commit 9a953514f2)
2001-01-11 22:49:30 +00:00
Tim Potter
3478427f2e Port of lsa_lookup_sids() and lsa_lookup_names() rpc client functions from
TNG branch.

Re-instated lsa_lookup_sids and lsa_lookup_names functions in rpcclient.

This requires most samba binaries to link in another handful of object
files due to uncessary coupling between modules.  )-:
(This used to be commit 817819d0cc)
2000-12-08 03:34:00 +00:00
Tim Potter
cf9443677d Modified argc passed to rpc_client cmd_* functions to include argv[0].
Gerald, could you check to see I haven't introduced any bugs into
rpcclient/cmd_spoolss.c?
(This used to be commit 77b0bda4df)
2000-12-08 03:24:38 +00:00
Gerald Carter
072d39165d spoolgetprinterdriver now returns "Windows NT x86" and "Windows 4.0"
driver information.

Will merge into TNG.



jerry
(This used to be commit ae7dd77c24)
2000-09-12 16:03:16 +00:00
Gerald Carter
a86ae846ad added -P (for no prompt) and -A <authfile> options
jerry
(This used to be commit 2d95c38f7e)
2000-08-29 14:43:42 +00:00
Gerald Carter
0136927ed8 fixed an off by one error where I was tromping on memory
when initializing a driver_info_3 struct.  See spoolss_addprinterdriver()



jerry
(This used to be commit 4fad1fc28a)
2000-08-18 06:03:13 +00:00