1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-13 13:18:06 +03:00
Commit Graph

23345 Commits

Author SHA1 Message Date
Gerald Carter
5221ebb299 r25407: Revert Longhorn join patch as it is not correct for the 3.2 tree.
The translate_name() used by cli_session_setup_spnego() cann rely
Winbindd since it is needed by the join process (and hence before
Winbind can be run).
(This used to be commit 00a93ed336)
2007-10-10 12:31:03 -05:00
Jeremy Allison
58a9621904 r25406: Make the Linux nss client code thread-safe.
Fix originally inspired from code from boyang <yyyeer.bo@gmail.com>.
Jeremy.
(This used to be commit cc19c0ace4)
2007-10-10 12:31:03 -05:00
Gerald Carter
5335a5d0c4 r25405: Fix formatting as per metze's comments
(This used to be commit 45fa393358)
2007-10-10 12:31:03 -05:00
Gerald Carter
754cfb427b r25402: BUG 4997 (3.2 only): Fix enumration level for smbtree
(This used to be commit f387e0f256)
2007-10-10 12:31:02 -05:00
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 611fdd95a5)
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 8304ccba73)
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 b4ee924000)
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 1f0d05807b)
2007-10-10 12:31:02 -05:00
Gerald Carter
1f4e302dc2 r25393: Removed unused variable
(This used to be commit 11894a62e3)
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 713277391a)
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 993bd0995e)
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 c5adb92c02)
2007-10-10 12:31:01 -05:00
Michael Adam
a4137c3555 r25378: Add a vim configuration example to highlight overly long lines.
(This used to be commit 95b7404836)
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 e9922cd8ae)
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 ddc6d05111)
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 0202a84e3f)
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 53c99d415d)
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 25cc27df97)
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 0719835c4d)
2007-10-10 12:31:00 -05:00
Günther Deschner
32925f27ca r25325: Rename some defines.
Guenther
(This used to be commit cc38e4fc1f)
2007-10-10 12:30:59 -05:00
Volker Lendecke
e0402fa870 r25324: Fix "msdfs proxy"
Jeremy, please check!
(This used to be commit d4eddf88d2)
2007-10-10 12:30:59 -05:00
Volker Lendecke
33fd077575 r25323: Fix the build
(This used to be commit e55b30ab84)
2007-10-10 12:30:59 -05:00
Volker Lendecke
d7a97b4b4c r25317: Activate raw-samba3rootdirfid
(This used to be commit 1cbe40b27c)
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 693b3c26c0)
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 eb311cafbb)
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 a8312a1d7b)
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 f70ac2e258)
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 9a28be220d)
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 bf12f0c0f8)
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 cd3d652d0d)
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 76cb05deec)
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 841ff0beee)
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 32626e2b97)
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 9a9c164366)
2007-10-10 12:30:56 -05:00
Volker Lendecke
7cbcb5f8c5 r25274: Attempt to fix RPC-SAMBA3-GETUSERNAME
(This used to be commit f6f64cf0b5)
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 9ed3046633)
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 a4f53fe225)
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 579ed8ae87)
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 b8d67b78aa)
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 8b5c34b7d1)
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 38eca60913)
2007-10-10 12:30:55 -05:00
Michael Adam
88eda8245d r25254: Add my C - Michael
(This used to be commit 3246be8cf0)
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 862046028c)
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 b09024928d)
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 1194d4f36e)
2007-10-10 12:30:54 -05:00
Stefan Metzmacher
725cbf6cc6 r25245: rerun 'make idl'
metze
(This used to be commit af91f4fd08)
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 00ea030e67)
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 9caf54c868)
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 ff94d05576)
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 abedd96786)
2007-10-10 12:30:53 -05:00