1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-07 01:58:28 +03:00

11571 Commits

Author SHA1 Message Date
Andrew Bartlett
980f2eb7c2 pstrcpy_base merges for client-side smbpasswd.
Andrew Bartlett
-
Andrew Bartlett
de24fcb097 Merge from HEAD:
new 'net ads dn'

doxygen fixes

net help fixes.
-
Andrew Bartlett
3b9db928fc Merge new statcache.c from HEAD. -
Volker Lendecke
115cd4b27f Fix memory leak.
Volker
-
Tim Potter
1fb5c92bfb Fix building --with-smbwrapper. -
Gerald Carter
7bc5fc729f fix WinXP & Win2K3 remote_arch and check pointer in ntlmssp code before dereferencing -
Jeremy Allison
759aab9944 Fix off by one bug noticed by Andrew Bartlett.
Jeremy.
-
Alexander Bokovoy
af6235dfb6 Merge more SGML strictness fixes from HEAD -
Alexander Bokovoy
8522971ccb Merge encryption.sgml fixes from HEAD -
Alexander Bokovoy
ce2159086f Fix SGML errors in development documents -
Jeremy Allison
41571a69e0 Merge from HEAD. 'win2000 can take much longer than the specified time to respond to a
lock - so to make the torture tests valid I give it a grace time of 10
seconds instead of 2'
Jeremy.
-
Jeremy Allison
40def80d43 Merge from HEAD. 'fixed the unmarshalling of the queryaliasmem SAMR call'
Jeremy.
-
Tim Potter
0eee7a4b1e Merge of tdb_unlockeys() crash fix. -
Tim Potter
c759392968 Merge of added locking functions from HEAD. -
Tim Potter
3026a5ef15 Merge of some commentary for getprinter info levels supported by win2k+ -
Martin Pool
054ed6d86d In Valgrind 1.9.4, the headers have moved to <valgrind/valgrind.h>,
etc.  So check for that as well as the old names when including macros
and conditionally defining -DVALGRIND.
-
Jeremy Allison
33b11d5eb5 Change size parameters from signed to unsigned to fix up warnings.
Jeremy.
-
Jeremy Allison
98ed7e0cbb Merge of Andrew Bartlett's SID limit fix from HEAD.
Jeremy.
-
Andrew Tridgell
533fe94db9 fixed a strcat noticed by metze -
Jeremy Allison
8e956bc1d6 Ensure we count the length correctly in mangle_map.
Jeremy.
-
Gerald Carter
e074cab810 adding some initiaial code to sert %a to Win2K3 (using Native LanMan string from .NET RC2) -
Jeremy Allison
65c2a361a4 We use unsigned now, so use %u.
Jeremy.
-
Jeremy Allison
289e2e25b9 Fix up zero termination. Spotted by Sebastian Krahmer <krahmer@suse.de>.
Jeremy.
-
Martin Pool
7090d9f693 When opening an existing DB, don't require the hash_size specified to
the open call to be the same as that of the existing tdb.  The
specified hash_size is only used if the tdb needs to be (re)created.

