1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-14 19:24:43 +03:00

20313 Commits

Author SHA1 Message Date
Gerald Carter
99b031e190 r25401: BUG 4982: Don't delete lanman hashes on invalid logins when
using the "lanman auth = no".  Tested by Guenter Kukkukk.
(This used to be commit 611fdd95a583ebd22ffa17e2f39c5a1bb0936c63)
2007-10-10 12:31:02 -05:00
Gerald Carter
3529156971 r25400: Windows 2008 (Longhorn) Interop fixes for AD specific auth2 flags,
and client fixes.  Patch from Todd Stetcher <todd.stetcher@isilon.com>.
(This used to be commit 8304ccba7346597425307e260e88647e49081f68)
2007-10-10 12:31:02 -05:00
Jeremy Allison
470ebf8a35 r25399: Excise uint - > uint32 (where appropriate) or unsigned int.
Jeremy.
(This used to be commit b4ee924000f4a21b16a70e08e58331d209c4d114)
2007-10-10 12:31:02 -05:00
Günther Deschner
314cb03db1 r25396: Very obvious fix from Martin Zielinski.
Guenther
(This used to be commit 1f0d05807b7fe31cc4be59c7a2e850c9ec3e3864)
2007-10-10 12:31:02 -05:00
Gerald Carter
1f4e302dc2 r25393: Removed unused variable
(This used to be commit 11894a62e3a41f3387fac1a578258321333085ac)
2007-10-10 12:31:01 -05:00
Jeremy Allison
152a1f4a7d r25391: Fix bug #4978 : Store DOS Attributes fails when copying folders.
Jeremy.
(This used to be commit 713277391ae7f81f8545723c919865ff8c07ed86)
2007-10-10 12:31:01 -05:00
Jeremy Allison
7fc3a0663c r25389: Fix crash bug using DFS info struct uninitialized.
Jeremy.
(This used to be commit 993bd0995eadc134378e691ccd796074dc475741)
2007-10-10 12:31:01 -05:00
Gerald Carter
d7a4d51ead r25380: Remove the groupdb:mapping parameter as discussed in the following thread:
http://lists.samba.org/archive/samba-technical/2007-June/053747.html
(This used to be commit c5adb92c020e38644baf1afc8fc570a518cd6307)
2007-10-10 12:31:01 -05:00
Günther Deschner
4d7a1c3bcf r25370: Allow to delete registry keys recursively without deleting the final key.
Guenther
(This used to be commit e9922cd8aeb70aebb162ad598fda76ad69226b94)
2007-10-10 12:31:01 -05:00
Günther Deschner
3d4af73f50 r25362: Add "NT Authority\System" with Full Access to the default registry security
descriptor.

Guenther
(This used to be commit ddc6d051115577b27529c46ff98267517218fe59)
2007-10-10 12:31:00 -05:00
Steve French
b486621c7f r25355: IP address parsing did not allow for fully expanded ipv6 addresses
(which can be 12 bytes longer than we were allowing for).

Thanks to Dr. David Holder
(This used to be commit 0202a84e3f61665953bd5207218063b0d5ff6088)
2007-10-10 12:31:00 -05:00
Günther Deschner
3309aacc99 r25328: When using ldap sasl wrapping with gssapi it's important to receive warnings
for clock-skew errors.

