Age | Commit message (Collapse) | Author | Files | Lines |
|
(This used to be commit 3b9db928fcaec322698d046db3a8a042b9a1d30c)
|
|
Volker
(This used to be commit 115cd4b27f84343c7f98622717edda6da4866a6b)
|
|
(This used to be commit 1fb5c92bfb96d966a31d5a4d882a411b9c0b497c)
|
|
dereferencing
(This used to be commit 7bc5fc729f67ae16e09ea67efa9e2b8e2ba41c8f)
|
|
Jeremy.
(This used to be commit 759aab9944e8dc5c38e224ace738b75ded07ee54)
|
|
(This used to be commit af6235dfb69b5349e4d0b7c8772a1799b7dc421a)
|
|
(This used to be commit 8522971ccb2e99a24b97c53cc57ca167923d346b)
|
|
(This used to be commit ce2159086f6b68c713a376785f6b48a370e33eb2)
|
|
respond to a
lock - so to make the torture tests valid I give it a grace time of 10
seconds instead of 2'
Jeremy.
(This used to be commit 41571a69e04838c00de7d4a528c59cd1e88919d0)
|
|
Jeremy.
(This used to be commit 40def80d43b14a853045a31b382226fe0381f38a)
|
|
(This used to be commit 0eee7a4b1ea437b5f1376fc9c7063b117f5027c6)
|
|
(This used to be commit c7593929681ad9aed4b9d2025d33071b9751185f)
|
|
(This used to be commit 3026a5ef152e1856ac127abe72855371611d5bf3)
|
|
etc. So check for that as well as the old names when including macros
and conditionally defining -DVALGRIND.
(This used to be commit 054ed6d86d0ca61623d61db7bc31999c19269176)
|
|
Jeremy.
(This used to be commit 33b11d5eb53bdeb9d279d221fd5c01579253e1c7)
|
|
Jeremy.
(This used to be commit 98ed7e0cbbc693b486bb91855cb3331e51daef6c)
|
|
(This used to be commit 533fe94db95fbb819b35251d9832c925584b7eca)
|
|
Jeremy.
(This used to be commit 8e956bc1d63425b0e1ca9410bf82a0a5d3e36ac7)
|
|
from .NET RC2)
(This used to be commit e074cab810f9299d0b27881cddf8a74f10fe233e)
|
|
Jeremy.
(This used to be commit 65c2a361a4a3461ccbed9b5c968f95281295faab)
|
|
Jeremy.
(This used to be commit 289e2e25b91da20ac02b90e5a9d6de3619ad308d)
|
|
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.
(This used to be commit 7090d9f6939b3c6334fba40b0741f8f899aba31a)
|
|
> when doing "enumdomusers", rpcclient prints each one preceded by the
> word "group" instead of "user"
(This used to be commit 0e9a2f41df932585bbff2a1a53d3dadc9a3dac62)
|
|
(This used to be commit 560deeb4ece9dd4a65e10b0aae20f8ab1fe0d24c)
|
|
Volker
(This used to be commit 54c99ee1fbaf4541fb3fa10a9b764da1367af6d3)
|
|
(This used to be commit 944752024ba6ab762b12c29ee867e37401dac12b)
|
|
string as a configure parameter.
(This used to be commit 10b2de7ebd204a940bd15bff9cca611e4ba8dcd3)
|
|
Jeremy.
(This used to be commit 11077368ec30313c2e7ee1d23f9f348910aa36bf)
|
|
Jeremy.
(This used to be commit 723e9ee31cc1f5eb4b7aefefd58f7f13d0abda05)
|
|
Jeremy.
(This used to be commit 183ce97d3719080b1b01932b96206b8ee4c5f5b0)
|
|
Jeremy.
(This used to be commit 7f8d3a49b2cebab4b94db3cda54b3923442378c8)
|
|
-------------------------------------------------------------------------
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.
(This used to be commit 1d3b8c528bebfa1971d1affe454a03453335786e)
|
|
Jeremy.
(This used to be commit 05a8a61af83a6d85ddbb70749c8cd0abe9eb8180)
|
|
differently to W2K, cope with this.
Jeremy.
(This used to be commit 5e2755508f08ecf561348d4edf0a4064732c5213)
|
|
(This used to be commit 52ef84b53495db1eac6ecfb0b926ef8df7ea5cc5)
|
|
(This used to be commit 214decbda680f23691f0d633d4a29c2c7e17de6b)
|
|
(This used to be commit b467e9ce1d68e269c6956520a5ffce73e115714e)
|
|
Jeremy.
(This used to be commit fa93763248f2043395e4cfc70b8afd81e28b2b75)
|
|
Jeremy.
(This used to be commit c832e95c2f4daf175954a60f3c56420cf2f35b45)
|
|
Jeremy.
(This used to be commit 75b36459ab1797bdff98ed91d7870bd48adebb54)
|
|
\\server\share syntax, not just a "share" tconX syntax. This broke interop
with a vendor.
Jeremy.
(This used to be commit 3cc2ace7718ac1162494b81fa21d4cc9de021d1c)
|
|
(This used to be commit ebd134c0ce0d4db51822a4c29a0de768fcfa261f)
|
|
(This used to be commit 7558ee9d47beab11099d0a9d89b2e74dc58c9935)
|
|
(This used to be commit f5c9895f83277f01282587697c84d31dc77102f6)
|
|
(This used to be commit 89bc3f1f7c10ab7c7fb8d2437c7e3d07f3e6f4fa)
|
|
(This used to be commit 9639e01dbc1dde65623b41be8a1137e1c1dc2d46)
|
|
(This used to be commit 755bb317dbfbbe054ec7cc88485119fcc7006504)
|
|
(This used to be commit 1af39523cc3b2313f3e8acd4f2e5338182ec0b13)
|
|
Jeremy.
(This used to be commit 30e8ae8e030b5dccaef9612dca24907be547acdf)
|
|
Jeremy.
(This used to be commit dedc18212a5174b6abac60ede9828f9b726a6c2d)
|