With this patch in place, tdbtool can open the printing tdbs, which
are created with a hash_size of 5000.  Before it would fail with EIO.
-
Martin Pool
0e9a2f41df Patch from Ronan Waide:
> when doing "enumdomusers", rpcclient prints each one preceded by the
> word "group" instead of "user"
-
Tim Potter
560deeb4ec Remove obsolete file. -
Volker Lendecke
54c99ee1fb strcpy_base from HEAD and trivial fix for smbclient -L
Volker
-
Gerald Carter
944752024b check a pointer before dereferencing it; not sure why userdata == NULL though -
Martin Pool
10b2de7ebd Use "$@" to preserve shell quoting in case somebody passes an escaped
string as a configure parameter.
-
Jeremy Allison
11077368ec Fix typo in earlier fix, caught by Ranjit @ HP.
Jeremy.
-
Jeremy Allison
723e9ee31c Use ERROR_NT, not ERROR_DOS as Andrew Bartlett pointed out.
Jeremy.
-
Jeremy Allison
183ce97d37 Extra const committed by mistake - revert.
Jeremy.
-
Jeremy Allison
7f8d3a49b2 Missed parentheses around complex logic.
Jeremy.
-
Jeremy Allison
1d3b8c528b Patch from Michael Steffens. In his own words :
-------------------------------------------------------------------------
I think there are basically two problem:

  1. Windows clients do not always send ACEs for SMB_ACL_USER_OBJ, SMB_ACL_GROUP_OBJ,
     and SMB_ACL_OTHER.
     The function ensure_canon_entry_valid() is prepared for that, but tries
     to "guess" values from group or other permissions, respectively, otherwise
     falling back to minimum r-- for the owner. Even if the owner had full
     permissions before setting ACL. This is the problem with W2k clients.

  2. Function set_nt_acl() always chowns *before* attempting to set POSIX ACLs.
     This is ok in a take-ownership situation, but must fail if the file is
     to be given away. This is the problem with XP clients, trying to transfer
     ownership of the original file to the temp file.

The problem with NT4 clients (no ACEs are transferred to the temp file, thus
are lost after moving the temp file to the original name) is a client problem.
It simply doesn't attempt to.

I have played around with that using posic_acls.c from 3.0 merged into 2.2.
As a result I can now present two patches, one for each branch. They
basically modify:

  1. Interpret missing SMB_ACL_USER_OBJ, SMB_ACL_GROUP_OBJ, or SMB_ACL_OTHER
     as "preserve current value" instead of attempting to build one ourself.
     The original code is still in, but only as fallback in case current values
     can't be retrieved.

  2. Rearrange set_nt_acl() such that chown is only done before setting
     ACLs if there is either no change of owning user, or change of owning
     user is towards the current user. Otherwise chown is done after setting
     ACLs.

It now seems to produce reasonable results. (Well, as far as it can. If
NT4 doesn't even try to transfer ACEs, only deliberate use of named default
ACEs and/or "force group" or the crystal ball can help :)
-------------------------------------------------------------------------
Jeremy.
-
Jeremy Allison
05a8a61af8 Fix noticed by Corny.Bondad@hp.com. Ensure we free up memory on error exit.
Jeremy.
-
Jeremy Allison
5e2755508f Found at Connectathon, .NET RC1 arranges trans/trans2/nttrans parameters
differently to W2K, cope with this.
Jeremy.
-
Gerald Carter
52ef84b534 add #define for the max device name length in a DEVICEMODE -
Gerald Carter
214decbda6 merging some packaging fixes from SAMBA_2_2 -
Gerald Carter
b467e9ce1d changing reference to irc.openprojects.net -
Jeremy Allison
fa93763248 More const fixes.
Jeremy.
-
Jeremy Allison
c832e95c2f Writable string const fixes.
Jeremy.
-
Jeremy Allison
75b36459ab Fix for little-used lpq parser.
Jeremy.
-
Jeremy Allison
3cc2ace771 Connectathon fix. W2K -> W2K over port 445 doing a tconX does the full
\\server\share syntax, not just a "share" tconX syntax. This broke interop
with a vendor.
Jeremy.
-
Gerald Carter
ebd134c0ce forgot that i should run autogen.sh as part of release -
Gerald Carter
7558ee9d47 make sure to call autogen.sh -
Gerald Carter
f5c9895f83 preparing for release of 3.0alpha22 -
Gerald Carter
89bc3f1f7c fixing a few typos & regenerating pages -
Gerald Carter
9639e01dbc fixing a few typos -
Gerald Carter
755bb317db updating whatsnew for alpha22 -
Richard Sharpe
1af39523cc More janitorial duties, fixing the BIG_UINT changes for large offsets. -