Guenther
(This used to be commit 53c99d415d605ab03e3646f6096aff794457dd33)
2007-10-10 12:31:00 -05:00
Volker Lendecke
aea0d4b9a0 r25327: Normalize the path we return for 'msdfs proxy'
We now accept both \\server\tmp and \server\tmp. There are other places
where this might be necessary, but at least the functionality is a bit
easier now.
(This used to be commit 25cc27df97e9eecb470f99ea934de12f2a0f4df9)
2007-10-10 12:31:00 -05:00
Günther Deschner
f0653fd572 r25326: Free the context from the talloc_stackframe.
Guenther
(This used to be commit 0719835c4d979c91d11b139e5b424b5e0dc2a2c2)
2007-10-10 12:31:00 -05:00
Günther Deschner
32925f27ca r25325: Rename some defines.
Guenther
(This used to be commit cc38e4fc1f2d3f9e2e2ff90a7a004ce8fdfa9238)
2007-10-10 12:30:59 -05:00
Volker Lendecke
e0402fa870 r25324: Fix "msdfs proxy"
Jeremy, please check!
(This used to be commit d4eddf88d20b09c450d4358d2ef1bc35736501ff)
2007-10-10 12:30:59 -05:00
Volker Lendecke
33fd077575 r25323: Fix the build
(This used to be commit e55b30ab8417cb36def8e4d8b8f6ba16b4e664c1)
2007-10-10 12:30:59 -05:00
Volker Lendecke
d7a97b4b4c r25317: Activate raw-samba3rootdirfid
(This used to be commit 1cbe40b27c8142c53480fc9c4e1b0c9f14446300)
2007-10-10 12:30:58 -05:00
Günther Deschner
c32358d001 r25314: Add HKEY_CURRENT_USER to reg_hive_key().
Guenther
(This used to be commit 693b3c26c0643028e861b78068c2bcda0add1105)
2007-10-10 12:30:58 -05:00
Günther Deschner
2fcdaae84c r25313: dd HKEY_CURRENT_USER to rpccli_winreg_Connect().
Guenther
(This used to be commit eb311cafbb446abf8e29faf6501cf5b82593a36f)
2007-10-10 12:30:58 -05:00
Volker Lendecke
fb7ee0804c r25311: Patch from Heinrich Mislik <Heinrich.Mislik@univie.ac.at> to fix AIX
quotas.

Heinrich, I trust you on that, I don't even have compiled this :-)

Volker
(This used to be commit a8312a1d7b7e3ad00265279dd0640261beaa287d)
2007-10-10 12:30:58 -05:00
Jeremy Allison
e6228e2541 r25309: Volker's fix for bug #4984 - samba4 torture test
to follow. Ensure we don't prepend "./" as a root
directory - this is an invalid pathname for unix_convert().
Jeremy.
(This used to be commit f70ac2e25847e41ecf54ae9d66e3247e1996b152)
2007-10-10 12:30:58 -05:00
Michael Adam
c97fe37ea3 r25294: Tidy up callers of unistr2_to_ascii() to pass sizeof(target_area) to
the maxeln parameter instead of sizeof(target_area) - 1 (or even
sizeof(fstring) - 1 in some places.

I hope these were really all there were.

Michael
(This used to be commit 9a28be220df622322857dfe102fa35e108f932dc)
2007-10-10 12:30:58 -05:00
Michael Adam
6873d5446e r25287: Eliminate a handful of red bars and overly long lines I just
came across.

Michael
(This used to be commit bf12f0c0f843f088c7fa2d1eca3298a3d76e9761)
2007-10-10 12:30:57 -05:00
Michael Adam
30fc640057 r25286: Fix one more caller of unistr2_to_ascii() that passed
in -1 for maxlen.

Michael
(This used to be commit cd3d652d0d7609fc369ed0743c1fc54c87558438)
2007-10-10 12:30:57 -05:00
Michael Adam
91b276e4ea r25285: Fix some more callers of unistr2_to_ascii to use the size of
destination instead of source as maxlen.

Michael
(This used to be commit 76cb05deec153c1e0003776339da912a0f3d73a9)
2007-10-10 12:30:57 -05:00
Michael Adam
3b5666bb00 r25281: Fix a caller of unistr2_to_ascii():
The maxlen parameter should be set to the size of the
destination, not to the size of the soruce.

Michael
(This used to be commit 841ff0beee7ea44ee92d1f90de3edeb53edcae0a)
2007-10-10 12:30:57 -05:00
Jeremy Allison
3f2939cc16 r25277: Belt-and-braces approach to Volker's fix for RPC-SAMBA3-GETUSERNAME.
If we promise dest is null terminated, ensure we do it even on
fast path exits.
Jeremy.
(This used to be commit 32626e2b9770eb6b15c191a8feb881f81ed6c57a)
2007-10-10 12:30:57 -05:00
Stefan Metzmacher
ba93d0e5c8 r25275: w2k3 (as PDC emulator) returns WERR_NO_SUCH_DOMAIN to netlogon_getanydcname()
when called for it's own domain. So we should use netlogon_getdcname() which
returns WERR_OK:-)

