1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-27 14:04:05 +03:00

323 Commits

Author SHA1 Message Date
Tim Potter
2ca5ea16bd Fixups for new args to cli_samr_connect()
Added samlookupnames and samlookuprids rpcclient commands.
-
Tim Potter
6c9796286c Added add domain user to rpcclient.
Added cli_ functions for set userinfo and userinfo2.
-
Gerald Carter
c827787d67 merge from 2.2 -
Gerald Carter
e30a3be954 merge from 2.2 -
Gerald Carter
7e23ed4890 merge from 2.2 -
Tim Potter
c93718daa1 Added srvinfo and partial logonctrl and logonctrl2 commands. -
Tim Potter
6e0805c191 Fixed compiler warning. -
Tim Potter
c4e7ce267f Removed some level 0 debugs accidentally left in - oops. -
Tim Potter
c9b4ed79c8 Replaced next_command() with call to next_token(). -
Tim Potter
3343c9f0d6 Added stubs for SRVSVC and NETLOGON rpcclient commands. -
Gerald Carter
515caaf7b4 merge from 2.2 (deleteprinterdriver RPC) -
Gerald Carter
09506ac0e6 merge from 2.2 DeletePrinterDriver() server side stud coming
in separate commit after I get it working in 2.2.
-
Tim Potter
22b760e246 Fixed up SAM_USERINFO_CTR dynamic stuff in cmd_samr_query_user() -
Tim Potter
ab58fdf77a Added arg to querygroupinfo. -
Tim Potter
48688c4592 Memory leak fixes plus general cleanup. -
Tim Potter
727d2929bc Fixed querydispinfo command. -
Tim Potter
1ea5aa4a80 iAdded querydispinfo and querydominfo functions.
Allow rid to be specified in lookupuser.
-
Tim Potter
982195c89d Added queryaliasmem function.
Moved fetch_domain_sid() calls out of harms way so they didn't spam out
queries on SAMR pipe.
-
Tim Potter
d4f6ce9422 Tidyup of server vs servername, username vs user to remove compiler
warnings.
-
Tim Potter
23427a57da Added cmd_samr_enum_dom_groups() function. -
Tim Potter
3434e0bf7f More usability fixes. -
Tim Potter
37cdf37fee Allow ctrl-d to exit rpcclient.
Don't try to run anything if user just presses return at rpcclient prompt.
-
Gerald Carter
0a6ceed279 rpcclient merge from 2.2 (including Jeremy's non-void return fix) -
Jeremy Allison
94747b4639 Got "medieval on our ass" about adding the -1 to slprintf.
Jeremy.
-
Tim Potter
cea13dff75 Changed usage message for query_groupmem and query_usergroups as they don't
convert names to rids yet.
-
Jeremy Allison
be825b0746 Added Gerald's fixes.
Jeremy.
-
Jeremy Allison
38b19fad28 More unused variables.
Jeremy.
-
Gerald Carter
1d14d812ea merge from 2.2 (reorder commands in array) -
Andrew Tridgell
4ec971e905 fixed rpcclient readline code -
Gerald Carter
0cb7639cef addprinter and adddriver are working now :-) -
Gerald Carter
5d32167385 added getdriverdir and cleaned up the PRINTER_DRIVER_CTR struct -
Gerald Carter
83d6bc4454 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.
-
Gerald Carter
6aaac37663 more updates. several spoolss commands added as placeholders
to be filled in one at a time.
-
Gerald Carter
d98ac8852a 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
-
Gerald Carter
e652a14264 move charset_initialize() up in the food chain so that lp_load_services
and stuff will work....
-
Jeremy Allison
0be41d5158 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.
-
Tim Potter
76f08426a0 rpcclient functions for remaining samr and lsa functions. All functions
now pass through insure except for some of the dodgy spoolss prs
weirdness.
-
Tim Potter
635db9b601 Pass correctly formatted args to cli_spoolss_open_printer_ex() -
Tim Potter
079f46aca4 Memory leak fixes and uninitialised variables spotted by insure. -
Tim Potter
8072ee62b0 Memory leak fixes spotted by insure. -
Tim Potter
42674cc616 Use MAXIMUM_ALLOWED_ACCESS when doing a cli_spoolss_open_printer_ex() -
Tim Potter
9a953514f2 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...
-
Tim Potter
817819d0cc 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.  )-:
-
Tim Potter
77b0bda4df 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?
-
Gerald Carter
ae7dd77c24 spoolgetprinterdriver now returns "Windows NT x86" and "Windows 4.0"
driver information.

Will merge into TNG.



jerry
-
Gerald Carter
2d95c38f7e added -P (for no prompt) and -A <authfile> options
jerry
-
Gerald Carter
4fad1fc28a fixed an off by one error where I was tromping on memory
when initializing a driver_info_3 struct.  See spoolss_addprinterdriver()



jerry
-
Gerald Carter
ce2d20395a FIxed some unmarshalling problems with relstr and unistr arrays
jerry
-
Jeremy Allison
e466c863f5 Tidied up security rights definitions.
Jeremy.
-
Gerald Carter
206565368b Working on spoolss_getprinterdriver() as it does not display all the
dependentfiles.



jery
-