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

307 Commits

Author SHA1 Message Date
Luke Leighton
926fe6273a added rpcclient svcstop <service name> command. gnu readline
command-completion works.
-
Matthew Chapman
5cb124806d Fixed typo which was preventing the omission of seconds in the 'at' command.
I *love* this scheduler stuff, it's so useful!
-
Luke Leighton
2903f22e7e added yet another rpcclient command: svcstart <service name> [arg0] [arg1] ...
works with command-line completion on the service name (ohh yesss, this
is becoming my favourite bit of functionality-on-the-side hee hee :)

had to fix the svc_io_q_start_service() code which was missing the
ptr_argv[] array in between the array-size and the UNISTR2-array.
i.e it's actually an array of _pointers_ to unicode strings...
-
Luke Leighton
5ca07721ba command-line completion for new svcinfo command -
Luke Leighton
c243231d85 added svcinfo <service name> command. -
Luke Leighton
1c3a6f9822 connection info level renamed to transport info level -
Luke Leighton
37f4aac06f NetServerTransportEnum parsing, client-side and rpcclient "srvtransports" added. -
Luke Leighton
bc5d021916 general, drastic improvements to rpcclient.
added samgroup <groupname> command
added samgroupmem <groupname> command

added proper registry key completion

added sam command user-completion (e.g samuser [tab])

added sam command group-completion (e.g samgroup [tab])
-
Luke Leighton
a5e805806a messing with command-line completion. it sort-of works to be able
to enumerate down a key tree, but it's a serious fudge.  oops.
-
Luke Leighton
50890516fd added gnu readline command-line completion to the regenum command. -
Luke Leighton
6a759c57dc rpcclient regenum key client code rewritten to use higher order functions. -
Luke Leighton
b794ff2130 rewrite rpcclient sam enum user code to use higher order functions. -
Luke Leighton
4a44cccf44 using #defines for function prototypes -
Luke Leighton
497d423172 more reshuffling of enum groups code. more higher order functions. -
Luke Leighton
229313de7d using higher-order-function in enum groups as a test. makes it really
useful for doing things _other_ than just "print me".
-
Luke Leighton
8d181924ce restructuring sam enum dom groups code to do multiple calls to
sam_enum_dom_groups.  enum dom aliases is still left to do (dom users
already done).
-
Luke Leighton
a78607b5db restructuring samr client code. -
Luke Leighton
4d5b860802 removed samr_* variables from info struct. -
Luke Leighton
3f99ab7720 rewrote samr enum groups code a bit. -
Luke Leighton
de69f3ef77 no CLIX, no !HAVE_READLINE blah blah. argh. -
Luke Leighton
d2d5a853f8 created samr_query_groupmem() function from existing code. -
Luke Leighton
1be877114e adding extra parameter back in to trust account functions (trust account name).
restoring opening S-1-5-20 in sam enum users code.
-
Luke Leighton
c25560ba43 cut/paste code from smbclient for wait_keyboard() function. oops. -
Luke Leighton
c8fd555179 - typecast malloc / Realloc issues.
- signed / unsigned issues.
-
Luke Leighton
6e22bf912c signed / unsigned and typecast issues -
Luke Leighton
19490d8b4f one of those wonderful moments when running against a different MSRPC
implementation (NT5) when you discover that your code is trash.
samr_enum_dom_users(), samr_enum_dom_aliases() and samr_enum_dom_groups()
all take a HANDLE for multiple-call enumeration purposes.
-
Luke Leighton
134b20e2a7 the dynamic memory alloc blood-fest goes on... -
Luke Leighton
4b06f30323 turning some of the rpcclient functions dynamic. this is likely to
break a few things...
-
Luke Leighton
8976eca2db various. debug levels changed. nmbd doesn't need libsmb/clienttrust.c.
samr_lookup_rids() moved to a dynamic memory structure not a
static one limited to 32 RIDs.  cli_pipe.c reading wasn't checking
ERRmoredata when DOS error codes negotiated (this terminates
MSRPC code with prejudice).
-
Luke Leighton
02f2406042 need status codes from cli_net_req_chal() and cli_net_auth2().
this format is what i would like _all_ these functions to be
(returning status codes, not BOOL) but that's a horrendous
amount of work at the moment :)
-
Luke Leighton
af05710d0b oops, added wait_keyboard back, but _this_ time wrapped it with
HAVE_READLINE
-
Luke Leighton
8cb6163b06 removed unused static wait_keyboard() -
Luke Leighton
39c367b8e9 splitting dom info into sam_query_dominfo function -
Luke Leighton
cbc646b1d8 permissions on SamrConnect changed to 0x02000000 (maximum allowed) -
Luke Leighton
42eb916fae error-code checking in lsa_lookup_sids. anonymous connections for
domain info.  adjusting net_srv_get_info function.
-
Luke Leighton
d99eca020a split matthew's sync command (only currently called from smbpasswd)
into a separate module
-
Luke Leighton
25025f4505 reading in smb server domain name from SMBnegprot response -
Luke Leighton
6c98d6c9aa added rpcclient SamrQueryDisplayInfo command "dispinfo" -
Luke Leighton
9d74161a92 restructuring -
Luke Leighton
7fc2ee2f96 using #define report -
Luke Leighton
8fb2ff247a - initialising mach_passwd_file locks to zero (prev. uninit.)
- cleanup

- #defined report to sprintf as it's #defined to another function in
  other uses of cmd_lsarpc.c
-
Luke Leighton
1cde47ba6a debugged enumgroups -g option -
Luke Leighton
e2a72e2c64 added call to samr_query_groupinfo in enumgroups command (-m option) -
Luke Leighton
65a54b6e16 improved "dominfo" rpcclient command -
Luke Leighton
7a383a2a02 added experimental del_groupmem and del_aliasmem commands that were not
being called from rpcclient.c

improved add_groupmem command, but cannot test it against nt non-pdc!
-
Luke Leighton
e0713cf933 display of session enum info -
Luke Leighton
819af56074 event log update, netsessenum, netconnenum update. -
Luke Leighton
bcc1212b07 event log update -
Luke Leighton
ec11bbaf54 added some usage info for rpcclient. -
Luke Leighton
b2d9cbef6f reverted jeremy's c++-like security descriptor modifications as the
simplest method to get rpcclient's reggetsec command working.  the
buffers passed as arguments in do_reg_get_key_sec() do need to be
locally allocated not dynamically allocated, as two calls to
reg_get_key_sec() are needed.  on the first, the server fills in the
size of the security descriptor buffer needed.  on the second, the
server fills in the security descriptor buffer.
-