| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Signed-off-by: Andreas Schneider <anschneider@suse.de>
(cherry picked from commit d8f15e4efc00b9d509ff5761e9ca8ff5c6f443f7)
(cherry picked from commit 541704e253f06f8b33006b6c27f51b934c2eb51f)
|
|
|
|
|
| |
Karolin
(cherry picked from commit 3069401f5b46cfe2d2909c3d7ae75419ac5e673e)
|
|
|
|
|
| |
Karolin
(cherry picked from commit fd5ee7b35ffb7dd7dab1e17a01534470c12f415b)
|
|
|
|
|
|
| |
Karolin
(cherry picked from commit 512cf0ad50d30fcb35a28b0ef1b859d754f42a99)
(cherry picked from commit 7ca4b8ec65d5f8794c58f27f3f17033143732897)
|
|
|
|
|
| |
Guenther
(cherry picked from commit 75fff603625e0259f187e0fa47efd85887092fae)
|
|
|
|
|
|
|
| |
This broke with f6fa3080fee1b20df9f1968500840a88cf0ee592 back in April 2007...
Guenther
(cherry picked from commit 547c70e896b6890dd5f7b911e4e0ca107c8a3fa3)
|
|
|
|
|
|
| |
Karolin
(cherry picked from commit aa2fb0efb7ce2bc732569b4baf20c57375fdce59)
(cherry picked from commit e1e3a0554fcaabacc5bec51c213622271a83ad04)
|
|
|
|
|
| |
Karolin
(cherry picked from commit 3a4e410e7802073e159b6e4dfdfb3319053503f9)
|
|
|
|
|
|
|
|
| |
thread/fork safe
metze
(cherry picked from commit 7fc7ee9331d0539359ad88c527f59d5fdf212209)
(cherry picked from commit d74b63091781e442e42b1fa7881e903a0bcc928c)
|
|
|
|
|
| |
Karolin
(cherry picked from commit 646468f1a504a1ab00b27f9e61d56acbc42ffda9)
|
|
|
|
|
| |
Karolin
(cherry picked from commit 50b8d5a1625d22512cf32b0bcd2f068e364a7403)
|
|
|
|
|
|
| |
to NFSv4 ACL code as this uses the same flawed logic as posix_acls.c.
Jeremy.
(cherry picked from commit cad872fc385ba30fb72baab25ee6341a41396e39)
|
|
|
|
|
|
| |
to ourselves unless that was passed in.
Jeremy.
(cherry picked from commit db2d56484e21daeb91df4b5e2286d242910336e8)
|
|
|
|
|
|
|
|
|
| |
ACLs.
If the chown succeeds then the ACL set should also. Ensure this is the case
(refactor some of this code to make it simpler to read also).
Jeremy.
(cherry picked from commit 90b660e2382711d005e8c4c4ae1c6adbd5e5b687)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Simo is completely correct. We should be doing the chown *first*, and fail the
ACL set if this fails. The long standing assumption I made when writing the
initial POSIX ACL code was that Windows didn't control who could chown a file
in the same was as POSIX. In POSIX only root can do this whereas I wasn't sure
who could do this in Windows at the time (I didn't understand the privilege
model). So the assumption was that setting the ACL was more important (early
tests showed many failed ACL set's due to inability to chown). But now we have
privileges in smbd, and we must always fail an ACL set when we can't chown
first. The key that Simo noticed is that the CREATOR_OWNER bits in the ACL
incoming are relative to the *new* owner, not the old one. This is why the old
user owner disappears on ACL set - their access was set via the USER_OBJ in the
creator POSIX ACL and when the ownership changes they lose their access.
Patch is simple - just ensure we do the chown first before evaluating the
incoming ACL re-read the owners. We already have code to do this it just wasn't
rigorously being applied.
Jeremy.
(cherry picked from commit 96b819e04cd71a6c899801ae68031bf55b54ea46)
|
|
|
|
| |
(cherry picked from commit ba576efa8f884f3dd37bb5035fbb47ae0305c0b0)
|
|
|
|
|
|
|
|
|
|
| |
exit in the directory where it was called using pushd/popd.
Michael
(cherry picked from commit b319549f129b1c79afc9bfd4a84f2730b96d69a3)
Signed-off-by: Michael Adam <obnox@samba.org>
(cherry picked from commit b7d6536b323df9c5503b6a225e03a47ae2112e5c)
|
|
|
|
|
|
|
|
| |
Michael
(cherry picked from commit 5e21fc3506f2ba7b1135b1acad2697dfb86b5df0)
Signed-off-by: Michael Adam <obnox@samba.org>
(cherry picked from commit a33ec84ef7c64bf94526383340fb446e86d919e0)
|
|
|
|
|
|
|
|
| |
Michael
(cherry picked from commit 9b32e839bec8611c30745607a3a6b124d5b34c01)
Signed-off-by: Michael Adam <obnox@samba.org>
(cherry picked from commit 6a9346f0c2f900d95d0ba3ae0bdb22a6e88a7916)
|
|
|
|
|
|
|
|
| |
Michael
(cherry picked from commit 816934faa8bbe53dd299bc5e39f471eafdddefa8)
Signed-off-by: Michael Adam <obnox@samba.org>
(cherry picked from commit 0b1036d5d6e06e2fa14dab163d51a902ca63fc0a)
|
|
|
|
|
|
|
|
| |
Michael
(cherry picked from commit 665b5dc70333ca36129a6fe06645bd9faa4f2350)
Signed-off-by: Michael Adam <obnox@samba.org>
(cherry picked from commit 83a03a3ced255f0a64935fe788ac3b0ddf669ca5)
|
|
|
|
|
|
|
|
| |
Michael
(cherry picked from commit 65b79200e46751278c125ad260d899d10d6466a2)
Signed-off-by: Michael Adam <obnox@samba.org>
(cherry picked from commit 73a835335e329f0aaa0b72ebfd538b8c2b813812)
|
|
|
|
|
|
|
|
| |
Michael
(cherry picked from commit bd252ad665547d2ad012725ccb18720e160d221f)
Signed-off-by: Michael Adam <obnox@samba.org>
(cherry picked from commit ea5be10d0656d4f7edec43a4cb926573050823aa)
|
|
|
|
|
|
|
|
| |
Michael
(cherry picked from commit 84f2b2d731fb7d97c98414196bf96ee94ea88bb3)
Signed-off-by: Michael Adam <obnox@samba.org>
(cherry picked from commit c52948a2b019bb1620ffa69605673d88bfa34bb4)
|
|
|
|
|
|
|
|
| |
Michael
(cherry picked from commit 7c5621b6e09d9ae3fe936a86e46d1b0f35906e6d)
Signed-off-by: Michael Adam <obnox@samba.org>
(cherry picked from commit 1bbc5f228b8b73a623f7afc5eb79c08757366029)
|
|
|
|
|
|
|
|
| |
Michael
(cherry picked from commit 32be66b19da07983670002d1b2b5bc80cf0c8d16)
Signed-off-by: Michael Adam <obnox@samba.org>
(cherry picked from commit 4145a1de91a18ea9a09b3088f0e5cd054875760b)
|
|
|
|
|
|
|
|
| |
Michael
(cherry picked from commit 37412017c5dd2f05a7f4bbe0410a6e00ce4805e5)
Signed-off-by: Michael Adam <obnox@samba.org>
(cherry picked from commit ba941074ce20617856c138eff5762646384d37de)
|
|
|
|
|
|
|
|
| |
Michael
(cherry picked from commit ce3e34d37ce5592e0268be5d16240387d971585a)
Signed-off-by: Michael Adam <obnox@samba.org>
(cherry picked from commit 05b83098ed49cee906a5b16d15dce9e6baf62b07)
|
|
|
|
|
|
|
|
|
|
|
| |
- remove stuff created by configure in distclean
- remove stuff created by autoconf in realdistclean
Michael
(cherry picked from commit 65c92fea3d18c3520ff2a1e53a0c5c8825c9788f)
Signed-off-by: Michael Adam <obnox@samba.org>
(cherry picked from commit 58db911a3845c4a8475c413e5fd8d755498dd447)
|
|
|
|
|
|
|
|
| |
This fixes bug #6058.
Thanks to Christian Perrier for reporting!
Karolin
(cherry picked from commit 162e4b66601b41dd5adb24e192f3b5a91dfb41cc)
|
|
|
|
|
| |
Karolin
(cherry picked from commit 28a80ea826aa53337817f9d0ce545b6ac3fd54f2)
|
|
|
|
|
|
|
|
|
| |
aaea68791cfea45c6fa69abc93ad6d0e832d0283
We should not close the fd after writing the first packet.
metze
(cherry picked from commit 53e8f92678428a0c3cbeefa83219609661d28831)
|
|
|
|
|
|
|
|
|
|
| |
messaging context
Because messaging_reinit() may add events to the event context, which will
removed by event_context_reinit().
metze
(cherry picked from commit 56af6112d67aa9dd3757297fbe29ce1a3eabf00d)
|
|
|
|
|
|
| |
Signed-off-by: Andreas Schneider <anschneider@suse.de>
Signed-off-by: Günther Deschner <gd@samba.org>
(cherry picked from commit acb1debf257c6c3df325267b2a4c8e2d40c1f850)
|
|
|
|
|
|
|
|
|
|
| |
The option '-B' does not exist at all.
Thanks to Jason Ellison for reporting!
Karolin
(cherry picked from commit 4b26c7bbf4fe93f5ffb92d3f04012be290be25be)
(cherry picked from commit 05c7d97e6cf25c05ba6a661c0a31c88946ffd5cd)
|
|
|
|
|
|
|
|
|
|
| |
There is no option '-B' at all.
Thanks to Jason Ellison for reporting!
Karolin
(cherry picked from commit 7c1e08518bfbe054db270e72476c642d5db93c0a)
(cherry picked from commit 3b5d2fd4cc5f7cbe22be1dfc593ca4ba29197b66)
|
|
|
|
|
|
|
|
|
|
|
| |
- Most of the time, we can determine from the file system we're connecting to
whether it supports case sensitivity. In those cases, we now set the
internal case sensitivity flag automatically. For those cases where the
request to retrieve file system attributes fails, we'll use the
user-specified option value.
Derrell
(cherry picked from commit 005bd7eee44160e4531e46be85c67650821a8328)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
We need to use CTDB_CONTROL_TCP_CLIENT instead of CTDB_CONTROL_TCP_ADD.
CTDB_CONTROL_TCP_CLIENT has support for 2 modes in newer ctdb versions:
- with struct ctdb_control_tcp it only supports ipv4.
- with struct ctdb_control_tcp_addr it supports ipv4 and ipv6.
You need new header files which defines struct ctdb_control_tcp_addr,
but at runtime it should be fine to work against older
ctdb versions (<= 1.0.68).
metze
(cherry picked from commit dc6edf1ab4ae8e3fb3ef40b93135ff0ef5407e12)
(cherry picked from commit c07bcd6efd3383fc3a46fce35fd34df85ab221c9)
|
|
|
|
|
|
| |
metze
(cherry picked from commit 6a94b7b9270f3d69595b93e2632051c9842645c9)
(cherry picked from commit 8e13be1db5c51002ae72c42c505a79406b2f4f63)
|
|
|
|
|
|
|
|
| |
"fileid:mapping" is still supported as fallback.
metze
(cherry picked from commit 554a89df0cf6d9832778e2913f9fe50b78baeedc)
(cherry picked from commit fe9ad21b8cb5286845350fe2280da2cbe2647bb7)
|
|
|
|
|
|
|
|
|
|
|
| |
- Since the revamp of libsmbclient, there has still been an external
declaration for smbc_urlencode and smbc_urldecode in libsmbclient.h, yet
those functions were renamed and made private. The two choices were to
remove the function names from libsmbclient.h or to make them public
again. The reported requested that they be public. This commit makes it so.
Derrell
(cherry picked from commit bf7eb0164b0c69d5d0f3019f3aa524846f6a4394)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
*** THIS COMMIT CAUSES A CHANGE OF DEFAULT BEHAVIOR IN libsmbclient!!! ***
- libsmbclient now calls cli_set_case_sensitive() for a new CLI. By default,
it requests case-sensitive, but the old behavior of case-insensitive can be
requested with smbc_setOptionCaseSensitive(context, False);
The change of behavior is considered a bug fix, as it was previously
possible to accidentally overwrite a file that had the same case-insensitive
name but a different case-sensitive name as a previously-existing file,
while creating a new file.
Derrell
(cherry picked from commit 20b765f0a20fe7329559e4bf2a9dac4fe8e13c18)
|
|
|
|
|
|
| |
SMBC_parse_path is called by SMBC_stat_ctx.
(cherry picked from commit 889d0dff4e4cfd4d4b4ed16ad64de303c795f879)
|
|
|
|
|
|
|
|
| |
compilers
can't kill us later.
Jeremy.
(cherry picked from commit 54913913be90323889b2f4dbd6a3ab75f4fa7ccd)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
ads_connect_gc() feeds an explicit server to ads_connect(). However, if the
resulting connection fails, the latter function was attempting to find a DC
on its own and continuing the connection. This resulting in GC searches being
sent over a connection using port 389 which would fail when using the base
search suffix outside of the domain naming context.
The fix is to fail immediately in ads_connect() since the GC lookup ordering
is handled already in ads_connect_gc().
(was commit 073e9f42f0c5f5de5d736ec7843d80a274c891ce in master)
(cherry picked from commit 2d0fd7543d0543ce59cb84db64afb99aa1f304b4)
|
|
|
|
|
|
| |
Based on a patch from pkg-samba-maint@lists.alioth.debian.org.
Jeremy.
(cherry picked from commit 3764e6ed2a683a69706d7654e46b998de9294883)
|
|
|
|
|
|
|
|
| |
binaries that don't have
an event context or a msg context. Fixes crash bug in swat.
Jeremy.
(cherry picked from commit 45e6f9c5a4b5d9cdb89f398f1238872251ccbe54)
|
|
|
|
|
|
|
| |
metze
Signed-off-by: Michael Adam <obnox@samba.org>
(cherry picked from commit 51e34b38959115e8a04795837b5c5983dc8d824c)
|
|
|
|
|
| |
Jeremy.
(cherry picked from commit d6f1bb7677997c4eaa0e474de590c0b36f2dcb3f)
|
|
|
|
|
| |
Jeremy.
(cherry picked from commit 6a8496adce6fa54d5cb86592dd977168319d5da3)
|