1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-15 23:24:37 +03:00

3174 Commits

Author SHA1 Message Date
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.
-
Jean-François Micouleau
a893df5c00 Correctly handle the dependent files in the printer_driver_info_3 struct
It means complex printer drivers should now download fine.

	J.F.
-
Jean-François Micouleau
7dc7801c20 Alan (alanh@pinacl.co.uk) found a nasty bug
J.F.
-
Jean-François Micouleau
706acb17cf Whoops ! Being over-paranoid is not good.
J.F.
-
Jean-François Micouleau
a204a9adb8 use gecos field to fill the full_name
don't overwrite backend values with defaults values.

	J.F.
-
Matthew Chapman
740d8388cb Fixed an annoying bug in the LDAP code. Attributes not present in the
LDAP database were being initialised using unix_to_nt_time on -1, rather
than -1 as an NTTIME (which is very different).

Problems solved (hopefully):
* "Access Denied" when accessing an NT share in a Samba controlled domain.
* "Your password has expired" sometimes when logging in.
-
Luke Leighton
d99eca020a split matthew's sync command (only currently called from smbpasswd)
into a separate module
-
Luke Leighton
cc19d5cc5c testing for attempts to get more info levels into samr_query_userinfo -
Luke Leighton
25025f4505 reading in smb server domain name from SMBnegprot response -
Luke Leighton
a8d4560e00 #defines for port 445 to SMB_PORT2 -
Luke Leighton
f9f8aa72a5 use DEBUGLEVEL not DEBUGLVL() -
Luke Leighton
1d05d2c959 wow!!!! this one's been here for two years!!!! alignment issues
in smb_io_dom_query() where the string name could mis-align!
added a call to prs_align() after the domain string name.
-
Luke Leighton
5c551e63f2 oops. -
Luke Leighton
6c98d6c9aa added rpcclient SamrQueryDisplayInfo command "dispinfo" -
Luke Leighton
9d74161a92 restructuring -
Luke Leighton
7fc2ee2f96 using #define report -