gd: feel free to usage rpccli_netlogon_dsr_getdcname(), but please make sure
    the new WINBIND-STRUCT-GETDCNAME test is still passing.

metze
(This used to be commit 9a9c164366a252ab8268b687699d54048ced993f)
2007-10-10 12:30:56 -05:00
Volker Lendecke
7cbcb5f8c5 r25274: Attempt to fix RPC-SAMBA3-GETUSERNAME
(This used to be commit f6f64cf0b51f2fb841bd1c0f800c66114c213577)
2007-10-10 12:30:56 -05:00
Jeremy Allison
c1284b8eb8 r25273: unistrX_to_ascii calls pull_ucs2 - ensure it's never
called with -1 (these calls were wrong anyway, target
was an fstring, not a pstring). Found by  Michael Adam <ma@sernet.de>,
now to check all other uses.
Michael - this version uses sizeof(target) not sizeof(fstring).
This way is more future proof.
Jeremy.
(This used to be commit 9ed3046633b6949c68c9aed61b8e9444601cf101)
2007-10-10 12:30:56 -05:00
Michael Adam
4fab9cf625 r25272: Fix a bunch of callers of pull_ucs2 that passed -1 for dest_len.
Michael
(This used to be commit a4f53fe22569a63fe7b196971ac6c28a676ee4e8)
2007-10-10 12:30:56 -05:00
Stefan Metzmacher
4ab70e8438 r25270: for internal domains we should not ask a remote DC.
metze
(This used to be commit 579ed8ae87e449dbd5e4f78609754df0556fbf68)
2007-10-10 12:30:56 -05:00
Stefan Metzmacher
8ad2246635 r25260: add trusted domains always to the end of the list.
Now BUILTIN is always the first domain followed
by the domain of our own SAM DB and the primary
domain (in member server mode).

metze
(This used to be commit b8d67b78aa1c35e4e7e61050c1fccbb6d76d9fd7)
2007-10-10 12:30:56 -05:00
Michael Adam
2bb7ebdcb7 r25258: Fix a panic message and remove superfluous return after the call to smb_panic().
Michael
(This used to be commit 8b5c34b7d141c44d65622f44f9432723230cea47)
2007-10-10 12:30:55 -05:00
Günther Deschner
c6fab06902 r25257: When dumping eventlist, display full timestring.
Guenther
(This used to be commit 38eca60913f513accb24b31dcb6d1d7e92b0ba66)
2007-10-10 12:30:55 -05:00
Michael Adam
88eda8245d r25254: Add my C - Michael
(This used to be commit 3246be8cf05a867b74b4b96697c99cc62f13c2a9)
2007-10-10 12:30:55 -05:00
Stefan Metzmacher
cdf9068269 r25252: move macro defines to the end of replace.h
and move the include location sys/param.h
before we redefine missing macros

metze
(This used to be commit 862046028c3c61adf6da2effac91abf3c763635d)
2007-10-10 12:30:55 -05:00
Stefan Metzmacher
d454fda242 r25248: According to the build-farm all this defines are not needed
for HPUX large file support.

But it would be nice if someone could verify that.

metze
(This used to be commit b09024928d036933a47e4f1c2e246426fb3792aa)
2007-10-10 12:30:54 -05:00
Michael Adam
6f5869461c r25247: Rename the rpccli_lsa_lookup_sids_all() function to rpccli_lsa_lookup_sids()
and remove the old rpccli_lsa_lookup_sids() function. The old function would
fail due to server limits when requesting to resolve too many sids at once
(20480 for W2k3). The new version passes the list of sids in hunks to the
server. It has up to now been used (and tested) in the winbindd_ads
lookup_groupmem() function, and I think the time has come to replace the actual
function with this correct version.

