1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-08 05:57:51 +03:00

2989 Commits

Author SHA1 Message Date
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
b0aa933ef4 added HKEY_CLASSES_ROOT MSRPC open call. reg_open_hkcr etc. supported
in rpcclient, regenum HKEY_CLASSES_ROOT or regenum HKCR to test.
-
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
fdef97eb7c cli_nt_setup_creds() returns uint32 NT status code not a BOOL.
removed all comparisons to if (fn() == False), replaced with if (!fn()).
-
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
3adc31083b rewrote api_net_sam_logon() to be a little clearer. -
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
96d8e14f50 the new CAP_EXTENDED_SECURITY code needed to support NTLMv2. also removed
switching on CAP_STATUS32 from non-CAP_EXTENDED_SECURITY code (enabled
for test purposes only)
-
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
479fc93bd0 split modify_trust_account_password into a separate module. -
Luke Leighton
63431997ee use DEBUGADD instead of DEBUG: clears up some of the more verbose trash. -
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
6f933fb359 initialising enum dom users mem and account name ptrs to NULL. -
John Terpstra
62593d39a5 Bringing samba-2.1.x samba2.spec.tmpl file into line with samba-2.0.x release tree. -
Luke Leighton
b4ba49c5c1 added prs_struct "error" member, set and checked when prs_struct
data is handled.
-
Luke Leighton
4c98d71ebd adding error checking in parsing code -
Luke Leighton
134cb4cdff renamed "class" local variable to avoid global clash -
Luke Leighton
2af635f8b7 oops! srvinfo 2 command caught bug where strings in containers assumed
to exist.  not good!
-
Luke Leighton
7b3666f01c renamed args due to global "class" variable -
Luke Leighton
3b583f7be5 return results on prs_xxxxx() and all xxx_io_xxx() routines.
the whole task is not complete, yet.  xxx_io_xxx() routines that
_call_ xxx_io_xxx() routines not done.

prs_xxxx() covered by macros.  considering doing xxx_io_xxxx in the same way.
-
Luke Leighton
8cb6163b06 removed unused static wait_keyboard() -
Tim Potter
61d5407159 According to params/loadparm.c, the "case sensitive", "casesignames",
and "short preserve case" name mangling parameters are local options
but the documentation says they are globals.
-
Luke Leighton
858f79b362 const issues -
Luke Leighton
144fd01f37 stop over-runs in reading / writing data stream. -
Luke Leighton
57f95a0198 adding CAP_EXTENDED_SECURITY support in a hurry last week. forgot to
deal with linking issues in other binaries
-
Luke Leighton
e5b80bd2f7 - added rudimentary CAP_UNICODE support because i thought it was part of
a problem i was having.

- added rudimentary CAP_STATUS32 support for same reason.

- added hard-coded, copy-the-same-data-from-over-the-wire version of
CAP_EXTENDED_SECURITY, which is a security-blob to encapsulate
GSSAPI which encodes
SPNEGO which is used to negotiate
Kerberos or NTLMSSP.  i have implemented
NTLMSSP which negotiates
NTLMv1 or NTLMv2 and 40-bit or 128-bit etc.  i have implemented
NTLMv1 / 40-bit.

*whew*.
-
Luke Leighton
16dd94db1f David van Geyn spotted that ulong is not defined on FREEBSD, not supposed
to use ulong use uint32 instead.
-
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
9a43a25511 memory problems associated with when lsalookupsids returns
NT_STATUS_NONE_MAPPED.
-
Herb Lewis
d3dd8cdc12 add description of -P option -
Jean-François Micouleau
bee11f8889 don't leak printer handles,
don't coredump when adding forms,
and a small non obvious memory leak in the rpc buffers

	J.F.
-
Jean-François Micouleau
f328ae8024 Don't duplicate forms anymore, just update the definition.
Many memory leaks fixed.

	J.F.
-