Michael
(This used to be commit 1194d4f36ef720747e62dde31881c295e44e4a76)
2007-10-10 12:30:54 -05:00
Stefan Metzmacher
725cbf6cc6 r25245: rerun 'make idl'
metze
(This used to be commit af91f4fd08aae117d9b48eade4d49762c9634cbc)
2007-10-10 12:30:53 -05:00
Stefan Metzmacher
8d61da140a r25244: see what the build-farm says when we only use large file support
detection from libreplace...

It would be good if someone could test that on HPUX...

metze
(This used to be commit 00ea030e67c519ebb69e5932f607b4ac6e834f0e)
2007-10-10 12:30:53 -05:00
Stefan Metzmacher
1edf050ad8 r25241: remove sequence_number out of WINBINDD_DOMAIN_INFO call
as this is always answered by the winbindd parent and will
most times return old sequence number values.

metze
(This used to be commit 9caf54c868e8c0109730860e772c9cc404e2f899)
2007-10-10 12:30:53 -05:00
Stefan Metzmacher
7649b460d2 r25239: fix cut-n-paste bug in code with LIBUNWIND support
metze
(This used to be commit ff94d055760b16786d1a998e251d487fb886a64c)
2007-10-10 12:30:53 -05:00
Jeremy Allison
934b92f5d0 r25238: Make the error returns from the string functions
always consistent. Return -1 on error, and ensure
we check for this. In cases where the dest is already
specified and we've been asked to terminate with a
null, ensure we always do so even on error.
Jeremy.
(This used to be commit abedd967869ade9a43c3a8e1b889c60d4aca81cf)
2007-10-10 12:30:53 -05:00
Stefan Metzmacher
0805a4bc71 r25236: make it possible to alter WINBINDD_SOCKET_DIR via
"winbindd:socket dir=/path/to/dir" for usage in make test

metze
(This used to be commit 5566cf01e827edf60c0235a661d95dd376210108)
2007-10-10 12:30:52 -05:00
Stefan Metzmacher
68edc3a5c5 r25232: sync lib/replace with SAMBA_4_0
metze
(This used to be commit 828d2ca0610ab5ee3b96d187b3432b9b4fea72f8)
2007-10-10 12:30:52 -05:00
Stefan Metzmacher
10cb1b87ed r25230: sync lib/talloc with SAMBA_4_0
metze
(This used to be commit 84ebb6cac224cabf3856a632de80a8a9c687329b)
2007-10-10 12:30:52 -05:00
Stefan Metzmacher
42349190b7 r25227: Patch from "Steven Danneman" <steven.danneman@isilon.com>:
-
We ran across a bug joining our Samba server to a Win2K domain with LDAP
signing turned on.  Upon investigation I discovered that there is a bug
in Win2K server which returns a duplicated responseToken in the LDAP
bindResponse packet.  This blob is placed in the optional mechListMIC
field which is unsupported in both Win2K and Win2K3.  You can see RFC
2478 for the proper packet construction.  I've worked with metze on this
to confirm all these finding.

This patch properly parses then discards the mechListMIC field if it
exists in the packet, so we don't produce a malformed packet error,
causing LDAP signed joins to fail.  Also attached is a sniff of the
domain join, exposing Win2Ks bad behavior (packet 21).
-

(I've just changed the scope of the DATA_BLOB mechList)

metze
(This used to be commit 200b5bfb8180af09446762e915eac63d14c6c7b0)
2007-10-10 12:30:52 -05:00
Michael Adam
0d1e7e97d3 r25226: Get rid of more red bars...
(This used to be commit aa603bcc6c848de67ea07d6028ab841a8401d9ad)
2007-10-10 12:30:52 -05:00